优化套餐推广的编辑/删除 下架后可操作

This commit is contained in:
gyq
2025-12-23 14:48:57 +08:00
parent 396e00db7d
commit 15a2429323
2 changed files with 14 additions and 7 deletions

View File

@@ -72,7 +72,7 @@ watch(
if (newValue == 0) {
uni.showModal({
title: '注意',
content: '关闭拼团商品所有未支付的订单都将自动取消,是否确定关闭?',
content: '关闭拼团商品所有未成团的订单都将自动取消,是否确定关闭?',
success: (res) => {
if (res.confirm) {
upShopConfigAjax();

View File

@@ -45,12 +45,19 @@
</view>
</view>
<view class="footer-wrap" v-if="item.shopId == shopInfo.id">
<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>