Fix capsule-aligned navigation and refresh mini program typography
This commit is contained in:
@@ -1 +1,4 @@
|
||||
{ "disableScroll": true, "usingComponents": { "page-back": "/components/page-back/index" } }
|
||||
{
|
||||
"disableScroll": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
<scroll-view class="page-scroll" scroll-y="{{true}}" enhanced="{{true}}" show-scrollbar="{{false}}">
|
||||
<page-layout id="page-layout" title="{{selected?'这次的脚印':'遛狗记录'}}" back="{{true}}">
|
||||
<view class="screen">
|
||||
<safe-top />
|
||||
<page-back />
|
||||
<text wx:if="{{selected}}" class="back" bindtap="close">‹ 全部记录</text>
|
||||
<view class="eyebrow">OUR LITTLE FOOTPRINTS</view>
|
||||
<view class="title">{{selected?'这次的脚印':'遛狗记录'}}</view>
|
||||
<view wx:if="{{selected}}">
|
||||
<view class="card detail">
|
||||
<strong>{{selected.date}}</strong>
|
||||
@@ -23,10 +19,10 @@
|
||||
<view wx:else>
|
||||
<view wx:for="{{records}}" wx:key="id" class="card record" data-index="{{index}}" bindtap="open">
|
||||
<view class="row"><strong>{{item.date}}</strong><text>›</text></view>
|
||||
<view class="pet-names">🐕 {{item.petNames}}</view>
|
||||
<view class="pet-names"> {{item.petNames}}</view>
|
||||
<view class="record-stats">{{item.duration}} · {{item.distance}} km · {{item.points.length}} 个足迹</view>
|
||||
</view>
|
||||
<view wx:if="{{!loading&&!records.length}}" class="empty">完成一次遛狗,脚印就会出现在这里 🐾</view>
|
||||
<view wx:if="{{!loading&&!records.length}}" class="empty">完成一次遛狗,脚印就会出现在这里 </view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</page-layout>
|
||||
|
||||
Reference in New Issue
Block a user