完善页面
This commit is contained in:
@ -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>
|
||||
|
||||
|
||||
@ -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}`
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user