Browse Source

merge develop

master
JinxChen 1 year ago
parent
commit
778774a8ba
5 changed files with 56 additions and 9 deletions
  1. +10
    -2
      README.md
  2. +2
    -2
      src/config/models.js
  3. +2
    -1
      src/views/health/psychological/index.vue
  4. +21
    -0
      src/views/health/psychological/report.scss
  5. +21
    -4
      src/views/health/psychological/report.vue

+ 10
- 2
README.md View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2022-08-17 16:19:13 * @Date: 2022-08-17 16:19:13
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-10-30 10:10:38
* @LastEditTime: 2023-11-02 09:18:10
* @FilePath: \TelpoH5FrontendWeb\README.md * @FilePath: \TelpoH5FrontendWeb\README.md
* @description: 项目说明 * @description: 项目说明
--> -->
@@ -762,4 +762,12 @@ fix
`2023.10.30` `2023.10.30`
fix fix
- 话费查询 - 话费查询
- 修复 异步问题导致首次进入页面白屏的问题
- 修复 异步问题导致首次进入页面白屏的问题


## v1.0.96
`2023.11.2`
update
- 心理监测详情
- 修改 温馨提示语
- 新增 一个周报/月报页面

+ 2
- 2
src/config/models.js View File

@@ -1,11 +1,11 @@
/* /*
* @Date: 2021-11-20 10:26:39 * @Date: 2021-11-20 10:26:39
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-10-30 10:07:56
* @LastEditTime: 2023-11-02 09:12:59
* @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @FilePath: \TelpoH5FrontendWeb\src\config\models.js
* @description: * @description:
*/ */
export const VERSION_MODEL = '1.0.95F'; //版本号
export const VERSION_MODEL = '1.0.96F'; //版本号
export const IMAGE_URL = { export const IMAGE_URL = {
production: 'http://zfb.ssjlai.com/web/', production: 'http://zfb.ssjlai.com/web/',
test: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/',


+ 2
- 1
src/views/health/psychological/index.vue View File

@@ -615,7 +615,8 @@ export default {
return `${today}${this.emoName}数据图`; return `${today}${this.emoName}数据图`;
}, },
warmTips() { warmTips() {
return `正常连续佩戴手表,每半小时计算一个${this.emoName}分值,睡眠期间不进行计算。`
return `正常连续佩戴腕表,每半小时计算一个${this.emoName}分值。`;
/* return `正常连续佩戴手表,每半小时计算一个${this.emoName}分值,睡眠期间不进行计算。` */
}, },
title1() { title1() {
return EmotionModel[this.params.name].title1; return EmotionModel[this.params.name].title1;


+ 21
- 0
src/views/health/psychological/report.scss View File

@@ -0,0 +1,21 @@
.report{
height: 100vh;
width: 100%;
overflow: hidden;
background-color: #fff;
.main {
height: calc(100vh - 45px);
overflow: scroll;
padding: 5px 15px;
h5 {
font-size: 16px;
}
.overall-rating {
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-direction: column;
font-size: 14px;
}
}
}

+ 21
- 4
src/views/health/psychological/report.vue View File

@@ -1,18 +1,35 @@
<!-- <!--
* @Date: 2023-10-30 11:30:22 * @Date: 2023-10-30 11:30:22
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-10-30 11:40:51
* @LastEditTime: 2023-10-30 15:56:20
* @FilePath: \TelpoH5FrontendWeb\src\views\health\psychological\report.vue * @FilePath: \TelpoH5FrontendWeb\src\views\health\psychological\report.vue
* @description: * @description:
--> -->
<template> <template>
<!-- 周/月报 --> <!-- 周/月报 -->
<div class="report"> <div class="report">
<van-nav-bar title="心理周报" :border="true" :left-arrow="true" @click-left="onNavBack">
<van-nav-bar title="心理监测周报" :border="true" :left-arrow="true" @click-left="onNavBack">
<template #left> <template #left>
<van-icon name="arrow-left" size="24" style="padding: 0"/> <van-icon name="arrow-left" size="24" style="padding: 0"/>
</template> </template>
</van-nav-bar> </van-nav-bar>
<div class="main">
<!-- 总评 -->
<div class="overall-rating">
<h5>本周总评:</h5>
<p>轻度抑郁倾向</p>
<p>监测次数: 20次</p>
<p>发发发发发个规格egg嘎嘎</p>
</div>
<!-- 趋势对比-饼状图 -->
<div class="pie-chart"></div>
<!-- 数据图-柱形图 -->
<div class="bar-chart "></div>
<!-- 建议 -->
<div class="advise"></div>
<!-- 概览 -->
<div class="overview"></div>
</div>
</div> </div>
</template> </template>


@@ -31,6 +48,6 @@ export default {
} }
</script> </script>


<style scoped>
<style scoped lang="scss">
@import "./report.scss";
</style> </style>

Loading…
Cancel
Save