This commit is contained in:
zpc 2025-04-13 18:41:04 +08:00
parent cc2d99ccca
commit 75ae3e2c3b
2 changed files with 39 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<view v-if="item.doubling != null && item.doubling > 1" class="multiple-tag">x{{
item.doubling }}</view>
<view v-if="item.goods_type == 4" class="baoxiang-tag"></view>
<view v-if="item.lingzhu != null && item.lingzhu == 1" class="lingzhu-tag"></view>
<view v-if="item.is_lingzhu != null && item.is_lingzhu == 1" class="lingzhu-tag"></view>
<!-- lingzhu -->
<!-- 售罄遮罩 -->
<view class="sold-out-mask center" v-if="item.surplus_stock != null && item.surplus_stock <= 0">

View File

@ -162,6 +162,7 @@
<view class="log-item br10" v-for="(a, b) in logList" :key="b">
<!-- 添加角标 -->
<view class="corner-tag" v-if="a.doubling > 1"></view>
<view class="lingzhu-tag" v-if="a.is_lingzhu > 0"></view>
<view class="avatar">
<image :src="a.user_info && a.user_info.headimg" style="width:80rpx; height: 80rpx;">
@ -221,6 +222,9 @@
<view class="num center">{{ item.prize_num || '1' }}</view>
<view v-if="item.doubling > 1" class="yu-tag-text ziti log-multiple-tag" style="">
x{{ item.doubling }}</view>
<view v-if="item.is_lingzhu > 0" class="yu-tag-text ziti log-lingzhu-tag" style="">
</view>
</view>
<view class="title hang1" style="text-align: center;">
<text> {{ item.goodslist_title }}</text>
@ -2561,6 +2565,21 @@ export default {
height: 32rpx;
}
.lingzhu-tag {
position: absolute;
left: 0;
top: 0;
background: url($iconurl + "lingzhu.png") no-repeat;
background-size: 100% 100%;
color: #FFFFFF;
font-size: 20rpx;
padding: 4rpx 12rpx;
border-radius: 0 0 12rpx 0;
z-index: 10;
min-width: 68rpx;
height: 32rpx;
}
.log-multiple-tag {
position: absolute;
z-index: 5;
@ -2579,4 +2598,23 @@ export default {
font-size: 22rpx;
line-height: 32rpx;
}
.log-lingzhu-tag {
position: absolute;
z-index: 5;
display: flex;
justify-content: center;
align-items: center;
font-weight: 400;
background: url($iconurl + "lingzhu.png") no-repeat;
background-size: 100% 100%;
color: #000;
width: 68rpx;
height: 32rpx;
// border-radius: 25rpx;
top: 12rpx;
right: 12rpx;
font-size: 22rpx;
line-height: 32rpx;
}
</style>