Redesign mini program navigation and add back controls
ci-cd / verify (push) Successful in 4s
ci-cd / deploy (push) Skipped

This commit is contained in:
2026-10-04 09:48:12 +08:00
parent 87dfc4f335
commit 8a3036f0db
17 changed files with 256 additions and 48 deletions
+1 -1
View File
@@ -1 +1 @@
{ "usingComponents": { "pet-picker": "/components/pet-picker/index" } }
{ "usingComponents": { "pet-picker": "/components/pet-picker/index", "page-back": "/components/page-back/index" } }
@@ -1,4 +1,5 @@
<view class="screen">
<page-back />
<view class="eyebrow">HOST A WALK</view>
<view class="title">发起约遛 🌿</view>
<view class="field">
+1 -1
View File
@@ -1 +1 @@
{}
{ "usingComponents": { "page-back": "/components/page-back/index" } }
+1
View File
@@ -1,4 +1,5 @@
<view class="screen">
<page-back />
<view class="eyebrow">PET PROFILE</view>
<view class="title">{{id?'编辑档案':'认识新朋友'}} 🐶</view>
<view class="photo" bindtap="choose">
+1 -1
View File
@@ -1 +1 @@
{}
{ "usingComponents": { "page-back": "/components/page-back/index" } }
+1
View File
@@ -1,4 +1,5 @@
<view class="screen">
<page-back />
<view class="eyebrow">肉垫计划 · 位置分享</view>
<view class="title">找到小短腿的脚印 🐾</view>
<map wx:if="{{markers.length}}"
@@ -41,7 +41,4 @@ Page({
close() {
this.setData({ selected: null });
},
back() {
wx.navigateBack();
},
});
+1 -1
View File
@@ -1 +1 @@
{}
{ "usingComponents": { "page-back": "/components/page-back/index" } }
+1 -1
View File
@@ -1,6 +1,6 @@
<view class="screen">
<page-back />
<text wx:if="{{selected}}" class="back" bindtap="close">‹ 全部记录</text>
<text wx:else class="back" bindtap="back">‹ 返回</text>
<view class="eyebrow">OUR LITTLE FOOTPRINTS</view>
<view class="title">{{selected?'这次的脚印':'遛狗记录'}} 🐾</view>
<view wx:if="{{selected}}">