宴席2.0 页面优化
Some checks are pending
deploy / deploy (push) Waiting to run

This commit is contained in:
sjeam 2025-08-15 17:41:46 +08:00
parent 6119af35df
commit 2ae9c80165
2 changed files with 141 additions and 129 deletions

View File

@ -203,8 +203,8 @@
}; };
}, },
onLoad (option) { onLoad (option) {
this.order_id = option.order_id;; this.order_id = option.id;;
this.orderInfo.order_id = option.order_id; this.orderInfo.order_id = option.id;
this.getOrderDetail() this.getOrderDetail()
}, },
methods: { methods: {
@ -245,6 +245,7 @@
} else { } else {
uni.$u.toast(res.msg); uni.$u.toast(res.msg);
} }
this.goBack ()
}); });
} }
}, },
@ -282,7 +283,18 @@
url: `/pages/banquet/cook/detail?id=${id}` url: `/pages/banquet/cook/detail?id=${id}`
}); });
}, },
goBackHome () {
uni.switchTab({
// url: '/pages/index/index'
url: '/pages/tab/user/index'
});
},
//
goBack () {
uni.navigateBack({
delta: 1 // delta 1
});
},
}, },
}); });
</script> </script>

View File

@ -17,7 +17,7 @@
<wd-card > <wd-card >
<template #title> <template #title>
<view class="title"> <view class="title">
<view> 创建时间{{ item.create_time }} </view> <view class="font-size-28">创建时间{{ item.create_time }} </view>
<text v-if="item.paid === 0"> <text v-if="item.paid === 0">
<wd-tag custom-class="space" mark>未付款</wd-tag> <wd-tag custom-class="space" mark>未付款</wd-tag>
</text> </text>