Commit 91bcf738 by 赵雅纹

Merge branch 'dev_7.1.0' into fixbug-ZYW

# Conflicts:
#	src/pages/myShare/myShare.js
parents 722764fc d5011a23
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
</block> </block>
</scroll-view> </scroll-view>
<!-- showQrcode 2 购物车 1 会员码 0 隐藏 --> <!-- showQrcode 2 购物车 1 会员码 0 隐藏 -->
<view class="scroll-view-right" bindtap="handelToVipCode" wx:if="{{categoryType.showQrcode == 1}}"> <view class="scroll-view-right" wx:if="{{categoryType.showQrcode == 1}}">
<button <button
wx:if="{{!currentHasUserInfo}}" wx:if="{{!currentHasUserInfo}}"
bindgetuserinfo="_getUserInfo" bindgetuserinfo="_getUserInfo"
data-jflag="false" data-jflag="false"
open-type='getUserInfo' open-type='getUserInfo'
class='btn btn-primary df' class='btn btn-primary btn-vip-code'
hover-class="btn-hover" hover-class="btn-hover"
style="height:100%" style="height:100%"
> >
...@@ -35,23 +35,38 @@ ...@@ -35,23 +35,38 @@
src="/assets/imgs/7_1_0/scancode.png" src="/assets/imgs/7_1_0/scancode.png"
mode="widthFix" mode="widthFix"
lazy-load="false" lazy-load="false"
binderror=""
bindload=""
/> />
<view
class="active vip-text"
selectable="false"
space="false"
decode="false"
>会员码
</view>
</button> </button>
<image <button
wx:if="{{currentHasUserInfo}}" wx:if="{{currentHasUserInfo}}"
class='btn btn-primary btn-vip-code'
hover-class="btn-hover"
style="height:100%"
bindtap="handelToVipCode"
>
<image
class="right-img" class="right-img"
src="/assets/imgs/7_1_0/scancode.png" src="/assets/imgs/7_1_0/scancode.png"
mode="widthFix" mode="widthFix"
lazy-load="false" lazy-load="false"
binderror=""
bindload=""
/> />
<view
<text class="active vip-text" selectable="false" space="false" decode="false">会员码</text> class="active vip-text"
selectable="false"
space="false"
decode="false"
>会员码
</view> </view>
<view class="scroll-view-right" bindtap="handelToCart" wx:if="{{categoryType.showQrcode == 2}}"> </button>
</view>
<view class="scroll-view-right" wx:if="{{categoryType.showQrcode == 2}}">
<button <button
wx:if="{{!currentHasUserInfo}}" wx:if="{{!currentHasUserInfo}}"
bindgetuserinfo="_getUserInfo" bindgetuserinfo="_getUserInfo"
...@@ -60,16 +75,28 @@ ...@@ -60,16 +75,28 @@
class='btn btn-primary df' class='btn btn-primary df'
hover-class="btn-hover" hover-class="btn-hover"
style="height:100%" style="height:100%"
/> >
<image <image
class="right-img"
src="/assets/imgs/7_1_0/08_22/cart_point.png"
mode="widthFix"
lazy-load="false"
/>
</button>
<button
wx:if="{{currentHasUserInfo}}" wx:if="{{currentHasUserInfo}}"
class='btn btn-primary df'
hover-class="btn-hover"
style="height:100%"
bindtap="handelToCart"
>
<image
class="right-img" class="right-img"
src="/assets/imgs/7_1_0/08_22/cart_point.png" src="/assets/imgs/7_1_0/08_22/cart_point.png"
mode="widthFix" mode="widthFix"
lazy-load="false" lazy-load="false"
binderror=""
bindload=""
/> />
</button>
</view> </view>
</view> </view>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
box-shadow: -15px 0px 15px -15px rgb(168, 165, 165); box-shadow: -15px 0px 15px -15px rgb(168, 165, 165);
} }
.active { .active {
color: #C09A74; color: #c09a74;
} }
.right-img { .right-img {
width: 30rpx; width: 30rpx;
...@@ -36,3 +36,7 @@ ...@@ -36,3 +36,7 @@
padding-left: 8rpx; padding-left: 8rpx;
box-sizing: border-box; box-sizing: border-box;
} }
.btn-vip-code {
display: flex;
align-items: center;
}
...@@ -61,8 +61,7 @@ wxService.page({ ...@@ -61,8 +61,7 @@ wxService.page({
*/ */
onShow() { onShow() {
let time = Date.parse(new Date()) let time = Date.parse(new Date())
member.premiumExpireTime ? member.premiumExpireTime : '' if (member && member.premiumExpireTime && member.premiumExpireTime > time) {
if (member.premiumExpireTime && member.premiumExpireTime > time) {
this.setData({ this.setData({
plus: 1 plus: 1
}) })
......
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