|
@@ -146,7 +146,7 @@
|
|
|
<view class="hotTop">
|
|
|
<view class="hotLeft">
|
|
|
<view class="hotSx" :style="{background:'#'+themeColor}"></view>
|
|
|
- <view class="hottitle">热门活动</view>
|
|
|
+ <view class="hottitle">{{homeCardList.openMActivity.showTitle?homeCardList.openMActivity.showTitle:'热门活动'}}</view>
|
|
|
</view>
|
|
|
<view class="hotRight" @click="moreJk">
|
|
|
<view class="hotMore">更多</view>
|
|
@@ -177,37 +177,40 @@
|
|
|
<view class="hotTop">
|
|
|
<view class="hotLeft">
|
|
|
<view class="hotSx" :style="{background:'#'+themeColor}"></view>
|
|
|
- <view class="hottitle">热门商品</view>
|
|
|
+ <view class="hottitle">{{homeCardList.openMGoods.showTitle?homeCardList.openMGoods.showTitle:'热门商品'}}</view>
|
|
|
</view>
|
|
|
<view class="hotRight" @click="goShop">
|
|
|
<view class="hotMore">更多</view>
|
|
|
<img src="../../static/timg/icon_arrow_right.png" alt="" class="hotMoreJt">
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="hotGoodsLine" v-for="(item,index) in homeCardList.openMGoods.goodsList" @click="goGoods(item)" v-if="index<homeCardList.openMGoods.showCount">
|
|
|
- <view>
|
|
|
- <image :src="item.url" mode="" class="hotGoodsLineImg"></image>
|
|
|
- </view>
|
|
|
- <view class="hotGoodsLineRIght">
|
|
|
- <view class="goodsName">{{item.name}}</view>
|
|
|
- <view class="Sold">
|
|
|
- <view v-if="item.showLabel&&item.showLabel.indexOf('3')!=-1">
|
|
|
- 已售 {{item.saleQty>0?item.saleQty:0}}
|
|
|
- </view>
|
|
|
+ <view v-if="homeCardList.openMGoods.showLayout==1">
|
|
|
+ <view class="hotGoodsLine" v-for="(item,index) in homeCardList.openMGoods.goodsList" @click="goGoods(item)" v-if="index<homeCardList.openMGoods.showCount">
|
|
|
+ <view>
|
|
|
+ <image :src="item.url" mode="" class="hotGoodsLineImg"></image>
|
|
|
</view>
|
|
|
- <view class="goodsPrice">
|
|
|
- <view class="goodsPrice1" >{{item.saleLabel}}</view><!-- :style="{color:'#'+themeColor}" -->
|
|
|
- <view class="goodsPrice2" >¥</view>
|
|
|
- <view class="goodsPrice3" >{{item.salePrice}}
|
|
|
- <span v-if="item.categoryIds=='7B97D114-C419-42B2-9C1E-0B4CA284CDA0'">万</span>
|
|
|
+ <view class="hotGoodsLineRIght">
|
|
|
+ <view class="goodsName">{{item.name}}</view>
|
|
|
+ <view class="Sold">
|
|
|
+ <view v-if="item.showLabel&&item.showLabel.indexOf('3')!=-1">
|
|
|
+ 已售 {{item.saleQty>0?item.saleQty:0}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="goodsPrice">
|
|
|
+ <view class="goodsPrice1" >{{item.saleLabel}}</view><!-- :style="{color:'#'+themeColor}" -->
|
|
|
+ <view class="goodsPrice2" >¥</view>
|
|
|
+ <view class="goodsPrice3" >{{item.salePrice}}
|
|
|
+ <span v-if="item.categoryIds=='7B97D114-C419-42B2-9C1E-0B4CA284CDA0'">万</span>
|
|
|
+ </view>
|
|
|
+ <view class="goodsPrice4" v-if="item.showLabel&&item.scribingPrice&&item.showLabel.indexOf('1')!=-1">¥{{item.scribingPrice}}</view>
|
|
|
</view>
|
|
|
- <view class="goodsPrice4" v-if="item.showLabel&&item.scribingPrice&&item.showLabel.indexOf('1')!=-1">¥{{item.scribingPrice}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+
|
|
|
<!-- 俩列的 -->
|
|
|
- <div class="goodsTwo">
|
|
|
+ <div class="goodsTwo" v-if="homeCardList.openMGoods.showLayout==2">
|
|
|
<div class="goodsTwoLine" v-for="(item,index) in homeCardList.openMGoods.goodsList" @click="goGoods(item)" v-if="index<homeCardList.openMGoods.showCount">
|
|
|
<div class="goodsTwoImg">
|
|
|
<image :src="item.url" mode="" class="hotGoodsLineImg"></image>
|
|
@@ -486,6 +489,10 @@
|
|
|
uni.navigateTo({
|
|
|
url:'evaluation'
|
|
|
})
|
|
|
+ }else if(item.sortId==18){ //领券中心
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'receiveCoupon'
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
else{
|
|
@@ -582,10 +589,6 @@
|
|
|
uni.navigateTo({
|
|
|
url:'aboutUS?unionID='+this.userInfo.unionId
|
|
|
})
|
|
|
- }else if(item.bizType==18){ //领券中心
|
|
|
- uni.navigateTo({
|
|
|
- url:'receiveCoupon'
|
|
|
- })
|
|
|
}
|
|
|
|
|
|
// uni.navigateTo({
|
|
@@ -1045,10 +1048,15 @@
|
|
|
background: #FFFFFF;width: 341rpx;
|
|
|
margin-top: 20rpx;
|
|
|
padding-bottom: 20rpx;
|
|
|
- border-radius: 16rpx 16rpx 0px 0px;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
.goodsTwoImg .hotGoodsLineImg{
|
|
|
margin: 0 auto;
|
|
|
+ width: 100%;
|
|
|
+ height: 340rpx;
|
|
|
+ border-radius: 0;
|
|
|
+ border: none;
|
|
|
}
|
|
|
.goodsTwoLine .Sold{
|
|
|
padding-left: 20rpx;
|
|
@@ -1056,9 +1064,10 @@
|
|
|
.goodsTwoLine .goodsPrice{
|
|
|
padding-left: 20rpx;
|
|
|
}
|
|
|
+
|
|
|
.goodsTwoImg{
|
|
|
- padding: 33rpx 0;
|
|
|
- }
|
|
|
+ padding-bottom: 30rpx;
|
|
|
+ }
|
|
|
.goodsTwoName{
|
|
|
font-weight: 400;
|
|
|
color: #333333;
|