Commit 8222152a by 杨北旺

修复bug

1 parent 1f91df1e
......@@ -91,5 +91,12 @@ Page({
showCarFlag: e.detail != 2
})
},
navbarReady(e) {
let { height } = e.detail;
this.setData({
navBarHeight: height,
user_box_style: `padding-top:${height}px`,
});
},
})
\ No newline at end of file
......@@ -23,5 +23,5 @@ page{
text-align: center;
}
.layout{
padding-top: 84px;
padding-top: 64px;
}
\ No newline at end of file
......@@ -3,7 +3,7 @@
<navigation-bar bindnavbarReady="navbarReady" page-title="甄选专区">甄选专区</navigation-bar>
</view>
<!-- 优选 -->
<view class="layout">
<view style="{{user_box_style}}" class="layout">
<view class="banner">
<glsx-image webp custom-class="bg" src="mall/bg.png"></glsx-image>
</view>
......
......@@ -47,7 +47,8 @@
<text class="member-price-text">{{memberInfo.goodPrice}}元</text>
/年
</view>
<view class="describe" wx:else>{{vipInfo.renewDay}} 天后到期</view>
<view class="describe" wx:if="{{vipInfo.cardType==0}}">{{vipInfo.renewDay}} 天后到期</view>
<view class="describe" wx:if="{{vipInfo.cardType==1}}">{{vipInfo.time}} 到期</view>
</view>
</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!