diff --git a/components/config/PrivacyAgreementPoup.vue b/components/config/PrivacyAgreementPoup.vue
new file mode 100644
index 0000000..6eda2c6
--- /dev/null
+++ b/components/config/PrivacyAgreementPoup.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/config/configPopup.vue b/components/config/configPopup.vue
index f0ed9f8..4f70dd3 100644
--- a/components/config/configPopup.vue
+++ b/components/config/configPopup.vue
@@ -9,7 +9,7 @@
diff --git a/pages.json b/pages.json
index 18cc921..4fce5ac 100644
--- a/pages.json
+++ b/pages.json
@@ -55,6 +55,12 @@
},
{
"path": "order/refundsOrExchange"
+ },
+ {
+ "path": "auth/wxLogin"
+ },
+ {
+ "path": "auth/wxUserInfo"
}
]
}],
diff --git a/pages/index/cart.vue b/pages/index/cart.vue
index bb1905d..7641341 100644
--- a/pages/index/cart.vue
+++ b/pages/index/cart.vue
@@ -3,58 +3,72 @@
-
-
-
-
-
-
-
-
-
-
- 桌布租赁
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
-
-
+
+ 规格:{{ item.unit }}
+
+
+
+ ¥{{ item.price }}元
-
-
- 规格:120*40*75【桌子尺寸】
-
-
-
- ¥299元
-
-
-
-
-
+
+
+
+
- 4
+ {{ checkboxValue.length }}
合计
- ¥218.00
+ ¥{{ totalPrice }}
- 共4件,已享受更低优惠
+ 共{{ checkboxValue.length }}件,已享受更低优惠
@@ -76,17 +90,47 @@
data() {
return {
value : 0,
+ checkboxValue : [],
options: [
{
text: '删除',
style: {
- backgroundColor: '#f56c6c'
+ backgroundColor: '#FA5A0A'
}
},
],
+ list : [
+ {
+ id : 1,
+ title : '桌布租赁',
+ num : 1,
+ price : 299,
+ unit : '120*40*75【桌子尺寸】',
+ },
+ {
+ id : 2,
+ title : '桌布租赁',
+ num : 1,
+ price : 299,
+ unit : '120*40*75【桌子尺寸】',
+ },
+ ],
}
},
- computed: {},
+ computed: {
+ totalPrice(){
+ if (!this.checkboxValue.length) {
+ return 0
+ }
+ let price = 0
+ this.list.forEach(n => {
+ if(this.checkboxValue.includes(n.id)){
+ price += n.price * n.num
+ }
+ })
+ return price
+ },
+ },
methods: {
valChange(){
@@ -105,6 +149,11 @@
background-color: #fff;
display: flex;
padding: 30rpx;
+ .checkbox{
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
.image{
width: 200rpx;
height: 200rpx;
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 2c617c5..6710415 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -90,7 +90,8 @@
-
+
我要水洗
@@ -107,11 +108,14 @@
+
+
+
+
diff --git a/pages_order/auth/wxUserInfo.vue b/pages_order/auth/wxUserInfo.vue
new file mode 100644
index 0000000..05bcfb6
--- /dev/null
+++ b/pages_order/auth/wxUserInfo.vue
@@ -0,0 +1,133 @@
+
+
+
+ 酒店桌布租赁平台
+
+
+ 申请获取你的头像、昵称
+
+
+
+
+
+ 昵称
+
+
+
+
+
+
+ 确认
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_order/components/product/submitUnitSelect.vue b/pages_order/components/product/submitUnitSelect.vue
index 8c085dc..cc32f99 100644
--- a/pages_order/components/product/submitUnitSelect.vue
+++ b/pages_order/components/product/submitUnitSelect.vue
@@ -60,15 +60,23 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 费用明细
+
+
+ 押金:¥200
+
+
+
+
+
+ {{ submiitTitle }}
+
@@ -87,6 +95,12 @@
components : {
addressList
},
+ props : {
+ submiitTitle : {
+ default : '立即租赁',
+ type : String,
+ }
+ },
data() {
return {
unitIndex : 0,
@@ -244,5 +258,31 @@
}
}
}
+ .expense-detail{
+ padding: 30rpx;
+ background-color: #fff;
+ font-size: 28rpx;
+ .title{
+ font-weight: 600;
+ }
+ .detail{
+ background-color: #F6F6F6;
+ color: #717171;
+ margin: 10rpx 0;
+ padding: 10rpx 20rpx;
+ }
+ }
+ .submit-btn{
+ background: $uni-color;
+ width: 600rpx;
+ height: 80rpx;
+ color: #fff;
+ border-radius: 40rpx;
+ font-size: 28rpx;
+ margin: 20rpx auto;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
}
diff --git a/pages_order/order/refundsOrExchange.vue b/pages_order/order/refundsOrExchange.vue
index 975dbfb..efaf375 100644
--- a/pages_order/order/refundsOrExchange.vue
+++ b/pages_order/order/refundsOrExchange.vue
@@ -181,7 +181,7 @@ export default {
}
-