file_choose.wxml
915 字节
<!--pages/file_manage/file_manage.wxml-->
<view class='addfile' bindtap='goaddfile'>
<view class='addfile_left'>
<view class='addfile_img'>
<image src='../../img/jia.png'></image>
</view>
<view>添加新档案</view>
</view>
<view class='iconfont icon-xiangyou'></view>
</view>
<view class='manage'>
<view class='manage_item' wx:for='{{datalist}}' wx:key bindtap='setstate' data-index='{{index}}' id='{{item.id}}' data-obj='{{item}}'>
<view class='manage_left'>
<view>{{item.patient}}
<text class='txt_sex'>{{item.sex_string}}</text>{{item.age}}岁</view>
<view class='sub_item'>{{item.disease_name}}</view>
</view>
<view wx:if='{{show}}'>
<view class='manage_right' wx:if='{{item.state}}' >
<image src='../../img/choose_yes.png'></image>
</view>
<view class='manage_right' wx:else >
<image src='../../img/choose_no.png'></image>
</view>
</view>
</view>
</view>