|
@@ -224,9 +224,9 @@
|
|
|
</view>
|
|
|
<view class="goodsRight">
|
|
|
<view class="goodsRtop">
|
|
|
- <view style="display: flex;">
|
|
|
- <view class="isRecommend" v-if="item.isRecommend==1">适配</view>
|
|
|
- <view class="goodsName">{{item.title}}</view>
|
|
|
+ <view class="bygoodsNameBox">
|
|
|
+ <span class="isRecommend" v-if="item.isRecommend==1">适配</span>
|
|
|
+ <span class="bygoodsName">{{item.title}}</span>
|
|
|
</view>
|
|
|
|
|
|
<view class="goodsMs">{{item.showContent}}</view>
|
|
@@ -1863,12 +1863,21 @@
|
|
|
.qiehuanBox{
|
|
|
min-height: 600rpx;
|
|
|
}
|
|
|
-.byBox .goodsName{
|
|
|
+
|
|
|
+.byBox .bygoodsNameBox{
|
|
|
+ text-overflow: -o-ellipsis-lastline;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+}
|
|
|
+.bygoodsName{
|
|
|
font-weight: 600;
|
|
|
font-size: 28rpx;
|
|
|
color: #222222;
|
|
|
line-height: 40rpx;
|
|
|
-
|
|
|
}
|
|
|
.goodsRight{
|
|
|
padding-left: 24rpx;
|
|
@@ -2448,4 +2457,5 @@ margin-top: 10rpx;
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
|
}
|
|
|
+
|
|
|
</style>
|