|
@@ -169,8 +169,13 @@
|
|
|
<view v-for="(s, idx) in detailInfo.product" :key="idx" class="commodity-item" style="position:relative;">
|
|
<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)" />
|
|
<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 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="item-info" @click="pageTo({url:'/admin/item/detail',query:{id: s.productId}})">
|
|
|
<view class="info-line">
|
|
<view class="info-line">
|
|
|
<text class="item-name">{{ s.name }}</text>
|
|
<text class="item-name">{{ s.name }}</text>
|
|
@@ -183,8 +188,7 @@
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info-line">
|
|
<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-if="detailInfo.stockChange == 1">¥{{parseFloat(s.xhPrice)}}</text>
|
|
|
<text class="item-count" v-else></text>
|
|
<text class="item-count" v-else></text>
|
|
|
</view>
|
|
</view>
|