Commit 72781067 by zhangxw

订单审核,商品信息样式修改

1 parent f50a0516
...@@ -11,7 +11,10 @@ ...@@ -11,7 +11,10 @@
<text class="name">{{ item.upgradeGoodsName }}</text> <text class="name">{{ item.upgradeGoodsName }}</text>
</view> </view>
<view class="gray pl-24"> <view class="gray pl-24">
<view style="margin-bottom: 4rpx;">原价¥{{ item.totalPrice }}</view> <text style="margin-bottom: 4rpx;margin-right: 12rpx;">原价¥{{ item.totalPrice }}</text>
<block wx:if="{{ item.discountType == 4 }}">
<text class="tag">赠品</text>
</block>
</view> </view>
</view> </view>
<view class="item-right"> <view class="item-right">
...@@ -23,14 +26,11 @@ ...@@ -23,14 +26,11 @@
</view> </view>
<view class="gray pl-24"> <view class="gray pl-24">
<text>销售单价¥{{ item.singleProductSalesPrice }}</text> <text>销售单价¥{{ item.singleProductSalesPrice }}</text>
<text wx:if="{{ item.discountType && item.discountType != 3 && item.discountType != 5 }}" class="split">|</text> <text wx:if="{{ item.discountType && (item.discountType == 1 || item.discountType == 2) }}" class="split">|</text>
<block wx:if="{{ item.discountType == 1 || item.discountType == 2 }}"> <block wx:if="{{ item.discountType == 1 || item.discountType == 2 }}">
<text wx:if="{{ item.discountType == 1 }}">{{ item.discountValue }}折</text> <text wx:if="{{ item.discountType == 1 }}">{{ item.discountValue }}折</text>
<text wx:else>折扣¥{{ item.discountValue }}</text> <text wx:else>折扣¥{{ item.discountValue }}</text>
</block> </block>
<block wx:if="{{ item.discountType == 4 }}">
<text class="tag">赠品</text>
</block>
</view> </view>
</view> </view>
...@@ -59,7 +59,10 @@ ...@@ -59,7 +59,10 @@
<text class="name">{{ subItem.upgradeGoodsName }}</text> <text class="name">{{ subItem.upgradeGoodsName }}</text>
</view> </view>
<view class="gray pl-24"> <view class="gray pl-24">
<view style="margin-bottom: 4rpx;">原价¥{{ subItem.totalPrice }}</view> <text style="margin-bottom: 4rpx;margin-right: 12rpx;">原价¥{{ subItem.totalPrice }}</text>
<block wx:if="{{ subItem.discountType == 4 }}">
<text class="tag">赠品</text>
</block>
</view> </view>
</view> </view>
<view class="item-right"> <view class="item-right">
...@@ -71,14 +74,11 @@ ...@@ -71,14 +74,11 @@
</view> </view>
<view class="gray pl-24"> <view class="gray pl-24">
<text>销售单价¥{{ subItem.singleProductSalesPrice }}</text> <text>销售单价¥{{ subItem.singleProductSalesPrice }}</text>
<text wx:if="{{ subItem.discountType && subItem.discountType != 3 && subItem.discountType != 5 }}" class="split">|</text> <text wx:if="{{ subItem.discountType && (subItem.discountType == 1 || subItem.discountType == 2) }}" class="split">|</text>
<block wx:if="{{ subItem.discountType == 1 || subItem.discountType == 2 }}"> <block wx:if="{{ subItem.discountType == 1 || subItem.discountType == 2 }}">
<text wx:if="{{ subItem.discountType == 1 }}">{{ subItem.discountValue }}折</text> <text wx:if="{{ subItem.discountType == 1 }}">{{ subItem.discountValue }}折</text>
<text wx:else>折扣¥{{ subItem.discountValue }}</text> <text wx:else>折扣¥{{ subItem.discountValue }}</text>
</block> </block>
<block wx:if="{{ subItem.discountType == 4 }}">
<text class="tag">赠品</text>
</block>
</view> </view>
</view> </view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!