<view class="content"><view class="inner"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['showDetail',['$0'],[[['docs','',index]]]]]]]}}" class="item" bindtap="__e"><view class="user-info"><view class="name">{{item.$orig.userName}}</view><block wx:if="{{item.$orig.sex==1}}"><text class="gray-tag">男</text></block><block wx:if="{{item.$orig.sex==2}}"><text class="gray-tag">女</text></block><view class="gray-tag">{{item.g0+"岁"}}</view><view class="blue-tag">标签</view></view><view class="period">{{"建档时间 "+item.$orig.createTime}}</view><view class="period">{{"备注 "+(item.$orig.remark!=null?item.$orig.remark:'')}}</view></view></block><block wx:if="{{$root.g1==0}}"><view data-event-opts="{{[['tap',[['getMyDocList']]]]}}" 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',[['addDoc',['$event']]]]]}}" class="sub-btn" bindtap="__e">创建健康档案</view></view></view>