12.10提交

This commit is contained in:
zoujiandong
2025-12-10 17:33:39 +08:00
parent 22104881f1
commit c86aa03f01
28 changed files with 3237 additions and 279 deletions
+18 -6
View File
@@ -58,7 +58,17 @@
<view class="doctor-cell" v-for="item in questionInfo.AnswerList" :key="item.answer_uuid">
<view class="doctor-card">
<view class="doctor-info">
<image :src="doctorReply.avatar" class="doctor-avatar" />
<up-image :src="docUrl+item.photo" mode="aspectFill"
:loadingIcon="lazyImg"
:errorIcon="lazyImg"
:lazy-load="true" class="doctor-avatar" width="90rpx" height="90rpx" radius="10rpx">
<template #error>
<image :src="lazyImg" mode="aspectFill" height="90rpx" width="90rpx" radius="10rpx"></image>
</template>
<template v-slot:loading>
<image :src="lazyImg" mode="aspectFill" height="90rpx" width="90rpx" radius="10rpx"></image>
</template>
</up-image>
<view class="doctor-details">
<view class="doctor-name">{{ item.realname }}</view>
<view class="hospital-time-row">
@@ -72,7 +82,7 @@
<text class="reply-text">{{ item.note }}</text>
</view>
<view class="reply-content" style="background:none;pading:0">
<view class="reply-content" style="background:none;padding:0;">
<view v-if="item.imgs" class="reply-images">
<image
v-for="(img, idx) in item.imgs.split(',')"
@@ -116,6 +126,7 @@ import navTo from '@/utils/navTo.js'
import { onLoad,onShow } from '@dcloudio/uni-app'
import docUrl from '@/utils/docUrl'
import api from "@/api/api.js"
import lazyImg from "@/static/avastar.png"
const uuid = ref('');
const step1_uuid = ref('');
const answer_uuid = ref('');
@@ -337,7 +348,7 @@ function editQuestion() {
background-color: #ffffff;
border-radius: 16rpx;
margin-bottom: 24rpx;
padding: 0 30rpx;
margin: 0 30rpx;
.user-info {
display: flex;
@@ -477,9 +488,9 @@ function editQuestion() {
margin-bottom: 24rpx;
.doctor-avatar {
width: 80rpx;
height: 80rpx;
border-radius: 40rpx;
width: 90rpx;
height: 90rpx;
border-radius: 10rpx;
margin-right: 24rpx;
}
@@ -490,6 +501,7 @@ function editQuestion() {
font-size: 32rpx;
color: #333;
font-weight: 500;
margin-left: 8rpx;
margin-bottom: 8rpx;
}