Redesign mini program navigation and add back controls
This commit is contained in:
@@ -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 @@
|
||||
{}
|
||||
{ "usingComponents": { "page-back": "/components/page-back/index" } }
|
||||
|
||||
@@ -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 @@
|
||||
{}
|
||||
{ "usingComponents": { "page-back": "/components/page-back/index" } }
|
||||
|
||||
@@ -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 @@
|
||||
{}
|
||||
{ "usingComponents": { "page-back": "/components/page-back/index" } }
|
||||
|
||||
@@ -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}}">
|
||||
|
||||
Reference in New Issue
Block a user