完善功能

This commit is contained in:
wangxiaowei
2025-12-27 01:34:44 +08:00
parent a92e4354ad
commit 18b7d483a6
6 changed files with 46 additions and 28 deletions

View File

@ -86,9 +86,13 @@
</view>
</view>
<!-- <view class="text-center flex items-center text-28rpx mt-28rpx justify-end">
<view class="w-178rpx h-70rpx leading-70rpx rounded-8rpx border-[2rpx] border-[#4C9F44] text-[#4C9F44]" v-if="order.status === DouYinOrderStatus.ToUse">立即预定</view>
</view> -->
<view class="text-center flex items-center text-28rpx mt-28rpx justify-end">
<view class="w-178rpx h-70rpx leading-70rpx rounded-8rpx border-[2rpx] border-[#4C9F44] text-[#4C9F44]"
v-if="order.status === DouYinOrderStatus.ToUse"
@click="ComboCard.handleUsePackage(order.store_id, order.operation_type)">
立即预定
</view>
</view>
</view>
</view>
</view>
@ -310,7 +314,7 @@
},
/**
* 使用套餐
* 使用套餐(抖音、团购,都跳转到对应的页面)
*/
handleUsePackage: (store_id: number, operation_type: number) => {
router.navigateTo(`/bundle/tea-room/room?id=${store_id}&type=${operation_type}`)