fix: 问题修复

This commit is contained in:
huxuejian 2026-02-08 16:15:24 +08:00
parent 913e6420cc
commit 275f658b9d
6 changed files with 17 additions and 11 deletions

View File

@ -43,10 +43,10 @@
</view> </view>
</view> </view>
<view class="mt-12 border-primary qrcode p-15 mx-auto rounded" @click="previewImage()"> <view class="mt-12 border-primary qrcode p-15 mx-auto rounded" @click="previewImage()">
<image v-if="qrcode" class="h-full w-full" :src="qrcode"></image> <image v-if="qrcode" class="h-full w-full" :show-menu-by-longpress="true" :src="qrcode"></image>
</view> </view>
<view class="mt-12 text-base text-center text-dark"> <view class="mt-12 text-base text-center text-dark">
点击识别下方二维码加我为好友 长按识别二维码加我为好友
</view> </view>
</view> </view>
</template> </template>

View File

@ -14,7 +14,7 @@
<view class="doctor-info"> <view class="doctor-info">
<image class="logo" src="/static/logo-plain.png" mode="aspectFill" /> <image class="logo" src="/static/logo-plain.png" mode="aspectFill" />
<view class="doctor-name">柚健康</view> <view class="doctor-name">柚健康</view>
<view class="login-tip">生命全周期健康管理伙伴</view> <view class="login-tip">全周期健康管理伙伴</view>
</view> </view>
</view> </view>
<view v-if="team" class="doctor-avatar"> <view v-if="team" class="doctor-avatar">
@ -216,12 +216,12 @@ onLoad((opts) => {
} }
.doctor-card { .doctor-card {
height: 398rpx; /* min-height: 300rpx; */
background: #fff; background: #fff;
border-radius: 24rpx; border-radius: 24rpx;
background: linear-gradient(180deg, #dbe8ff 0%, #fff 50.25%); background: linear-gradient(180deg, #dbe8ff 0%, #fff 50.25%);
box-shadow: 0 8rpx 32rpx rgba(59, 124, 255, 0.08); box-shadow: 0 8rpx 32rpx rgba(59, 124, 255, 0.08);
padding: 100rpx 24rpx 0rpx 24rpx; padding: 100rpx 24rpx 60rpx 24rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="flex flex-col justify-center items-center h-full bg-white"> <view class="flex flex-col justify-center items-center h-full bg-white">
<image class="service-qrcode" src="/static/service-qrcode.jpg" /> <image class="service-qrcode" :show-menu-by-longpress="true" src="/static/service-qrcode.jpg" />
<!-- <view> <!-- <view>
<view class="mb-10 text-dark text-lg font-semibold text-center mb-10"> <view class="mb-10 text-dark text-lg font-semibold text-center mb-10">
柚康企微客服 柚康企微客服

View File

@ -12,10 +12,10 @@
</view> </view>
</view> </view>
<view class="mt-12 border-primary qrcode p-15 mx-auto rounded" @click="previewImage()"> <view class="mt-12 border-primary qrcode p-15 mx-auto rounded" @click="previewImage()">
<image v-if="qrcode" class="h-full w-full" :src="qrcode"></image> <image v-if="qrcode" class="h-full w-full" :show-menu-by-longpress="true" :src="qrcode"></image>
</view> </view>
<view class="mt-12 text-base text-center text-dark"> <view class="mt-12 text-base text-center text-dark">
点击识别下方二维码加我为好友 长按识别二维码加我为好友
</view> </view>
</view> </view>
</view> </view>

View File

@ -53,10 +53,10 @@
</view> </view>
<view v-if="qrcode" class="p-15 mt-12 leading-normal bg-white shadow-lg"> <view v-if="qrcode" class="p-15 mt-12 leading-normal bg-white shadow-lg">
<view class="text-lg font-semibold text-center text-dark"> <view class="text-lg font-semibold text-center text-dark">
点击识别下方二维码加我为好友 长按识别下方二维码加我为好友
</view> </view>
<view class="mt-12 border-primary qrcode p-15 mx-auto rounded" @click="previewImage()"> <view class="mt-12 border-primary qrcode p-15 mx-auto rounded" @click="previewImage()">
<image :src="qrcode" class="h-full w-full"></image> <image :src="qrcode" :show-menu-by-longpress="true" class="h-full w-full"></image>
</view> </view>
</view> </view>
<view class="safe-bottom-padding"></view> <view class="safe-bottom-padding"></view>

View File

@ -11,7 +11,12 @@
</view> </view>
</view> </view>
</view> </view>
<view v-if="team.teamTroduce" class="mt-12 text-base text-dark leading-normal break-all pre-wrap"> <view class="flex items-center justify-between mt-12" @click="showAllIntroduce = !showAllIntroduce">
<view class="text-dark font-semibold">团队介绍</view>
<uni-icons :type="showAllIntroduce ? 'up' : 'down'" size="20" color="#666"></uni-icons>
</view>
<view v-if="team.teamTroduce" class="mt-10 text-base text-dark leading-normal break-all pre-wrap"
:class="showAllIntroduce ? '' : 'line-clamp-2'" @click="showAllIntroduce = !showAllIntroduce">
{{ team.teamTroduce }} {{ team.teamTroduce }}
</view> </view>
<template v-if="teammate.leaders.length"> <template v-if="teammate.leaders.length">
@ -79,6 +84,7 @@ const corpId = ref('');
const teamId = ref(''); const teamId = ref('');
const team = ref(null); const team = ref(null);
const corpName = ref(''); const corpName = ref('');
const showAllIntroduce = ref(false);
const { memberJob, memberList: list } = useJob(); const { memberJob, memberList: list } = useJob();
const memberList = computed(() => team.value && Array.isArray(team.value.memberList) ? team.value.memberList : []) const memberList = computed(() => team.value && Array.isArray(team.value.memberList) ? team.value.memberList : [])