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 @@
+
+
+
+
+
+
+
+ {{item.user.username ? item.user.username : '匿名用户'}}
+
+
+ {{item.create_time.substring(0,10)}}
+
+
+
+
+ |
+
+ {{item.goods_name}}
+
+
+
+
+ {{item.content}}
+
+
+
+ 收起
+
+
+ 展开
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无评论~
+
+
+
+
+
+
+
+
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 @@
关闭订单
+
+
+ 立即评价
+
优惠:
- ¥
- {{reducePrice}}
+ ¥
+ {{reducePrice}}
优惠:
- {{reducePrice}}
+ {{reducePrice}}
diff --git a/subPackages/order/trades.vue b/subPackages/order/trades.vue
index 7476303..22ce130 100644
--- a/subPackages/order/trades.vue
+++ b/subPackages/order/trades.vue
@@ -446,7 +446,7 @@
font-size: 27rpx;
font-family: PingFang SC;
font-weight: bold;
- color: #EE0000;
+ color: #C3282E;
}
.trade-item-head-name {
@@ -524,7 +524,7 @@
.trade-item-pro-price-pri {
font-size: 27rpx;
- color: #fc514b;
+ color: #C3282E;
font-weight: 500;
color: #333333;
}
diff --git a/subPackages/order/writeComment.vue b/subPackages/order/writeComment.vue
new file mode 100644
index 0000000..a05509b
--- /dev/null
+++ b/subPackages/order/writeComment.vue
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+ {{info.specifications_name}}
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
diff --git a/subPackages/techan/detail.vue b/subPackages/techan/detail.vue
index 6624c2f..f8f86d6 100644
--- a/subPackages/techan/detail.vue
+++ b/subPackages/techan/detail.vue
@@ -473,7 +473,7 @@
font-size: 42rpx;
font-family: PingFang SC;
font-weight: bold;
- color: rgba(248, 74, 86, 1);
+ color: #C3282E;
&:before {
content: '¥';
diff --git a/subPackages/techan/techanList.vue b/subPackages/techan/techanList.vue
index 122b46a..bae0246 100644
--- a/subPackages/techan/techanList.vue
+++ b/subPackages/techan/techanList.vue
@@ -47,7 +47,7 @@
+ :custom-style="{background:'#F7F7F7',color:'#C3282E',border:'1px solid #C3282E'}">
@@ -591,7 +591,7 @@
.bottom-productPrice {
font-size: 40rpx;
- color: #FC524B;
+ color: #C3282E;
&:before {
content: "¥";
@@ -686,7 +686,7 @@
height: 78rpx;
text-align: center;
line-height: 78rpx;
- background: linear-gradient(90deg, #F84A56, #FF9834);
+ background: linear-gradient(90deg, #C3282E, #FF9834);
border-radius: 40rpx;
font-size: 34rpx;
diff --git a/subPackages/ticketBooking/detail.vue b/subPackages/ticketBooking/detail.vue
index 35448c2..d4cff7f 100644
--- a/subPackages/ticketBooking/detail.vue
+++ b/subPackages/ticketBooking/detail.vue
@@ -888,7 +888,7 @@
}
.price{
- color: #EE3E3B;
+ color: #C3282E;
}
}
@@ -950,7 +950,7 @@
.bottom-price {
font-size: 48rpx;
font-weight: bold;
- color: #EE3E3B;
+ color: #C3282E;
}
.bottom-price::before {
font-size: 24rpx;
@@ -974,7 +974,6 @@
display: flex;
align-items: flex-start;
.address-detail{
- font-weight: 500;
font-size: 27rpx;
color: #666666;
padding-right: 40rpx;
diff --git a/subPackages/ticketBooking/order.vue b/subPackages/ticketBooking/order.vue
index eeb0d74..8d25512 100644
--- a/subPackages/ticketBooking/order.vue
+++ b/subPackages/ticketBooking/order.vue
@@ -1052,7 +1052,10 @@
paySign: res.data.paySign,
signType: res.data.signType,
timeStamp: res.data.timeStamp,
- complete() {
+ success: () => {
+ this.getSubscribeMessage()
+ },
+ fail() {
uni.navigateTo({
url: '/subPackages/order/trades'
})
diff --git a/subPackages/user/myAddressAdd.vue b/subPackages/user/myAddressAdd.vue
index 4a45460..b3dc06a 100644
--- a/subPackages/user/myAddressAdd.vue
+++ b/subPackages/user/myAddressAdd.vue
@@ -12,10 +12,10 @@
选择地区:
-
+
-
@@ -27,7 +27,7 @@
设为默认:
-
+
@@ -351,8 +351,9 @@
border: 0;
background-color: transparent;
line-height: 34rpx;
- font-size: 34rpx;
+ font-size: 31rpx;
text-align: right;
+ font-weight: 500;
}
.list-item-input input::placeholder {
diff --git a/subPackages/user/myContactsAdd.vue b/subPackages/user/myContactsAdd.vue
index 3ecdde8..becb04b 100644
--- a/subPackages/user/myContactsAdd.vue
+++ b/subPackages/user/myContactsAdd.vue
@@ -240,8 +240,9 @@
border: 0;
background-color: transparent;
line-height: 34rpx;
- font-size: 34rpx;
+ font-size: 31rpx;
text-align: right;
+ font-weight: 500;
}
input::placeholder {