From 02918b79e8f2ccd889b5f5332f3ff8c92905fdbe Mon Sep 17 00:00:00 2001 From: huxuejian Date: Fri, 7 Aug 2026 17:38:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/consult/disease-description.vue | 22 ++++++++++---------- pages/consult/index.vue | 12 ++++++----- pages/consult/info.vue | 26 ++++++++++++++++-------- pages/home/home.vue | 29 +++++++++++---------------- 4 files changed, 48 insertions(+), 41 deletions(-) diff --git a/pages/consult/disease-description.vue b/pages/consult/disease-description.vue index d671c27..8b4857f 100644 --- a/pages/consult/disease-description.vue +++ b/pages/consult/disease-description.vue @@ -4,14 +4,13 @@ 就诊人:{{ form.name }} {{ form.sex }} {{ form.age ? `${form.age}岁` : '' }} - + 本次就诊类型 @@ -22,10 +21,12 @@ - - 猜你想输入: - - {{ item }} + + + 猜你想输入: + + {{ item }} + @@ -438,7 +439,7 @@ onUnload(() => { position: absolute; left: 30rpx; right: 30rpx; - top: 100%; + top: 0; z-index: 20; box-sizing: border-box; background: #fff; @@ -452,8 +453,7 @@ onUnload(() => { min-height: 64rpx; padding: 16rpx 20rpx; border-bottom: 1rpx solid #eee; - font-size: 26rpx; - line-height: 32rpx; + font-size: 28rpx; color: #333; } diff --git a/pages/consult/index.vue b/pages/consult/index.vue index faf486d..6eff824 100644 --- a/pages/consult/index.vue +++ b/pages/consult/index.vue @@ -249,15 +249,16 @@ function toPatientManagement() { .header { height: 104rpx; - padding: 0 34rpx; + padding: 0 34rpx 0 10rpx; display: flex; align-items: center; justify-content: space-between; } .title { - font-size: 28rpx; - color: #344743; + font-size: 36rpx; + color: #333; + font-weight: bold; } .scan-button { @@ -305,8 +306,9 @@ function toPatientManagement() { } .name { - font-size: 28rpx; + font-size: 32rpx; line-height: 40rpx; + font-weight: bold; color: #333; } @@ -316,7 +318,7 @@ function toPatientManagement() { .details { margin-top: 4rpx; - font-size: 24rpx; + font-size: 28rpx; line-height: 34rpx; color: #9a9a9a; } diff --git a/pages/consult/info.vue b/pages/consult/info.vue index 8e1f284..c4fa652 100644 --- a/pages/consult/info.vue +++ b/pages/consult/info.vue @@ -10,7 +10,7 @@ - 扫码 + 扫码 @@ -88,12 +88,12 @@ * - 已在实体医疗机构确诊的疾病 + 已在实体医疗机构确诊的疾病 - - {{ disease }} - + {{ disease }} + @@ -632,17 +632,20 @@ onMounted(() => { .disease-item, .disease-add { - padding: 8rpx 18rpx; + height: 48rpx; + line-height: 46rpx; border: 1px solid $theme-brown-primary; - border-radius: 6rpx; - font-size: 26rpx; + border-radius: 8rpx; + font-size: 28rpx; color: $theme-brown-primary; + padding: 0 20rpx; } .disease-item { display: flex; align-items: center; padding-right: 8rpx; + background: #e8f8f5; } .disease-remove { @@ -808,4 +811,11 @@ onMounted(() => { padding-top: 40rpx; padding-bottom: 40rpx; } + +.disease-txt { + max-width: 200rpx; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} diff --git a/pages/home/home.vue b/pages/home/home.vue index 27ee0d9..8ca81f8 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -6,9 +6,6 @@ - - - 海宁康华医院互联网医院 @@ -50,8 +47,6 @@ - - @@ -234,7 +229,6 @@ onUnmounted(() => { .hero { position: relative; z-index: 1; - height: 280rpx; box-sizing: border-box; background: radial-gradient(circle at 76% 20%, rgba(43, 202, 202, 0.08) 0, rgba(43, 202, 202, 0.08) 28rpx, transparent 29rpx), @@ -250,7 +244,7 @@ onUnmounted(() => { height: 88rpx; display: flex; align-items: center; - padding: 0 30rpx; + padding: 0 30rpx 0 60rpx; box-sizing: border-box; } @@ -279,10 +273,9 @@ onUnmounted(() => { } .user-bar { - height: 80rpx; display: flex; align-items: center; - padding: 0 34rpx; + padding: 24rpx 30rpx 20rpx; } .avatar { @@ -313,6 +306,8 @@ onUnmounted(() => { font-size: 25rpx; line-height: 42rpx; text-align: center; + margin-top: 0; + transform: translateY(1px); } .logout-button { @@ -357,14 +352,14 @@ onUnmounted(() => { } .card-title { - font-size: 32rpx; + font-size: 40rpx; line-height: 44rpx; - font-weight: 500; + font-weight: bold; } .card-description { - margin-top: 4rpx; - font-size: 21rpx; + margin-top: 20rpx; + font-size: 28rpx; line-height: 32rpx; white-space: nowrap; } @@ -386,11 +381,11 @@ onUnmounted(() => { bottom: 16rpx; width: 48rpx; height: 54rpx; - opacity: 0.24; + opacity: 0.9; } .service-section { - margin-top: 66rpx; + margin-top: 36rpx; } .section-title { @@ -404,7 +399,7 @@ onUnmounted(() => { .service-list { display: flex; justify-content: space-between; - margin-top: 42rpx; + margin-top: 24rpx; } .service-item { @@ -430,7 +425,7 @@ onUnmounted(() => { margin-top: 24rpx; color: #183663; font-size: 28rpx; - line-height: 40rpx; + line-height: 1em; font-weight: 500; white-space: nowrap; }