Commit 2eb0d067 by 杨北旺

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

2 parents 4b1428df 6e8d6265
......@@ -191,12 +191,9 @@ Page({
async onLoad(options) {
let system = wx.getSystemInfoSync()
const authStatus = await wx.p.router.intercept(false)
// const { merchantId } = wx.p.storage.get('merchant_info')
// this.setData({
// merchantId
// })
const { merchantId } = wx.p.storage.get('merchant_info')
this.setData({
merchantId: options.merchantId
merchantId
})
wx.p.wxApi.showLoading()
const {
......
......@@ -22,17 +22,18 @@ page {
height: 184rpx;
.image_text {
box-sizing: border-box;
display: inline-block;
margin-right: 16rpx;
margin-right: 18rpx;
.box {
border-radius: 16rpx;
border-radius: 8rpx;
position: relative;
.icon {
width: 120rpx;
height: 120rpx;
border-radius: 16rpx;
border-radius: 8rpx;
}
.icon_active {
......@@ -77,15 +78,59 @@ page {
.goods_ctnr_row {
padding: 20rpx;
.titleBg {
box-sizing: border-box;
width: 750rpx;
height: 160rpx;
margin-left: -20rpx;
background-image: url(https://img02.glsx.com.cn/weapp/resource/miniprogram/wuye/mall/goodsBg.png);
background-size: cover;
background-position: center;
font-family: PingFangSC-Medium;
padding: 8rpx 30rpx;
font-weight: 500;
font-size: 36rpx;
color: #333333;
line-height: 56rpx;
// border-radius: 16rpx 24rpx 16rpx 16rpx 0 0;
}
.goods_box {
box-sizing: border-box;
padding: 16rpx;
margin-bottom: 32rpx;
margin-top: -80rpx;
display: flex;
width: 690rpx;
height: 204rpx;
background: #FFFFFF;
border-radius: 8rpx;
.cover {
border-radius: 16rpx;
position: relative;
border-radius: 8rpx;
width: 196rpx;
height: 172rpx;
flex-shrink: 0;
&::after {
position: absolute;
left: 0;
top: 0rpx;
content: '爆款必入';
display: block;
clear: both;
width: 112rpx;
height: 36rpx;
background: #EC3C1F;
border-radius: 8rpx 0 8rpx 0;
text-align: center;
line-height: 36rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 22rpx;
color: #FFFFFF;
}
}
.info {
......@@ -183,7 +228,7 @@ page {
width: 344rpx;
.cover {
border-radius: 16rpx;
border-radius: 8rpx;
flex-shrink: 0;
width: 344rpx;
height: 344rpx;
......@@ -292,7 +337,7 @@ page {
}
.cover {
border-radius: 16rpx;
border-radius: 8rpx;
flex-shrink: 0;
width: 344rpx;
}
......@@ -382,7 +427,7 @@ page {
.publicity-img {
width: 100%;
height: 540rpx;
border-radius: 16rpx;
border-radius: 8rpx;
margin-bottom: 16rpx;
}
......@@ -391,7 +436,7 @@ page {
display: flex;
.cover {
border-radius: 16rpx;
border-radius: 8rpx;
width: 240rpx;
height: 240rpx;
flex-shrink: 0;
......
......@@ -18,6 +18,7 @@
</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">
<image mode="aspectFill" class="cover" src="{{item.commerceVideo ? item.coverUrl : item.goodsImage}}" />
<view class="info {{categoryStyle?'flex_cccb':''}}">
......
......@@ -19,9 +19,9 @@ page{
width: 690rpx;
height: 280rpx;
border-radius: 10rpx;
margin: 24rpx auto 0;
margin: 30rpx auto 0;
text-align: center;
}
.layout{
padding-top: 64px;
padding-top: 84px;
}
\ No newline at end of file
......@@ -47,7 +47,7 @@
<text class="member-price-text">{{memberInfo.goodPrice}}元</text>
/年
</view>
<view class="describe" wx:else>{{vipInfo.time}} 到期</view>
<view class="describe" wx:else>{{vipInfo.renewDay}} 天后到期</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!