From 84d4e46cf2e49d0a62aa743e63a703930e6c3e7d Mon Sep 17 00:00:00 2001 From: JinxChen <2183691628@qq.com> Date: Wed, 31 May 2023 09:13:23 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20=E5=BF=83=E7=90=86=E7=9B=91?= =?UTF-8?q?=E6=B5=8B=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=20=20=20=20=20-?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=20=E5=9B=BE=E8=A1=A8=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=86=85=E5=AE=B9=EF=BC=8C=E4=B8=A4=E8=BE=B9=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=95=99=E7=99=BD=E5=8C=BA=E5=9F=9F=20=20=20=20=20-=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=207=E5=A4=A9=E5=92=8C30=E5=A4=A9=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E5=9C=86=E8=A7=92=E6=9F=B1=E5=BD=A2=E5=9B=BE=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 ++++++++- src/config/models.js | 2 +- src/views/health/psychological/index.vue | 13 +++++++------ 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6b574e7..6690104 100644 --- a/README.md +++ b/README.md @@ -440,4 +440,11 @@ feature update - 心理监测详情页面 - 增加 返回功能 - - 修改 页面标题 \ No newline at end of file + - 修改 页面标题 + +## v1.0.54 +`2023.5.31` +update +- 心理监测详情页面 + - 优化 图表显示内容,两边增加留白区域 + - 优化 7天和30天图表圆角柱形图展示 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index 9e7aed7..aa77313 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -5,7 +5,7 @@ * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.53F'; //版本号 +export const VERSION_MODEL = '1.0.54F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/health/psychological/index.vue b/src/views/health/psychological/index.vue index f2b6b2f..15f9c1a 100644 --- a/src/views/health/psychological/index.vue +++ b/src/views/health/psychological/index.vue @@ -407,7 +407,6 @@ export default { axisLine: { show: false }, - boundaryGap: false, textStyle: { fontSize: 13 }, @@ -423,12 +422,14 @@ export default { }, showMinLabel: true, //显示最小值 showMaxLabel: true, //显示最大值 + nameLocation: 'center', + boundaryGap: ['20%', '20%'], axisLabel: { show: true, fontSize: 12, - padding: [0, -15, -20, 0], //表示 [上, 右, 下, 左] 的边距 - //margin: 10, - verticalAlign: "bottom" + /* padding: [0, -15, -20, 0], */ //表示 [上, 右, 下, 左] 的边距 + margin: 10, + /* verticalAlign: "bottom" */ }, data: this.xAxisData }, @@ -895,8 +896,8 @@ export default { name: `轻度${this.emoName}倾向`, type: "scatter", data: [60, 60, 50, 60, 59, 60, 60], - symbol: "rect", - symbolSize: [15, 40], + symbol: "path://M9 0h0a9 9 0 0 2 9 9v55a9 9 0 0 2-9 9h0a9 9 0 0 2-9-9v-55a9 9 0 0 2 10-9z", + symbolSize: [60, 60], symbolKeepAspect: true, itemStyle: { borderColor: "#6CE463", // 圆点边框颜色