更新:增加课程和图书VIP购买及“我的”主页vip身份显示

This commit is contained in:
2025-11-27 14:19:51 +08:00
parent 509f735493
commit 7062e675f6
20 changed files with 1117 additions and 66 deletions

View File

@@ -2,6 +2,7 @@
<wd-popup
v-model="visible"
position="bottom"
@close="handleClose"
>
<view class="goods-selector">
<view v-if="selectedIndex !== -1" class="goods-info-mini">
@@ -93,9 +94,20 @@ const handleConfirm = () => {
return
}
visible.value = false
emit('confirm', props.goods[selectedIndex.value])
}
/**
* 关闭弹窗
*/
const handleClose = () => {
visible.value = false
emit('close')
}
// 监听显示状态,重置选择
watch(() => props.show, (newVal: boolean) => {
if (newVal && props.goods.length > 0) {