Commit 7a7e7638 by LiuJunYi

支付请求加载层

parent da823bbf
...@@ -181,6 +181,12 @@ Page({ ...@@ -181,6 +181,12 @@ Page({
}); });
return return
} }
wx.showNavigationBarLoading()
wx.showLoading({
title: '加载中...',
})
api.project.order({ api.project.order({
pid: this.data.id, pid: this.data.id,
sign_limits: this.data.familyNum + 1, sign_limits: this.data.familyNum + 1,
...@@ -192,6 +198,8 @@ Page({ ...@@ -192,6 +198,8 @@ Page({
remark: this.data.remark, remark: this.data.remark,
address: this.data.address address: this.data.address
}).then(res => { }).then(res => {
wx.hideNavigationBarLoading()
wx.hideLoading()
if (res.code) { if (res.code) {
$Toast({ $Toast({
content: res.msg, content: res.msg,
......
...@@ -209,8 +209,15 @@ Page({ ...@@ -209,8 +209,15 @@ Page({
name: name, name: name,
address: address address: address
} }
wx.showNavigationBarLoading()
wx.showLoading({
title: '加载中...',
})
// 获取支付参数 // 获取支付参数
api.me.vipOrder(params).then(res => { api.me.vipOrder(params).then(res => {
wx.hideNavigationBarLoading()
wx.hideLoading()
if (res.code == 0) { if (res.code == 0) {
that.setData({ that.setData({
order: res.data order: res.data
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</view> </view>
<view class='vip_intro'> <view class='vip_intro'>
会员卡说明:用户购买一次会员卡后,增加一年的会员时限,多次购买则在先有的基础上延长时间,单次以1年为标准,已购卡会员请添加美行客服微信,邀请进会员群。 会员卡说明:用户购买一次会员卡后,增加一年的会员时限,多次购买则在先有的基础上延长时间,单次以1年为标准,已购卡会员请添加美行客服微信(mxkf00),邀请进会员群。
</view> </view>
<!-- 用户输入的信息 --> <!-- 用户输入的信息 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment