fix location icon
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
<view class="header">
|
||||
<view class="info">
|
||||
<view wx:if="{{title}}" class="title">
|
||||
<image wx:if="{{showLocationIcon}}" class="icon" src="../../assets/image/location.png" />
|
||||
<t-icon wx:if="{{showLocationIcon}}" class="icon" name="location-filled" />
|
||||
<text>{{title}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@ -26,7 +26,15 @@
|
||||
<swiper-item class="swiper-item-wrapper">
|
||||
<view class="journal-item">
|
||||
<view class="journal-header">
|
||||
<view wx:if="{{item.location && showJournalLocation}}" class="location">📍 {{item.location}}</view>
|
||||
<view
|
||||
wx:if="{{item.location && showJournalLocation}}"
|
||||
class="location"
|
||||
catchtap="openLocation"
|
||||
data-journal-index="{{currentJournalIndex}}"
|
||||
>
|
||||
<t-icon class="icon" name="location-filled" />
|
||||
<text class="text">{{item.location}}</text>
|
||||
</view>
|
||||
<view wx:if="{{showJournalDate}}" class="date">{{item.date}}</view>
|
||||
</view>
|
||||
<view wx:if="{{item.idea}}" class="idea">{{item.idea}}</view>
|
||||
|
||||
Reference in New Issue
Block a user