完善页面

This commit is contained in:
wangxiaowei
2025-09-18 17:30:41 +08:00
parent e9f804b373
commit 864c40aa3a
26 changed files with 1357 additions and 81 deletions

View File

@ -13,7 +13,7 @@
<view class="text-34rpx leading-48rpx line-1" :class="canUse ? 'text-[#303133]' : 'text-[#909399]'">茶室优惠</view>
<view class="mt-40rpx text-[#909399] text-24rpx leading-34rpx" :class="canUse ? 'text-[#909399]' : 'text-[#BFC2CC]'">有效期至 2022-08-12</view>
</view>
<view class="h-100% mr-70rpx mt-58rpx">
<view class="h-100% mr-70rpx mt-58rpx" v-if="showChecked">
<wd-radio :value="coupon.id" shape="dot" :disabled="!canUse"></wd-radio>
</view>
</view>
@ -35,8 +35,9 @@
expire: string
}
canUse: boolean
showChecked: boolean
checked: boolean
onCheck: (id: number) => void
onCheck: (id: number) => void,
}>()
</script>

View File

@ -105,7 +105,7 @@
if (type === 'detail') {
let type = props.isGroupBuying ? ReserveServiceCategory.GroupBuying : ReserveServiceCategory.ReserveRoom
uni.navigateTo({
url: `/bundle/reserve-room/detail?id=${id}&type=${type}`
url: `/bundle/tea-room/detail?id=${id}&type=${type}`
})
}
}