diff --git a/src/App.vue b/src/App.vue index 213d5b5..07c2061 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,5 @@ @@ -51,28 +49,28 @@ body { margin: 0; padding: 0; background: #070a24; + height: 100%; + overflow: hidden; } #app{ - min-height: 100vh; - overflow-y: auto; + height: 100vh; } // 基类 .btgym { width: 100vw; - height: 100vh; + height: 100%; position: relative; - // background-image: url("assets/index/bg.jpg"); background-size: 100%; background-repeat: no-repeat; // 顶部信息 .topnav { width: 100%; - height: 16%; + height: 14%; background-image: url("assets/index/topnav.png"); background-size: 100% 100%; background-repeat: no-repeat; - position: relative; + // position: relative; // 顶部文字 .toptxt { @@ -80,9 +78,11 @@ body { justify-content: space-between; .topImg { - margin-top: 1%; - width: 35%; - height: 15%; + margin-top: 0.6%; + width: 24%; + height: 12%; + margin-left: auto; + margin-right: auto; } .topTitle { margin-top: 1%; @@ -97,7 +97,7 @@ body { width: 24%; height: 36%; // border: 1px solid red; - margin: 1.4% auto; + margin: 16px auto; display: flex; justify-content: space-between; font-weight: bold; @@ -147,7 +147,7 @@ body { //底部信息 .footer { width: 100%; - height: 120px; + height: 60px; background-image: url("assets/g_footbg.png"); background-repeat: no-repeat; background-size: 100% 100%; diff --git a/src/assets/index/中间数据.png b/src/assets/index/mid_bg.png similarity index 100% rename from src/assets/index/中间数据.png rename to src/assets/index/mid_bg.png diff --git a/src/views/cultrue/index.vue b/src/views/cultrue/index.vue index 23d3dd6..8c4a0ea 100644 --- a/src/views/cultrue/index.vue +++ b/src/views/cultrue/index.vue @@ -7,7 +7,7 @@ export default { return {}; }, mounted() { - let cc = window.document.getElementById("dv-full-screen-container"); + let cc = window.document.getElementById("app"); // 清除其他多余的classname if (cc.className.indexOf("wh_bg") > -1) { cc.className = "btgym"; diff --git a/src/views/index.vue b/src/views/index.vue index 5c2770f..555ab1b 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -60,14 +60,100 @@ + +
+
今日各场馆人数趋势
+
+
- -
+
+ +
+ 345,235 + 今日进馆人数 +
+ +
+ 345,235 + 本周进馆人数 +
+ +
+ 345,235 + 本月进馆人数 +
+ +
+ +
+ 年度进馆人数 + 33,532,890 +
+
+
+
+
各场馆实施实时进馆人数
+ +
+ +
+
+
体育场
+
当前人数
+ +
4,738
+
40%
+
+
+
图书馆
+
当前人数
+ +
34,738
+
50%
+
+
+
体育馆
+
当前人数
+ +
899,738
+
80%
+
+
+
文化馆
+
当前人数
+ +
240
+
25%
+
+
+
游泳场馆
+
当前人数
+ +
33,738
+
75%
+
+
+
博物馆
+
当前人数
+ +
4,738
+
40%
+
+
+