better layout
This commit is contained in:
@ -32,12 +32,14 @@
|
||||
src="{{item.thumbUrl}}"
|
||||
mode="aspectFill"
|
||||
/>
|
||||
<t-icon wx:else slot="left-icon" name="image" color="gray" size="96rpx" />
|
||||
<view slot="title">
|
||||
<text class="date">{{item.date}}</text>
|
||||
<text wx:if="{{item.idea}}"> · {{item.idea}}</text>
|
||||
<t-icon wx:else slot="left-icon" class="icon" name="image" color="gray" size="96rpx" />
|
||||
<view wx:if="{{item.idea}}" slot="title">
|
||||
<text>{{item.idea}}</text>
|
||||
</view>
|
||||
<view class="description" slot="description">
|
||||
<text>{{item.date}}</text>
|
||||
<text wx:if="{{item.location}}"> · {{item.location}}</text>
|
||||
</view>
|
||||
<text wx:if="{{item.location}}" class="location" slot="description">{{item.location}}</text>
|
||||
<t-icon
|
||||
wx:if="{{mode === 'select' && selectedId === item.id}}"
|
||||
slot="right-icon"
|
||||
|
||||
Reference in New Issue
Block a user