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", // 圆点边框颜色