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