提交
This commit is contained in:
parent
28bfe2ace3
commit
d94cf09c99
@ -99,7 +99,9 @@
|
||||
<view v-if="item.product" v-for="(item, index) in goodsList" class="short_item" @click="clickProduct(item)">
|
||||
<image class="image" :src="item.product.image"></image>
|
||||
<view class="short_item_right">
|
||||
<view class="r_name">{{item.product.store_name}}</view>
|
||||
<view class="r_name">
|
||||
<text v-if="item.mer_labels_name" class="mer-labels">{{item.mer_labels_name}}</text>{{item.product.store_name}}
|
||||
</view>
|
||||
<view class="r_type">
|
||||
<view v-if="item.product.store_info">{{item.product.store_info}}</view>
|
||||
<view v-else-if="getSkuName(item)">{{getSkuName(item)}}</view>
|
||||
@ -1154,6 +1156,14 @@
|
||||
-webkit-box-orient: vertical; /* 设置为垂直方向布局 */
|
||||
overflow: hidden; /* 隐藏超出部分 */
|
||||
-webkit-line-clamp: 2; /* 限制显示两行文本 */
|
||||
.mer-labels{
|
||||
background-color: #f84221;
|
||||
color: #fff;
|
||||
font-size: 16rpx;
|
||||
padding: 2rpx 6rpx;
|
||||
border-radius: 5rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.r_type {
|
||||
|
Loading…
x
Reference in New Issue
Block a user