|
@@ -7,8 +7,7 @@
|
|
|
<view v-if="item.shopPromotion" class="floor-item-act">
|
|
|
<view class="floor-tags" @click.stop="clickPopupShow(item.shopPromotion)">{{item.shopPromotion.name}}</view>
|
|
|
</view>
|
|
|
- <view class="title-text" v-if="information.secondHandOrderFlag==1">{{item.shopName}}<label class="paymenttext" v-if="information.affirmPaymentFlag==1">已确认打款供应商</label></view>
|
|
|
- <view class="title-text" v-else @click="goShophome(item.shopID)">{{item.shopName}}<label class="iconfont icon-jinrudianpu"></label></view>
|
|
|
+ <view class="title-text" v-else>{{item.shopName}}</view>
|
|
|
</view>
|
|
|
<view class="productlist" v-for="(pros,idx) in item.orderProductList" :key="idx">
|
|
|
<view class="goods-pros-t " @click="details(pros)">
|
|
@@ -25,7 +24,7 @@
|
|
|
<view class="view-num red" v-if="pros.productType ==2 || pros.productType ==1">
|
|
|
<text>¥0.00</text>
|
|
|
</view>
|
|
|
- <view class="view-num red" v-else>¥{{pros.price | NumFormat}}</view>
|
|
|
+ <view class="view-num red" v-else :class="PromotionsFormat(pros.productPromotion) ? 'disabled' : ''">¥{{pros.price | NumFormat}}</view>
|
|
|
</view>
|
|
|
<view class="floor-item-act" v-if="pros.productPromotion!=null" >
|
|
|
<view v-if="PromotionsFormat(pros.productPromotion)" class="floor-tags" @click.stop="clickPopupShow(pros.productPromotion)">
|
|
@@ -56,7 +55,15 @@
|
|
|
</view>
|
|
|
<view class="product-view">
|
|
|
<view class="view-num">折后单价</view>
|
|
|
- <view class="view-right">¥{{pros.discountPrice | NumFormat}}</view>
|
|
|
+ <view class="view-right">
|
|
|
+ <text v-if="PromotionsFormat(pros.productPromotion)"
|
|
|
+ :class="PromotionsFormat(pros.productPromotion) ? 'disabled' : ''">
|
|
|
+ ¥{{pros.discountPrice | NumFormat}}
|
|
|
+ </text>
|
|
|
+ <text>
|
|
|
+ ¥{{(PromotionsFormat(pros.productPromotion) ? pros.productPromotion.touchPrice : pros.discountPrice) | NumFormat}}
|
|
|
+ </text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="product-view allPrice">
|
|
|
<view class="view-num">合计</view>
|
|
@@ -263,6 +270,11 @@
|
|
|
.view-right{
|
|
|
color: #666666;
|
|
|
float: right;
|
|
|
+ .disabled{
|
|
|
+ color: #999999;
|
|
|
+ text-decoration: line-through;
|
|
|
+ margin-right: 10rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -290,6 +302,10 @@
|
|
|
&.red{
|
|
|
color: #FF2000;
|
|
|
font-weight: bold;
|
|
|
+ &.disabled{
|
|
|
+ color: #999999;
|
|
|
+ text-decoration: line-through;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -346,7 +362,7 @@
|
|
|
color: #ff2a2a;
|
|
|
text-align: center;
|
|
|
display: inline-block;
|
|
|
- padding:0 16rpx;
|
|
|
+ padding:0 5rpx;
|
|
|
font-size: $font-size-20;
|
|
|
border: 1px solid #ff2a2a;
|
|
|
float: left;
|