|
@@ -48,7 +48,7 @@
|
|
|
<view class="item_list_bx selectAll" v-for="(classItem, classIndex) in filterProductInfo" :key="classIndex" :id="`class_${classIndex}`">
|
|
<view class="item_list_bx selectAll" v-for="(classItem, classIndex) in filterProductInfo" :key="classIndex" :id="`class_${classIndex}`">
|
|
|
<view class="item_list_title">{{ classItem.className }}</view>
|
|
<view class="item_list_title">{{ classItem.className }}</view>
|
|
|
<template v-for="(productItem, productIndex) in classItem.child">
|
|
<template v-for="(productItem, productIndex) in classItem.child">
|
|
|
- <view style="position: relative;" :class="[productItem.variety == 1 ? 'big-box' : productItem.presell == 1 ? 'middle-box' : 'box']" :id="`class_${classItem.classId}_${productItem.id}`" :key="productIndex">
|
|
|
|
|
|
|
+ <view style="position: relative;" :class="[productItem.variety == 1 ? 'big-box' : (productItem.presell == 1 || Number(productItem.reachNum)>0) ? 'middle-box' : 'box']" :id="`class_${classItem.classId}_${productItem.id}`" :key="productIndex">
|
|
|
<Commondity v-if="classItem.isActive"
|
|
<Commondity v-if="classItem.isActive"
|
|
|
:info="productItem"
|
|
:info="productItem"
|
|
|
:offVerifyRepertory="true"
|
|
:offVerifyRepertory="true"
|
|
@@ -67,10 +67,12 @@
|
|
|
<view v-if="productItem.variety && productItem.variety == 1" class="has-color" @click="goToSpecialVariety(productItem)">
|
|
<view v-if="productItem.variety && productItem.variety == 1" class="has-color" @click="goToSpecialVariety(productItem)">
|
|
|
<view class="has-color-button">选颜色</view>
|
|
<view class="has-color-button">选颜色</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-if="productItem.presell && productItem.presell == 1" style="position:absolute;top:150upx;font-size:26upx;color:#3385ff;white-space: nowrap;text-overflow: hidden;">
|
|
|
|
|
- 到货日期:
|
|
|
|
|
- <block v-if="!$util.isEmpty(productItem.presellDateShow)">
|
|
|
|
|
- <text v-for="(dateItem, dateIndex) in productItem.presellDateShow" :key="dateIndex" style="">{{dateItem}}<text v-if="dateIndex!=productItem.presellDateShow.length-1">,</text></text>
|
|
|
|
|
|
|
+ <view v-if="productItem.presell == 1 || Number(productItem.reachNum)>0" style="position:absolute;top:145upx;font-size:26upx;color:#3385ff;white-space: normal;word-wrap: break-word;">
|
|
|
|
|
+ <text style="font-weight:bold;">满{{productItem.reachNum}}扎 ¥{{productItem.reachPrice}}<block v-if="productItem.presell == 0">(提交订单后自动优惠)</block></text>
|
|
|
|
|
+ <block v-if="productItem.presell && productItem.presell == 1"><block v-if="Number(productItem.reachNum)>0">,</block>到货日期:
|
|
|
|
|
+ <block v-if="!$util.isEmpty(productItem.presellDateShow)">
|
|
|
|
|
+ <text v-for="(dateItem, dateIndex) in productItem.presellDateShow" :key="dateIndex" style="">{{dateItem}}<text v-if="dateIndex!=productItem.presellDateShow.length-1">,</text></text>
|
|
|
|
|
+ </block>
|
|
|
</block>
|
|
</block>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -912,7 +914,7 @@ export default {
|
|
|
height: 185upx
|
|
height: 185upx
|
|
|
}
|
|
}
|
|
|
.middle-box{
|
|
.middle-box{
|
|
|
- height: 215upx;
|
|
|
|
|
|
|
+ height: 225upx;
|
|
|
position:relative;
|
|
position:relative;
|
|
|
}
|
|
}
|
|
|
.big-box{
|
|
.big-box{
|