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.
45 lines
1.7 KiB
45 lines
1.7 KiB
<navbar fixed title="眼突度对比" custom-style="background:{{background}}"> |
|
<van-icon name="arrow-left" slot="left" size="18px" color="#000" bind:tap="handleBack" /> |
|
</navbar> |
|
|
|
<view class="container" style="padding-top:{{pageTop+20}}px;"> |
|
<!-- 表格区域 --> |
|
<view class="table-wrapper" wx:if="{{dataList.length > 0}}"> |
|
<!-- 吸顶表头 --> |
|
<view class="table-header sticky"> |
|
<view class="th th-date">日期</view> |
|
<view class="th th-eye"> |
|
<view class="th-eye-title">眼突度(mm)</view> |
|
<view class="th-eye-sub"> |
|
<view class="th-sub-item">左侧</view> |
|
<view class="th-sub-item">眶间距</view> |
|
<view class="th-sub-item">右侧</view> |
|
</view> |
|
</view> |
|
<view class="th th-count"> |
|
<view>替妥尤</view> |
|
<view>输注</view> |
|
<view>次数</view> |
|
</view> |
|
</view> |
|
|
|
<!-- 表格内容 --> |
|
<view class="table-body"> |
|
<view class="tr" wx:for="{{dataList}}" wx:key="recordId"> |
|
<view class="td td-date">{{item.recordDate}}</view> |
|
<view class="td td-eye"> |
|
<view class="td-eye-item">{{item.leftEye != null ? item.leftEye : '--'}}</view> |
|
<view class="td-eye-item">{{item.interorbitalDistance != null ? item.interorbitalDistance : '--'}}</view> |
|
<view class="td-eye-item">{{item.rightEye != null ? item.rightEye : '--'}}</view> |
|
</view> |
|
<view class="td td-count">{{item.treatmentCount >= 9 ? '>8' : item.treatmentCount}}</view> |
|
</view> |
|
</view> |
|
</view> |
|
|
|
<!-- 空状态 --> |
|
<view class="empty" wx:if="{{!loading && dataList.length === 0}}"> |
|
<text>暂无对比数据</text> |
|
</view> |
|
|
|
</view>
|
|
|