Commit 5b46416b authored by jyx's avatar jyx

优化标题过长

parent 4ea05030
......@@ -67,9 +67,11 @@
</view>
</view>
<view class="ellipsis" style="font-size: 26rpx;margin-top: 10rpx;">{{item.title}}</view>
<view style="font-size: 22rpx;margin-top: 10rpx;"
v-if="item.orderTags!=null&&item.orderTags.length>0">
<view
style="height: 80rpx;font-size: 26rpx;margin-top: 10rpx;word-wrap: break-word;white-space: normal">
{{item.title }}
</view>
<view style="font-size: 22rpx;" v-if="item.orderTags!=null&&item.orderTags.length>0">
<scroll-view scroll-x="true">
<block v-for="t in item.orderTags" :key="item.orderTags">
<view style="display:inline-block;margin-right: 4rpx;">{{t}} </view>
......@@ -112,8 +114,9 @@
</view>
</view>
</view>
<view class="ellipsis" style="font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;">
{{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>
......@@ -143,11 +146,11 @@
</view>
</view>
</view>
<view class="ellipsis" style="font-size: 30rpx;margin-top: 10rpx;margin-left: 12rpx;">
{{item.title}}</view>
<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>
</view>
</view>
......@@ -379,7 +382,7 @@
background-color: #fff;
break-inside: avoid;
margin-bottom: 20rpx;
height: 470rpx;
height: 500rpx;
}
.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