删除部分图片,增加超级会员页面功能

This commit is contained in:
2025-12-02 15:56:41 +08:00
parent 4faa482380
commit da321e3afc
81 changed files with 4395 additions and 712 deletions

View File

@@ -17,7 +17,7 @@
<view class="u-p-30">
<view class="u-m-b-32" v-for="(item, index) in rechargeLists" :key="index">
<recharge-item @del="rechargeItemDel" :index="index" :data="item"></recharge-item>
<recharge-item @del="rechargeItemDel" :index="index" :data="item" :isCanEdit="isCanEdit"></recharge-item>
</view>
</view>
</template>
@@ -67,7 +67,7 @@
<my-switch v-model="mustBindPhone"></my-switch>
</view>
</view> -->
<view class="u-m-t-60" style="padding: 80rpx">
<view class="u-m-t-60" style="padding: 80rpx" v-if="isCanEdit">
<my-button showShadow shape="circle" @click="rechargeSetting">保存</my-button>
</view>
</view>
@@ -161,6 +161,14 @@ import $util from '@/commons/utils/getDateArea.js';
import go from '@/commons/utils/go.js';
import { shopRechargePost, shopRechargeGet } from '@/http/api/market/index.js';
import { onLoad } from '@dcloudio/uni-app';
import { isMainShop } from "@/store/account.js";
const isCanEdit=computed(()=>{
return isMainShop()
})
const model = ref(null);
const modelData = reactive({