完善页面

This commit is contained in:
wangxiaowei
2025-12-26 14:46:30 +08:00
parent 54a850fd66
commit f8d8c29dc3
18 changed files with 77 additions and 36 deletions

View File

@ -41,8 +41,15 @@
// 是否是团购套餐
const isGroupBuying = ref<number>(0)
const storeId = ref<number>(0) // 店铺ID
const storeType = ref<number>(0) // 1. 直营 2. 加盟
onLoad((args) => {
storeId.value = Number(args.storeId) || 0
storeType.value = Number(args.storeType) || 0
console.log("🚀 ~ 456 storeId:", storeId.value, storeType.value)
type.value = args.type || ''
isGroupBuying.value = Number(args.isGroupBuying) || 0
})
@ -53,7 +60,7 @@
*/
handleRoomSeeOrder: () => {
if (isGroupBuying.value) {
router.navigateTo('/bundle/order/platform/order-list')
router.reLaunch( `/bundle/tea-room/room?id=${storeId.value}&type=${storeType.value}`)
} else {
router.navigateTo('/bundle/order/tea-room/order-list')
}