From 998201f574e3886824e5bb523a603e0dbcbeeb89 Mon Sep 17 00:00:00 2001
From: chenJinxu <2183691628@qq.com>
Date: Tue, 26 Dec 2023 19:52:13 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/EchartBox.vue | 14 +-
src/components/TopNavBar.vue | 90 ++--
src/views/insight/index.vue | 4 +-
src/views/insight/monthReport.vue | 146 ++++-
src/views/today/emotionDetails.vue | 108 +++-
src/views/today/index.vue | 26 +-
src/views/today/report.vue | 283 +++++++++-
src/views/today/scss/emotion-details.scss | 8 +-
src/views/today/scss/index.scss | 5 +
src/views/today/scss/report.scss | 616 ++++++++++++----------
10 files changed, 925 insertions(+), 375 deletions(-)
diff --git a/src/components/EchartBox.vue b/src/components/EchartBox.vue
index 5d351f9..34ef86c 100644
--- a/src/components/EchartBox.vue
+++ b/src/components/EchartBox.vue
@@ -6,7 +6,7 @@
+
@@ -71,6 +71,10 @@ export default {
options: {
type: Object,
default: () => {}
+ },
+ border: {
+ type: Boolean,
+ default: true
}
},
data() {
@@ -122,6 +126,7 @@ export default {
width: 100%;
margin: 20px 0;
.echart-con {
+ position: relative;
padding: 20px 0;
.title-out {
font-size: 36px;
@@ -131,9 +136,10 @@ export default {
.echart-main {
position: relative;
- border: 1px solid $com_light_green;
+ /* border: 1px solid $com_light_green; */
border-radius: 30px;
padding: 20px;
+ overflow: hidden;
.legend {
flex: 1;
display: flex;
diff --git a/src/components/TopNavBar.vue b/src/components/TopNavBar.vue
index 7f5cb92..0c861a6 100644
--- a/src/components/TopNavBar.vue
+++ b/src/components/TopNavBar.vue
@@ -1,61 +1,55 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/views/insight/index.vue b/src/views/insight/index.vue
index 98efa3c..13e5c75 100644
--- a/src/views/insight/index.vue
+++ b/src/views/insight/index.vue
@@ -35,8 +35,8 @@
- {{ item.name }}{{ emotionList[emotionActive].name }}
- {{ 120 }}次({{ 120 }}%)
+ {{ item.name }}{{ emotionList[emotionActive].name }}倾向
+ {{ 8 }}次({{ 1 }}%)
diff --git a/src/views/insight/monthReport.vue b/src/views/insight/monthReport.vue
index 204c36d..fd120ce 100644
--- a/src/views/insight/monthReport.vue
+++ b/src/views/insight/monthReport.vue
@@ -91,8 +91,28 @@
+