|
|
@@ -1,6 +1,11 @@
|
|
|
<template>
|
|
|
<view class="item-cmd_bx" @click="showAddModelFn()">
|
|
|
<view class="img_bx" style="background:#eeeeee">
|
|
|
+ <block v-if="info.frontHide == 1">
|
|
|
+ <view class="sold-out">
|
|
|
+ <view class="hide">隐</view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
<image :src="info.cover" lazy-load="true" :lazy-load-margin="0"></image>
|
|
|
<view style="width:30upx;height:30upx;top:0upx;left:0upx;position: absolute;" @click.stop="delProduct(info)"> </view>
|
|
|
</view>
|
|
|
@@ -147,6 +152,26 @@ export default {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
}
|
|
|
+ .sold-out{
|
|
|
+ z-index:10;
|
|
|
+ width:140upx;
|
|
|
+ height:140upx;
|
|
|
+ background-color:black;
|
|
|
+ position:absolute;
|
|
|
+ top:0;
|
|
|
+ left:0;
|
|
|
+ opacity: 0.6;
|
|
|
+ color:white;
|
|
|
+ text-align:center;
|
|
|
+ .sold-out-xj{
|
|
|
+ line-height:160upx;
|
|
|
+ font-size:28upx;
|
|
|
+ }
|
|
|
+ .hide{
|
|
|
+ line-height:160upx;
|
|
|
+ font-size:30upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
.cmd-info_bx {
|
|
|
padding-left: 160upx;
|