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 @@
-
-
+
+
就诊人:{{ form.name }} {{ form.sex }} {{ form.age ? `${form.age}岁` : '' }}
@@ -16,18 +16,27 @@
-
+
请描述您的病情
-
-
@@ -68,7 +77,7 @@
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 @@