|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="commodity-wrap">
|
|
|
- <view class="item-cmd_bx" @click.stop="showAddModelFn()">
|
|
|
- <view class="img_bx" style="background:#eeeeee">
|
|
|
+ <view class="item-cmd_bx">
|
|
|
+ <view class="img_bx" style="background:#eeeeee" @click.stop="showAddModelFn()">
|
|
|
<button v-if="Number(info.limitBuy) > 0" @click.stop="cancelLimitBuyFn(info)" class="admin-button-com mini-btn blue cancel-limit-buy-btn">取消限购</button>
|
|
|
<block v-if="info.frontHide == 1">
|
|
|
<view class="sold-out">
|
|
|
@@ -12,7 +12,7 @@
|
|
|
<view style="width:30upx;height:30upx;top:0upx;left:0upx;position: absolute;" @click.stop="delProduct(info)"> </view>
|
|
|
</view>
|
|
|
<view class="cmd-info_bx">
|
|
|
- <view class="tit" >
|
|
|
+ <view class="tit" @click.stop="showAddModelFn()">
|
|
|
<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.frontHide && info.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;"
|
|
|
@@ -41,14 +41,14 @@
|
|
|
满{{info.reachNum}}↓{{info.reachNumDiscount?parseFloat(info.reachNumDiscount):0}}
|
|
|
</text>
|
|
|
</view>
|
|
|
- <view style="text-align: right;margin-right:20upx;" >
|
|
|
+ <view class="num-ctrl-wrap" >
|
|
|
<view class="open-bx" >
|
|
|
<i class="iconfont iconjian" @click.stop="reduceItemFn()" v-if="bigCount > 0 || smallCount > 0"></i>
|
|
|
- <text class="num" >
|
|
|
+ <text class="num" @click.stop="showAddModelFn()">
|
|
|
<text style="font-weight:bold;color:#3385ff;" v-if="bigCount > 0">{{ `${bigCount}` }}</text>
|
|
|
<text v-if="smallCount > 0">{{ `${smallCount}` }}</text>
|
|
|
</text>
|
|
|
- <i class="iconfont iconzeng" @click.stop="addItemFn()"></i>
|
|
|
+ <i class="iconfont iconzeng icon-add-btn" @click.stop="addItemFn()"></i>
|
|
|
</view>
|
|
|
<text v-if="parseFloat((Number(info.stock)+Number(info.onStock)).toFixed(2)) > Number(info.stockWarning)" style="color:#333;margin-right:65upx;">还剩 {{ parseFloat(info.stock) }}</text>
|
|
|
<text v-else style="color:red;font-weight:bold;margin-right:65upx;">还剩 {{ parseFloat(info.stock) }}</text>
|
|
|
@@ -293,6 +293,10 @@ export default {
|
|
|
color: #ff2842;
|
|
|
flex: 1;
|
|
|
}
|
|
|
+ .num-ctrl-wrap {
|
|
|
+ text-align: right;
|
|
|
+ margin-right: 26upx;
|
|
|
+ }
|
|
|
& .open-bx {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -300,6 +304,9 @@ export default {
|
|
|
color: #3385ff;
|
|
|
font-size: 55upx;
|
|
|
}
|
|
|
+ .icon-add-btn {
|
|
|
+ font-size: 67upx;
|
|
|
+ }
|
|
|
.position{
|
|
|
display: block;
|
|
|
width: 70upx;
|