罗世杰:fixed:列表展示标题字段超出隐藏

This commit is contained in:
LuoShijie
2023-11-19 23:10:45 +08:00
parent 8b8f821817
commit d32d2fa4a7
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
</view>
<view class="list-container">
<view class="text-area">
<text>{{shopInfo.tt}}</text>
<u-text style="font-weight: 500;" :text="shopInfo.tt" :lines="2" ></u-text>
<view class="style2" v-if="showStyle === 1">
<view class="rent-and-cost">

View File

@@ -5,7 +5,7 @@
<u-image :src="leftImage" width="80px" height="80px" radius="8px"></u-image>
</view>
<view class="text-area">
<text style="font-weight: 500;">{{shopInfo.tt}}</text>
<u-text style="font-weight: 500;" :text="shopInfo.tt" :lines="2" ></u-text>
<view v-if="showStyle == 0" class="pos-and-sqr">
<view>
<view>
@@ -204,7 +204,7 @@
flex-direction: column;
justify-content: space-between;
>text {
>text, >u-text {
font-size: 14px;
}