diff --git a/src/pages/d_noteDetail/index.scss b/src/pages/d_noteDetail/index.scss
index 2f5ac7b..500f181 100644
--- a/src/pages/d_noteDetail/index.scss
+++ b/src/pages/d_noteDetail/index.scss
@@ -75,7 +75,7 @@
align-items: baseline;
gap: 8rpx;
.num {
- font-size: 56rpx;
+ font-size: 32rpx;
color: #b073ff;
font-weight: bold;
}
diff --git a/src/pages/d_noteDetail/index.wxml b/src/pages/d_noteDetail/index.wxml
index 562f022..c9815e7 100644
--- a/src/pages/d_noteDetail/index.wxml
+++ b/src/pages/d_noteDetail/index.wxml
@@ -7,11 +7,11 @@
style="background: url('{{imageUrl}}bg10.png?t={{Timestamp}}') no-repeat top center/100% 610rpx;padding-top:{{pageTop+16}}px;"
>
- 基准照
+ 基准照
{{recordDetail.recordDate}}
当前记录对应的替妥尤单抗使用次数:
- {{recordDetail.treatmentCount}}
+ {{recordDetail.treatmentCount >= 9 ? '>8' : recordDetail.treatmentCount}}
眼球突出度测量记录
diff --git a/src/pages/d_noteDiff/index.scss b/src/pages/d_noteDiff/index.scss
index 14281e2..f5f6f74 100644
--- a/src/pages/d_noteDiff/index.scss
+++ b/src/pages/d_noteDiff/index.scss
@@ -208,6 +208,7 @@ page {
.photo-card {
margin-top: 24rpx;
+ width: 100%;
.photo {
border-radius: 32rpx 32rpx 0 0;
@@ -241,7 +242,7 @@ page {
gap: 8rpx;
.num {
- font-size: 56rpx;
+ font-size: 32rpx;
color: #b073ff;
font-weight: bold;
}
diff --git a/src/pages/d_noteDiff/index.ts b/src/pages/d_noteDiff/index.ts
index b307277..4bcf51e 100644
--- a/src/pages/d_noteDiff/index.ts
+++ b/src/pages/d_noteDiff/index.ts
@@ -43,13 +43,12 @@ Page({
this.setData({
patientId: option.patientId || '',
})
- this.getCompareAngle()
+ app.waitLogin({ type: [2] }).then(() => {
+ this.getCompareAngle()
+ })
},
onShow() {
- app.waitLogin({ type: [2] }).then(() => {
- this.getCompareDates()
- })
},
// 获取对比角度列表
diff --git a/src/pages/d_noteDiffData/index.wxml b/src/pages/d_noteDiffData/index.wxml
index e76327a..3ecbe39 100644
--- a/src/pages/d_noteDiffData/index.wxml
+++ b/src/pages/d_noteDiffData/index.wxml
@@ -32,7 +32,7 @@
{{item.interorbitalDistance != null ? item.interorbitalDistance : '--'}}
{{item.rightEye != null ? item.rightEye : '--'}}
- {{item.treatmentCount}}
+ {{item.treatmentCount >= 9 ? '>8' : item.treatmentCount}}
diff --git a/src/pages/d_noteDiffEdit/index.ts b/src/pages/d_noteDiffEdit/index.ts
index 95cdf82..1a329b0 100644
--- a/src/pages/d_noteDiffEdit/index.ts
+++ b/src/pages/d_noteDiffEdit/index.ts
@@ -129,7 +129,7 @@ Page({
wx.hideLoading()
wx.cropImage({
src: imgRes.path,
- cropScale: '9:16',
+ cropScale: '16:9',
success: (cropRes) => {
photos[index].isCropped = true
photos[index].croppedUrl = cropRes.tempFilePath
diff --git a/src/pages/d_noteList/index.scss b/src/pages/d_noteList/index.scss
index e33bff5..2c8fa8b 100644
--- a/src/pages/d_noteList/index.scss
+++ b/src/pages/d_noteList/index.scss
@@ -27,7 +27,7 @@ page {
width: 124rpx;
height: 64rpx;
font-size: 28rpx;
- color: #ffa300;
+ color: #fff;
line-height: 32rpx;
}
.photo {
diff --git a/src/pages/d_noteList/index.wxml b/src/pages/d_noteList/index.wxml
index 7991881..0ce6f94 100644
--- a/src/pages/d_noteList/index.wxml
+++ b/src/pages/d_noteList/index.wxml
@@ -6,7 +6,7 @@
共{{total}}条日记记录
-
+
基准照
diff --git a/src/pages/d_patientDetail/index.wxml b/src/pages/d_patientDetail/index.wxml
index 03e80f6..29858ab 100644
--- a/src/pages/d_patientDetail/index.wxml
+++ b/src/pages/d_patientDetail/index.wxml
@@ -82,7 +82,7 @@
基准照
@@ -92,7 +92,7 @@
替妥尤单抗:{{proptosisDetail.treatmentCount >= 9 ? '>8' : proptosisDetail.treatmentCount}}
已上传{{proptosisDetail.photoCount}}个角度
-
+
共{{proptosisDetail.totalRecords || 0}}条日记记录,点击查看全部
diff --git a/src/patient/components/camera/index.scss b/src/patient/components/camera/index.scss
index f84f720..fb440d0 100644
--- a/src/patient/components/camera/index.scss
+++ b/src/patient/components/camera/index.scss
@@ -22,6 +22,7 @@
text-align: center;
.example {
position: relative;
+ z-index: 2;
margin: 20rpx 32rpx 0;
width: 202rpx;
height: 56rpx;
diff --git a/src/patient/components/camera/index.ts b/src/patient/components/camera/index.ts
index 1f2fbcc..be0043a 100644
--- a/src/patient/components/camera/index.ts
+++ b/src/patient/components/camera/index.ts
@@ -37,13 +37,13 @@ Component({
type: 1,
// 拍摄位置名称映射
typeNameMap: {
- 1: { name: '正面睁眼', group: '正面', index: 1, total: 3 },
- 2: { name: '正面闭眼', group: '正面', index: 2, total: 3 },
- 3: { name: '正面仰头', group: '正面', index: 3, total: 3 },
- 4: { name: '左侧-90°', group: '侧面', index: 1, total: 4 },
- 5: { name: '右侧-90°', group: '侧面', index: 2, total: 4 },
- 6: { name: '左侧-45°', group: '侧面', index: 3, total: 4 },
- 7: { name: '右侧-45°', group: '侧面', index: 4, total: 4 },
+ 1: { name: '正面睁眼', group: '正面', index: 1, total: 3, tip: '平视,目光看向镜头方向,自然睁眼,不眯眼、不瞪眼。' },
+ 2: { name: '正面闭眼', group: '正面', index: 2, total: 3, tip: '正对镜头,面部居中,自然放松,双眼轻轻闭合,不皱眉、不挤眼。' },
+ 3: { name: '正面仰头', group: '正面', index: 3, total: 3, tip: '拍摄时,正对镜头,面部居中,头部自然向上仰至约45°,双眼同步平视,保持自然睁眼、不眯眼。' },
+ 4: { name: '左侧-90°', group: '侧面', index: 1, total: 4, tip: '身体与头部完全转向右侧,呈标准90°侧面,仅可见左侧眼睛。' },
+ 5: { name: '右侧-90°', group: '侧面', index: 2, total: 4, tip: '身体与头部完全转向左侧,呈标准90°侧面,仅可见右侧眼睛。' },
+ 6: { name: '左侧-45°', group: '侧面', index: 3, total: 4, tip: '身体与头部转向右前方45°。' },
+ 7: { name: '右侧-45°', group: '侧面', index: 4, total: 4, tip: '身体与头部转向左前方45°' },
8: { name: '左上', group: '眼球运动', index: 1, total: 8 },
9: { name: '向上', group: '眼球运动', index: 2, total: 8 },
10: { name: '右上', group: '眼球运动', index: 3, total: 8 },
@@ -84,31 +84,31 @@ Component({
},
8: {
src: 'note-camera1',
- exampleSrc: 'note-demo8',
+ exampleSrc: 'note-demo12',
},
9: {
src: 'note-camera1',
- exampleSrc: 'note-demo9',
+ exampleSrc: 'note-demo8',
},
10: {
src: 'note-camera1',
- exampleSrc: 'note-demo10',
+ exampleSrc: 'note-demo13',
},
11: {
src: 'note-camera1',
- exampleSrc: 'note-demo11',
+ exampleSrc: 'note-demo10',
},
12: {
src: 'note-camera1',
- exampleSrc: 'note-demo12',
+ exampleSrc: 'note-demo11',
},
13: {
src: 'note-camera1',
- exampleSrc: 'note-demo13',
+ exampleSrc: 'note-demo14',
},
14: {
src: 'note-camera1',
- exampleSrc: 'note-demo14',
+ exampleSrc: 'note-demo9',
},
15: {
src: 'note-camera1',
@@ -155,9 +155,17 @@ Component({
})
},
handleHideCamera() {
- this.setData({
- visible: false,
- })
+ if (this.properties.onlyCamera) {
+ this.setData({
+ visible: false,
+ })
+ }
+ else {
+ this.setData({
+ visible: false,
+ selectShow: true,
+ })
+ }
},
handlePicture() {
this.handleCancel()
@@ -168,7 +176,7 @@ Component({
success: (res) => {
if (res.tempFiles && res.tempFiles.length > 0) {
const tempFile = res.tempFiles[0]
- const maxSize = 10 * 1024 * 1024 // 10M
+ const maxSize = 10 * 1024 * 1024
if (tempFile.size > maxSize) {
wx.showToast({
title: '图片大小不能超过10M',
@@ -182,6 +190,9 @@ Component({
},
fail: (err) => {
console.error('选择图片失败:', err)
+ if (err.errMsg?.includes('cancel')) {
+ this.setData({ selectShow: true })
+ }
},
})
},
@@ -221,7 +232,7 @@ Component({
})
wx.cropImage({
src: res.tempImagePath,
- cropScale: '9:16',
+ cropScale: '16:9',
success: (cropRes) => {
// 裁剪成功后上传图片
this.uploadImage(cropRes.tempFilePath || res.tempImagePath)
diff --git a/src/patient/components/camera/index.wxml b/src/patient/components/camera/index.wxml
index 0e180db..9ee2ed2 100644
--- a/src/patient/components/camera/index.wxml
+++ b/src/patient/components/camera/index.wxml
@@ -11,7 +11,7 @@
查看示范