This commit is contained in:
2024-02-02 13:44:55 +08:00
parent 72472034f9
commit ac634dfaf8
10 changed files with 732 additions and 39 deletions

View File

@@ -27,7 +27,7 @@
<view>{{item.marketPrice}} X{{item.orderNum}}</view>
<view>库存{{item.orderNum}}</view>
</view>
<view class="examine" :style="{background:statusEnum[1].color}" >{{statusEnum[1].value}}</view>
<view class="examine" @click="examineDetail" :style="{background:statusEnum[1].color}" >{{statusEnum[1].value}}</view>
<view class="footer">
<view class="button" @click="orderDelete">删除</view>
<view class="button">编辑</view>
@@ -40,7 +40,31 @@
<image src="https://publicxingyou.oss-cn-hangzhou.aliyuncs.com/mp-oil/yunsite-empty.png"></image>
<view>还没有订单哦~</view>
</view>
<uni-popup ref="detail">
<view class="determine-detail">
<view class="title">审核详情</view>
<uni-icons @click="$refs.detail.close()" color="#666666" type="closeempty" size="28"></uni-icons>
<view class="item" v-for="(item,index) in examineDetailList" :key="index">
<view>
<view class="header">审核时间</view>
<view>{{item.createTime}}</view>
</view>
<view>
<view class="header">审核结果</view>
<view>{{item.status}}</view>
</view>
<view>
<view class="header">反馈详情</view>
<view>{{item.dateil}}</view>
</view>
</view>
<view class="buttons">
<view @click="$refs.detail.close()">关闭</view>
</view>
</view>
</uni-popup>
<uni-popup ref="delete">
<view class="determine-frame">
<view class="title">是否删除该商品</view>
@@ -50,7 +74,7 @@
</view>
</view>
</uni-popup>
<uni-popup ref="popup">
<view class="determine-frame">
<view class="title">是否上架/下架该商品</view>
@@ -60,7 +84,7 @@
</view>
</view>
</uni-popup>
</view>
</template>
@@ -73,7 +97,7 @@
},
data() {
return {
currentIndex: 0,
code: '',
controlWindows: {
@@ -129,7 +153,24 @@
color: '#FCB438',
value: "已审核"
},
}
},
examineDetailList:[
{
createTime:'2023.11.22',
status:'1',
dateil:'未审核'
},
{
createTime:'2023.11.23',
status:'2',
dateil:'已审核'
},
{
createTime:'2023.11.24',
status:'已驳回',
dateil:'图片不清晰,请重新上传图片'
}
]
}
},
@@ -181,6 +222,9 @@
this.paramter.currentPage += 1
this.getByPageCloudMini()
},
examineDetail(){
this.$refs.detail.open('center')
},
orderDelete(){
this.$refs.delete.open('center')
},
@@ -352,7 +396,7 @@
border: 1px solid #999;
border-radius: 10rpx;
}
>.button{
&:nth-of-type(1){
right: 360rpx;
@@ -363,32 +407,86 @@
&:nth-of-type(3){
right: 40rpx;
}
}
}
}
}
.determine-detail {
padding: 30rpx 0;
width: 681rpx;
background: #FFFFFF;
border-radius: 15rpx;
position: relative;
>.title {
text-align: center;
font-size: 38rpx;
color: #000;
margin-bottom: 20rpx;
}
>uni-icons{
position: absolute;
top: 30rpx;
right: 30rpx;
}
>.item{
display: flex;
justify-content: space-evenly;
overflow-y: hidden;
font-size: 22rpx;
color: #666;
padding: 10rpx;
view{
width: 200rpx;
line-height: 46rpx;
}
.header{
font-size: 32rpx;
color: #000;
}
}
>.buttons {
display: flex;
justify-content: space-evenly;
margin-top: 50rpx;
>view {
width: 550rpx;
height: 76rpx;
text-align: center;
line-height: 76rpx;
border-radius: 10rpx;
font-size: 28rpx;
background: #FE0505;
color: #fff;
}
}
}
.determine-frame {
padding-top: 85rpx;
width: 681rpx;
height: 340rpx;
background: #FFFFFF;
border-radius: 15rpx;
>.title {
text-align: center;
font-size: 38rpx;
color: #000;
}
>.buttons {
display: flex;
justify-content: space-evenly;
margin-top: 80rpx;
>view {
width: 250rpx;
height: 76rpx;
@@ -396,13 +494,13 @@
line-height: 76rpx;
border-radius: 10rpx;
font-size: 28rpx;
&:nth-of-type(1) {
background: #FFFFFF;
border: 1rpx solid #B6B6B6;
color: #333;
}
&:nth-of-type(2) {
background: #FE0505;
color: #fff;