Commit 304fb7a4 by chenwq

拿值

1 parent a88805da
...@@ -191,12 +191,9 @@ Page({ ...@@ -191,12 +191,9 @@ Page({
async onLoad(options) { async onLoad(options) {
let system = wx.getSystemInfoSync() let system = wx.getSystemInfoSync()
const authStatus = await wx.p.router.intercept(false) const authStatus = await wx.p.router.intercept(false)
// const { merchantId } = wx.p.storage.get('merchant_info') const { merchantId } = wx.p.storage.get('merchant_info')
// this.setData({
// merchantId
// })
this.setData({ this.setData({
merchantId: options.merchantId merchantId
}) })
wx.p.wxApi.showLoading() wx.p.wxApi.showLoading()
const { const {
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<text class="member-price-text">{{memberInfo.goodPrice}}元</text> <text class="member-price-text">{{memberInfo.goodPrice}}元</text>
/年 /年
</view> </view>
<view class="describe" wx:else>{{vipInfo.time}} 到期</view> <view class="describe" wx:else>{{vipInfo.renewDay}} 天后到期</view>
</view> </view>
</view> </view>
<view wx:if="{{!isMember}}" class="member-button" bindtap="toBuyMember">开通会员</view> <view wx:if="{{!isMember}}" class="member-button" bindtap="toBuyMember">开通会员</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!