Browse Source

修改次卡列表描述文字最大宽度

master
396316021 1 year ago
parent
commit
5ed6b39ce0
  1. 6
      pages/Card/index.vue

6
pages/Card/index.vue

@ -26,12 +26,12 @@
<view class="card-avatar">
<image class="img" mode="aspectFit" :src="staticImage.dogImage"/>
</view>
<view class="card-content">
<view class="card-content" style="max-width:240rpx">
<view class="card-content-top">
{{item.illustrate}}
<u-text :text="item.illustrate" :lines="1" color="#656565" size="24"></u-text>
</view>
<view class="card-content-bottom">
{{item.que_illustrate}}
<u-text :text="item.que_illustrate" :lines="1" color="#656565" size="24"></u-text>
</view>
</view>
<view class="card-btn" @click="navTo('/pages/CardDetail/index?id='+item.id)">

Loading…
Cancel
Save