Browse Source

贺卡内容

shish 4 years ago
parent
commit
ad41bba421
1 changed files with 8 additions and 1 deletions
  1. 8 1
      hdPad/src/pages/home/components/workInfo.vue

+ 8 - 1
hdPad/src/pages/home/components/workInfo.vue

@@ -20,12 +20,19 @@
         <view v-if="!$util.isEmpty(orderInfo.remark)" style="height:35upx;">
           <text class="right" style="color:red;font-weight:bold;width:190upx;text-align:right;">{{orderInfo.remark}}</text>
         </view>
+
+        <view v-if="!$util.isEmpty(orderInfo.cardInfo)">
+          <text class="left">贺卡内容</text>
+          <text class="right" style="font-weight:bold;color:red;">{{orderInfo.cardInfo}}</text>
+        </view>
+
         <view v-if="Number(orderInfo.orderPrice)>0">
           <text class="left">订单金额</text>
-          <text class="right" style="color:red;font-weight:bold;">
+          <text class="right" style="font-weight:bold;">
           ¥{{orderInfo.orderPrice && Number(orderInfo.orderPrice)>0 ? parseFloat(orderInfo.orderPrice) : ''}}
           </text>
         </view>
+
         <view><text class="left">数量</text>
         <text class="right" style="color:red;font-weight:bold;">{{orderInfo.num}}</text>
         </view>