|
|
@@ -5,11 +5,14 @@
|
|
|
<button v-if="Number(info.discountPrice)>0" @click.stop="cancelDiscountFn(info)" class="admin-button-com mini-btn blue"
|
|
|
style="position:absolute;bottom:0upx;font-size:24upx;left:10upx;z-index:20;">取消特价</button>
|
|
|
|
|
|
+ <image :src="`${constant.imgUrl}/icon/official8.png`" v-if="info.auth && info.auth == 1" mode="widthFix" class="official"></image>
|
|
|
+
|
|
|
<view class="img_bx" @click="pageTo({url: '/admin/item/detail?id='+info.id})">
|
|
|
<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>
|
|
|
+
|
|
|
</view>
|
|
|
<view class="cmd-info_bx active" @click="pageTo({url: '/admin/item/detail?id='+info.id})">
|
|
|
<view class="tit">
|
|
|
@@ -108,6 +111,15 @@ export default {
|
|
|
height:160upx;
|
|
|
position: relative;
|
|
|
margin-bottom: 20upx;
|
|
|
+ .official{
|
|
|
+ z-index:99;
|
|
|
+ position:absolute;
|
|
|
+ top:62upx;
|
|
|
+ right:22upx;
|
|
|
+ width:39upx;
|
|
|
+ height:39upx;
|
|
|
+ display:inline-block;
|
|
|
+ }
|
|
|
.img_bx {
|
|
|
height: 160upx;
|
|
|
width: 160upx;
|
|
|
@@ -134,22 +146,7 @@ export default {
|
|
|
.cmd-info_bx {
|
|
|
position: relative;
|
|
|
padding-left: 177upx;
|
|
|
- &.active{
|
|
|
- &:before{
|
|
|
- content: ' ';
|
|
|
- height: 22upx;
|
|
|
- width: 22upx;
|
|
|
- border-width: 2upx 2upx 0 0;
|
|
|
- border-color: #b2b2b2;
|
|
|
- border-style: solid;
|
|
|
- -webkit-transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
|
|
|
- transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
|
|
|
- position: absolute;
|
|
|
- top: 52%;
|
|
|
- margin-top: -12upx;
|
|
|
- right: 30upx;
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
& .tit {
|
|
|
font-size: 30upx;
|