Commit 086b465ffdc05e6a40e7cd9b916c5ee908327c9b

Authored by wangfan
1 parent 89a22df9

smsbatch

... ... @@ -15,7 +15,9 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
options:{},
onLoad: function (options) {
this.options=options
App.Reserve.SmsInfo({seller_id: options.seller_id}, true).then(res => {
this.setData({
total: options.total,
... ... @@ -71,5 +73,10 @@ Page({
*/
onShareAppMessage: function () {
},
goPay(){
wx.navigate({
url:'/pages/book/setting/sms_buy?scene='+encodeURI('seller_id='+this.options.seller_id)
})
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTextStyle":"black",
"navigationBarTextStyle":"light",
"usingComponents": {
"nav":"/components/nav/nav",
"formids":"/components/formids/formids"
... ...
... ... @@ -7,9 +7,9 @@
<view>大约于1个工作日反馈结果</view>
<view>结果将以短信/电话方式通知您</view>
</view>
<block wx:if="{{}}">
<block wx:if="{{total>last_num}}">
<view class="page flex-cc Medium" style="padding-top: 100rpx; padding-bottom: 100rpx;">
<view>本次群发50条,当前余额不足,建议</view>
<formids><text style="color: #199095;font-size: 32rpx;">立即充值</text></formids>
<view>本次群发{{total}}条,当前余额不足,建议</view>
<formids bindclick="goPay"><text style="color: #199095;font-size: 32rpx;">立即充值</text></formids>
</view>
</block>
\ No newline at end of file
... ...
... ... @@ -257,7 +257,7 @@
"id": 30,
"name": "pages/book/smsbatch/result",
"pathName": "pages/book/smsbatch/result",
"query": "seller_id=80&id=6&total=10",
"query": "seller_id=&id=6&total=10",
"scene": "1001"
}
]
... ...