| | |
| | | <template v-if="list.length > 0"> |
| | | <view class="list-item" v-for="(item, index) in list" :key="index" @click="jump(item.id, item.contentType, item.content)"> |
| | | <view class="info"> |
| | | <view class="info-title">{{item.name}}</view> |
| | | <view class="info-title" :style="{ width: item.imgurlfull ? 'calc(100vw - 60rpx - 220rpx)' : 'calc(100vw - 60rpx)' }">{{item.name}}</view> |
| | | <view class="info-desc" v-if="item.contentInfo">{{item.contentInfo}}</view> |
| | | <view class="info-data"> |
| | | <view class="tips" :style="{ border: '1rpx solid' + item.param, color: item.param }">{{item.lablesName}}</view> |
| | |
| | | display: flex; |
| | | flex-direction: column; |
| | | .info-title { |
| | | width: calc(100vw - 60rpx - 220rpx); |
| | | white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | |
| | | white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | // display: flex; |
| | | // align-items: center; |
| | | // justify-content: center; |
| | | padding: 0 8rpx; |
| | | box-sizing: border-box; |
| | | border-radius: 8rpx; |