diff --git a/src/pages/data-analysis/my-application.vue b/src/pages/data-analysis/my-application.vue
index 81b05ca579f737462bf4049b74aacea589a285b7..7378c7b6db1fa654fb0312830e3d49727e327456 100644
--- a/src/pages/data-analysis/my-application.vue
+++ b/src/pages/data-analysis/my-application.vue
@@ -100,12 +100,38 @@
搜索用户数
+
+ {{sparkline1.num}}
+ {{sparkline1.up>0?sparkline1.up:0-sparkline1.up}}%
+
+
+
+
-
搜索用户数
+
人均搜索次数
+
+ {{sparkline2.num}}
+ {{sparkline2.up>0?sparkline2.up:0-sparkline2.up}}%
+
+
+
+
@@ -232,6 +258,30 @@ export default {
{ name: "业务应用", value: 2 }
],
text: "应用总数",
+ spIndicatorStyles1: false,
+ spRefLineStyles3: {
+ stroke: "#d14",
+ strokeOpacity: 0,
+ strokeDasharray: "2, 2",
+ },
+ spCurveStyles2: {
+ stroke: "#274fee",
+ fill: "#274fee",
+ },
+ spCurveStyles3: {
+ stroke: "#e56600",
+ fill: "#e56600",
+ },
+ sparkline1:{
+ arr:[1,2,3,4,8,9,10,21],
+ num:1231,
+ up:15.3
+ },
+ sparkline2:{
+ arr:[1,2,3,4,8,9,10,21],
+ num:182,
+ up:-19.3
+ },
single_data: {
num: 60,
color: "#274fee",
@@ -643,12 +693,34 @@ export default {
}
.hot-line-chart {
height: calc(100% - 36px);
- background-color: pink;
}
.single-charts{
float: left;
width: 50%;
}
+.sparkline-text{
+ width: 100%;
+ line-height: 20px;
+}
+.sparkline-text span:nth-of-type(1){
+ font-size: 20px;
+ color: #274fee;
+}
+.sparkline-text span:nth-of-type(2){
+ font-size: 12px;
+ width: 62px;
+ float: right;
+ text-align: center;
+ line-height: 20px;
+ height: 20px;
+ border-radius: 3px;
+ margin-top: 3px;
+ margin-right: 2px;
+}
+.sparkline-text-user span:nth-of-type(1){
+ font-size: 20px;
+ color: #e56600;
+}