shish 3 年之前
父节点
当前提交
fd076280bf
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      ghsApp/src/pagesOrder/detail.vue

+ 4 - 3
ghsApp/src/pagesOrder/detail.vue

@@ -174,9 +174,10 @@
 
 							<text v-if="detailInfo.book == 1" style="position:absolute;left:155upx;top:65upx;color:#999999;">预订 {{ parseFloat(s.xhPreNum) }}{{s.xhUnitName}}*¥{{parseFloat(s.xhPreUnitPrice)}}</text>
 
-							<text v-if="s.giveNum && Number(s.giveNum)>0" style="position:absolute;left:280upx;top:103upx;color:#333333;">已赠 {{parseFloat(s.giveNum)}}<text v-if="s.xhUnitType == 0">{{s.xhUnitName}}</text></text>
-
-							<text style="position:absolute;left:420upx;top:103upx;color:red;font-weight: bold;" v-if="Number(s.refundNum)>0">已退{{ s.refundNum }}{{s.xhUnitName}}</text>
+							<text style="position:absolute;left:270upx;top:103upx;color:#333333;">
+								<text v-if="s.giveNum && Number(s.giveNum)>0" style="margin-right:15upx;">已赠 {{parseFloat(s.giveNum)}}{{s.xhUnitName}}</text>
+								<text style="color:red;font-weight: bold;" v-if="Number(s.refundNum)>0">已退{{ s.refundNum }}{{s.xhUnitName}}</text>
+							</text>
 
 							<view class="item-info" @click="pageTo({url:'/admin/item/detail',query:{id: s.productId}})">
 								<view class="info-line">