This commit is contained in:
@zuopngfei 2025-06-26 18:30:55 +08:00
commit c5aabfc3bf

View File

@ -46,7 +46,7 @@
<t-col span="8" wx:for="{{detail.liver_function_image}}" wx:key="index" wx:if="{{index < 2 || (index == 2 && form.liver_function_image.length > 12)}}">
<view class="report-image" data-mode="liver_function_image" data-index="{{index}}" bind:tap="handleImagePreview">
<image class="image" src="{{item}}" mode=""></image>
<view class="more" wx:if="{{detail.liver_function_image.length > 3 }}">+ {{detail.liver_function_image.length - 3}}</view>
<view class="more" wx:if="{{index == 2 && detail.liver_function_image.length > 3 }}">+ {{detail.liver_function_image.length - 3}}</view>
</view>
</t-col>
@ -93,7 +93,7 @@
<t-col span="8" wx:for="{{detail.coagulation_function_image}}" wx:key="index" wx:if="{{index < 2 || (index == 2 && form.coagulation_function_image.length > 12)}}">
<view class="report-image" data-mode="coagulation_function_image" data-index="{{index}}" bind:tap="handleImagePreview">
<image class="image" src="{{item}}" mode=""></image>
<view class="more" wx:if="{{detail.coagulation_function_image.length > 3 }}">+ {{detail.coagulation_function_image.length - 3}}</view>
<view class="more" wx:if="{{index == 2 && detail.coagulation_function_image.length > 3 }}">+ {{detail.coagulation_function_image.length - 3}}</view>
</view>
</t-col>
</t-row>
@ -147,7 +147,7 @@
<t-col span="8" wx:for="{{detail.blood_routine_image}}" wx:key="index" wx:if="{{index < 2 || (index == 2 && form.blood_routine_image.length > 12)}}">
<view class="report-image" data-mode="blood_routine_image" data-index="{{index}}" bind:tap="handleImagePreview">
<image class="image" src="{{item}}" mode=""></image>
<view class="more" wx:if="{{detail.blood_routine_image.length > 3 }}">+ {{detail.blood_routine_image.length - 3}}</view>
<view class="more" wx:if="{{index == 2 && detail.blood_routine_image.length > 3 }}">+ {{detail.blood_routine_image.length - 3}}</view>
</view>
</t-col>
</t-row>
@ -178,7 +178,7 @@
<t-col span="8" wx:for="{{detail.nutritional_indicator_image}}" wx:key="index" wx:if="{{index < 2 || (index == 2 && form.nutritional_indicator_image.length > 12)}}">
<view class="report-image" data-mode="nutritional_indicator_image" data-index="{{index}}" bind:tap="handleImagePreview">
<image class="image" src="{{item}}" mode=""></image>
<view class="more" wx:if="{{detail.nutritional_indicator_image.length > 3 }}">+ {{detail.nutritional_indicator_image.length - 3}}</view>
<view class="more" wx:if="{{index == 2 && detail.nutritional_indicator_image.length > 3 }}">+ {{detail.nutritional_indicator_image.length - 3}}</view>
</view>
</t-col>
</t-row>
@ -216,7 +216,7 @@
<t-col span="8" wx:for="{{detail.b_mode_image}}" wx:key="index" wx:if="{{index < 2 || (index == 2 && form.b_mode_image.length > 12)}}">
<view class="report-image" data-mode="b_mode_image" data-index="{{index}}" bind:tap="handleImagePreview">
<image class="image" src="{{item}}" mode=""></image>
<view class="more" wx:if="{{detail.b_mode_image.length > 3 }}">+ {{detail.b_mode_image.length - 3}}</view>
<view class="more" wx:if="{{index == 2 && detail.b_mode_image.length > 3 }}">+ {{detail.b_mode_image.length - 3}}</view>
</view>
</t-col>
</t-row>
@ -290,7 +290,7 @@
<t-col span="8" wx:for="{{detail.mdt_image}}" wx:key="index" wx:if="{{index < 2 || (index == 2 && form.b_mode_image.length > 12)}}">
<view class="report-image" data-mode="mdt_image" data-index="{{index}}" bind:tap="handleImagePreview">
<image class="image" src="{{item}}" mode=""></image>
<view class="more" wx:if="{{detail.mdt_image.length > 3 }}">+ {{detail.mdt_image.length - 3}}</view>
<view class="more" wx:if="{{index == 2 && detail.mdt_image.length > 3 }}">+ {{detail.mdt_image.length - 3}}</view>
</view>
</t-col>
</t-row>