Commit da535f6e authored by yaya's avatar yaya

feat:钱币设置价格优化

parent d007098e
......@@ -6,10 +6,7 @@
width="800px"
height="800px"
title="选择图片">
<div slot="footer" class="dialog-footer">
<el-button @click="handleClose">取消</el-button>
<el-button type="primary" @click="handleSelectCommit">确定</el-button>
</div>
<div slot="footer" class="dialog-footer"/>
<div class="list">
<div v-for="(item, index) in imageList" :key="item + index" class="select_item" @click="handleCheckImg(index)">
<img :src="item" class="gallery">
......@@ -64,6 +61,7 @@ export default {
},
handleCheckImg(index) {
this.currentPosition = index
this.handleSelectCommit()
},
handleSelectCommit() {
if (this.currentPosition === -1) {
......
<template>
<div ref="scrollRef" class="app-container">
<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 @click="handleCancel">取消</el-button>
<el-button type="primary" round @click="handlePublish">发布</el-button>
......@@ -42,9 +45,6 @@
</div>
</div>
<div v-if="goodsParams.stateName" class="detail_status">
{{ goodsParams.stateName }}
</div>
</div>
</el-card>
<div class="info">
......@@ -651,6 +651,15 @@ export default {
.op-container {
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 {
......@@ -666,8 +675,6 @@ export default {
}
.detail {
position: relative;
.desc {
display: flex;
flex-direction: row;
......@@ -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 {
......
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