diff --git a/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue b/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue index 7c0454e..74807b6 100644 --- a/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue +++ b/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue @@ -173,7 +173,8 @@ findUser, unionPay, cardPay, - getUserOrderPreList, + getUserOrderPreList, + cancel, getRebateIntegral } from '../../Utils/Api.js'; let app = getApp(); @@ -234,7 +235,7 @@ let datas = { platformId: this.showType, - regionId: app.globalData.cityId, + "companyId": app.globalData.companyId, productType: 3 } getThirdPartyByDetail(datas).then(res => { @@ -531,13 +532,15 @@ icon: 'none', title: '工会卡余额不足', duration: 2000, - }); + }); + that.cancel(); return; } if (!that.user.isSetPayPwd) { uni.navigateTo({ url: '../../pages/login/updatePas/updatePas' - }) + }) + that.cancel(); return; } if (!that.user.isSetHltCard) { @@ -552,7 +555,8 @@ }) }, 1000) } - }); + }); + that.cancel(); return; } that.$refs.paymentPassword.modalFun('show'); @@ -589,6 +593,17 @@ } }); }); + }, + //取消订单 + cancel() { + let params = { + orderNo: this.orderId, + } + cancel(params).then(res => { + if (res.return_code == '000000') { + this.orderId = ''; + } + }) }, submitHandle(e) { uni.showLoading({ @@ -640,7 +655,8 @@ title: res.return_msg, icon: 'none', duration: 2000 - }); + }); + that.cancel(); }) return; } diff --git a/high-unionPay/pages/goods/goods-list/goods-list.vue b/high-unionPay/pages/goods/goods-list/goods-list.vue index e3e5156..600b223 100644 --- a/high-unionPay/pages/goods/goods-list/goods-list.vue +++ b/high-unionPay/pages/goods/goods-list/goods-list.vue @@ -99,14 +99,14 @@ title: '商品列表' }); this.getCouponListArea(); - this.getCmsContent('CMS_WX_APPLETS_GOODS_LIST'); + this.getCmsContent('CMS_BANNER_COUPON'); } if (option.id == 2) { uni.setNavigationBarTitle({ title: '积分列表' }); this.getCouponListArea(); - this.getCmsContent('CMS_WX_APPLETS_GOODS_LIST'); + this.getCmsContent('CMS_BANNER_COUPON'); } if (option.id == 3) { uni.setNavigationBarTitle({ @@ -124,7 +124,7 @@ uni.setNavigationBarTitle({ title: '优选商品' }); - this.getCmsContent('CMS_PRE_LIST'); + this.getCmsContent('CMS_DISCOUNT_PACKAGE_BANNER'); this.getBrandCouponList(); } }, @@ -176,7 +176,7 @@ } getCmsContent(params).then(res => { if (res.return_code == '000000') { - this.swiperList = res.return_data; + this.swiperList = res.return_data.childCategory; } }); }, diff --git a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue index eb9c25d..66d5359 100644 --- a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue +++ b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue @@ -155,7 +155,7 @@ - + 银联支付 @@ -165,7 +165,7 @@ - + 油卡支付余额: {{oilPirce}}元 @@ -175,7 +175,7 @@ - + 汇联通工会卡余额: {{tongCardPrice}}元 @@ -530,7 +530,8 @@ "saleCount": 1, }], "payGold": this.priceValue[1], - "promoteCode": this.identificationCode, + "promoteCode": this.identificationCode, + "companyId": app.globalData.companyId, "payPwd": this.PaymentPassword } create(goods).then(res => { @@ -694,7 +695,8 @@ }], "payGold": this.priceValue[1], "promoteCode": this.identificationCode, - "payPwd": this.PaymentPassword, + "payPwd": this.PaymentPassword, + "companyId": app.globalData.companyId, "memDiscountId": this.memDiscountId } create(goods).then(res => { diff --git a/high-unionPay/pages/order/confirmation.vue b/high-unionPay/pages/order/confirmation.vue index f6988ad..9b370d6 100644 --- a/high-unionPay/pages/order/confirmation.vue +++ b/high-unionPay/pages/order/confirmation.vue @@ -161,7 +161,7 @@ - + 实付:¥{{paytheprice}} @@ -526,7 +526,8 @@ "payGold": this.priceValue[1], "promoteCode": this.identificationCode, memDiscountId: this.memDiscountId, - "storeId": this.storeId, + "storeId": this.storeId, + "companyId": app.globalData.companyId, "postData": { "address": this.contactAddress, "user": this.contactPepole, @@ -687,7 +688,8 @@ }], "payGold": this.priceValue[1], "promoteCode": this.identificationCode, - "payPwd": this.PaymentPassword, + "payPwd": this.PaymentPassword, + "companyId": app.globalData.companyId, memDiscountId: this.memDiscountId } create(goods).then(res => { diff --git a/high-unionPay/pages/pay/success/success.vue b/high-unionPay/pages/pay/success/success.vue index 4ca93df..c761cd0 100644 --- a/high-unionPay/pages/pay/success/success.vue +++ b/high-unionPay/pages/pay/success/success.vue @@ -57,7 +57,7 @@ 请告知加油员用码商支付 - + diff --git a/high-unionPay/pages/tabBar/category/category.vue b/high-unionPay/pages/tabBar/category/category.vue index 918ffdb..04b7725 100644 --- a/high-unionPay/pages/tabBar/category/category.vue +++ b/high-unionPay/pages/tabBar/category/category.vue @@ -272,7 +272,7 @@ }, //拨打客服电话 playPhone() { - let cont = "本服务由惠兑礼品提供\n400-678-738"; + let cont = "本服务由惠兑礼品提供\n400-678-0738"; let content = cont.replace(/
/g,"\n"); uni.showModal({ title: '客服', diff --git a/high-unionPay/pages/tabBar/home/home.vue b/high-unionPay/pages/tabBar/home/home.vue index 0c4a410..47defd0 100644 --- a/high-unionPay/pages/tabBar/home/home.vue +++ b/high-unionPay/pages/tabBar/home/home.vue @@ -5,7 +5,10 @@
--> - + + + + @@ -22,7 +25,7 @@ - + @@ -42,7 +45,7 @@ {{item.childDate[0].title}} - {{swipers.timeData}} + {{item.childDate[0].timeData}} @@ -84,22 +87,26 @@ 更多 - - - + + + {{goods.couponName}} - {{goods.salesEndTime | timeFormat('yyyy-mm-dd hh:mm:ss')}} - + ¥{{goods.salesPrice}} - - - + + + {{goods.title}} - + ¥{{goods.price}} @@ -156,7 +163,8 @@ imgadres: '/home/home1.png', imgadres1: '/home/home2.png', imgadres2: 'jt.png', - imgadres5: 'unionarea.png', + // imgadres5: 'unionarea.png', + imgadres5: 'loading.gif', imgadres3: '', imgadres4: 'cusservice.png', webUrl: '', @@ -170,7 +178,6 @@ pageSize: 6, homeCateList: [], //切换状态 - cpStuats: 1, jumpType: '', isdisplay: true //是否展示 }; @@ -285,8 +292,8 @@ app.globalData.cityId = res.return_data.regionId; // app.globalData.cityId = '520000'; app.globalData.companyId = res.return_data.companyId; + this.getCmsContentcmsContent(); this.getCmsAactibity(); - this.getCmsContentcmsContent(); } }); }, @@ -295,7 +302,7 @@ let params = { companyId: app.globalData.companyId, platform: 3, - categoryCode: 'CMS_HOME' + categoryCode: 'CMS_HOME_POPOVER' } getCmsContent(params).then(res => { this.isdisplay = false; @@ -312,7 +319,7 @@ let params = { companyId: app.globalData.companyId, platform: 3, - categoryCode: 'CMS_UNIONPAY_ALERT' + categoryCode: 'CMS_HOME_POPOVER' } getCmsContent(params).then(res => { uni.hideLoading(); @@ -368,10 +375,10 @@ }) }, //商品跳转 - toGoods(e) { - uni.navigateTo({ - url: '../../goods/goods?id=' + e - }); + toGoods(e, id) { + uni.navigateTo({ + url: e + id + }); }, //积分卡券列表 getCouponListgold() { @@ -700,4 +707,4 @@ border-radius: 50%; } } - + diff --git a/high-unionPay/pages/tabBar/user/user.vue b/high-unionPay/pages/tabBar/user/user.vue index a841c58..9d0e1e4 100644 --- a/high-unionPay/pages/tabBar/user/user.vue +++ b/high-unionPay/pages/tabBar/user/user.vue @@ -1,7 +1,7 @@ diff --git a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue index cd4d404..b2af7a7 100644 --- a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue +++ b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue @@ -131,7 +131,7 @@ }) let params = { operatorType: item, - regionId: app.globalData.cityId, + "companyId": app.globalData.companyId, platformId: 3 // rechargeType: this.swiperCurrent } diff --git a/high-unionPay/pages/unionPay/recharge/recharge.vue b/high-unionPay/pages/unionPay/recharge/recharge.vue index 2efc205..6cde219 100644 --- a/high-unionPay/pages/unionPay/recharge/recharge.vue +++ b/high-unionPay/pages/unionPay/recharge/recharge.vue @@ -42,8 +42,9 @@ //查询弹窗 getCmsAactibity() { let params = { - regionId: app.globalData.cityId, - categoryCode: 'CMS_TELEPHONE_POP_UP' + companyId: app.globalData.companyId, + platform: 3, + categoryCode: 'CMS_RECHARGE_POPOVER' } getCmsContent(params).then(res => { if (res.return_code == '000000' && res.return_data != '') { diff --git a/high-unionPay/pages/user/deposit/deposit.vue b/high-unionPay/pages/user/deposit/deposit.vue index e3ed331..1d9f9ae 100644 --- a/high-unionPay/pages/user/deposit/deposit.vue +++ b/high-unionPay/pages/user/deposit/deposit.vue @@ -13,20 +13,20 @@ - - - {{amount}}元 - {{amount * 100}}分 - - - - - 自定义充值金额(兑:{{inputAmount * 100}}分) - - - - + + + {{amount}}元 + {{amount * 100}}分 + + + + + 自定义充值金额(兑:{{inputAmount * 100}}分) + + + + @@ -36,8 +36,8 @@ 选择支付方式 - - + + @@ -46,7 +46,7 @@ 银联支付 - + @@ -66,26 +66,43 @@ - - diff --git a/high-unionPay/pages/user/order_list/order_list.vue b/high-unionPay/pages/user/order_list/order_list.vue index 1b4c254..81791d7 100644 --- a/high-unionPay/pages/user/order_list/order_list.vue +++ b/high-unionPay/pages/user/order_list/order_list.vue @@ -46,8 +46,24 @@ - + + + + + + + + + {{row.title}} @@ -106,12 +122,12 @@ headerswper: '120px', typeText: { 1: '等待付款', - 2: '订单已支付', - 3: '订单已完成', - 4: '订单已退款', - 5: '订单已取消', - 6: '订单退款中', - 7: '订单退款失败' + 2: '已支付', + 3: '已完成', + 4: '已退款', + 5: '已取消', + 6: '退款中', + 7: '退款失败' }, // 退换货 orderType: ['全部', '待支付', '已支付', '已完成', '已退款'], @@ -340,7 +356,7 @@ payTypes = 2; } uni.redirectTo({ - url: '/qianzhu-KFC/payment-method/payment-method?orderId=' + row.id + '&amount=' + row + url: '/qianzhu-KFC/payment-method/payment-method?orderId=' + row.orderNo + '&amount=' + row .payPrice + '&productType=' + row.productType }) } @@ -623,7 +639,7 @@ } .orderlabel { - width: 50px; + width: 60px; border-radius: 5px; height: 22px; line-height: 22px; diff --git a/high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue b/high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue index f47a932..f133857 100644 --- a/high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue +++ b/high-unionPay/qianzhu-KFC/confirmOrder/confirmOrder.vue @@ -358,7 +358,7 @@ } let datas = { platformId: this.showType, - regionId: app.globalData.cityId, + "companyId": app.globalData.companyId, productType: this.productType } getThirdPartyByDetail(datas).then(res => { diff --git a/high-unionPay/static/img/Vip.png b/high-unionPay/static/img/Vip.png deleted file mode 100644 index ab59d24..0000000 Binary files a/high-unionPay/static/img/Vip.png and /dev/null differ diff --git a/high-unionPay/static/img/ghk.png b/high-unionPay/static/img/ghk.png deleted file mode 100644 index 576b790..0000000 Binary files a/high-unionPay/static/img/ghk.png and /dev/null differ diff --git a/high-unionPay/static/img/home/home3.png b/high-unionPay/static/img/home/home3.png deleted file mode 100644 index 29a3899..0000000 Binary files a/high-unionPay/static/img/home/home3.png and /dev/null differ diff --git a/high-unionPay/static/img/home/home4.png b/high-unionPay/static/img/home/home4.png deleted file mode 100644 index 0f9eb24..0000000 Binary files a/high-unionPay/static/img/home/home4.png and /dev/null differ diff --git a/high-unionPay/static/img/home/home5.png b/high-unionPay/static/img/home/home5.png deleted file mode 100644 index 9e6cca8..0000000 Binary files a/high-unionPay/static/img/home/home5.png and /dev/null differ diff --git a/high-unionPay/static/img/home/home6.png b/high-unionPay/static/img/home/home6.png deleted file mode 100644 index aa7f0d2..0000000 Binary files a/high-unionPay/static/img/home/home6.png and /dev/null differ diff --git a/high-unionPay/static/img/home/home7.png b/high-unionPay/static/img/home/home7.png deleted file mode 100644 index d0f7fb8..0000000 Binary files a/high-unionPay/static/img/home/home7.png and /dev/null differ diff --git a/high-unionPay/static/img/order2.png b/high-unionPay/static/img/order2.png index 25a8f39..e3be2c5 100644 Binary files a/high-unionPay/static/img/order2.png and b/high-unionPay/static/img/order2.png differ diff --git a/high-unionPay/static/img/order3.png b/high-unionPay/static/img/order3.png index 51660e4..92e5da3 100644 Binary files a/high-unionPay/static/img/order3.png and b/high-unionPay/static/img/order3.png differ diff --git a/high-unionPay/static/img/order4.png b/high-unionPay/static/img/order4.png index 4c1085e..4250f87 100644 Binary files a/high-unionPay/static/img/order4.png and b/high-unionPay/static/img/order4.png differ diff --git a/high-unionPay/static/img/order5.png b/high-unionPay/static/img/order5.png index 89c8513..b500a32 100644 Binary files a/high-unionPay/static/img/order5.png and b/high-unionPay/static/img/order5.png differ diff --git a/high-unionPay/static/img/order6.png b/high-unionPay/static/img/order6.png new file mode 100644 index 0000000..c4c65b2 Binary files /dev/null and b/high-unionPay/static/img/order6.png differ diff --git a/high-unionPay/static/img/order7.png b/high-unionPay/static/img/order7.png new file mode 100644 index 0000000..0c1b05c Binary files /dev/null and b/high-unionPay/static/img/order7.png differ diff --git a/high-unionPay/static/img/order8.png b/high-unionPay/static/img/order8.png new file mode 100644 index 0000000..6683de4 Binary files /dev/null and b/high-unionPay/static/img/order8.png differ diff --git a/high-unionPay/static/img/order9.png b/high-unionPay/static/img/order9.png index 5d0052c..71180f5 100644 Binary files a/high-unionPay/static/img/order9.png and b/high-unionPay/static/img/order9.png differ diff --git a/high-unionPay/static/img/unioncard.png b/high-unionPay/static/img/unioncard.png new file mode 100644 index 0000000..cbcc5fd Binary files /dev/null and b/high-unionPay/static/img/unioncard.png differ diff --git a/high-unionPay/static/img/xbk.png b/high-unionPay/static/img/xbk.png deleted file mode 100644 index f7473af..0000000 Binary files a/high-unionPay/static/img/xbk.png and /dev/null differ diff --git a/high-unionPay/subPages/coupon-comfirmation/coupon-comfirmation.vue b/high-unionPay/subPages/coupon-comfirmation/coupon-comfirmation.vue index 0826dc4..2f6b820 100644 --- a/high-unionPay/subPages/coupon-comfirmation/coupon-comfirmation.vue +++ b/high-unionPay/subPages/coupon-comfirmation/coupon-comfirmation.vue @@ -22,13 +22,13 @@ ¥{{couponList.packageDetail.price}} - - - - - 邀请码 - - + + + + + 邀请码 + + @@ -37,14 +37,16 @@ 支付方式 - - - - 银联支付 - - - + + + + + 银联支付 + + + + @@ -69,7 +71,8 @@ unionPay, findUser, cardPay, - getHuiLianTongCardBalance + getHuiLianTongCardBalance, + getThirdPartyByDetail } from '../../Utils/Api.js'; import ssPaymentPassword from '../../components/sanshui-payment-password' let app = getApp(); @@ -101,9 +104,8 @@ jumpType: '', tongCardPrice: 0, storeId: '', - isDiscont: false, - identificationCode: '' //渠道商 - + identificationCode: '', //渠道商 + paytypeList: [] //支付方式 }; }, onLoad(option) { @@ -114,7 +116,8 @@ let that = this; that.paytype = ''; that.user = app.globalData.userInfo; - that.findUser(); + that.findUser(); + that.getThirdPartyByDetail(); }, onHide() { @@ -143,7 +146,21 @@ return `${year}${spe}${month}${spe}${day} ${h}:${mm}:${s}`; } }, - methods: { + methods: { + //查询支付方式 + getThirdPartyByDetail() { + let datas = { + platformId: 3, + "companyId": app.globalData.companyId, + productType: 7 + } + getThirdPartyByDetail(datas).then(res => { + if (res.return_code == '000000') { + this.paytypeList = res.return_data.productPayType.split(','); + this.paytypeList = this.paytypeList.slice(0, this.paytypeList.length - 1); + } + }); + }, //查询积分 findUser() { let params; @@ -258,7 +275,8 @@ "goodsType": 7, "saleCount": 1, }], - "promoteCode": this.identificationCode + "promoteCode": this.identificationCode, + "companyId": app.globalData.companyId } create(goods).then(res => { if (res.return_code == '000000') { diff --git a/high-unionPay/subPages/coupon-package/coupon-package.vue b/high-unionPay/subPages/coupon-package/coupon-package.vue index f460418..eb38050 100644 --- a/high-unionPay/subPages/coupon-package/coupon-package.vue +++ b/high-unionPay/subPages/coupon-package/coupon-package.vue @@ -79,7 +79,7 @@ title: '优惠券包列表' }); this.getDiscountPackageList(); - this.getCmsContent('CMS_DISCOUNT_BANNER'); + this.getCmsContent('CMS_DISCOUNT_PACKAGE_BANNER'); }, onPageScroll(e) { @@ -92,12 +92,12 @@ //获取弹出或者弹窗 getCmsContent(item) { let params = { - regionId: app.globalData.cityId, + companyId: app.globalData.companyId, categoryCode: item } getCmsContent(params).then(res => { if (res.return_code == '000000') { - this.swiperList = res.return_data; + this.swiperList = res.return_data.childCategory; } }); },