16 lines
929 B
Plaintext
16 lines
929 B
Plaintext
<view class="navigation" style="height: {{headerHeight}}px">
|
|
<view class="navigation-row" style="top: {{top}}px; height: {{rowHeight}}px; width: {{titleWidth}}px">
|
|
<view wx:if="{{location}}" class="local-header" bindtap="locate" aria-role="button" aria-label="更新当前位置和天气">
|
|
<view class="local-title"><view class="location-pin"></view><text>{{title}}</text><view class="location-chevron"></view></view>
|
|
<view class="local-meta"><text>{{subtitle}}</text></view>
|
|
</view>
|
|
<view wx:if="{{back}}" class="back" bindtap="goBack" aria-role="button" aria-label="返回">
|
|
<view class="back-arrow"></view>
|
|
</view>
|
|
<text wx:if="{{!location}}" class="navigation-title">{{title}}</text>
|
|
</view>
|
|
</view>
|
|
<scroll-view class="content" style="top: {{headerHeight}}px; height: {{scrollHeight}}px" scroll-y="{{true}}" enhanced="{{true}}" show-scrollbar="{{false}}">
|
|
<slot />
|
|
</scroll-view>
|