Commit 1f91df1e by 杨北旺

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

2 parents 02602d43 e2a89c0a
......@@ -99,13 +99,13 @@ page {
box-sizing: border-box;
padding: 16rpx;
margin-bottom: 32rpx;
margin-top: -80rpx;
// margin-top: -80rpx;
display: flex;
width: 690rpx;
height: 204rpx;
background: #FFFFFF;
border-radius: 8rpx;
.cover {
position: relative;
border-radius: 8rpx;
......@@ -211,6 +211,10 @@ page {
}
}
}
.mtStyle{
margin-top: -80rpx;
}
}
.goods_ctnr_col {
......
......@@ -18,8 +18,8 @@
</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==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 class="titleBg" wx:if="{{categoryStyle==1}}">热销爆款</view>
<view catch:tap="toGoodsDetail" data-item="{{item}}" class="goods_box {{categoryStyle==1&&index==0? 'mtStyle' : ''}}" wx:for="{{goodsList}}" wx:key="index">
<image mode="aspectFill" class="cover" src="{{item.commerceVideo ? item.coverUrl : item.goodsImage}}" />
<view class="info {{categoryStyle?'flex_cccb':''}}">
<text class="name">{{item.goodsName}}</text>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!