You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.5 KiB
40 lines
1.5 KiB
<wxs src="./index.wxs" module="tools" /> |
|
<view class="page"> |
|
<view class="page-header"> |
|
<view class="search"> |
|
<image class="icon" src="{{imageUrl}}icon43.png?t={{Timestamp}}"></image> |
|
<input |
|
type="text" |
|
model:value="{{Search}}" |
|
class="input" |
|
placeholder-class="input-place" |
|
placeholder="搜索姓名、手机号" |
|
confirm-type="search" |
|
bindconfirm="handleSearch" |
|
bind:tap="handleTapSearch" |
|
/> |
|
</view> |
|
<view class="navbar"> |
|
<view class="nav {{active===0 && 'active'}}" bind:tap="handleNav" data-active="{{0}}">疾病基础</view> |
|
<view class="nav {{active===1 && 'active'}}" bind:tap="handleNav" data-active="{{1}}">复发/活动期</view> |
|
</view> |
|
</view> |
|
<view class="list"> |
|
<view class="list-item" wx:for="{{list}}" wx:key="index" bind:tap="handleDetail" data-index="{{index}}"> |
|
<view class="avatar"> |
|
<image class="avatar-img" src="{{item.UserImg}}"></image> |
|
</view> |
|
<view class="container"> |
|
<view class="title"> |
|
<view class="name">{{item.Name}}</view> |
|
<view class="disease">病程{{item.DiagnosisTimeRange == 1 ? '<1年' : item.DiagnosisTimeRange == 2 ? '1-3年' : '>3年'}}</view> |
|
</view> |
|
<view class="replay-date">邀约时间:{{item.InviteTime}}</view> |
|
<view class="remark">备注:{{item.DoctorRemark || '无'}}</view> |
|
</view> |
|
</view> |
|
<pagination pagination="{{pagination}}"></pagination> |
|
</view> |
|
</view> |
|
|
|
<tabbar id="doctor-tabbar" active="{{1}}"></tabbar>
|
|
|