From c7398599bfacc9097cc6a427663e80f2872b7cef Mon Sep 17 00:00:00 2001 From: huxuejian Date: Thu, 13 Aug 2026 13:50:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/full-page.vue | 15 +++- pages/consult/disease-description.vue | 109 +++++++++++++++++++++--- pages/consult/self-auth/auth-qrcode.vue | 24 +++--- pages/record/rx-paper.vue | 32 ++++--- 4 files changed, 137 insertions(+), 43 deletions(-) diff --git a/components/full-page.vue b/components/full-page.vue index ed53505..61f7442 100644 --- a/components/full-page.vue +++ b/components/full-page.vue @@ -7,7 +7,8 @@ - @@ -36,6 +37,7 @@ const hasHeader = computed(() => !!slots.header); const hasFooter = computed(() => !!slots.footer); const scrollTop = ref(0); +const scrollIntoViewId = ref(''); const disableScroll = ref(false); const scrolltolower = useDebounce(() => { @@ -55,8 +57,17 @@ function scrollToBottom() { }, 500); } +function scrollToView(id) { + if (!id) return; + scrollIntoViewId.value = ''; + setTimeout(() => { + scrollIntoViewId.value = id; + }, 0); +} + defineExpose({ - scrollToBottom + scrollToBottom, + scrollToView }) diff --git a/pages/consult/disease-description.vue b/pages/consult/disease-description.vue index 8b4857f..08489d3 100644 --- a/pages/consult/disease-description.vue +++ b/pages/consult/disease-description.vue @@ -1,6 +1,6 @@ diff --git a/pages/consult/self-auth/auth-qrcode.vue b/pages/consult/self-auth/auth-qrcode.vue index 8263518..3cd94a4 100644 --- a/pages/consult/self-auth/auth-qrcode.vue +++ b/pages/consult/self-auth/auth-qrcode.vue @@ -2,17 +2,14 @@ - - 请使用就诊人本人的支付宝扫描上方二维码授权 + + 请使用就诊人本人的支付宝 + 扫描上方二维码授权 @@ -35,7 +32,7 @@ const id = ref(""); const patient = ref(null); const checking = ref(false); const qrcodeValue = computed(() => id.value && patient.value ? `${baseQrcode}${id.value}` : ""); -const qrcodeSize = Math.round(uni.upx2px(480)); +const qrcodeSize = Math.round(uni.upx2px(640)); function drawQrcode() { const value = qrcodeValue.value; @@ -146,6 +143,7 @@ onReady(() => { display: flex; flex-direction: column; align-items: center; + transform: translateY(-60rpx); } .qrcode-canvas { @@ -154,7 +152,11 @@ onReady(() => { } .tip { - margin-top: 30rpx; - color: #666; + font-size: 32rpx; + line-height: 52rpx; + color: #333; + font-weight: bold; } + + diff --git a/pages/record/rx-paper.vue b/pages/record/rx-paper.vue index 33bf03f..67e6bd5 100644 --- a/pages/record/rx-paper.vue +++ b/pages/record/rx-paper.vue @@ -3,13 +3,14 @@ - 海宁康华医院互联网医院 + 普通 处方 - 海宁康华医院互联网医院处方笺 + 海宁康华医院互联网医院 + 处方笺 NO:{{ data.medOrgOrderNo }} @@ -58,7 +59,7 @@ - + 医生: {{ data.doctorName }} @@ -67,20 +68,17 @@ - - 审方: + + 审方药师: {{ data.pharmacist }} - 发药: - - - 收费盖章: - - - 配方: - 复核: + + 调配: + 复核: + 发药: + 注意:请勿丢失,处方当日有效,因特殊情况,该处方有效为天(签名:) @@ -239,6 +237,10 @@ function viewOrder() { margin: 16rpx 0; } +.hospital+.hospital { + margin: 0; +} + .sub-header { display: flex; justify-content: space-between; @@ -358,10 +360,6 @@ function viewOrder() { margin-top: 30rpx; } -.no { - margin-top: 10rpx; -} - .expired-icon { position: absolute; right: 80rpx;