Browse Source

Merge commit '7e0afef51010639bf01e6350b53c592b9b8e1196' into gzb

gzb
guozhongbo 1 year ago
parent
commit
1784c61c5c

+ 1
- 1
css/comm.css View File

37
   margin: 0;
37
   margin: 0;
38
   padding: 0;
38
   padding: 0;
39
   line-height: 1;
39
   line-height: 1;
40
-  font-family: "Source Han Sans CN" !important;
40
+  font-family: "MicrosoftYaHei" !important;
41
   color: #333;
41
   color: #333;
42
   box-sizing: border-box;
42
   box-sizing: border-box;
43
   background-color: #F5F7F9;
43
   background-color: #F5F7F9;

+ 6
- 0
css/header.css View File

15
   margin-right: 0.08rem;
15
   margin-right: 0.08rem;
16
   height: 0.32rem;
16
   height: 0.32rem;
17
 }
17
 }
18
+.header_box .header_left > img.header_logo {
19
+  width: 0.39rem;
20
+}
21
+.header_box .header_left > img.header_title {
22
+  width: 1.35rem;
23
+}
18
 .header_box .header_left .left_white {
24
 .header_box .header_left .left_white {
19
   display: inline-block;
25
   display: inline-block;
20
 }
26
 }

+ 4
- 5
index.html View File

11
     <link rel="stylesheet" href="./css/comm.css" />
11
     <link rel="stylesheet" href="./css/comm.css" />
12
     <link rel="stylesheet" href="../css/header.css">
12
     <link rel="stylesheet" href="../css/header.css">
13
     <link rel="stylesheet" href="./css/index.css" />
13
     <link rel="stylesheet" href="./css/index.css" />
14
-    <script src="./utils/rem.js"></script>
15
   </head>
14
   </head>
16
   <body>
15
   <body>
17
     <div class="header_root">
16
     <div class="header_root">
18
       <div class="header_box">
17
       <div class="header_box">
19
         <div class="header_left">
18
         <div class="header_left">
20
-          <img class="left_white" src="../img/logo_info/header_logo.png" />
21
-          <img class="left_white" src="../img/logo_info/header_title.png" />
22
-          <img class="left_gray" src="../img/logo_info/header_logo1.png" />
23
-          <img class="left_gray" src="../img/logo_info/header_title1.png" />
19
+          <img class="left_white header_logo" src="../img/logo_info/header_logo.png" />
20
+          <img class="left_white header_title" src="../img/logo_info/header_title.png" />
21
+          <img class="left_gray header_logo" src="../img/logo_info/header_logo1.png" />
22
+          <img class="left_gray header_title" src="../img/logo_info/header_title1.png" />
24
         </div>
23
         </div>
25
         <div class="header_right">
24
         <div class="header_right">
26
           <div data-nav="1" class="header_nav_item nav_1">
25
           <div data-nav="1" class="header_nav_item nav_1">

+ 4
- 5
sections/about.html View File

9
     <link rel="stylesheet" href="../css/comm.css" />
9
     <link rel="stylesheet" href="../css/comm.css" />
10
     <link rel="stylesheet" href="../css/header.css">
10
     <link rel="stylesheet" href="../css/header.css">
11
     <link rel="stylesheet" href="../css/about.css" />
11
     <link rel="stylesheet" href="../css/about.css" />
12
-    <script src="../utils/rem.js"></script>
13
     <title>关于我们</title>
12
     <title>关于我们</title>
14
   </head>
13
   </head>
15
   <body>
14
   <body>
16
     <div class="header_root bg_white" data-nav_info="3">
15
     <div class="header_root bg_white" data-nav_info="3">
17
       <div class="header_box">
16
       <div class="header_box">
18
         <div class="header_left">
17
         <div class="header_left">
19
-          <img class="left_white" src="../img/logo_info/header_logo.png" />
20
-          <img class="left_white" src="../img/logo_info/header_title.png" />
21
-          <img class="left_gray" src="../img/logo_info/header_logo1.png" />
22
-          <img class="left_gray" src="../img/logo_info/header_title1.png" />
18
+          <img class="left_white header_logo" src="../img/logo_info/header_logo.png" />
19
+          <img class="left_white header_title" src="../img/logo_info/header_title.png" />
20
+          <img class="left_gray header_logo" src="../img/logo_info/header_logo1.png" />
21
+          <img class="left_gray header_title" src="../img/logo_info/header_title1.png" />
23
         </div>
22
         </div>
24
         <div class="header_right">
23
         <div class="header_right">
25
           <div data-nav="1" class="header_nav_item nav_1">
24
           <div data-nav="1" class="header_nav_item nav_1">

+ 4
- 4
sections/comm/header.html View File

122
   <body>
122
   <body>
123
     <div class="header_box">
123
     <div class="header_box">
124
       <div class="header_left">
124
       <div class="header_left">
125
-        <img class="left_white" src="../../img/logo_info/header_logo.png" />
126
-        <img class="left_white" src="../../img/logo_info/header_title.png" />
127
-        <img class="left_gray" src="../../img/logo_info/header_logo1.png" />
128
-        <img class="left_gray" src="../../img/logo_info/header_title1.png" />
125
+        <img class="left_white header_logo" src="../img/logo_info/header_logo.png" />
126
+        <img class="left_white header_title" src="../img/logo_info/header_title.png" />
127
+        <img class="left_gray header_logo" src="../img/logo_info/header_logo1.png" />
128
+        <img class="left_gray header_title" src="../img/logo_info/header_title1.png" />
129
       </div>
129
       </div>
130
       <div class="header_right">
130
       <div class="header_right">
131
         <div data-nav="1" class="header_nav_item nav_1">
131
         <div data-nav="1" class="header_nav_item nav_1">

+ 4
- 5
sections/news.html View File

11
     <link rel="stylesheet" href="../css/comm.css" />
11
     <link rel="stylesheet" href="../css/comm.css" />
12
     <link rel="stylesheet" href="../css/header.css">
12
     <link rel="stylesheet" href="../css/header.css">
13
     <link rel="stylesheet" href="../css/news.css" />
13
     <link rel="stylesheet" href="../css/news.css" />
14
-    <script src="../utils/rem.js"></script>
15
   </head>
14
   </head>
16
   <body>
15
   <body>
17
     <div class="header_root bg_white" data-nav_info="5">
16
     <div class="header_root bg_white" data-nav_info="5">
18
       <div class="header_box">
17
       <div class="header_box">
19
         <div class="header_left">
18
         <div class="header_left">
20
-          <img class="left_white" src="../img/logo_info/header_logo.png" />
21
-          <img class="left_white" src="../img/logo_info/header_title.png" />
22
-          <img class="left_gray" src="../img/logo_info/header_logo1.png" />
23
-          <img class="left_gray" src="../img/logo_info/header_title1.png" />
19
+          <img class="left_white header_logo" src="../img/logo_info/header_logo.png" />
20
+          <img class="left_white header_title" src="../img/logo_info/header_title.png" />
21
+          <img class="left_gray header_logo" src="../img/logo_info/header_logo1.png" />
22
+          <img class="left_gray header_title" src="../img/logo_info/header_title1.png" />
24
         </div>
23
         </div>
25
         <div class="header_right">
24
         <div class="header_right">
26
           <div data-nav="1" class="header_nav_item nav_1">
25
           <div data-nav="1" class="header_nav_item nav_1">

+ 4
- 5
sections/news_detail.html View File

11
     <link rel="stylesheet" href="../css/comm.css" />
11
     <link rel="stylesheet" href="../css/comm.css" />
12
     <link rel="stylesheet" href="../css/header.css">
12
     <link rel="stylesheet" href="../css/header.css">
13
     <link rel="stylesheet" href="../css/news.css" />
13
     <link rel="stylesheet" href="../css/news.css" />
14
-    <script src="../utils/rem.js"></script>
15
   </head>
14
   </head>
16
   <body>
15
   <body>
17
     <div class="header_root bg_white" data-nav_info="5">
16
     <div class="header_root bg_white" data-nav_info="5">
18
       <div class="header_box">
17
       <div class="header_box">
19
         <div class="header_left">
18
         <div class="header_left">
20
-          <img class="left_white" src="../img/logo_info/header_logo.png" />
21
-          <img class="left_white" src="../img/logo_info/header_title.png" />
22
-          <img class="left_gray" src="../img/logo_info/header_logo1.png" />
23
-          <img class="left_gray" src="../img/logo_info/header_title1.png" />
19
+          <img class="left_white header_logo" src="../img/logo_info/header_logo.png" />
20
+          <img class="left_white header_title" src="../img/logo_info/header_title.png" />
21
+          <img class="left_gray header_logo" src="../img/logo_info/header_logo1.png" />
22
+          <img class="left_gray header_title" src="../img/logo_info/header_title1.png" />
24
         </div>
23
         </div>
25
         <div class="header_right">
24
         <div class="header_right">
26
           <div data-nav="1" class="header_nav_item nav_1">
25
           <div data-nav="1" class="header_nav_item nav_1">

+ 4
- 5
sections/product.html View File

9
     <link rel="stylesheet" href="../css/comm.css" />
9
     <link rel="stylesheet" href="../css/comm.css" />
10
     <link rel="stylesheet" href="../css/header.css">
10
     <link rel="stylesheet" href="../css/header.css">
11
     <link rel="stylesheet" href="../css/product.css" />
11
     <link rel="stylesheet" href="../css/product.css" />
12
-    <script src="../utils/rem.js"></script>
13
     <title>产品中心</title>
12
     <title>产品中心</title>
14
   </head>
13
   </head>
15
   <body>
14
   <body>
16
     <div class="header_root bg_white" data-nav_info="1">
15
     <div class="header_root bg_white" data-nav_info="1">
17
       <div class="header_box">
16
       <div class="header_box">
18
         <div class="header_left">
17
         <div class="header_left">
19
-          <img class="left_white" src="../img/logo_info/header_logo.png" />
20
-          <img class="left_white" src="../img/logo_info/header_title.png" />
21
-          <img class="left_gray" src="../img/logo_info/header_logo1.png" />
22
-          <img class="left_gray" src="../img/logo_info/header_title1.png" />
18
+          <img class="left_white header_logo" src="../img/logo_info/header_logo.png" />
19
+          <img class="left_white header_title" src="../img/logo_info/header_title.png" />
20
+          <img class="left_gray header_logo" src="../img/logo_info/header_logo1.png" />
21
+          <img class="left_gray header_title" src="../img/logo_info/header_title1.png" />
23
         </div>
22
         </div>
24
         <div class="header_right">
23
         <div class="header_right">
25
           <div data-nav="1" class="header_nav_item nav_1">
24
           <div data-nav="1" class="header_nav_item nav_1">

+ 4
- 5
sections/service.html View File

9
     <link rel="stylesheet" href="../css/comm.css" />
9
     <link rel="stylesheet" href="../css/comm.css" />
10
     <link rel="stylesheet" href="../css/header.css" />
10
     <link rel="stylesheet" href="../css/header.css" />
11
     <link rel="stylesheet" href="../css/service.css" />
11
     <link rel="stylesheet" href="../css/service.css" />
12
-    <script src="../utils/rem.js"></script>
13
     <title>服务案例</title>
12
     <title>服务案例</title>
14
     <style>
13
     <style>
15
       body {
14
       body {
21
     <div class="header_root bg_white" data-nav_info="2">
20
     <div class="header_root bg_white" data-nav_info="2">
22
       <div class="header_box">
21
       <div class="header_box">
23
         <div class="header_left">
22
         <div class="header_left">
24
-          <img class="left_white" src="../img/logo_info/header_logo.png" />
25
-          <img class="left_white" src="../img/logo_info/header_title.png" />
26
-          <img class="left_gray" src="../img/logo_info/header_logo1.png" />
27
-          <img class="left_gray" src="../img/logo_info/header_title1.png" />
23
+          <img class="left_white header_logo" src="../img/logo_info/header_logo.png" />
24
+          <img class="left_white header_title" src="../img/logo_info/header_title.png" />
25
+          <img class="left_gray header_logo" src="../img/logo_info/header_logo1.png" />
26
+          <img class="left_gray header_title" src="../img/logo_info/header_title1.png" />
28
         </div>
27
         </div>
29
         <div class="header_right">
28
         <div class="header_right">
30
           <div data-nav="1" class="header_nav_item nav_1">
29
           <div data-nav="1" class="header_nav_item nav_1">

+ 4
- 5
sections/trial.html View File

8
     <link rel="stylesheet" href="../css/comm.css" />
8
     <link rel="stylesheet" href="../css/comm.css" />
9
     <link rel="stylesheet" href="../css/header.css">
9
     <link rel="stylesheet" href="../css/header.css">
10
     <link rel="stylesheet" href="../css/trial.css" />
10
     <link rel="stylesheet" href="../css/trial.css" />
11
-    <script src="../utils/rem.js"></script>
12
     <title>申请试用</title>
11
     <title>申请试用</title>
13
   </head>
12
   </head>
14
   <body>
13
   <body>
15
     <div class="header_root bg_white" data-nav_info="4">
14
     <div class="header_root bg_white" data-nav_info="4">
16
       <div class="header_box">
15
       <div class="header_box">
17
         <div class="header_left">
16
         <div class="header_left">
18
-          <img class="left_white" src="../img/logo_info/header_logo.png" />
19
-          <img class="left_white" src="../img/logo_info/header_title.png" />
20
-          <img class="left_gray" src="../img/logo_info/header_logo1.png" />
21
-          <img class="left_gray" src="../img/logo_info/header_title1.png" />
17
+          <img class="left_white header_logo" src="../img/logo_info/header_logo.png" />
18
+          <img class="left_white header_title" src="../img/logo_info/header_title.png" />
19
+          <img class="left_gray header_logo" src="../img/logo_info/header_logo1.png" />
20
+          <img class="left_gray header_title" src="../img/logo_info/header_title1.png" />
22
         </div>
21
         </div>
23
         <div class="header_right">
22
         <div class="header_right">
24
           <div data-nav="1" class="header_nav_item nav_1">
23
           <div data-nav="1" class="header_nav_item nav_1">

+ 0
- 17
utils/rem.js View File

1
-(function (doc, win) {
2
-  var docEl = doc.documentElement,
3
-    resizeEvt = "orientationchange" in window ? "orientationchange" : "resize",
4
-    recalc = function () {
5
-      var clientWidth = docEl.clientWidth; //获取设备尺寸
6
-      if (!clientWidth) return;
7
-      if (clientWidth >= 1920) {
8
-        //设计稿宽度
9
-        docEl.style.fontSize = "100px";
10
-      } else {
11
-        docEl.style.fontSize = 100 * (clientWidth / 1920) + "px";
12
-      }
13
-    };
14
-  if (!doc.addEventListener) return;
15
-  win.addEventListener(resizeEvt, recalc, false); //绑定事件
16
-  doc.addEventListener("DOMContentLoaded", recalc, false);
17
-})(document, window);

Loading…
Cancel
Save