20 lines
787 B
Plaintext
20 lines
787 B
Plaintext
<page-layout id="page-layout" title="我的毛孩子">
|
||
<view class="screen">
|
||
<view class="family">
|
||
<view>
|
||
<text>每一位家人,都值得被好好照顾</text>
|
||
<strong>每一只都有自己的故事</strong>
|
||
</view>
|
||
<image src="/assets/corgi-family-five.png" mode="aspectFit" />
|
||
</view>
|
||
<view class="row">
|
||
<text class="section-title">宠物档案 · {{pets.length}}</text>
|
||
<text class="add" bindtap="add">+ 添加</text>
|
||
</view>
|
||
<pet-id-card wx:for="{{pets}}" wx:key="id" pet="{{item}}" bind:edit="edit" />
|
||
<view wx:if="{{!pets.length}}" class="empty">给第一只狗狗建个档案吧 </view>
|
||
<button class="primary add-button" bindtap="add">+ 新建宠物档案</button>
|
||
</view>
|
||
</page-layout>
|
||
<tab-bar current="/pages/pets/pets" />
|