fix location icon
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.text {
|
||||
> .text {
|
||||
color: var(--theme-text-primary);
|
||||
width: calc(100% - 32px - 2rem);
|
||||
padding: 8px 16px;
|
||||
@ -64,8 +64,18 @@
|
||||
}
|
||||
|
||||
.location {
|
||||
color: var(--theme-text-secondary);
|
||||
text-align: right;
|
||||
gap: 6rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
.icon {
|
||||
color: var(--theme-wx);
|
||||
}
|
||||
|
||||
.text {
|
||||
color: var(--theme-text-secondary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -27,7 +27,10 @@
|
||||
class="location"
|
||||
bind:tap="openLocation"
|
||||
data-journal-index="{{journalIndex}}"
|
||||
>📍 {{journal.location}}</view>
|
||||
>
|
||||
<t-icon class="icon" name="location-filled" />
|
||||
<text class="text">{{journal.location}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{journal.items}}" class="items">
|
||||
<block wx:for="{{journal.items}}" wx:for-item="item" wx:for-index="itemIndex" wx:key="date">
|
||||
|
||||
Reference in New Issue
Block a user