From a58dc275b7f8cc8d8345255b73dddca682b46058 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Wed, 18 Jun 2025 18:49:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=BAprod=E5=B9=B6=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=BA=9F=E5=BC=83=E7=9A=84=E5=85=85=E5=80=BC=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将config.js中的环境变量从dev改为prod - 清理recharge.vue中已注释掉的废弃代码和未使用的字段 --- config.js | 2 +- pages_order/mine/recharge.vue | 33 --------------------------------- 2 files changed, 1 insertion(+), 34 deletions(-) diff --git a/config.js b/config.js index b7ab4a5..605ed19 100644 --- a/config.js +++ b/config.js @@ -8,7 +8,7 @@ import uvUI from '@/uni_modules/uv-ui-tools' Vue.use(uvUI); // 当前环境 -const type = 'dev' +const type = 'prod' // 环境配置 diff --git a/pages_order/mine/recharge.vue b/pages_order/mine/recharge.vue index 060093b..f4d8878 100644 --- a/pages_order/mine/recharge.vue +++ b/pages_order/mine/recharge.vue @@ -30,30 +30,6 @@ - - - 订单信息 @@ -117,12 +93,6 @@ customAmount: '', selectedPayment: 0, rechargePackages: [ - // { beans: 100, price: 10, bonus: 0 }, - // { beans: 300, price: 30, bonus: 20 }, - // { beans: 680, price: 68, bonus: 50 }, - // { beans: 1280, price: 128, bonus: 120 }, - // { beans: 3280, price: 328, bonus: 320 }, - // { beans: 6480, price: 648, bonus: 680 } ], paymentMethods: [ { name: '微信支付', icon: 'weixin-fill' }, @@ -211,9 +181,6 @@ try { // 这里应该调用充值接口 const result = await this.$fetch('createPayPackageOrder', { - // amount: this.totalPrice, - // beans: this.totalBeans, - // paymentMethod: this.paymentMethods[this.selectedPayment].name packageId : this.rechargePackages[this.selectedPackage].id })