better layout

This commit is contained in:
Timi
2025-12-08 20:47:59 +08:00
parent 4786df0c36
commit 6dc4d71718
4 changed files with 26 additions and 11 deletions

View File

@ -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"