From 94290006bb8da873bf118377af0b11237e06fb9b Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Mon, 20 Jan 2025 14:00:59 +0800 Subject: [PATCH 1/5] =?UTF-8?q?feat:=E6=B5=8B=E8=AF=95=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/test/login.vue | 128 +++++++++++++++++----------------- src/pages/wallet/recharge.vue | 2 +- 2 files changed, 66 insertions(+), 64 deletions(-) diff --git a/src/pages/test/login.vue b/src/pages/test/login.vue index 1155b89..76df790 100644 --- a/src/pages/test/login.vue +++ b/src/pages/test/login.vue @@ -1,83 +1,85 @@ diff --git a/src/pages/wallet/recharge.vue b/src/pages/wallet/recharge.vue index 1b26eda..36b6627 100644 --- a/src/pages/wallet/recharge.vue +++ b/src/pages/wallet/recharge.vue @@ -8,7 +8,7 @@ import { walletApi, payApi } from "@@/api" const data = { payType: [ - { text: "模拟支付", disabled: false, type: "0", value: "mock" }, + // { text: "模拟支付", disabled: false, type: "0", value: "mock" }, { text: "微信支付", disabled: true, type: "1", value: "wx_pub" }, { text: "支付宝支付", disabled: true, type: "2", value: "alipay_wap" }, ], From 2e15506325e4636ef6cec0cce8e67924a2177059 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Mon, 20 Jan 2025 14:07:39 +0800 Subject: [PATCH 2/5] =?UTF-8?q?feat:=E6=94=AF=E4=BB=98=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 4 ++-- src/pages/wallet/recharge.vue | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 531e670..8625bde 100644 --- a/.env +++ b/.env @@ -23,9 +23,9 @@ VITE_OAUTH2_APP_CLIENT='mini:mini' VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api # 信创线上 # ******************** start 开发环境 start ******************** -VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 +# VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 # VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/app-api -# VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 +VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 # VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api # VITE_APP_DEV_SERVICE = http://localhost:9999 diff --git a/src/pages/wallet/recharge.vue b/src/pages/wallet/recharge.vue index 36b6627..a0ac185 100644 --- a/src/pages/wallet/recharge.vue +++ b/src/pages/wallet/recharge.vue @@ -16,7 +16,7 @@ const data = { const state = reactive({ walletId: null, - currentPayType: "0", + currentPayType: null, currentRecharge: 0, userInfo: {}, detail: {}, @@ -56,6 +56,10 @@ const doPay = async () => { uni.showToast({ title: "请选择充值金额", icon: "none" }) return } + if (state.currentPayType == undefined) { + uni.showToast({ title: "请选择支付方式", icon: "none" }) + return + } try { uni.showLoading({ title: "充值中...", mask: true }) const targetRecharge = state.rechargeList[state.currentRecharge] From 751a09a2fc41ac2aeb0b6a62af68c276fa760356 Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Tue, 21 Jan 2025 20:32:58 +0800 Subject: [PATCH 3/5] env --- .env | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 8625bde..b4fec09 100644 --- a/.env +++ b/.env @@ -20,7 +20,7 @@ VITE_OAUTH2_APP_CLIENT='mini:mini' #VITE_IMAGE_BASE_PATH = http://localhost:9999 # VITE_IMAGE_BASE_PATH = http://192.168.101.29:9999 # 邓-本地 # VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc # 张 -VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api # 信创线上 +VITE_IMAGE_BASE_PATH = https://stgl.pj.gov.cn/api # 信创线上 # ******************** start 开发环境 start ******************** # VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 @@ -33,5 +33,6 @@ VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 # ******************** start 生产环境 start ******************** #VITE_APP_PROD_SERVICE = http://123.156.228.134:48080/app-api -VITE_APP_PROD_SERVICE = http://59.202.170.152:81/api +#VITE_APP_PROD_SERVICE = http://59.202.170.152:81/api +VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/api # ******************** end 生产环境 end ******************** From 8e9ed479ba7fc2cbfd7e94ba682f281b3b852275 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Wed, 22 Jan 2025 19:12:28 +0800 Subject: [PATCH 4/5] =?UTF-8?q?feat:=E6=98=BE=E7=A4=BA=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 37 ------------------------------------- src/pages/tabbar/my.vue | 5 +++-- 2 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index 8625bde..0000000 --- a/.env +++ /dev/null @@ -1,37 +0,0 @@ -#是否是TOC应用 -VITE_IS_TOC=true - -#是否是H5模式 -VITE_IS_H5=true - -#是否是微服务架构 -VITE_IS_MICRO=true - -# 后端请求前缀 -VITE_API_URL = /api - -# 前端加密密钥 -VITE_PWD_ENC_KEY='pigxpigxpigxpigx' - -# OAUTH2 APP模式客户端信息 -VITE_OAUTH2_APP_CLIENT='mini:mini' - -# 图片访问基础地址 -#VITE_IMAGE_BASE_PATH = http://localhost:9999 -# VITE_IMAGE_BASE_PATH = http://192.168.101.29:9999 # 邓-本地 -# VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc # 张 -VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api # 信创线上 - -# ******************** start 开发环境 start ******************** -# VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 -# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/app-api -VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 -# VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 -# VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api -# VITE_APP_DEV_SERVICE = http://localhost:9999 -# ******************** end 开发环境 end ******************** - -# ******************** start 生产环境 start ******************** -#VITE_APP_PROD_SERVICE = http://123.156.228.134:48080/app-api -VITE_APP_PROD_SERVICE = http://59.202.170.152:81/api -# ******************** end 生产环境 end ******************** diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue index 86c1b1d..610b7c2 100644 --- a/src/pages/tabbar/my.vue +++ b/src/pages/tabbar/my.vue @@ -3,6 +3,8 @@ import { ref, reactive } from "vue" import { onLoad, onShow } from "@dcloudio/uni-app" import { isEmpty } from "radash" +import { filePath } from "@@/utils/file" + import { hooks, router, constant } from "@@/index" import { merchantApi, userApi, walletApi } from "@@/api" @@ -55,7 +57,6 @@ const getUserInfo = () => { const userStorage = uni.getStorageSync(userInfoKey) if (!isEmpty(userStorage)) { state.userInfo = userStorage - console.log(state.userInfo, "state.userInfo") } } @@ -132,7 +133,7 @@ const doLogout = async () => { From c3eaafa5d0575ebd0fa74be0180c5cfe8a9901ea Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Thu, 23 Jan 2025 17:01:27 +0800 Subject: [PATCH 5/5] =?UTF-8?q?feat=EF=BC=9A=E9=80=80=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 4 +- src/pages/refund/apply.vue | 323 ++++++++++++++++++++----------------- 2 files changed, 173 insertions(+), 154 deletions(-) diff --git a/.env b/.env index b4fec09..a11ed18 100644 --- a/.env +++ b/.env @@ -25,8 +25,8 @@ VITE_IMAGE_BASE_PATH = https://stgl.pj.gov.cn/api # 信创线上 # ******************** start 开发环境 start ******************** # VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 # VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/app-api -VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 -# VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 +# VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 +VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api # VITE_APP_DEV_SERVICE = http://localhost:9999 # ******************** end 开发环境 end ******************** diff --git a/src/pages/refund/apply.vue b/src/pages/refund/apply.vue index 4480179..f563040 100644 --- a/src/pages/refund/apply.vue +++ b/src/pages/refund/apply.vue @@ -1,188 +1,207 @@ - - \ No newline at end of file +