1.修改话费充值价格

yj-dev
杨杰 3 years ago
parent 509bc70bc3
commit db4618b5a1
  1. 8
      pages/order/confirmation.vue
  2. 31
      subPages/recharge-centre/recharge-centre.vue
  3. 10
      subPages/unionComfirmation/unionComfirmation.vue

@ -670,11 +670,11 @@
uni.reLaunch({
url: '/pages/tabBar/user/user'
});
return;
} else {
uni.reLaunch({
url: '../success/success?id=' + that.couponId
});
}
uni.reLaunch({
url: '../success/success?id=' + that.couponId
});
},
cancel: function(r) {},
fail: function(res) {}

@ -3,7 +3,8 @@
<view class="width100 height100p backcorf06">
<view class="block">
<view class="content height60">
<input type="number" class="my flleft font18 fcorfff" placeholder-style="color:#ffffff;" placeholder="请输入充值号码" v-model="inputPhone" />
<input type="number" class="my flleft font18 fcorfff" placeholder-style="color:#ffffff;"
placeholder="请输入充值号码" v-model="inputPhone" />
</view>
<view class="line1 width100 backcorfff"></view>
</view>
@ -12,8 +13,8 @@
选择金额
</view>
<view class="list">
<view class="box" :class="{'on':item.id == inputAmountId}" v-for="(item,index) in amountList"
:key="index" @click="select(item)">
<view class="box" :class="{'on':item.id == inputAmountId}" v-for="(item,index) in amountList" :key="index"
@click="select(item)">
<view class="heTitle">{{item.price}}</view>
</view>
</view>
@ -30,11 +31,13 @@
</view>
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;">
<view style="width: 5%;" class="flleft">3:</view>
<view style="margin-left: 5%;">目前仅支持(移动联通电信三网号段) 运营商黑名单号码(长期欠费或非实名制认证)携号转网空号虚拟卡如165.167.170.171.162等等虚拟号段副卡号码或做过某些特殊套餐绑定的卡暂不支持充值请勿下单</view>
<view style="margin-left: 5%;">目前仅支持(移动联通电信三网号段)
运营商黑名单号码(长期欠费或非实名制认证)携号转网空号虚拟卡如165.167.170.171.162等等虚拟号段副卡号码或做过某些特殊套餐绑定的卡暂不支持充值请勿下单</view>
</view>
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;">
<view style="width: 5%;" class="flleft">4:</view>
<view style="margin-left: 5%;">停机号码需要额外补缴欠费后慢充话费才能到账<text class="fcoreb5">此服务为虚拟充值类服务无特殊情况不支持退款下单前请确认充值的号码无误</text></view>
<view style="margin-left: 5%;">停机号码需要额外补缴欠费后慢充话费才能到账<text
class="fcoreb5">此服务为虚拟充值类服务无特殊情况不支持退款下单前请确认充值的号码无误</text></view>
</view>
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;">
<view style="width: 5%;" class="flleft">5:</view>
@ -42,7 +45,8 @@
</view>
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;">
<view style="width: 5%;" class="flleft">6:</view>
<view style="margin-left: 5%;"><text class="fcoreb5">本充值业务不提供发票</text>如需发票请在运营商手机客户端储开取电子发票也可以凭身份证到运营商实体营业厅打印发票</view>
<view style="margin-left: 5%;"><text
class="fcoreb5">本充值业务不提供发票</text>如需发票请在运营商手机客户端储开取电子发票也可以凭身份证到运营商实体营业厅打印发票</view>
</view>
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;">
<view style="width: 5%;" class="flleft">7:</view>
@ -80,7 +84,7 @@
amoutType: '',
codesVlues: '',
amountList: [],
price:''
price: ''
}
},
onLoad(options) {
@ -141,7 +145,7 @@
* 提交订单
*/
addOrderPay() {
let that = this;
let that = this;
if (that.inputPhone == '') {
uni.showToast({
title: '请输入充值号码',
@ -172,7 +176,8 @@
uni.navigateTo({
url: '../unionComfirmation/unionComfirmation?orderPrice=' + that.price +
'&payPrice=' + that.inputAmount + '&rechargeContent=' + that.inputPhone +
'&rechargeModel=' + that.amoutType + '&agentKey=' + that.codesVlues +'&objectId='+that.inputAmountId
'&rechargeModel=' + that.amoutType + '&agentKey=' + that.codesVlues +
'&objectId=' + that.inputAmountId
})
}
})
@ -254,11 +259,11 @@
uni.reLaunch({
url: '/pages/tabBar/user/user'
});
return;
} else {
uni.reLaunch({
url: '../success/success?id=' + that.couponId
});
}
uni.reLaunch({
url: '../success/success?id=' + that.couponId
});
},
cancel: function(r) {},
fail: function(res) {}

@ -172,7 +172,7 @@
orderPrice: 0,
payPrice: 0,
//
saveprice:0,
saveprice: 0,
rechargeContent: '',
rechargeModel: '',
agentKey: '',
@ -577,11 +577,11 @@
uni.reLaunch({
url: '/pages/tabBar/user/user'
});
return;
} else {
uni.reLaunch({
url: '../success/success?id=' + that.couponId
});
}
uni.reLaunch({
url: '../success/success?id=' + that.couponId
});
},
cancel: function(r) {},
fail: function(res) {}

Loading…
Cancel
Save