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 @@
+
+
+
+ {{ product.title }}
+ {{ selectDate.date }}
+
+ {{ item.sku_name }}x{{ item.num }}
+
+
+
+
+ 出行人信息
+
+
+
+ {{ skuItem.sku_name }}
+
+
+ {{ linkmans[skuIndex][index].name }}
+ {{ linkmans[skuIndex][index].tel }}
+
+
+
+
+
+ + 添加
+
+
+
+
+
+ 联系电话
+
+
+
+
+ 订单备注
+
+
+
+
+
+ 优惠券
+
+ 选择优惠券
+
+ -¥{{coupon.CouponActivity.discounts/100}}
+
+
+
+
+
+
+
+
+
+ 合计:
+
+ ¥{{ priceTotal() / 100 }}
+
+
+ 去支付
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file