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 })