fix
This commit is contained in:
parent
bc3b4d57c4
commit
fc1b805363
@ -38,5 +38,11 @@ Page({
|
|||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
url: '../add/index',
|
url: '../add/index',
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* 用户点击右上角分享
|
||||||
|
*/
|
||||||
|
onShareAppMessage() {
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
<view style="margin-left:16rpx;" class="full-width">
|
<view style="margin-left:16rpx;" class="full-width">
|
||||||
<view class="flex flex-center flex-justify-between full-width">
|
<view class="flex flex-center flex-justify-between full-width">
|
||||||
<view class="font-16 bold">{{item.name}}</view>
|
<view class="font-16 bold">{{item.name}}</view>
|
||||||
<t-tag shape="round" theme="primary" size="small">健康</t-tag>
|
<t-tag shape="round" theme="primary">健康</t-tag>
|
||||||
</view>
|
</view>
|
||||||
<view class="font-14 grey mt-5">已养护2天</view>
|
<view class="font-14 grey mt-5">已养护2天</view>
|
||||||
<view class="flex flex-center flex-justify-start mt-16 ">
|
<view class="flex flex-center flex-justify-start mt-16 ">
|
||||||
|
|||||||
@ -43,12 +43,19 @@
|
|||||||
<view>
|
<view>
|
||||||
<view class="row padding mt-32">
|
<view class="row padding mt-32">
|
||||||
<view>今日任务</view>
|
<view>今日任务</view>
|
||||||
|
<view wx:if="{{info.todayFarms.length === 0}}">
|
||||||
|
<view class="flex flex-center flex-col padding">
|
||||||
|
<view >
|
||||||
|
<t-icon class="grey" name="notification-error"></t-icon>
|
||||||
|
</view>
|
||||||
|
<view class="font-14 grey">暂无任务</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="flex flex-center flex-justify-between mt-16" wx:for="{{info.todayFarms}}">
|
<view class="flex flex-center flex-justify-between mt-16" wx:for="{{info.todayFarms}}">
|
||||||
<view class="flex flex-justify-start flex-aligin-center mt-16">
|
<view class="flex flex-justify-start flex-aligin-center mt-16">
|
||||||
<t-avatar icon="color-invert" />
|
<t-avatar icon="color-invert" />
|
||||||
<view class="ml-16">
|
<view class="ml-16">
|
||||||
<view class="font-14 bold">{{item.name}}</view>
|
<view class="font-14 bold">{{item.name}}</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user