Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
da535f6e
Commit
da535f6e
authored
Aug 31, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:钱币设置价格优化
parent
d007098e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
19 deletions
+14
-19
src/views/goods/components/selectImageDialog.vue
src/views/goods/components/selectImageDialog.vue
+2
-4
src/views/goods/infoSet.vue
src/views/goods/infoSet.vue
+12
-15
No files found.
src/views/goods/components/selectImageDialog.vue
View file @
da535f6e
...
@@ -6,10 +6,7 @@
...
@@ -6,10 +6,7 @@
width=
"800px"
width=
"800px"
height=
"800px"
height=
"800px"
title=
"选择图片"
>
title=
"选择图片"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
/>
<el-button
@
click=
"handleClose"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSelectCommit"
>
确定
</el-button>
</div>
<div
class=
"list"
>
<div
class=
"list"
>
<div
v-for=
"(item, index) in imageList"
:key=
"item + index"
class=
"select_item"
@
click=
"handleCheckImg(index)"
>
<div
v-for=
"(item, index) in imageList"
:key=
"item + index"
class=
"select_item"
@
click=
"handleCheckImg(index)"
>
<img
:src=
"item"
class=
"gallery"
>
<img
:src=
"item"
class=
"gallery"
>
...
@@ -64,6 +61,7 @@ export default {
...
@@ -64,6 +61,7 @@ export default {
},
},
handleCheckImg
(
index
)
{
handleCheckImg
(
index
)
{
this
.
currentPosition
=
index
this
.
currentPosition
=
index
this
.
handleSelectCommit
()
},
},
handleSelectCommit
()
{
handleSelectCommit
()
{
if
(
this
.
currentPosition
===
-
1
)
{
if
(
this
.
currentPosition
===
-
1
)
{
...
...
src/views/goods/infoSet.vue
View file @
da535f6e
<
template
>
<
template
>
<div
ref=
"scrollRef"
class=
"app-container"
>
<div
ref=
"scrollRef"
class=
"app-container"
>
<div
ref=
"top"
:class=
"
{fixed: isFixed}" class="op-container" style="margin-bottom: 20px">
<div
ref=
"top"
:class=
"
{fixed: isFixed}" class="op-container" style="margin-bottom: 20px">
<div
v-if=
"goodsParams.stateName"
class=
"detail_status"
>
{{
goodsParams
.
stateName
}}
</div>
<el-button
round
type=
"danger"
@
click=
"handleDelete"
>
删除
</el-button>
<el-button
round
type=
"danger"
@
click=
"handleDelete"
>
删除
</el-button>
<el-button
round
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
round
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
round
@
click=
"handlePublish"
>
发布
</el-button>
<el-button
type=
"primary"
round
@
click=
"handlePublish"
>
发布
</el-button>
...
@@ -42,9 +45,6 @@
...
@@ -42,9 +45,6 @@
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
v
-
if
=
"
goodsParams.stateName
"
class
=
"
detail_status
"
>
{{
goodsParams
.
stateName
}}
<
/div
>
<
/div
>
<
/div
>
<
/el-card
>
<
/el-card
>
<
div
class
=
"
info
"
>
<
div
class
=
"
info
"
>
...
@@ -651,6 +651,15 @@ export default {
...
@@ -651,6 +651,15 @@ export default {
.
op
-
container
{
.
op
-
container
{
text
-
align
:
right
;
text
-
align
:
right
;
display
:
flex
;
flex
-
direction
:
row
;
.
detail_status
{
font
-
weight
:
normal
;
font
-
size
:
22
px
;
border
-
radius
:
8
px
;
color
:
#
409
EFF
;
margin
-
right
:
auto
;
}
}
}
.
fixed
{
.
fixed
{
...
@@ -666,8 +675,6 @@ export default {
...
@@ -666,8 +675,6 @@ export default {
}
}
.
detail
{
.
detail
{
position
:
relative
;
.
desc
{
.
desc
{
display
:
flex
;
display
:
flex
;
flex
-
direction
:
row
;
flex
-
direction
:
row
;
...
@@ -750,16 +757,6 @@ export default {
...
@@ -750,16 +757,6 @@ export default {
}
}
}
}
}
}
.
detail_status
{
position
:
absolute
;
right
:
12
px
;
top
:
0
;
font
-
weight
:
normal
;
font
-
size
:
22
px
;
border
-
radius
:
8
px
;
color
:
#
409
EFF
;
}
}
}
.
info
{
.
info
{
...
...
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