diff --git a/pages.json b/pages.json index c71cc4b..507c667 100644 --- a/pages.json +++ b/pages.json @@ -267,6 +267,12 @@ "navigationStyle": "custom" } }, + { + "path": "order/writeComment", + "style": { + "navigationBarTitleText": "填写评价" + } + }, { "path": "user/bindTel", "style": { @@ -351,6 +357,12 @@ "navigationBarTitleText": "游踪指南", "navigationStyle": "custom" } + }, + { + "path": "order/commentList", + "style": { + "navigationBarTitleText": "用户评价" + } } ] }], diff --git a/pages/index/index.vue b/pages/index/index.vue index 0254cbd..28991a1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -546,7 +546,6 @@ .scenic-title { padding: 0 4rpx; - font-weight: 500; color: #100e0e; font-size: 28rpx; margin-top: 10rpx; diff --git a/pages/user/user.vue b/pages/user/user.vue index 95b1c32..d550310 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -357,7 +357,6 @@ .username { margin-left: 20rpx; - font-weight: 500; font-size: 40rpx; color: #000000; } @@ -377,7 +376,7 @@ .orderBox { width: 697rpx; - background: #FFFFFF; + background: linear-gradient(to bottom, #f8f4f0,rgba(248, 244, 240, .8),rgba(248, 244, 240, .5)); box-shadow: 0rpx 0rpx 23rpx 0rpx rgba(80, 80, 80, 0.12); border-radius: 20rpx; margin: -85rpx auto 0; diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index 46e8e72..5ff37f0 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -283,7 +283,28 @@ Vue.prototype.goDetailByType= function(item){ url: `${detailData.url}?id=${(['ticket','hotel'].includes(detailData.genre)?item.scenic_id:item.id)}` }) } - - - } + +// 是否接收订阅消息 +Vue.prototype.getSubscribeMessage = () => { + const templateIds = [ + // 退款成功通知 + 'hRZoiEES2BWtKb6Xgsnn8khLQH9un5j_11qu0bwlhfE', + // 订单核销通知 + // '7D-JP7o0nQ_NiQk2w8mBs8jdT1_7ofvyBN-G9NLY2Zk', + // 订单支付成功通知 + // '6cHez9KDlCDp1_nWUlUSV7qEaahIQWmYVlOCE-J6ODQ', + // 出票失败提醒 + // 'G-N85zK2gPwgTRZWQrtHZo_-5TFcdAqBxSk4qsqcvVc', + // 出票结果通知 + 'YyTCUIYBnrj9CyKks8cOjNX_Rk8a4yVdswMP-zXVbhc' + ] + uni.requestSubscribeMessage({ + tmplIds: templateIds, + complete (res) { + uni.navigateTo({ + url: '/subPackages/order/trades' + }) + } + }) +} \ No newline at end of file diff --git a/subPackages/hotelHomestay/order.vue b/subPackages/hotelHomestay/order.vue index 6758e2d..4818a4b 100644 --- a/subPackages/hotelHomestay/order.vue +++ b/subPackages/hotelHomestay/order.vue @@ -38,7 +38,7 @@ 订单确认后,您在{{new Date(selectDate.startDay).Format('yyyy年MM月dd日')}}20:00前之免费取消或 变更订单,20:00后将收取30%房费作为违约费用。 - 预期不可取消或/修改,扣取全额房费 + 预期不可取消或/修改,扣取全额房费 diff --git a/subPackages/line/order.vue b/subPackages/line/order.vue index 8e6bae6..43b2b0a 100644 --- a/subPackages/line/order.vue +++ b/subPackages/line/order.vue @@ -444,7 +444,7 @@ .price { font-size: 23rpx; - color: #F84A56; + color: #C3282E; line-height: 20rpx; } .price::after { @@ -544,7 +544,7 @@ display: flex; justify-content: space-between; align-items: center; - padding-left: 26rpx; + padding: 0 26rpx; box-shadow: 0px 0px 16rpx 0px rgba(6, 0, 1, 0.1); z-index: 999; @@ -556,7 +556,7 @@ .price { flex: 1; font-size: 36rpx; - color: #F84A56; + color: #C3282E; font-weight: bold; } diff --git a/subPackages/line/orders.vue b/subPackages/line/orders.vue index 20f6615..3f48024 100644 --- a/subPackages/line/orders.vue +++ b/subPackages/line/orders.vue @@ -46,7 +46,7 @@ 优惠券 选择优惠券 - + -¥{{coupon.CouponActivity.discounts/100}} @@ -417,7 +417,6 @@ .product-title { color: #000000; font-size: 33rpx; - font-weight: 500; line-height: 47rpx; margin-bottom: 30rpx; } @@ -676,7 +675,7 @@ .order-all-text { flex: 1; font-size: 36rpx; - color: #F84A56; + color: #C3282E; font-weight: bold; } } diff --git a/subPackages/notice/noticeList.vue b/subPackages/notice/noticeList.vue index 3c02071..ec0418b 100644 --- a/subPackages/notice/noticeList.vue +++ b/subPackages/notice/noticeList.vue @@ -121,7 +121,6 @@ margin-left: 20rpx; .title { - font-weight: 500; font-size: 28rpx; color: #000000; } diff --git a/subPackages/order/commentList.vue b/subPackages/order/commentList.vue new file mode 100644 index 0000000..1cddc55 --- /dev/null +++ b/subPackages/order/commentList.vue @@ -0,0 +1,349 @@ + + + + + diff --git a/subPackages/order/detail.vue b/subPackages/order/detail.vue index 9ae9e87..3691c61 100644 --- a/subPackages/order/detail.vue +++ b/subPackages/order/detail.vue @@ -95,7 +95,7 @@ 优惠券:-¥{{info.discounts / 100}} - 实付金额:¥{{info.pay_money / 100}} + 实付金额:¥{{info.pay_money / 100}} @@ -161,7 +161,7 @@ 优惠券:-¥{{info.discounts / 100}} - 实付金额:¥{{info.pay_money / 100}} + 实付金额:¥{{info.pay_money / 100}} @@ -231,7 +231,7 @@ 优惠券:-¥{{info.discounts / 100}} - 实付金额:¥{{info.pay_money / 100}} + 实付金额:¥{{info.pay_money / 100}} @@ -331,7 +331,7 @@ 优惠券:-¥{{info.discounts / 100}} - 实付金额:¥{{info.pay_money / 100}} + 实付金额:¥{{info.pay_money / 100}} @@ -382,6 +382,10 @@ 关闭订单 + + + 立即评价 + index ? 'star-seld.png' : 'star.png')" + v-for="(item,index) in 5" :key="index" @click="changeStar(item)" class="starImg"/> + --> + +