Complete core mini program flows
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
<pet-picker
|
||||
pets="{{pets}}"
|
||||
selected="{{walk?walk.pet_ids:selected}}"
|
||||
disabled="{{walk!==null}}"
|
||||
bind:change="pick"
|
||||
/>
|
||||
<view wx:if="{{!pets.length}}" class="empty">
|
||||
@@ -47,6 +48,7 @@
|
||||
wx:if="{{!walk||walk.status==='finished'}}"
|
||||
class="primary main-button"
|
||||
bindtap="start"
|
||||
disabled="{{busy}}"
|
||||
>
|
||||
开始遛狗 →
|
||||
</button>
|
||||
@@ -55,10 +57,11 @@
|
||||
class="secondary"
|
||||
data-kind="{{walk.status==='active'?'pause':'resume'}}"
|
||||
bindtap="action"
|
||||
disabled="{{busy}}"
|
||||
>
|
||||
{{walk.status==='active'?'暂停':'继续'}}
|
||||
</button>
|
||||
<button class="primary" data-kind="finish" bindtap="action">
|
||||
<button class="primary" data-kind="finish" bindtap="action" disabled="{{busy}}">
|
||||
结束遛狗
|
||||
</button>
|
||||
</view>
|
||||
@@ -72,9 +75,11 @@
|
||||
<button wx:if="{{share}}" class="share-button" open-type="share">
|
||||
发给朋友看位置 ↗
|
||||
</button>
|
||||
<view wx:if="{{locationError}}" class="location-error" bindtap="point">{{locationError}} · 点击重试</view>
|
||||
</view>
|
||||
<button class="records-button" bindtap="records">查看最近的脚印 ›</button>
|
||||
<view class="privacy">
|
||||
🔒 只有你主动打开分享时,朋友才能查看这次遛狗的位置。
|
||||
🔒 只有你主动打开分享时,朋友才能查看位置。保持小程序打开,位置才会持续更新。
|
||||
</view>
|
||||
</view>
|
||||
<tab-bar current="/pages/walk/walk" />
|
||||
|
||||
Reference in New Issue
Block a user