shish 3 лет назад
Родитель
Сommit
261a805281
1 измененных файлов с 8 добавлено и 4 удалено
  1. 8 4
      ghsApp/src/pagesOrder/detail.vue

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

@@ -169,8 +169,13 @@
 						<view v-for="(s, idx) in detailInfo.product" :key="idx" class="commodity-item" style="position:relative;">
 							<image class="item-icon" :src="s.cover" @click.stop="previewImage(s.bigCover)" />
 							<button v-if="s.xhUnitType == 1" style="position:absolute;left:16upx;" class="admin-button-com blue mini-btn" @click="partOne(s)">拆1份</button>
-							<button style="position:absolute;left:155upx;top:93upx;border:0upx solid #CCCCCC;padding:0upx;" class="admin-button-com mini-btn" @click="giveItemFn(s)">发起赠送</button>
-							<text v-if="s.giveNum && Number(s.giveNum)>0" style="position:absolute;left:290upx;top:90upx;color:#333333;">已赠 {{parseFloat(s.giveNum)}}<text v-if="s.xhUnitType == 0">{{s.xhUnitName}}</text></text>
+
+							<text style="position:absolute;left:155upx;top:103upx;color:#3385FF;" @click="giveItemFn(s)">发起赠送</text>
+
+							<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:290upx;top:103upx;color:#333333;">已赠 {{parseFloat(s.giveNum)}}<text v-if="s.xhUnitType == 0">{{s.xhUnitName}}</text></text>
+
 							<view class="item-info" @click="pageTo({url:'/admin/item/detail',query:{id: s.productId}})">
 								<view class="info-line">
 									<text class="item-name">{{ s.name }}</text>
@@ -183,8 +188,7 @@
 									</text>
 								</view>
 								<view class="info-line">
-									<text class="item-type" v-if="detailInfo.book == 1">预订 {{ parseFloat(s.xhPreNum) }}{{s.xhUnitName}}*¥{{parseFloat(s.xhPreUnitPrice)}}</text>
-									<text class="item-type" v-else></text>
+									<text class="item-type"></text>
 									<text class="item-count" v-if="detailInfo.stockChange == 1">¥{{parseFloat(s.xhPrice)}}</text>
 									<text class="item-count" v-else></text>
 								</view>