diff --git a/src/assets/images/flow-box.png b/src/assets/images/flow-box.png new file mode 100644 index 0000000..18d9d3f Binary files /dev/null and b/src/assets/images/flow-box.png differ diff --git a/src/assets/images/line-icon.png b/src/assets/images/line-icon.png new file mode 100644 index 0000000..9a759ce Binary files /dev/null and b/src/assets/images/line-icon.png differ diff --git a/src/assets/images/paizi.png b/src/assets/images/paizi.png new file mode 100644 index 0000000..7db7e21 Binary files /dev/null and b/src/assets/images/paizi.png differ diff --git a/src/assets/images/people-icon.png b/src/assets/images/people-icon.png new file mode 100644 index 0000000..e7d9b10 Binary files /dev/null and b/src/assets/images/people-icon.png differ diff --git a/src/assets/images/pie-icon.png b/src/assets/images/pie-icon.png new file mode 100644 index 0000000..e3edee9 Binary files /dev/null and b/src/assets/images/pie-icon.png differ diff --git a/src/assets/images/rect-icon1.png b/src/assets/images/rect-icon1.png new file mode 100644 index 0000000..2367003 Binary files /dev/null and b/src/assets/images/rect-icon1.png differ diff --git a/src/assets/images/rect-icon2.png b/src/assets/images/rect-icon2.png new file mode 100644 index 0000000..aa79ded Binary files /dev/null and b/src/assets/images/rect-icon2.png differ diff --git a/src/assets/images/rect-icon3.png b/src/assets/images/rect-icon3.png new file mode 100644 index 0000000..588f62f Binary files /dev/null and b/src/assets/images/rect-icon3.png differ diff --git a/src/assets/images/stat-icon.png b/src/assets/images/stat-icon.png new file mode 100644 index 0000000..95d7de3 Binary files /dev/null and b/src/assets/images/stat-icon.png differ diff --git a/src/view/index.vue b/src/view/index.vue index 36e1771..2163bdf 100644 --- a/src/view/index.vue +++ b/src/view/index.vue @@ -6,31 +6,84 @@
-

营业厅时长

+

营业厅时长

-
-

平均办理时长

-

49分钟33秒

+
+

{{ item.font }}

+

{{ item.time }}

-
-

平均等待时长

-

05分钟33秒

+
+ +
+
+
+ + {{ s }} + +
+
+ + +
+
+ + {{ s }} + +
+ +
+ +
+
-

客流量

+

客流量

+
+ +
+
+

总客流量

+ 6587次 +
+
+
    +
  • + {{ val.value }} + {{ val.text }} +
  • +
+ +
+
+ +
+ + {{ s }} + +
+
+
-

厅内统计

+

厅内统计

+
+
+
+
+

{{ o.name }}

+

{{ o.num }}

+
@@ -39,17 +92,17 @@
-

缴费情况

+

缴费情况

-
+
- -
{{item.count}}
+ +
{{ item.count }}
-
{{item.name}}
-
{{item.per}}
+
{{ item.name }}
+
{{ item.per }}
@@ -57,13 +110,13 @@
-

业务受理

+

业务受理

-

服务情况

+

服务情况

@@ -72,32 +125,325 @@ @@ -126,24 +472,115 @@ mounted(){ margin-bottom: 5px; padding: 13px; box-sizing: border-box; - .hall-box{ + + .hall-box { width: 100%; height: 18.6%; display: flex; + margin-bottom: 10px; justify-content: space-between; } - .hall-box .item{ - width: 45%; + + .hall-chart { + width: 100%; + height: 47%; + } + + .hall-line { + .hall-title { + display: flex; + justify-content: space-between; + margin-bottom: 8px; + + .span0, + .span1 { + position: relative; + color: #fff; + font-size: 14px; + } + + .hall-icon span { + background-size: 100% 100%; + + display: inline-block; + } + + .hall-icon span:nth-child(1) { + background-image: url(../assets/images/line-icon.png); + width: 17px; + height: 14px; + } + + .hall-icon span:nth-child(2) { + background-image: url(../assets/images/pie-icon.png); + width: 16px; + height: 16px; + margin-left: 7px; + } + + + } + + } + + .chart-title { + margin-bottom: 6px; + } + + .chart-title span { + font-size: 12px; + color: #fff; + margin-left: 18px; + } + + .chart-title span:nth-child(1) { + margin-left: 0; + color: #1e96d5; + border-bottom: 1px solid #1e96d5; + // text-decoration: underline; + } + + .hall-line span::before { + content: attr(text); + position: absolute; + z-index: 10; + bottom: 0; + color: rgb(163, 227, 245); + -webkit-mask: linear-gradient(to top, rgba(163, 227, 245,0.7), transparent); + } + + + .hall-box .item { + width: 48.5%; height: 100%; // background-color: aqua; background-image: url(../assets/images/hall-box.png); - .font{ + padding: 8px 10px 8px; + box-sizing: border-box; + position: relative; + + .font { font-size: 12px; color: #a5a5af; + margin-bottom: 3px; } - .hall-time{ + + .hall-time1, + .hall-time0 { font-family: 'maleGod'; - font-size: 21px; + font-size: 25px; + text-align: center; + position: absolute; + bottom: 5px; + width: calc(100% - 16px); + } + + .hall-time1 { + color: #dfcc4d !important; + } + + .hall-time0 { + color: #4bbfde; } } } @@ -162,37 +599,199 @@ mounted(){ font-family: 'maleGod'; align-items: center; letter-spacing: 1px; + margin-bottom: 10px; } -.titleText:before{ - content: attr(text); - position: absolute; - z-index: 10; - color:rgb(163, 227, 245); - -webkit-mask:linear-gradient(to top, rgb(163, 227, 245), transparent ); - } -.left-content .business-hall{ + +.titleText:before { + content: attr(text); + position: absolute; + z-index: 10; + color: rgb(163, 227, 245); + -webkit-mask: linear-gradient(to top, rgb(163, 227, 245), transparent); +} + +.left-content .business-hall { height: 38.2%; } .left-content .passenger-flow { height: 39.7%; + + // 客流量图表 + .flow-chart { + width: 100%; + height: 50%; + } + + .flow-box { + height: 25%; + width: 100%; + background-image: url(../assets/images/flow-box.png); + background-size: 100% 100%; + padding: 8px 15px 8px; + box-sizing: border-box; + display: flex; + margin-bottom: 10px; + + .flow-left { + width: 44%; + text-align: center; + + .flow-total { + color: #c0c0c4; + font-size: 13px; + text-align: left; + } + + .flow-value { + display: inline-block; + margin-top: 10px; + font-family: maleGod; + font-size: 25px; + color: #4bbfde; + } + + + } + + + + .flow-right { + width: 56%; + height: 100%; + margin-bottom: 10px; + + ul { + height: 100%; + } + + .flow-item { + justify-content: space-between; + display: flex; + } + + .up0 { + color: #36904c; + margin-top: 0 !important; + } + + .up1 { + color: #3bbabc; + } + + .up2 { + color: #1d62a3; + } + + .flow-item span:nth-child(1) { + font-family: maleGod; + font-size: 20px; + // margin-top: 3px; + i{ + width: 9px; + height: 8px; + background-size: 100% 100%; + display: inline-block; + margin-right: 5px; + } + .rect0{ + background-image: url(../assets/images/rect-icon1.png); + } + .rect1{ + background-image: url(../assets/images/rect-icon2.png); + } + .rect2{ + background-image: url(../assets/images/rect-icon2.png); + } + } + + .flow-item { + height: 33%; + } + + .flow-item span { + height: 100%; + display: flex; + justify-content: center; + align-items: center; + + + } + + .flow-item span:nth-child(2) { + font-size: 13px; + color: #c0c0c4; + } + } + + } } .left-content .hall-statistics { height: 20.4%; + + .stat { + width: 100%; + display: flex; + + .stat-item { + width: 33%; + .img2{ + background-image: url(../assets/images/people-icon.png) + } + .img1{ + background-image:url(../assets/images/paizi.png) + } + // display: flex; + section { + width: 83px; + height: 76px; + margin: 0 auto; + background-image: url(../assets/images/stat-icon.png); + background-size: 100% 100%; + } + + p { + text-align: center; + color: #fff; + } + + .stat-num { + font-family: 'maleGod'; + color: #4bbfde !important; + font-size: 20px; + + } + } + + } +} + +@media screen and (min-height:980px) { + .stat-num { + font-size: 20px; + font-family: 'maleGod'; + // display: inline-block; + margin: 4px ; + position: relative; + // top: 4px; + } } .right-content .payment { height: 38.3%; - .paymentContent{ + + .paymentContent { height: calc(100% - 30px); - .paymentList{ - width:100% ; + + .paymentList { + width: 100%; height: 38px; background: url("../assets/images/payment.png") no-repeat; background-size: 100% 100%; - .listOne{ + + .listOne { height: 100%; width: 28%; display: flex;