From b76151a38da5756c93b987c0747dc8699c3a28cf Mon Sep 17 00:00:00 2001 From: chenkainan Date: Wed, 11 Jun 2025 15:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 + store/modules/user.js | 7 +- subPackages/line/order.vue | 52 ++- subPackages/line/orders.vue | 796 ++++++++++++++++++++++++++++++++++++ 4 files changed, 832 insertions(+), 29 deletions(-) create mode 100644 subPackages/line/orders.vue diff --git a/pages.json b/pages.json index 63b2ade..9c609c8 100644 --- a/pages.json +++ b/pages.json @@ -72,6 +72,12 @@ "style" : { "navigationBarTitleText" : "填写订单" } + }, + { + "path" : "line/orders", + "style" : { + "navigationBarTitleText" : "填写订单" + } } ] }], diff --git a/store/modules/user.js b/store/modules/user.js index 51a3b42..ff06ba9 100644 --- a/store/modules/user.js +++ b/store/modules/user.js @@ -18,7 +18,8 @@ export default { date: null, //使用日期信息 coupon: null, // 优惠券信息 people: null, //预定人信息 - } // 会议预定信息 + }, // 会议预定信息 + lineInfo: "", // 线路下单 }, // 类似 vue 里的 mothods(同步方法) mutations: { @@ -70,6 +71,10 @@ export default { //meetRoomReserve修改会议预定信息 changeMeetRoomReserve(state, data){ state.meetRoomReserve = data + }, + // 线路下单 + changeLineInfo(state, data){ + state.lineInfo = data } } } diff --git a/subPackages/line/order.vue b/subPackages/line/order.vue index 28e7405..15c6dd7 100644 --- a/subPackages/line/order.vue +++ b/subPackages/line/order.vue @@ -73,12 +73,8 @@ - 总额: - ¥{{ totalPrice() / 100 }} - - - 客服 - + 合计: + {{ totalPrice() / 100 }} 下一步 @@ -294,7 +290,9 @@ }; this.$store.commit('changeLineInfo', data); - uni.navigateTo({}); + uni.navigateTo({ + url: '/subPackages/line/orders' + }); }, // 规格排序 sortSku(sku) { @@ -440,7 +438,7 @@ .price { font-size: 23rpx; - color: #d62828; + color: #F84A56; line-height: 20rpx; } @@ -519,7 +517,7 @@ .single-price { font-size: 33rpx; - color: #d62828; + color: #F84A56; text-align: right; margin-top: 20rpx; } @@ -546,34 +544,32 @@ z-index: 999; .fixed-text { - flex-shrink: 0; - font-size: 29rpx; + font-weight: bold; + font-size: 32rpx; + color: #000000; } .price { flex: 1; - font-size: 36rpx; - color: #d62828; - font-weight: 500; + font-size: 40rpx; + color: #DC2525; + font-weight: bold; } - - .kefu-box { - flex-shrink: 0; - text-align: center; - font-size: 23rpx; - color: #666; - width: 100rpx; + .price::before { + font-size: 24rpx; + content: '¥'; } .btn { - width: 267rpx; + width: 233rpx; text-align: center; - line-height: 113rpx; - background: #d62828; - color: #fff; - font-size: 36rpx; - font-weight: 500; - margin-left: 30rpx; + line-height: 73rpx; + background: #6A8A27; + border-radius: 11rpx; + font-weight: bold; + font-size: 32rpx; + color: #FFFFFF; + margin: 0 26rpx 0 auto; } } \ No newline at end of file diff --git a/subPackages/line/orders.vue b/subPackages/line/orders.vue new file mode 100644 index 0000000..e26510f --- /dev/null +++ b/subPackages/line/orders.vue @@ -0,0 +1,796 @@ + + + + + \ No newline at end of file