优化套餐推广的编辑/删除 下架后可操作
This commit is contained in:
@@ -72,7 +72,7 @@ watch(
|
|||||||
if (newValue == 0) {
|
if (newValue == 0) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '注意',
|
title: '注意',
|
||||||
content: '关闭拼团商品所有未支付的订单都将自动取消,是否确定关闭?',
|
content: '关闭拼团商品所有未成团的订单都将自动取消,是否确定关闭?',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
upShopConfigAjax();
|
upShopConfigAjax();
|
||||||
|
|||||||
@@ -45,12 +45,19 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="footer-wrap" v-if="item.shopId == shopInfo.id">
|
<view class="footer-wrap" v-if="item.shopId == shopInfo.id">
|
||||||
<view class="btn">
|
<template v-if="!item.onlineStatus">
|
||||||
<u-button shape="circle" @click="delHandle(item)">删除</u-button>
|
<view class="btn">
|
||||||
</view>
|
<u-button shape="circle" @click="delHandle(item)">删除</u-button>
|
||||||
<view class="btn">
|
</view>
|
||||||
<u-button type="primary" shape="circle" @click="editorHandle(item)">编辑</u-button>
|
<view class="btn">
|
||||||
</view>
|
<u-button type="primary" shape="circle" @click="editorHandle(item)">编辑</u-button>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<view class="btn" style="width: 150px">
|
||||||
|
<u-button shape="circle">下架后编辑/删除</u-button>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in New Issue
Block a user