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

29 lines
1.5 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="page" style="padding-top:{{pageTop+20}}px;">
<view class="total" wx:if="{{recordList.length > 0}}">共{{total}}条日记记录</view>
<view class="history-list">
<view class="list-item" wx:for="{{recordList}}" wx:key="recordId" data-record-id="{{item.recordId}}" bind:tap="handleHistory">
1 week ago
<view wx:if="{{item.isBaseline === 1}}" class="benchmark" style="background: url('{{imageUrl}}bg56.png?t={{Timestamp}}') no-repeat top center/100%">
基准照
</view>
<image class="photo" mode="aspectFill" src="{{item.firstPhotoUrl || imageUrl + 'icon143.png?t=' + Timestamp}}"></image>
<view class="wrap">
<view class="date">{{item.recordDate}}</view>
<view class="tag" wx:if="{{item.treatmentCount > 0}}">替妥尤单抗:{{item.treatmentCount >= 9 ? '>8' : item.treatmentCount}}</view>
<view class="rotate">已上传{{item.photoCount}}个角度</view>
</view>
<image class="more" src="{{imageUrl}}icon148.png?t={{Timestamp}}"></image>
</view>
<pagination pagination="{{pagination}}" customEmpty>
<view class="empty">暂无日记记录</view>
</pagination>
</view>
<view class="footer" wx:if="{{recordList.length > 0}}">
<view class="btn1" bind:tap="handleDiffData">眼突度 对比</view>
<view class="btn2" bind:tap="handlePhotoCompare">照片 对比</view>
</view>
</view>