Commit 8709f4e3ab7b6ccbcc5111f51d8d185e04fc7371

Authored by zhangyan
1 parent 67a292bf

no message

@@ -66,5 +66,10 @@ Page({ @@ -66,5 +66,10 @@ Page({
66 wx.navigateTo({ 66 wx.navigateTo({
67 url:'../pet/p_detail' 67 url:'../pet/p_detail'
68 }) 68 })
  69 + },
  70 + addpet:function () {
  71 + wx.navigateTo({
  72 + url:'../pet/p_add'
  73 + })
69 } 74 }
70 }) 75 })
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <view class="my-pet bg-white"> 33 <view class="my-pet bg-white">
34 <view class="flex-lr my-pet-title"> 34 <view class="flex-lr my-pet-title">
35 <view class="black-font font34r font-bold">我的爱宠</view> 35 <view class="black-font font34r font-bold">我的爱宠</view>
36 - <image src="/pages/image/add.png" style="width:50rpx;height:50rpx;"></image> 36 + <image src="/pages/image/add.png" style="width:50rpx;height:50rpx;" bindtap="addpet"></image>
37 </view> 37 </view>
38 <view class="my-pet-list flex-vl"> 38 <view class="my-pet-list flex-vl">
39 <block wx:for="{{blocks}}"> 39 <block wx:for="{{blocks}}">
@@ -21,6 +21,6 @@ @@ -21,6 +21,6 @@
21 </view> 21 </view>
22 </picker> 22 </picker>
23 </view> 23 </view>
24 - <input type="digit" placeholder="请输入宝贝体重" placeholder-class="gray-font font28r font-siny" class="black-font font28r" maxlength="3"/> 24 + <input type="digit" placeholder="请输入宝贝体重/kg" placeholder-class="gray-font font28r font-siny" class="black-font font28r" maxlength="3"/>
25 <view class="save-button white-font bg-orange font30r flex-cm">开启宠爱模式</view> 25 <view class="save-button white-font bg-orange font30r flex-cm">开启宠爱模式</view>
26 </view> 26 </view>