Commit 5b46416b authored by jyx's avatar jyx

优化标题过长

parent 4ea05030
...@@ -67,9 +67,11 @@ ...@@ -67,9 +67,11 @@
</view> </view>
</view> </view>
<view class="ellipsis" style="font-size: 26rpx;margin-top: 10rpx;">{{item.title}}</view> <view
<view style="font-size: 22rpx;margin-top: 10rpx;" style="height: 80rpx;font-size: 26rpx;margin-top: 10rpx;word-wrap: break-word;white-space: normal">
v-if="item.orderTags!=null&&item.orderTags.length>0"> {{item.title }}
</view>
<view style="font-size: 22rpx;" v-if="item.orderTags!=null&&item.orderTags.length>0">
<scroll-view scroll-x="true"> <scroll-view scroll-x="true">
<block v-for="t in item.orderTags" :key="item.orderTags"> <block v-for="t in item.orderTags" :key="item.orderTags">
<view style="display:inline-block;margin-right: 4rpx;">{{t}} </view> <view style="display:inline-block;margin-right: 4rpx;">{{t}} </view>
...@@ -112,8 +114,9 @@ ...@@ -112,8 +114,9 @@
</view> </view>
</view> </view>
</view> </view>
<view class="ellipsis" style="font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;"> <view
{{item.title}} style="height: 80rpx;font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;word-wrap: break-word;white-space: normal">
{{item.title }}
</view> </view>
<!-- <view style="font-size: 22rpx;margin-top: 10rpx;margin-left: 12rpx;">{{item.vedioDesc}}</view> --> <!-- <view style="font-size: 22rpx;margin-top: 10rpx;margin-left: 12rpx;">{{item.vedioDesc}}</view> -->
</view> </view>
...@@ -143,11 +146,11 @@ ...@@ -143,11 +146,11 @@
</view> </view>
</view> </view>
</view> </view>
<view class="ellipsis" style="font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;"> <view
{{item.title}}</view> style="height: 80rpx;font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;word-wrap: break-word;white-space: normal">
{{item.title }}
</view>
<!-- <view style="font-size: 22rpx;margin-top: 10rpx;margin-left: 12rpx;">{{item.vedioDesc}}</view> --> <!-- <view style="font-size: 22rpx;margin-top: 10rpx;margin-left: 12rpx;">{{item.vedioDesc}}</view> -->
</view> </view>
</view> </view>
</view> </view>
...@@ -379,7 +382,7 @@ ...@@ -379,7 +382,7 @@
background-color: #fff; background-color: #fff;
break-inside: avoid; break-inside: avoid;
margin-bottom: 20rpx; margin-bottom: 20rpx;
height: 470rpx; height: 500rpx;
} }
.img { .img {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment