|
@@ -40,37 +40,40 @@
|
|
|
<view class="list-details-info">
|
|
|
<!-- 商品名称 -->
|
|
|
<text class="list-details-title">{{ item.productName }}</text>
|
|
|
- <text class="list-details-specs">规格:{{ item.unit != null ? item.unit : '' }}</text>
|
|
|
+
|
|
|
<!-- <text class="list-details-specs">商品编码:{{ item.productCode != null ? item.productCode : '' }}</text> -->
|
|
|
- <text class="list-details-miniQuantity">起订量:{{ item.ladderPriceFlag == '1' ? item.maxBuyNumber : item.minBuyNumber}}</text>
|
|
|
+ <!-- <text class="list-details-miniQuantity">起订量:{{ item.ladderPriceFlag == '1' ? item.maxBuyNumber : item.minBuyNumber}}</text> -->
|
|
|
<!-- 价格 -->
|
|
|
- <view class="list-details-price prom">
|
|
|
- <view class="floor-item-act" v-if="item.actStatus == 1">
|
|
|
- <view class="floor-tags" v-if="PromotionsFormat(item.promotion)">
|
|
|
- {{ item.promotion.name}}
|
|
|
- <text>:¥{{ item.retailPrice | NumFormat }}</text>
|
|
|
+ <view class="price-box">
|
|
|
+ <view class="list-details-price prom">
|
|
|
+ <view class="floor-item-act" v-if="item.actStatus == 1">
|
|
|
+ <view class="floor-tags" v-if="PromotionsFormat(item.promotion)">
|
|
|
+ {{ item.promotion.name}}
|
|
|
+ <text>:¥{{ item.retailPrice | NumFormat }}</text>
|
|
|
+ </view>
|
|
|
+ <view class="floor-tags" v-else>{{ item.promotion.name }}</view>
|
|
|
</view>
|
|
|
- <view class="floor-tags" v-else>{{ item.promotion.name }}</view>
|
|
|
- </view>
|
|
|
- <view class="floor-item-act" v-if="item.actStatus == 0 && item.ladderPriceFlag == 1">
|
|
|
- <view class="floor-tags">阶梯价格</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="list-details-price">
|
|
|
- <view class="list-shop">
|
|
|
- <view class="list-price-none" v-if="item.repurchasePriceState">
|
|
|
- <text class="price-none">¥{{ item.discountPrice }}</text>
|
|
|
- <text class="iconfont icon-wenhao" @click.stop="repurchModel"></text>
|
|
|
+ <view class="floor-item-act" v-if="item.actStatus == 0 && item.ladderPriceFlag == 1">
|
|
|
+ <view class="floor-tags">阶梯价格</view>
|
|
|
</view>
|
|
|
- <view class="list-price" v-else>
|
|
|
- <text class="price-larger" :class="PromotionsFormat(item.promotions) ? 'none' : ''">
|
|
|
- ¥{{(PromotionsFormat(item.promotions) ? item.price1 : item.retailPrice) | NumFormat }}
|
|
|
- </text>
|
|
|
+ </view>
|
|
|
+ <text class="list-details-specs">规格:{{ item.unit != null ? item.unit : '' }}</text>
|
|
|
+ <view class="list-details-price">
|
|
|
+ <view class="list-shop">
|
|
|
+ <view class="list-price-none" v-if="item.repurchasePriceState">
|
|
|
+ <text class="price-none">¥{{ item.discountPrice }}</text>
|
|
|
+ <text class="iconfont icon-wenhao" @click.stop="repurchModel"></text>
|
|
|
+ </view>
|
|
|
+ <view class="list-price" v-else>
|
|
|
+ <text class="price-larger" :class="PromotionsFormat(item.promotions) ? 'none' : ''">
|
|
|
+ ¥{{(PromotionsFormat(item.promotions) ? item.price1 : item.retailPrice) | NumFormat }}
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <button class="add-cart-btn" @click.stop="operationHanld(item)">
|
|
|
+ 购买
|
|
|
+ </button>
|
|
|
</view>
|
|
|
- <button class="add-cart-btn" @click.stop="operationHanld(item)">
|
|
|
- 购买
|
|
|
- </button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -341,6 +344,7 @@ export default {
|
|
|
}
|
|
|
.list-details-specs {
|
|
|
width: 100%;
|
|
|
+ font-size: 20rpx;
|
|
|
display: inline-block;
|
|
|
margin-top: 14rpx;
|
|
|
color: #999999;
|
|
@@ -351,14 +355,19 @@ export default {
|
|
|
margin-top: 7rpx;
|
|
|
}
|
|
|
}
|
|
|
+.price-box{
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ }
|
|
|
.list-details-price {
|
|
|
width: 100%;
|
|
|
// line-height: 54rpx;
|
|
|
// margin-top: 10rpx;
|
|
|
// height: 54rpx;
|
|
|
+
|
|
|
float: left;
|
|
|
&.prom{
|
|
|
- height: auto;
|
|
|
+ min-height: 40rpx;
|
|
|
margin-top: 20rpx;
|
|
|
}
|
|
|
.floor-item-act{
|