diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..35410ca
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# 默认忽略的文件
+/shelf/
+/workspace.xml
+# 基于编辑器的 HTTP 客户端请求
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/high-unionPay.iml b/.idea/high-unionPay.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/high-unionPay.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..03d9549
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/.xml b/.idea/libraries/.xml
new file mode 100644
index 0000000..d18261a
--- /dev/null
+++ b/.idea/libraries/.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..639900d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..64149c7
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/high-unionPay/pages/order/confirmation.vue b/high-unionPay/pages/order/confirmation.vue
index b4c61a0..5e73263 100644
--- a/high-unionPay/pages/order/confirmation.vue
+++ b/high-unionPay/pages/order/confirmation.vue
@@ -69,6 +69,22 @@
+
+
+
+ 联系人
+
+
+
+ 联系电话
+
+
+
+ 联系地址
+
+
+
+
@@ -228,7 +244,13 @@
isUse: true, // 是否禁用状态
rechargeDes: '', // 支付详情
rebateIntegral: '', //返回积分
- Integrastu: 1 //返积分状态
+ Integrastu: 1 //返积分状态
+ typeId: '',
+ identificationCode: '' ,//渠道商
+ contactPepole: '', //联系人
+ contactPhone: '', //联系电话
+ contactAddress: '' //联系地址
+
};
},
onLoad(option) {
@@ -507,6 +529,13 @@
"payGold": this.priceValue[1],
"promoteCode": this.identificationCode,
memDiscountId: this.memDiscountId
+ "storeId": this.storeId
+ }],
+ "postData": {
+ "address": this.contactAddress,
+ "user": this.contactPepole,
+ "phone": this.contactPhone
+ }
}
create(goods).then(res => {
if (res.return_code == '000000') {
@@ -730,7 +759,7 @@
.toFixed(2);
} else {
this.paytheprice = parseFloat(this.orderPrice - parseFloat(this.priceValue[1] / 100).toFixed(2) - this
- .deductionPrice).toFixed(2);
+ .deductionPrice).toFixed(2);
}
if (this.paytheprice == 0) {
this.isUse = false;
@@ -1098,4 +1127,4 @@
}
}
}
-
+
diff --git a/high-unionPay/pages/tabBar/category/category.vue b/high-unionPay/pages/tabBar/category/category.vue
index bc64bbb..918ffdb 100644
--- a/high-unionPay/pages/tabBar/category/category.vue
+++ b/high-unionPay/pages/tabBar/category/category.vue
@@ -271,10 +271,12 @@
// uni.showToast({title: "建议跳转到新页面做搜索功能"});
},
//拨打客服电话
- playPhone() {
+ playPhone() {
+ let cont = "本服务由惠兑礼品提供\n400-678-738";
+ let content = cont.replace(/
/g,"\n");
uni.showModal({
title: '客服',
- content: '4006780738',
+ content: content,
success: function(res) {
if (res.confirm) {
uni.makePhoneCall({
diff --git a/high-unionPay/pages/tabBar/home/home.vue b/high-unionPay/pages/tabBar/home/home.vue
index b2130ce..0c4a410 100644
--- a/high-unionPay/pages/tabBar/home/home.vue
+++ b/high-unionPay/pages/tabBar/home/home.vue
@@ -297,7 +297,7 @@
platform: 3,
categoryCode: 'CMS_HOME'
}
- getCmsContent(params).then(res => {
+ getCmsContent(params).then(res => {
this.isdisplay = false;
if (res.return_code == '000000') {
this.homeCateList = res.return_data;
@@ -418,11 +418,11 @@
swiperChange(event) {
this.currentSwiper = event.detail.current;
},
- //跳转菜单
- toCategory(item) {
- uni.navigateTo({
- url: item.jumpUrl
- })
+ //跳转菜单
+ toCategory(item) {
+ uni.navigateTo({
+ url: item.jumpUrl
+ })
},
//轮播跳转活动
jumplottery(item) {
@@ -700,4 +700,4 @@
border-radius: 50%;
}
}
-
+
diff --git a/high-unionPay/pages/tabBar/user/user.vue b/high-unionPay/pages/tabBar/user/user.vue
index e360b19..a841c58 100644
--- a/high-unionPay/pages/tabBar/user/user.vue
+++ b/high-unionPay/pages/tabBar/user/user.vue
@@ -488,9 +488,11 @@
},
//拨打客服电话
playPhone() {
+ let cont = "本服务由惠兑礼品提供\n400-678-738";
+ let content = cont.replace(/
/g,"\n");
uni.showModal({
title: '客服',
- content: '4006780738',
+ content: content,
success: function(res) {
if (res.confirm) {
uni.makePhoneCall({
diff --git a/high-unionPay/pages/user/order_details/order_details.vue b/high-unionPay/pages/user/order_details/order_details.vue
index 3178459..6e6a3df 100644
--- a/high-unionPay/pages/user/order_details/order_details.vue
+++ b/high-unionPay/pages/user/order_details/order_details.vue
@@ -1,5 +1,5 @@
-
-
+
+
@@ -16,7 +16,7 @@
实付:¥{{recinfo.payRealPrice}}
{{recinfo.createTime | formatDate('-')}}
-
+
本单优惠
@@ -27,7 +27,7 @@
感谢您信任嗨森逛,欢迎再次消费
-
+
商家/订单信息
@@ -59,7 +59,7 @@
{{oilList.storeAddress}}
-
+
商品信息
@@ -96,7 +96,7 @@
¥{{oilList.gasRefuelPrice}}
-
+
优惠信息
@@ -120,21 +120,21 @@
-
+
-
+
加油实付 ¥{{recinfo.payRealPrice}}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
+
-
+
再来一单
-
-
-
-
-
-
-
diff --git a/high-unionPay/subPages/coupon-packge-details/coupon-packge-details.vue b/high-unionPay/subPages/coupon-packge-details/coupon-packge-details.vue
index 7006c03..927a745 100644
--- a/high-unionPay/subPages/coupon-packge-details/coupon-packge-details.vue
+++ b/high-unionPay/subPages/coupon-packge-details/coupon-packge-details.vue
@@ -19,7 +19,7 @@
-
+
diff --git a/high-unionPay/subPages/lottery/lottery.vue b/high-unionPay/subPages/lottery/lottery.vue
index 2a02f99..6c563a4 100644
--- a/high-unionPay/subPages/lottery/lottery.vue
+++ b/high-unionPay/subPages/lottery/lottery.vue
@@ -193,6 +193,7 @@
couponId: this.couponId
}
getActivityByCoupon(params).then(res => {
+ uni.hideLoading();
if (res.return_code == '000000') {
let prizeLists = res.return_data.activityAward;
this.activityId = res.return_data.activityInfo.id;
@@ -287,7 +288,9 @@
},
onLoad(options) {
this.couponId = options.id
- this.handleInitCanvas()
+ },
+ onShow() {
+ this.handleInitCanvas();
},
onUnload() {
uni.hideLoading()