Commit b8af7ee9 by 匡雅琴

Merge branch 'v1.0.0' of http://192.168.3.233:8090/saas/mini-program/zhwy into v1.0.0

2 parents 3221734f 6e8d6265
...@@ -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 {
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
</view> </view>
<view wx:if="{{categoryStyle>-1}}" class="{{ categoryStyle=='2' ? 'goods_ctnr_waterfall': categoryStyle=='3' ? 'goods_ctnr_grass_B' : categoryStyle=='1' ? 'goods_ctnr_row' : 'goods_ctnr_col' }}"> <view wx:if="{{categoryStyle>-1}}" class="{{ categoryStyle=='2' ? 'goods_ctnr_waterfall': categoryStyle=='3' ? 'goods_ctnr_grass_B' : categoryStyle=='1' ? 'goods_ctnr_row' : 'goods_ctnr_col' }}">
<view wx:if="{{categoryStyle==0 || categoryStyle==1}}" class="goods_wrap"> <view wx:if="{{categoryStyle==0 || categoryStyle==1}}" class="goods_wrap">
<view class="titleBg">热销爆款</view>
<view catch:tap="toGoodsDetail" data-item="{{item}}" class="goods_box" wx:for="{{goodsList}}" wx:key="index"> <view catch:tap="toGoodsDetail" data-item="{{item}}" class="goods_box" wx:for="{{goodsList}}" wx:key="index">
<image mode="aspectFill" class="cover" src="{{item.commerceVideo ? item.coverUrl : item.goodsImage}}" /> <image mode="aspectFill" class="cover" src="{{item.commerceVideo ? item.coverUrl : item.goodsImage}}" />
<view class="info {{categoryStyle?'flex_cccb':''}}"> <view class="info {{categoryStyle?'flex_cccb':''}}">
......
...@@ -19,9 +19,9 @@ page{ ...@@ -19,9 +19,9 @@ page{
width: 690rpx; width: 690rpx;
height: 280rpx; height: 280rpx;
border-radius: 10rpx; border-radius: 10rpx;
margin: 24rpx auto 0; margin: 30rpx auto 0;
text-align: center; text-align: center;
} }
.layout{ .layout{
padding-top: 64px; padding-top: 84px;
} }
\ No newline at end of file \ No newline at end of file
...@@ -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!