Przeglądaj źródła

Merge branch 'master' of http://116.63.33.55/git/nazw

FinalYu 7 miesięcy temu
rodzic
commit
b2acff559e

+ 248 - 0
nngkxxdp/src/main/resources/static/naxsb/css/qjt.css

@@ -0,0 +1,248 @@
+body {
+    margin: 0;
+    overflow: hidden;
+    /* 溢出隐藏 */
+}
+@font-face {
+    font-family: 'DOUYU';
+    src: url('../fonts/DOUYUFONT-2.OTF');
+    font-weight: normal;
+    font-style: normal;
+}
+
+#loading {
+    position: absolute;
+    left: 50%;
+    top: 45%;
+    transform: translate(-50%, 0)
+}
+
+.building-box {
+    text-align: center;
+    font-size: 0.75rem;
+    width: 7.5rem;
+    position: absolute;
+    top: -5.25rem;
+    left: -3.625rem;
+}
+
+.building-text {
+    background: #18A65A;
+    color: #fff;
+    padding: 0.25rem;
+    border-radius: 8px;
+    margin-bottom: -0.5rem;
+    display: flex;
+    flex-direction: column;
+}
+
+.building-bottom {
+    background: #18A65A;
+    width: 0.625rem;
+    height: 0.625rem;
+    border-radius: 5px;
+    margin-left: calc(50% - 0.3125rem);
+}
+
+.building-line {
+    width: 0.0625rem;
+    height: 2.5rem;
+    border-left: 1px dashed #18A65A;
+    position: absolute;
+    top: -2.5625rem;
+    left: 0.125rem;
+}
+
+.container {
+    position: relative;
+}
+
+.nowtime {
+    position: absolute;
+    top: 5%;
+    right: 1.25rem;
+    font-family: DOUYU;
+    font-weight: normal;
+    font-size: 1.0625rem;
+    color: #1B79CC;
+}
+
+.conList {
+    position: absolute;
+    width: 30%;
+    height: 36%;
+}
+
+.onefloor {
+    top: 10%;
+    left: 0;
+}
+
+.onefloor .list,
+.twofloor .list {
+    padding-left: 1.25rem;
+    box-sizing: border-box;
+}
+
+.twofloor {
+    top: 58%;
+    left: 0;
+}
+
+.floortitle {
+    max-width: 562px;
+    width: 100%;
+    max-height: 96px;
+    height: 26%;
+    background-image: url(../images/qjt-titlebg.png);
+    background-size: 100% 100%;
+    font-family: Microsoft YaHei;
+    font-size: 1.5rem;
+    color: #FFFFFF;
+    display: flex;
+    font-style: italic;
+    padding-left: 3.75rem;
+    box-sizing: border-box;
+    align-items: center;
+}
+
+.floorcontent {
+    width: calc(100% - 2.5rem);
+    height: 72%;
+    background: #D3EBFF;
+    box-shadow: 5px 9px 9px 0px rgba(17, 126, 202, 0.24);
+    border-radius: 20px;
+    border: 2px solid #D0E0EA;
+    font-size: 1.25rem;
+    color: #333;
+    display: flex;
+    flex-wrap: wrap;
+    align-items: center;
+    margin-left: 2.5rem;
+}
+
+.floorcontent .list {
+    width: 50%;
+}
+
+.floorcontent .top {
+    color: #333333;
+    display: flex;
+    align-items: center;
+}
+
+.floorcontent .bottom {
+    display: flex;
+    align-items: center;
+    margin-top: 0.625rem;
+}
+
+.floorcontent .bottom img {
+    width: 2.875rem;
+    margin: 0 0.9375rem;
+}
+
+.floorcontent .bottom .number {
+    font-weight: bold;
+    font-size: 2.5rem;
+    font-style: italic;
+}
+
+.floorcontent .radio::before {
+    content: '';
+    display: inline-block;
+    width: 0.5625rem;
+    height: 0.5625rem;
+    border-radius: 50%;
+    margin-right: 0.3125rem;
+}
+
+.floorcontent .blue .radio::before {
+    background-color: rgb(26 149 235 / 50%);
+}
+
+.floorcontent .blue .bottom {
+    color: #1A95EB;
+}
+
+.floorcontent .yellow .radio::before {
+    background-color: rgb(255 128 0 / 50%);
+}
+
+.floorcontent .yellow .bottom {
+    color: #FF8000;
+}
+
+.floorcontent .green .radio::before {
+    background-color: rgb(35 177 74 / 50%);
+}
+
+.floorcontent .green .bottom {
+    color: #23B14A;
+}
+
+.floorcontent .purple .radio::before {
+    background-color: rgb(137 84 255 / 50%);
+}
+
+.floorcontent .purple .bottom {
+    color: #8954FF;
+}
+
+.blsl {
+    top: 10%;
+    right: 1.25rem;
+}
+
+.blsl .list {
+    width: 50%;
+    display: flex;
+    height: 40%;
+}
+
+.blsl .list .img {
+    width: 40%;
+    display: flex;
+    justify-content: flex-end;
+    margin-right: 0.625rem;
+}
+
+.blsl .list .right {
+    display: flex;
+    flex-direction: column;
+    justify-content: space-between;
+}
+
+.blsl .list .right .number {
+    color: #5482F9;
+}
+
+.blsl .list .right .number span:first-child {
+    font-weight: bold;
+    font-size: 2.5rem;
+    font-style: italic;
+}
+
+.pdgdf {
+    right: 1.25rem;
+    top: 58%;
+}
+
+.pdgdf .text {
+    position: absolute;
+    top: -5rem;
+    left: 5rem;
+    display: flex;
+    flex-direction: column;
+    font-size: 1rem;
+    color: #1A95EB;
+}
+
+.qjttitle {
+    width: 100%;
+    position: absolute;
+    top: 0;
+    height: 9%;
+    background-image: url(../images/qjttitle.png);
+    background-size: 100% 100%;
+}

+ 5 - 2
nngkxxdp/src/main/resources/static/naxsb/indexcygyy.html

@@ -28,6 +28,10 @@
             list-style: none;
         }
 
+        body {
+            min-width: 1426px;
+        }
+
         @font-face {
             font-family: 'DOUYU';
             src: url('fonts/DOUYUFONT-2.OTF');
@@ -54,8 +58,7 @@
         }
 
         .indexcot {
-            min-width: 1426px;
-            height: 916px;
+            height: 75vh;
             background-image: url(images/indexcygyy.png);
             background-size: 100% 100%;
             font-family: Microsoft YaHei;

+ 50 - 32
nngkxxdp/src/main/resources/static/naxsb/indexsyyg.html

@@ -27,14 +27,17 @@
             list-style: none;
         }
 
-        .indexcot {
+        body {
             min-width: 1370px;
-            height: 916px;
+        }
+
+        .indexcot {
+            height: 75vh;
             background-image: url(images/indexsyyg.png);
             background-size: 100% 100%;
             font-family: Microsoft YaHei;
             color: #FFFFFF;
-            padding-top: 30px;
+            padding-top: 1.875rem;
             box-sizing: border-box;
         }
 
@@ -47,21 +50,21 @@
         .indexcot .logo {
             display: flex;
             align-items: center;
-            font-size: 20px;
+            font-size: 1.25rem;
             margin-right: 10%;
             white-space: nowrap;
             cursor: pointer;
         }
 
         .indexcot .logo img {
-            width: 56px;
-            height: 56px;
+            width: 3.5rem;
+            height: 3.5rem;
         }
 
         .indexcot .menu {
             width: 60%;
             max-width: 620px;
-            font-size: 16px;
+            font-size: 1rem;
             display: flex;
             justify-content: space-evenly;
             align-items: center;
@@ -73,22 +76,22 @@
         }
 
         .indexcot .menu .active {
-            font-size: 20px;
-            padding-bottom: 5px;
+            font-size: 1.25rem;
+            padding-bottom: 0.3125rem;
             box-sizing: border-box;
             border-bottom: 1px solid #fff;
         }
 
         .indexcot .title {
             display: flex;
-            width: auto;
-            max-width: 1200px;
-            margin: 0 auto;
-            margin-top: 15%;
+            width: 100%;
+            align-items: center;
+            justify-content: center;
+            margin-top: 10vh;
         }
 
         .indexcot .title .left {
-            font-size: 38px;
+            font-size: 2.375rem;
             color: #FFFFFF;
             display: flex;
             flex-direction: column;
@@ -96,7 +99,7 @@
         }
 
         .indexcot .right {
-            font-size: 80px;
+            font-size: 5rem;
             color: #FFFFFF;
             white-space: nowrap;
         }
@@ -104,10 +107,10 @@
         #titleTabs {
             max-width: 1500px;
             margin: 0 auto;
-            font-size: 20px;
+            font-size: 1.25rem;
             display: flex;
             justify-content: center;
-            margin-top: 50px;
+            margin-top: 3.125rem;
         }
 
         #titleTabs .tab {
@@ -123,58 +126,73 @@
             display: flex;
             flex-direction: column;
             justify-content: space-evenly;
-            /* width: 227px; */
-            height: 292px;
+            height: 22vh;
             background: rgb(116 175 244 / 40%);
         }
 
         .tab-items {
             /* width: 16%; */
-            width: 228px;
-            height: 67px;
+            width: 14.25rem;
+            height: 4.1875rem;
             cursor: pointer;
         }
 
         .tab-items>.name {
-            height: 67px;
+            height: 4.1875rem;
             background: #5598E7;
-            margin-left: 15px;
+            margin-left: 0.9375rem;
             display: flex;
             align-items: center;
             justify-content: center;
             white-space: nowrap;
-            padding: 0 10px;
+            padding: 0 0.625rem;
         }
 
         .tab-items.active>.name {
             background: #206AC2;
-            font-size: 22px;
+            font-size: 1.375rem;
         }
 
         .tab-contents {
-            margin-left: 15px;
+            margin-left: 0.9375rem;
         }
 
         .tab-contents li {
             display: flex;
             align-items: center;
-            height: 40px;
-            padding-left: 20px;
+            height: 2.5rem;
+            padding-left: 1.25rem;
             box-sizing: border-box;
         }
 
         .tab-contents li img {
-            margin-right: 15px;
+            margin-right: 0.9375rem;
         }
 
         .tab-contents li.more {
-            padding-left: 43px;
-            font-size: 14px;
+            padding-left: 2.6875rem;
+            font-size: 0.875rem;
             color: #FFFFFF;
-            line-height: 48px;
+            line-height: 3rem;
             text-decoration-line: underline;
             cursor: pointer;
         }
+
+        @media screen and (max-width:1600px) {
+
+            html,
+            body {
+                font-size: 14px;
+            }
+        }
+
+        @media screen and (max-width:1300px) {
+
+            html,
+            body {
+                font-size: 10px;
+            }
+        }
     </style>
 </head>
 

+ 12 - 238
nngkxxdp/src/main/resources/static/naxsb/qjt.html

@@ -15,251 +15,25 @@
     <script src="https://unpkg.com/vue@2.6.14/dist/vue.min.js"></script>
     <!-- 引入样式 -->
     <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
+    <link rel="stylesheet" href="css/qjt.css">
     <!-- 引入组件库 -->
     <script src="https://unpkg.com/element-ui/lib/index.js"></script>
     <script src="js/echarts.min.js"></script>
-
     <style>
-        body {
-            margin: 0;
-            overflow: hidden;
-            /* 溢出隐藏 */
-        }
-
-        #loading {
-            position: absolute;
-            left: 50%;
-            top: 45%;
-            transform: translate(-50%, 0)
-        }
-
-        .building-box {
-            text-align: center;
-            font-size: 12px;
-            width: 120px;
-            position: absolute;
-            top: -84px;
-            left: -58px;
-        }
-
-        .building-text {
-            background: #18A65A;
-            color: #fff;
-            padding: 4px;
-            border-radius: 8px;
-            margin-bottom: -8px;
-            display: flex;
-            flex-direction: column;
-        }
-
-        .building-bottom {
-            background: #18A65A;
-            width: 10px;
-            height: 10px;
-            border-radius: 5px;
-            margin-left: calc(50% - 5px);
-        }
-
-        .building-line {
-            width: 1px;
-            height: 40px;
-            border-left: 1px dashed #18A65A;
-            position: absolute;
-            top: -41px;
-            left: 2px;
-        }
-
-        .container {
-            position: relative;
-        }
-
-        .nowtime {
-            position: absolute;
-            top: 30px;
-            right: 20px;
-            font-family: DOUYU;
-            font-weight: normal;
-            font-size: 17px;
-            font-weight: bold;
-            color: #1B79CC;
-        }
-
-        .conList {
-            position: absolute;
-            width: 35%;
-            height: 40%;
-        }
-
-        .onefloor {
-            top: 6%;
-            left: 0;
-        }
-
-        .onefloor .list,
-        .twofloor .list {
-            padding-left: 20px;
-            box-sizing: border-box;
-        }
-
-        .twofloor {
-            bottom: 10px;
-            left: 0;
-        }
-
-        .floortitle {
-            max-width: 562px;
-            width: 100%;
-            max-height: 96px;
-            height: 26%;
-            background-image: url(images/qjt-titlebg.png);
-            background-size: 100% 100%;
-            font-family: Microsoft YaHei;
-            font-size: 24px;
-            color: #FFFFFF;
-            display: flex;
-            font-style: italic;
-            padding-left: 60px;
-            box-sizing: border-box;
-            align-items: center;
-        }
-
-        .floorcontent {
-            width: calc(100% - 40px);
-            height: 72%;
-            background: #D3EBFF;
-            box-shadow: 5px 9px 9px 0px rgba(17, 126, 202, 0.24);
-            border-radius: 20px;
-            border: 2px solid #D0E0EA;
-            font-size: 20px;
-            color: #333;
-            display: flex;
-            flex-wrap: wrap;
-            align-items: center;
-            margin-left: 40px;
-        }
-
-        .floorcontent .list {
-            width: 50%;
-        }
-
-        .floorcontent .top {
-            color: #333333;
-            display: flex;
-            align-items: center;
-        }
-
-        .floorcontent .bottom {
-            display: flex;
-            align-items: center;
-            margin-top: 10px;
-        }
-
-        .floorcontent .bottom img {
-            margin: 0 15px;
-        }
+        @media screen and (max-width:1600px) {
 
-        .floorcontent .bottom .number {
-            font-weight: bold;
-            font-size: 40px;
-            font-style: italic;
-        }
-
-        .floorcontent .radio::before {
-            content: '';
-            display: inline-block;
-            width: 9px;
-            height: 9px;
-            border-radius: 50%;
-            margin-right: 5px;
-        }
-
-        .floorcontent .blue .radio::before {
-            background-color: rgb(26 149 235 / 50%);
-        }
-
-        .floorcontent .blue .bottom {
-            color: #1A95EB;
-        }
-
-        .floorcontent .yellow .radio::before {
-            background-color: rgb(255 128 0 / 50%);
-        }
-
-        .floorcontent .yellow .bottom {
-            color: #FF8000;
-        }
-
-        .floorcontent .green .radio::before {
-            background-color: rgb(35 177 74 / 50%);
-        }
-
-        .floorcontent .green .bottom {
-            color: #23B14A;
-        }
-
-        .floorcontent .purple .radio::before {
-            background-color: rgb(137 84 255 / 50%);
-        }
-
-        .floorcontent .purple .bottom {
-            color: #8954FF;
-        }
-
-        .blsl {
-            top: 6%;
-            right: 20px;
-        }
-
-        .blsl .list {
-            width: 50%;
-            display: flex;
-        }
-
-        .blsl .list .img {
-            width: 40%;
-            display: flex;
-            justify-content: flex-end;
-            margin-right: 10px;
-        }
-
-        .blsl .list .right {
-            display: flex;
-            flex-direction: column;
-            justify-content: space-between;
-        }
-
-        .blsl .list .right .number {
-            color: #5482F9;
-        }
-
-        .blsl .list .right .number span:first-child {
-            font-weight: bold;
-            font-size: 40px;
-            font-style: italic;
-        }
-
-        .pdgdf {
-            right: 20px;
-            bottom: 5px;
+            html,
+            body {
+                font-size: 14px;
+            }
         }
 
-        .pdgdf .text {
-            position: absolute;
-            top: -80px;
-            left: 80px;
-            display: flex;
-            flex-direction: column;
-            font-size: 16px;
-            color: #1A95EB;
-        }
+        @media screen and (max-width:1300px) {
 
-        .qjttitle {
-            width: 100%;
-            position: absolute;
-            top: 0;
-            height: 74px;
-            background-image: url(images/qjttitle.png);
-            background-size: 100% 100%;
+            html,
+            body {
+                font-size: 10px;
+            }
         }
     </style>
 </head>
@@ -409,7 +183,7 @@
                                 <span style="font-size: 18px;font-weight: bold;margin-bottom: 5px;">地铁6号线</span>
                                 <span>邱家湾站2B出口</span>
                                 <span>距离:800米</span>
-                                <img src="images/qjtArrow.png" alt="">
+                                <img src="images/qjtArrow.png" alt="" style="height: 1.75rem;">
                             </div>
                         </div>
                     </div>