Commit 7a7e7638 by LiuJunYi

支付请求加载层

parent da823bbf
......@@ -181,6 +181,12 @@ Page({
});
return
}
wx.showNavigationBarLoading()
wx.showLoading({
title: '加载中...',
})
api.project.order({
pid: this.data.id,
sign_limits: this.data.familyNum + 1,
......@@ -192,6 +198,8 @@ Page({
remark: this.data.remark,
address: this.data.address
}).then(res => {
wx.hideNavigationBarLoading()
wx.hideLoading()
if (res.code) {
$Toast({
content: res.msg,
......
......@@ -209,8 +209,15 @@ Page({
name: name,
address: address
}
wx.showNavigationBarLoading()
wx.showLoading({
title: '加载中...',
})
// 获取支付参数
api.me.vipOrder(params).then(res => {
wx.hideNavigationBarLoading()
wx.hideLoading()
if (res.code == 0) {
that.setData({
order: res.data
......
......@@ -18,7 +18,7 @@
</view>
<view class='vip_intro'>
会员卡说明:用户购买一次会员卡后,增加一年的会员时限,多次购买则在先有的基础上延长时间,单次以1年为标准,已购卡会员请添加美行客服微信,邀请进会员群。
会员卡说明:用户购买一次会员卡后,增加一年的会员时限,多次购买则在先有的基础上延长时间,单次以1年为标准,已购卡会员请添加美行客服微信(mxkf00),邀请进会员群。
</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