diff --git a/.env b/.env index 628f89b..6611010 100644 --- a/.env +++ b/.env @@ -36,7 +36,8 @@ VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api/ # 线上 # ******************** 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 ******************** # VITE_DEV_ENV = dev diff --git a/src/pages/refund/apply.vue b/src/pages/refund/apply.vue index 447339a..15d996c 100644 --- a/src/pages/refund/apply.vue +++ b/src/pages/refund/apply.vue @@ -37,7 +37,10 @@ onLoad((options: any) => { if (!isEmpty(options.id)) { state.detailId = options.id } +<<<<<<< HEAD state.header = hooks.useDefaultHeader() +======= +>>>>>>> c3eaafa5d0575ebd0fa74be0180c5cfe8a9901ea }) onShow(() => { getDetail() @@ -102,7 +105,10 @@ const doSubmit = async () => { images: [], applyReason: applyForm.reasonStr, applyDescription: applyForm.remark, +<<<<<<< HEAD applyPicUrls: applyPicUrls.value, +======= +>>>>>>> c3eaafa5d0575ebd0fa74be0180c5cfe8a9901ea } try { uni.showLoading({ title: "申请中...", mask: false }) @@ -187,6 +193,7 @@ const doSubmit = async () => { + <<<<<<< HEAD 补充凭证图片 { 注:图片大小不超过5M,最多上传6张 + ======= >>>>>>> c3eaafa5d0575ebd0fa74be0180c5cfe8a9901ea 相关描述 { const userStorage = uni.getStorageSync(userInfoKey) if (!isEmpty(userStorage)) { state.userInfo = userStorage - console.log(state.userInfo, "state.userInfo") } } @@ -157,7 +158,7 @@ const onTabLogin = () => { 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..a0ac185 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" }, ], @@ -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]