diff --git a/components/pay-modal/index.vue b/components/pay-modal/index.vue
new file mode 100644
index 0000000..de48abf
--- /dev/null
+++ b/components/pay-modal/index.vue
@@ -0,0 +1,68 @@
+
+
+ {{ '支付验证' }}
+
+ 请输入短信验证码
+ 请输入密码
+
+
+ {{ '立即支付' }}
+
+
+
+
+
+
+
+
diff --git a/pages/mine/index.vue b/pages/mine/index.vue
index d5a8b56..45a3599 100644
--- a/pages/mine/index.vue
+++ b/pages/mine/index.vue
@@ -277,6 +277,13 @@ export default {
menuKey: 'wallet',
ifshow: false,
},
+ {
+ url: '/pages/pickupArea/pickupArea',
+ name: '提货专区',
+ imgurl: '../../static/images/my_icon3.png',
+ menuKey: 'pickGoods',
+ ifshow: true,
+ },
{
url: '/pages/bonus/index',
name: '奖金明细',
diff --git a/pages/pickupArea/pickupArea.vue b/pages/pickupArea/pickupArea.vue
index 9b9fdc8..4c6cfb1 100644
--- a/pages/pickupArea/pickupArea.vue
+++ b/pages/pickupArea/pickupArea.vue
@@ -1,223 +1,245 @@
-
-
-
-
- {{'购买数量'}}
-
-
-
-
-
- {{'取消'}}
- {{'确定'}}
-
-
-
-
-
-
-
-
-
-
- {{'数量'}}:{{item.usableQuantity}}
-
-
- {{'截止时间'}}:{{item.receiveTime}}
-
- {{'申请提货'}}
-
-
-
-
+
+
+
+
+ {{ '提货数量' }}
+
+
+
+
+
+ {{ '取消' }}
+ {{ '确定' }}
+
+
+
+
+
+
+
+
+
+ 可提数量:
+ {{ item.usableQuantity }}
+
+ {{ '截止时间' }}:{{ item.receiveTime }}
+
+ {{ '申请提货' }}
+
+
+
+
diff --git a/pages/pickupList/index.vue b/pages/pickupList/index.vue
index bb270e7..77c1096 100644
--- a/pages/pickupList/index.vue
+++ b/pages/pickupList/index.vue
@@ -1,95 +1,93 @@
-
-
-
-
-
+
+
+
+
+
+
+ {{ '提货数量' }}
+ {{ item.pickQuantity }}
+
+
+ {{ '订单编号' }}
+ {{ item.pickOrder }}
+
+
+ {{ item.pickTime }}
+
+
+
+
diff --git a/pages/thOrder/index.vue b/pages/thOrder/index.vue
index 650a978..b86e7ce 100644
--- a/pages/thOrder/index.vue
+++ b/pages/thOrder/index.vue
@@ -1,22 +1,28 @@
-
-
-
+
- 商品信息
+ 商品信息
-
-
+
+
-
+
- {{ item.productName }}
- X{{item.quantity}}
+ {{
+ item.productName
+ }}
+ X{{ item.quantity }}
- 产品规格:{{ item.specsName }}
+ 产品规格:{{ item.specsName }}
-
- {{'邮费'}}
- ¥{{postage}}
+
+ {{ '邮费' }}
+ ¥{{ postage }}
-
+
-
- {{'微信支付'}}
+
+ {{ '微信支付' }}
-
+
-
- 购 买
-
+
+ 购 买
+
@@ -217,14 +236,15 @@ export default {
},
{
validator: (rule, value, callback) => {
- return this.$u.test.mobile(value);
+ return this.$u.test.mobile(value)
},
- message: "手机号格式不正确",
- trigger: ["blur"],
+ message: '手机号格式不正确',
+ trigger: ['blur'],
},
],
},
allData: [],
+ orderCode: '',
}
},
onLoad(option) {
@@ -251,20 +271,19 @@ export default {
quantity: allData[2].split('#')[0],
pkId: allData[1].split('&')[0],
})
- .then((res) => {
+ .then(res => {
if (res.code == '200') {
this.allData = res.data.detailList
}
})
},
getGenerate() {
- api.generate().then((res) => {
+ api.generate().then(res => {
uni.setStorageSync('mToken', res.msg)
})
},
paySubmit() {
- this.$refs.uForm.validate().then((res) => {
- // this.pswShow = true
+ this.$refs.uForm.validate().then(res => {
let allData = decodeURIComponent(window.location.href).split('=')
let obj = {
quantity: allData[2].split('#')[0],
@@ -277,24 +296,20 @@ export default {
recAddress: this.addressForm.recAddress,
remark: this.addressForm.remark,
}
- api.payPickOrder(obj).then((res) => {
+ // this.pswShow = true
+ api.payPickOrder(obj).then(res => {
if (res.code == 200) {
// this.scanPayBfWx(8)
- this.pswShow = false
- let paramsPost = { orderCode: res.data, specialArea: 8 }
- uni.navigateTo({
- url:
- '/pages/pay/index?paramsPost=' +
- JSON.stringify(paramsPost) +
- '&businessType=1',
- })
+
+ this.orderCode = res.data
+ this.pswShow = true
// this.paramsPost = { orderCode: res.data, specialArea: 8 }
}
})
})
},
reset() {
- this.$store.dispatch('GetInfo').then((res) => {
+ this.$store.dispatch('GetInfo').then(res => {
uni.reLaunch({
url: '/pages/index/index',
})
@@ -311,7 +326,7 @@ export default {
this.wxPopup = false
this.showSucce = true
} else {
- api.payStatus(data).then((res) => {
+ api.payStatus(data).then(res => {
that.sucPay = res.data
})
}
@@ -329,7 +344,7 @@ export default {
payChannel: val,
payType: 2,
}
- api.unifiedorder(params).then((res) => {
+ api.unifiedorder(params).then(res => {
this.wxPopup = true
this.$nextTick(() => {
new QRCode(
@@ -350,7 +365,7 @@ export default {
this.checkPayStatus(params)
},
getPostAge(data) {
- apis.pickPostAge(data).then((res) => {
+ apis.pickPostAge(data).then(res => {
this.postage = res.data
// this.totalAmont =
// parseFloat(this.allGoodsData.priceAmount) +
@@ -362,37 +377,43 @@ export default {
.checkPwd({
pwd: this.password,
})
- .then((res) => {
+ .then(res => {
if (res.code == 200) {
let allData = decodeURIComponent(window.location.href).split('=')
let obj = {
- quantity: allData[2].split('#')[0],
- pkId: allData[1].split('&')[0],
- recName: this.addressForm.recName,
- recPhone: this.addressForm.recPhone,
- recProvince: this.addressForm.recProvince,
- recCity: this.addressForm.recCity,
- recCounty: this.addressForm.recCounty,
- recAddress: this.addressForm.recAddress,
- remark: this.addressForm.remark,
+ orderCode: this.orderCode,
+ specialArea: 8,
+ payPwd: this.password,
+ pkSettleCountry: this.pkCountry || 1,
+ pkCountry: this.pkCountry || 1,
}
api
- .payPickOrder(obj)
- .then((res) => {
+ .payOthOrder(obj)
+ .then(res => {
if (res.code == 200) {
- // this.scanPayBfWx(8)
this.pswShow = false
- let paramsPost = { orderCode: res.data, specialArea: 8 }
- uni.navigateTo({
- url:
- '/pages/pay/index?paramsPost=' +
- JSON.stringify(paramsPost) +
- '&businessType=1',
+ uni.showToast({
+ title: '提货成功',
+ icon: 'none',
})
+ setTimeout(() => {
+ uni.reLaunch({
+ url: '/pages/mine/order/index',
+ })
+ }, 500)
+ // this.scanPayBfWx(8)
+ // this.pswShow = false
+ // let paramsPost = { orderCode: res.data, specialArea: 8 }
+ // uni.navigateTo({
+ // url:
+ // '/pages/pay/index?paramsPost=' +
+ // JSON.stringify(paramsPost) +
+ // '&businessType=1',
+ // })
// this.paramsPost = { orderCode: res.data, specialArea: 8 }
}
})
- .catch((err) => {
+ .catch(err => {
this.isLoading.close()
})
}
@@ -480,10 +501,10 @@ export default {
padding: 0 30rpx;
// width: 750rpx;
margin: 0 20rpx;
- .goods-infot{
+ .goods-infot {
display: flex;
}
- .goods_infob{
+ .goods_infob {
padding: 10rpx 0;
}
.cover {
@@ -511,7 +532,7 @@ export default {
}
.height-auto {
height: 94rpx;
- background: #005BAC;
+ background: #005bac;
line-height: 94rpx;
padding: 0 25rpx;
display: flex;
@@ -611,7 +632,7 @@ page {
background-color: #fff;
}
.btn {
- background-color: #005BAC;
+ background-color: #005bac;
border: none;
height: 92rpx;
line-height: 92rpx;
@@ -619,4 +640,4 @@ page {
margin: 100rpx auto auto auto;
width: 690rpx;
}
-
\ No newline at end of file
+