<view class="content"><view class="inner"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="peop-item"><view class="info"><view class="name">{{item.$orig.patientName}}</view><view class="detail"><block wx:if="{{item.$orig.gender==1}}"><text class="text">男</text></block><block wx:if="{{item.$orig.gender==2}}"><text class="text">女</text></block><text class="text">{{item.g0+"岁"}}</text><text class="text">{{item.g1}}</text></view></view><view class="operat-box"><image src="../../static/images/del1.png" mode data-event-opts="{{[['tap',[['delPatient',['$0'],[[['patient','',index]]]]]]]}}" bindtap="__e"></image><image src="../../static/images/edit.png" mode data-event-opts="{{[['tap',[['editPatient',['$0'],[[['patient','',index]]]]]]]}}" bindtap="__e"></image></view></view></block><block wx:if="{{$root.g2==0}}"><view data-event-opts="{{[['tap',[['getPatientList']]]]}}" class="no-data-box" bindtap="__e"><image src="../../static/images/no_data.png" mode="aspectFit"></image><view class="empty-title">暂无数据</view></view></block></view><view class="btn-box"><view data-event-opts="{{[['tap',[['addPatient',['$event']]]]]}}" class="sub-btn" bindtap="__e">创建用药人</view></view></view>