53 lines
2.1 KiB
Plaintext
53 lines
2.1 KiB
Plaintext
<!--pages/clockIn/index.wxml-->
|
||
<view class="clockin">
|
||
<image src="../../assets/images/my/my-top-bg.png" mode="aspectFill" class="clockin-img"></image>
|
||
<view class="clockin-item" wx:for="{{dataList}}" wx:key="id">
|
||
<view class="margin-16 success" wx:if="{{item.status == 2}}">已完成</view>
|
||
<view class="margin-16" wx:if="{{item.status == 1}}">未开始</view>
|
||
<view class="margin-16 primary" wx:if="{{item.status == 3}}">待开始</view>
|
||
<view class="item-top">
|
||
<text>{{item.plan_date}}</text>
|
||
|
||
</view>
|
||
<view class="dose">{{item.plan_name}}</view>
|
||
<t-button theme="primary" block bindtap="toQuestionnaire" wx:if="{{item.status == 2}}">填写随访问卷</t-button>
|
||
<t-button bindtap="toRegister" theme="primary" block wx:if="{{item.status == 3}}">预约挂号</t-button>
|
||
</view>
|
||
<!-- <view class="clockin-item">
|
||
<view class="item-top">
|
||
<text>术后2个月随访</text>
|
||
<t-tag class="margin-16" variant="light" theme="primary">待开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:2025年5月20日</view>
|
||
<t-button bindtap="toRegister" theme="primary" block>预约挂号</t-button>
|
||
</view>
|
||
<view class="clockin-item">
|
||
<view class="item-top">
|
||
<text>术后3个月随访</text>
|
||
<t-tag class="margin-16" variant="light">未开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:2025年5月20日</view>
|
||
</view>
|
||
<view class="clockin-item">
|
||
<view class="item-top">
|
||
<text>术后4个月随访</text>
|
||
<t-tag class="margin-16" variant="light">未开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:2025年5月20日</view>
|
||
</view>
|
||
<view class="clockin-item">
|
||
<view class="item-top">
|
||
<text>术后1年随访</text>
|
||
<t-tag class="margin-16" variant="light">未开始</t-tag>
|
||
</view>
|
||
<view class="dose">随访时间:2025年5月20日</view>
|
||
</view> -->
|
||
<view class="footer-example">
|
||
<view bindtap="toQuestionnaire">
|
||
<text class="iconfont icon-zengjiatianjiajiahao"></text>
|
||
添加随访
|
||
</view>
|
||
|
||
|
||
</view>
|
||
</view> |