信达小程序
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.

63 lines
2.4 KiB

<view class="page">
<view
class="page-header"
style="background:#fff url({{imageUrl}}za-images/doctor/d_patient-bg.png?t={{Timestamp}}) no-repeat top center/100% 456rpx"
>
<zd-navBar title="互动" back home="{{false}}" bind:back="handleBack"></zd-navBar>
<view class="wrap">
<view class="search">
<image class="icon" src="{{imageUrl}}za-images/doctor/icon-search.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}}za-images/doctor/icon-clear.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>