From 3bae60abf90e5240e9811995d20bb21e58936a4b Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Thu, 2 Feb 2023 16:14:56 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=B8=8A=E7=BA=BF2.0=20=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- high-unionPay/Utils/Api.js | 11 ++++++-- high-unionPay/member-Recharge/home/home.vue | 2 +- .../rec-confirmation/rec-confirmation.vue | 7 +++--- .../goods/refuel-confirm/refuel-confirm.vue | 5 ++-- .../goods/refuel-details/refuel-details.vue | 6 ----- high-unionPay/pages/login/register.vue | 17 +++++++------ high-unionPay/pages/order/confirmation.vue | 25 ++++++++++--------- high-unionPay/pages/tabBar/home/home.vue | 7 +++--- high-unionPay/pages/tabBar/user/user.vue | 7 ++++-- .../unionComfirmation/unionComfirmation.vue | 3 +-- high-unionPay/pages/user/coupon/coupon.vue | 7 +++--- .../user/order_details/order_details.vue | 2 +- .../qianzhu-KFC/confirmOrder/confirmOrder.vue | 5 ++-- .../order-details/order-details.vue | 2 +- high-unionPay/uni.scss | 8 ++++++ 15 files changed, 64 insertions(+), 50 deletions(-) diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js index 320b882..449a204 100644 --- a/high-unionPay/Utils/Api.js +++ b/high-unionPay/Utils/Api.js @@ -539,10 +539,17 @@ export const getOrderByOrderNo = params => { } //----------------我的页面接口 - -// 手机号登录 +// 获取登录验证码 +export const getLoginSMSCode = params => { + return POST('POST', `${userbase}/sms/getLoginSMSCode`, params).then(res => res.data); +} +// 银联授权登录 export const unionPhoneLogin = params => { return POST('POST', `${userbase}/login/union`, params).then(res => res.data); +} +// 手机号登录 +export const phone = params => { + return POST('POST', `${userbase}/login/phone`, params).then(res => res.data); } // 获取用户信息 diff --git a/high-unionPay/member-Recharge/home/home.vue b/high-unionPay/member-Recharge/home/home.vue index 12c171a..49821c7 100644 --- a/high-unionPay/member-Recharge/home/home.vue +++ b/high-unionPay/member-Recharge/home/home.vue @@ -12,7 +12,7 @@ :currentSwiperLineActiveWidth="currentSwiperLineActiveWidth" :currentSwiperLineActiveHeight="currentSwiperLineActiveHeight" :currentSwiperLineActiveBg="currentSwiperLineActiveBg" - :currentSwiperLineAnimatie="currentSwiperLineAnimatie" v-if=" swiperTabList.length > 1 " + :currentSwiperLineAnimatie="currentSwiperLineAnimatie" v-if=" swiperTabList.length > 0 " @change="CurrentTab"> diff --git a/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue b/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue index 74807b6..0a7eb3c 100644 --- a/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue +++ b/high-unionPay/member-Recharge/rec-confirmation/rec-confirmation.vue @@ -277,8 +277,7 @@ let datas = { "companyId": app.globalData.companyId, "price": this.payPrice, - "productId": 3, - "type": 4, + "type": 3, } getRebateIntegral(datas).then(res => { if (res.return_code == '000000') { @@ -697,7 +696,9 @@