This commit is contained in:
wt 2025-10-15 10:08:11 +08:00
parent bc3b4d57c4
commit fc1b805363
3 changed files with 15 additions and 2 deletions

View File

@ -38,5 +38,11 @@ Page({
wx.navigateTo({
url: '../add/index',
})
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -22,7 +22,7 @@
<view style="margin-left:16rpx;" class="full-width">
<view class="flex flex-center flex-justify-between full-width">
<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 class="font-14 grey mt-5">已养护2天</view>
<view class="flex flex-center flex-justify-start mt-16 ">

View File

@ -43,12 +43,19 @@
<view>
<view class="row padding mt-32">
<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-justify-start flex-aligin-center mt-16">
<t-avatar icon="color-invert" />
<view class="ml-16">
<view class="font-14 bold">{{item.name}}</view>
</view>
</view>
<view>