Parcourir la source

首页完善+域名写活

ming il y a 1 an
Parent
commit
8e73a518b9
4 fichiers modifiés avec 39 ajouts et 29 suppressions
  1. 25 25
      assets/css/home.css
  2. 6 0
      assets/css/style.css
  3. 5 1
      assets/js/settinginfo.js
  4. 3 3
      index.html

+ 25 - 25
assets/css/home.css

@@ -312,47 +312,47 @@
 }
 
 /* 首页视频部分 */
+.video-section .num1{
+    font-size:60px;
+    display:inline-block;
+}
 .video-section {
     overflow: hidden;
     width: 100%;
     height: 100vh;
     background:black;
     position: relative;
+    .des1{
+        position:absolute;
+        top:25%;
+        width:100%;
+        text-align:center;
+        font-size:36px;
+        p{
+            width:95%;
+            margin:0 auto
+        }
+    }
+    .video-des .desCom span{
+        font-size:24px;
+        border:1px solid #ccc;
+        border-radius:24px;
+        padding:0 20px;
+        margin-top:10px;
+    }
+    .video-des p{
+        font-size:30px;
+    }
     .video-des{
         color:#fff;
         font-family:AlibabaPuHuiTi-Medium;
-        .des1{
-            position:absolute;
-            top:25%;
-            width:100%;
-            text-align:center;
-            font-size:36px;
-            p{
-                width:95%;
-                margin:0 auto
-            }
-            span{
-                font-size:60px
-            }
-        }
         .desCom{
             text-align:center;
             position:absolute;
-            
             p{
                 font-size:30px;
-               
             }
-            span{
-                font-size:24px;
-                border:1px solid #ccc;
-                border-radius:24px;
-                padding:0 20px;
-                margin-top:10px;
-            }
-
         }
-
     }
     
     .go_down {

+ 6 - 0
assets/css/style.css

@@ -6250,6 +6250,12 @@
 
 
             /* feedBack */
+            .feedBackBox  .contactInner li span:first-child{
+                width:80px;
+                display:inline-block;
+                
+               }
+              
             .feedBackBox{
                 position:fixed;
                 right:30px;

+ 5 - 1
assets/js/settinginfo.js

@@ -1,2 +1,6 @@
 window.FQDN = 'http://aiot.usky.cn:8089/USKYOW/index.php/index/';
-window.FQDN2 = 'http://172.16.120.165:13200/prod-api/service-website/';
+
+//请求域名写活
+window.FQDN2 = window.location.host.indexOf('aiot.usky.cn')==-1?'http://172.16.120.165:13200/prod-api/service-website/':'http://gateway.usky.cn/prod-api/service-website/';  
+
+

+ 3 - 3
index.html

@@ -22,9 +22,9 @@
     <!--====== animate css ======-->
     <link rel="stylesheet" href="https://animate.style/animate.min.css" />
     <!--====== Style css ======-->
-    <link rel="stylesheet" href="assets/css/style.css" />
+    <link rel="stylesheet" href="assets/css/style.css"/>
     <!--====== home css ====== -->
-    <link rel="stylesheet" href="assets/css/home.css" />
+    <link rel="stylesheet" href="assets/css/home.css"/>
     <link rel="stylesheet" href="assets/fonts/iconfont/iconfont.css">
 </head>
 
@@ -72,7 +72,7 @@
             <div class="video-des">
                 <div class="des1">
                     <!-- <h1 class="animate__animated animate__bounce">An animated element</h1> -->
-                    <p class="animate__animated  animate__fadeInUp">围绕行业细分,累计服务超过 <span>5000</span> 家企业,近<span> 10万 </span>个用户,平台生态高效、健康</p>
+                    <p class="animate__animated  animate__fadeInUp">围绕行业细分,累计服务超过 <span class="num1">5000</span> 家企业,近<span  class="num1"> 10万 </span>个用户,平台生态高效、健康</p>
                 </div>
                 <div class="des2 desCom animate__animated  animate__flipInX" style="top:43%; left:0;width:100%;text-align:center">
                     <p>核心价值观</p>