shish 4 лет назад
Родитель
Сommit
ad41bba421
1 измененных файлов с 8 добавлено и 1 удалено
  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>