36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
<!-- pages/clockIn/index.wxml -->
|
|
<view class="clockin">
|
|
<image src="https://image-fudan.oss-cn-beijing.aliyuncs.com/mini_images/my/my-top-bg.png" mode="aspectFill" class="clockin-img"></image>
|
|
<t-navbar t-class-placeholder="t-navbar-placeholder" t-class-content="t-navbar-content" class="block" title="随访计划" />
|
|
<scroll-view scroll-y="{{true}}">
|
|
<view class="scroll-view-box">
|
|
<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}}">
|
|
待开始
|
|
<text>{{item.diffDays}}天后</text>
|
|
</view>
|
|
<view class="item-top">
|
|
<text>{{item.plan_date}}</text>
|
|
</view>
|
|
<view class="dose">{{item.plan_name}}</view>
|
|
<t-button theme="primary" variant="outline" block bindtap="toQuestionnaire" data-item="{{item}}" wx:if="{{item.status == 2}}">
|
|
填写随访问卷
|
|
</t-button>
|
|
<t-button bindtap="toRegister" theme="primary" block wx:if="{{item.status == 3}}">
|
|
预约挂号
|
|
</t-button>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
<view class="footer-example">
|
|
<view bindtap="goQuestionnaire" data-id="{{planId}}">
|
|
<text class="iconfont icon-zengjiatianjiajiahao"></text>
|
|
添加随访
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="emergency-access" bindtap="toEmergency">
|
|
<text class="iconfont icon-xiaoxi1"></text>
|
|
</view> |