Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
7b436e4b
Commit
7b436e4b
authored
Oct 25, 2024
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 打版管理小图加hover查看大图
parent
f0b880d1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
125 additions
and
93 deletions
+125
-93
src/views/typesetting/reviewModel.vue
+112
-92
src/views/typesetting/submitReviewModal.vue
+13
-1
No files found.
src/views/typesetting/reviewModel.vue
View file @
7b436e4b
This diff is collapsed.
Click to expand it.
src/views/typesetting/submitReviewModal.vue
View file @
7b436e4b
...
@@ -19,12 +19,13 @@
...
@@ -19,12 +19,13 @@
v-for=
"(item, index) of row?.imageList"
v-for=
"(item, index) of row?.imageList"
:key=
"index"
:key=
"index"
class=
"color-image-item"
class=
"color-image-item"
@
mouseover=
"onMouseover(item.imagePath)"
>
>
<img
:src=
"item.imagePath"
alt=
""
class=
"img-sign"
/>
<img
:src=
"item.imagePath"
alt=
""
class=
"img-sign"
/>
</div>
</div>
</div>
</div>
<div
class=
"modals-image-big"
>
<div
class=
"modals-image-big"
>
<img
:src=
"
row?.mainImage
"
alt=
""
class=
"img-sign"
/>
<img
:src=
"
mainImageUrl || row?.imageList[0]?.imagePath
"
alt=
""
class=
"img-sign"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -91,6 +92,7 @@
...
@@ -91,6 +92,7 @@
v-for=
"(item, index) of versionImageList"
v-for=
"(item, index) of versionImageList"
:key=
"index"
:key=
"index"
class=
"color-image-item"
class=
"color-image-item"
@
mousemove=
"onRightMouseover(item?.imagePath)"
>
>
<img
:src=
"item.imagePath"
alt=
""
class=
"img-sign"
/>
<img
:src=
"item.imagePath"
alt=
""
class=
"img-sign"
/>
<span
<span
...
@@ -407,6 +409,7 @@ watch(visible, (val) => {
...
@@ -407,6 +409,7 @@ watch(visible, (val) => {
}
else
{
}
else
{
activeName
.
value
=
'first'
activeName
.
value
=
'first'
}
}
mainImageUrl
.
value
=
props
.
row
?.
mainImage
}
}
})
})
const
opinion
=
ref
(
''
)
const
opinion
=
ref
(
''
)
...
@@ -631,6 +634,13 @@ const getPriceDetail = async (data: TypesettingListData) => {
...
@@ -631,6 +634,13 @@ const getPriceDetail = async (data: TypesettingListData) => {
console
.
error
(
e
)
console
.
error
(
e
)
}
}
}
}
const
mainImageUrl
=
ref
<
string
>
(
''
)
const
onMouseover
=
(
url
:
string
)
=>
{
mainImageUrl
.
value
=
url
}
const
onRightMouseover
=
(
url
:
string
|
undefined
)
=>
{
versionImageUrl
.
value
=
url
||
''
}
defineExpose
({
getExamineInfo
,
reset
,
getPriceDetail
})
defineExpose
({
getExamineInfo
,
reset
,
getPriceDetail
})
</
script
>
</
script
>
...
@@ -651,6 +661,8 @@ defineExpose({ getExamineInfo, reset, getPriceDetail })
...
@@ -651,6 +661,8 @@ defineExpose({ getExamineInfo, reset, getPriceDetail })
width
:
60px
;
width
:
60px
;
height
:
60px
;
height
:
60px
;
border
:
1px
solid
#eee
;
border
:
1px
solid
#eee
;
margin-bottom
:
5px
;
cursor
:
pointer
;
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment