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.
|
|
|
|
<view class="page">
|
|
|
|
|
<view class="page-header">
|
|
|
|
|
<view class="wrap">
|
|
|
|
|
<view class="search">
|
|
|
|
|
<image class="icon" src="{{imageUrl}}icon48.png?t={{Timestamp}}"></image>
|
|
|
|
|
<input
|
|
|
|
|
type="text"
|
|
|
|
|
class="input"
|
|
|
|
|
placeholder-class="input-place"
|
|
|
|
|
placeholder="可根据姓名、手机号搜索患者"
|
|
|
|
|
model:value="{{search}}"
|
|
|
|
|
confirm-type="search"
|
|
|
|
|
bindconfirm="handleSearch"
|
|
|
|
|
bind:tap="handleTapSearch"
|
|
|
|
|
/>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <image class="clear" src="{{imageUrl}}icon47.png?t={{Timestamp}}" bind:tap="hancleClaer"></image> -->
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="navbar"> -->
|
|
|
|
|
<!-- <view class="nav {{!active && 'active'}}" bind:tap="handleNav" data-active=""> -->
|
|
|
|
|
<!-- 全部 -->
|
|
|
|
|
<!-- <view class="dot" wx:if="{{unReadCount>0}}">{{unReadCount}}</view> -->
|
|
|
|
|
<!-- </view> -->
|
|
|
|
|
<!-- <view class="nav {{active===1 && 'active'}}" bind:tap="handleNav" data-active="{{1}}">已读</view> -->
|
|
|
|
|
<!-- <view class="nav {{active===2 && 'active'}}" bind:tap="handleNav" data-active="{{2}}"> -->
|
|
|
|
|
<!-- 未读 -->
|
|
|
|
|
<!-- <view class="dot" wx:if="{{unReadCount>0}}">{{unReadCount}}</view> -->
|
|
|
|
|
<!-- </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="a-img" src="{{item.userAvatar}}"></image>
|
|
|
|
|
<view class="dot" wx:if="{{item.msgReadStatus==='2'}}"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="wrap">
|
|
|
|
|
<view class="w-header">
|
|
|
|
|
<view class="name" wx:if="{{item.patientName}}">{{item.patientName}}</view>
|
|
|
|
|
<view class="name" wx:else>{{item.Telephone}}</view>
|
|
|
|
|
<view class="date">{{item.msgCreateTime}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tags">
|
|
|
|
|
<view class="tag" wx:for="{{item.Tags}}" wx:for-item="tag" wx:for-index="tIndex" wx:key="tIndex">
|
|
|
|
|
{{tag}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="content">{{item.msgContent}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<pagination pagination="{{pagination}}"></pagination>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|