优化套餐推广的编辑/删除 下架后可操作
This commit is contained in:
@@ -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