Commit da535f6e authored by yaya's avatar yaya

feat:钱币设置价格优化

parent d007098e
...@@ -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) {
......
<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: 22px;
border-radius: 8px;
color: #409EFF;
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: 12px;
top: 0;
font-weight: normal;
font-size: 22px;
border-radius: 8px;
color: #409EFF;
}
} }
.info { .info {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment