宴席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) {
this.order_id = option.order_id;;
this.orderInfo.order_id = option.order_id;
this.order_id = option.id;;
this.orderInfo.order_id = option.id;
this.getOrderDetail()
},
methods: {
@ -245,6 +245,7 @@
} else {
uni.$u.toast(res.msg);
}
this.goBack ()
});
}
},
@ -282,7 +283,18 @@
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>

View File

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