This commit is contained in:
左哥 2025-06-25 23:21:44 +08:00
parent 3fd9a7e3fa
commit c21e64b54f

View File

@ -43,10 +43,10 @@
<view class="item-title">肝功能</view>
<view class="follow-images">
<t-row gutter="16">
<t-col span="8" wx:for="{{detail.liver_function_image}}" wx:key="{{index}}" hidden=""="{{index > 2}}">
<t-col span="8" wx:for="{{detail.liver_function_image}}" wx:key="index" hidden=""="{{index > 2}}">
<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>
@ -90,10 +90,10 @@
<view class="follow-images">
<t-row gutter="16">
<t-col span="8" wx:for="{{detail.coagulation_function_image}}" wx:key="{{index}}" hidden=""="{{index > 2}}">
<t-col span="8" wx:for="{{detail.coagulation_function_image}}" wx:key="index" hidden=""="{{index > 2}}">
<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>
@ -144,10 +144,10 @@
<view class="follow-images">
<t-row gutter="16">
<t-col span="8" wx:for="{{detail.blood_routine_image}}" wx:key="{{index}}" hidden=""="{{index > 2}}">
<t-col span="8" wx:for="{{detail.blood_routine_image}}" wx:key="index" hidden=""="{{index > 2}}">
<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>
@ -175,10 +175,10 @@
<view class="follow-images">
<t-row gutter="16">
<t-col span="8" wx:for="{{detail.nutritional_indicator_image}}" wx:key="{{index}}" hidden=""="{{index > 2}}">
<t-col span="8" wx:for="{{detail.nutritional_indicator_image}}" wx:key="index" hidden=""="{{index > 2}}">
<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>
@ -213,10 +213,10 @@
<view class="follow-images">
<t-row gutter="16">
<t-col span="8" wx:for="{{detail.b_mode_image}}" wx:key="{{index}}" hidden=""="{{index > 2}}">
<t-col span="8" wx:for="{{detail.b_mode_image}}" wx:key="index" hidden=""="{{index > 2}}">
<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>
@ -287,10 +287,10 @@
<view class="follow-images">
<t-row gutter="16">
<t-col span="8" wx:for="{{detail.mdt_image}}" wx:key="{{index}}" hidden=""="{{index > 2}}">
<t-col span="8" wx:for="{{detail.mdt_image}}" wx:key="index" hidden=""="{{index > 2}}">
<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>