|
|
@ -3,7 +3,8 @@ |
|
|
|
<view class="width100 height100p backcorf06"> |
|
|
|
<view class="width100 height100p backcorf06"> |
|
|
|
<view class="block"> |
|
|
|
<view class="block"> |
|
|
|
<view class="content height60"> |
|
|
|
<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> |
|
|
|
<view class="line1 width100 backcorfff"></view> |
|
|
|
<view class="line1 width100 backcorfff"></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -12,8 +13,8 @@ |
|
|
|
选择金额 |
|
|
|
选择金额 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="list"> |
|
|
|
<view class="list"> |
|
|
|
<view class="box" :class="{'on':item.id == inputAmountId}" v-for="(item,index) in amountList" |
|
|
|
<view class="box" :class="{'on':item.id == inputAmountId}" v-for="(item,index) in amountList" :key="index" |
|
|
|
:key="index" @click="select(item)"> |
|
|
|
@click="select(item)"> |
|
|
|
<view class="heTitle">{{item.price}}元</view> |
|
|
|
<view class="heTitle">{{item.price}}元</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -30,11 +31,13 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view style="width: 5%;" class="flleft">3:</view> |
|
|
|
<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> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view style="width: 5%;" class="flleft">4:</view> |
|
|
|
<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> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view style="width: 5%;" class="flleft">5:</view> |
|
|
|
<view style="width: 5%;" class="flleft">5:</view> |
|
|
@ -42,7 +45,8 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view style="width: 5%;" class="flleft">6:</view> |
|
|
|
<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> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view class="mart5 width80 font14 fcor999 fontwig6" style="list-style-type: decimal;"> |
|
|
|
<view style="width: 5%;" class="flleft">7:</view> |
|
|
|
<view style="width: 5%;" class="flleft">7:</view> |
|
|
@ -80,7 +84,7 @@ |
|
|
|
amoutType: '', |
|
|
|
amoutType: '', |
|
|
|
codesVlues: '', |
|
|
|
codesVlues: '', |
|
|
|
amountList: [], |
|
|
|
amountList: [], |
|
|
|
price:'' |
|
|
|
price: '' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
|
onLoad(options) { |
|
|
@ -141,7 +145,7 @@ |
|
|
|
* 提交订单 |
|
|
|
* 提交订单 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
addOrderPay() { |
|
|
|
addOrderPay() { |
|
|
|
let that = this; |
|
|
|
let that = this; |
|
|
|
if (that.inputPhone == '') { |
|
|
|
if (that.inputPhone == '') { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: '请输入充值号码', |
|
|
|
title: '请输入充值号码', |
|
|
@ -172,7 +176,8 @@ |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url: '../unionComfirmation/unionComfirmation?orderPrice=' + that.price + |
|
|
|
url: '../unionComfirmation/unionComfirmation?orderPrice=' + that.price + |
|
|
|
'&payPrice=' + that.inputAmount + '&rechargeContent=' + that.inputPhone + |
|
|
|
'&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({ |
|
|
|
uni.reLaunch({ |
|
|
|
url: '/pages/tabBar/user/user' |
|
|
|
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) {}, |
|
|
|
cancel: function(r) {}, |
|
|
|
fail: function(res) {} |
|
|
|
fail: function(res) {} |
|
|
|