From 922517dc3b2dcab5ec08ff5271dd2f2d2338833a Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Mon, 23 Jun 2025 12:20:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=88=86=E4=BA=AB):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=88=86=E4=BA=AB=E5=8A=9F=E8=83=BD=E5=8F=8A?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor(支付): 移除wxPay中冗余的JSSDK配置代码 fix(优惠券): 修复优惠券列表获取时机问题 style(表单): 优化textarea组件样式代码结构 feat(提现): 增加H5端微信商户转账功能 docs(配置): 更新重定向URL配置 --- api/model/login.js | 7 ++ config.js | 4 +- main.js | 3 + pages_order/auth/wxUserInfo.vue | 15 ++++ pages_order/components/formTextarea.vue | 9 +- pages_order/mine/coupon.vue | 4 +- pages_order/mine/runningWater.vue | 140 +++++++++++++++++++------------- pages_order/order/createOrder.vue | 5 +- store/store.js | 6 +- utils/index.js | 4 + utils/pay.js | 10 +-- utils/share.js | 13 +-- 12 files changed, 145 insertions(+), 75 deletions(-) diff --git a/api/model/login.js b/api/model/login.js index 86d5a67..c1de080 100644 --- a/api/model/login.js +++ b/api/model/login.js @@ -45,6 +45,13 @@ const api = { method: 'GET', auth: true, }, + + //公众号签名 + getVipShareSign : { + url: '/share/getVipShareSign', + method: 'GET', + }, + } export default api \ No newline at end of file diff --git a/config.js b/config.js index 58bc17f..d88b4ba 100644 --- a/config.js +++ b/config.js @@ -15,12 +15,12 @@ const config = { dev: { baseUrl: 'http://augcl.natapp1.cc/massage-admin/massage', // redirect : 'http://h5.xzaiyp.top', - redirect : 'https://wwwh5.yurangongfang.com', + redirect : 'https://wwwh5.yurangongfang.com/', }, prod: { baseUrl: 'https://www.yurangongfang.com/massage-admin/massage', // baseUrl: 'https://www.yurangongfang.com/massage-admin/massage', - redirect : 'https://wwwh5.yurangongfang.com', + redirect : 'https://wwwh5.yurangongfang.com/', }, } diff --git a/main.js b/main.js index 6f2140e..ead1183 100644 --- a/main.js +++ b/main.js @@ -41,6 +41,9 @@ function GetQueryString(name) { }catch(e){} } GetQueryString('vid'); + +import share from '@/utils/share.js' +share() // #endif diff --git a/pages_order/auth/wxUserInfo.vue b/pages_order/auth/wxUserInfo.vue index f56675f..5d28dc2 100644 --- a/pages_order/auth/wxUserInfo.vue +++ b/pages_order/auth/wxUserInfo.vue @@ -45,6 +45,8 @@ 手机号 + + + + + + + + + + diff --git a/pages_order/components/formTextarea.vue b/pages_order/components/formTextarea.vue index 97f69d5..7481d02 100644 --- a/pages_order/components/formTextarea.vue +++ b/pages_order/components/formTextarea.vue @@ -2,9 +2,12 @@ + borderRadius: '6rpx',}" + > + + diff --git a/pages_order/mine/coupon.vue b/pages_order/mine/coupon.vue index 9e6c4f7..c367797 100644 --- a/pages_order/mine/coupon.vue +++ b/pages_order/mine/coupon.vue @@ -50,7 +50,9 @@ }, }, onShow() { - this.getCouponList() + this.$nextTick(() => { + this.getCouponList() + }) }, data() { return { diff --git a/pages_order/mine/runningWater.vue b/pages_order/mine/runningWater.vue index 1c788f5..0867f27 100644 --- a/pages_order/mine/runningWater.vue +++ b/pages_order/mine/runningWater.vue @@ -4,13 +4,8 @@ - +