|
|
@@ -8,43 +8,29 @@
|
|
|
<view v-if="info.status == 2" class="sold-out">
|
|
|
<view class="sold-out-xj">已下架</view>
|
|
|
</view>
|
|
|
- <image :src="info.cover" style="width:160upx;height:160upx;" lazy-load="true" :lazy-load-margin="0"></image>
|
|
|
+ <image :src="info.cover" style="width:160upx;height:160upx;border-radius:10upx;" lazy-load="true" :lazy-load-margin="0"></image>
|
|
|
|
|
|
</view>
|
|
|
<view class="cmd-info_bx active" @click="doIt(info)">
|
|
|
<view class="tit">
|
|
|
- <text style="font-size:22upx;border:1upx solid #3385ff;color:white;background-color:#3385ff;margin-right:5upx;padding-left:5upx;padding-right:5upx;"
|
|
|
- v-if="frontHide== 1">隐</text>
|
|
|
- <text style="font-size:22upx;border:1upx solid #3385ff;color:white;background-color:#3385ff;margin-right:5upx;padding-left:5upx;padding-right:5upx;"
|
|
|
- v-if="info.presell == 1">预售</text>
|
|
|
{{ info.name }}
|
|
|
- <text v-if="info.variety && info.variety ==1" class="show-color"></text>
|
|
|
</view>
|
|
|
<view class="kc">
|
|
|
- <text style="color:green;font-weight:normal;">¥{{ info.hjPrice?parseFloat(info.hjPrice):0 }}</text>
|
|
|
- <text style="margin-left:11upx;color:red;font-weight:bold;font-size:28upx;">¥{{ info.price?parseFloat(info.price):0 }}</text>
|
|
|
- <text style="margin-left:11upx;color:#333333;11upx;font-weight:normal;">¥{{ info.skPrice?parseFloat(info.skPrice):0 }}</text>
|
|
|
- <text style="margin-left:14upx;color:#3385FF;11upx;font-weight:normal;" v-if="info.reachNum && info.reachNum>0 && info.reachNumDiscount && info.reachNumDiscount>0">{{info.reachNum}}↓{{info.reachNumDiscount?parseFloat(info.reachNumDiscount):0}}</text>
|
|
|
+ <text style="color:green;font-weight:normal;">{{ info.miniPrice?parseFloat(info.miniPrice):0 }} - {{ info.maxPrice?parseFloat(info.maxPrice):0 }}</text>
|
|
|
</view>
|
|
|
<view class="num-open_bx">
|
|
|
<template>
|
|
|
<view class="open-bx">
|
|
|
- 剩<text style="font-size:23upx;">{{ info.stock?parseFloat(info.stock):0 }}</text>
|
|
|
+ 剩余 <text style="font-size:23upx;margin-left:9upx;">{{ info.stock?parseFloat(info.stock):0 }}</text>
|
|
|
<text style="margin-left:9upx;font-size:23upx;" v-if="info.onStock>0">路上<text style="font-weight:700;">{{info.onStock}}</text></text>
|
|
|
- <text style="margin-left:9upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">成本{{ info.cost ? parseInt(info.cost) : 0 }}</text>
|
|
|
- <text style="margin-left:9upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">销{{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
|
|
|
- <text style="margin-left:9upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">
|
|
|
- {{info.ratioType == 0 ? info.ratio :'若干'}}支
|
|
|
- </text>
|
|
|
+ <text style="margin-left:9upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">成本 {{ info.cost ? parseInt(info.cost) : 0 }}</text>
|
|
|
+ <text style="margin-left:9upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">销量 {{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <text class="bottom-button">更多</text>
|
|
|
- <text class="bottom-button">库存明细</text>
|
|
|
- <text class="bottom-button">打标签</text>
|
|
|
- <text class="bottom-button">打价码</text>
|
|
|
+ <text class="bottom-button">花材列表</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|