Przeglądaj źródła

关于我们

gzb
guozhongbo 1 rok temu
rodzic
commit
841c826670

+ 66
- 18
css/about.css Wyświetl plik

@@ -27,17 +27,18 @@
27 27
 }
28 28
 .piece {
29 29
   width: 100%;
30
-  /* height: 8rem; */
30
+  background-color: white;
31 31
 }
32 32
 
33 33
 .piece_color {
34 34
   background-color: #f5f6f9ff;
35
+  position: relative;
35 36
 }
36 37
 
37 38
 .piece_item {
38 39
   width: 13rem;
39 40
   margin: 0 auto;
40
-  padding: 1rem 0 0.4rem;
41
+  padding: 1rem 0 0.2rem;
41 42
 }
42 43
 .area_title {
43 44
   color: #000000;
@@ -58,29 +59,29 @@
58 59
   text-indent: 2em;
59 60
   margin-bottom: 0.3rem;
60 61
 }
61
-.area_top{
62
+.area_top {
62 63
   display: flex;
63 64
 }
64
-.area_left{
65
+.area_left {
65 66
   flex: 3;
66 67
   text-align: right;
67 68
 }
68
-.area_num{
69
-  color: #2D8CF0;
69
+.area_num {
70
+  color: #2d8cf0;
70 71
   font-weight: bold;
71 72
   font-size: 0.48rem;
72 73
 }
73
-.area_tit{
74
+.area_tit {
74 75
   color: #333333;
75
-    font-weight: bold;
76
-    font-size: 0.18rem;
77
-    line-height: 0.6rem;
76
+  font-weight: bold;
77
+  font-size: 0.18rem;
78
+  line-height: 0.6rem;
78 79
 }
79
-.area_jia{
80
-  color: #2D8CF0;
81
-    font-weight: bold;
82
-    font-size: 0.36rem;
83
-    margin-top: -0.1rem;
80
+.area_jia {
81
+  color: #2d8cf0;
82
+  font-weight: bold;
83
+  font-size: 0.36rem;
84
+  margin-top: -0.1rem;
84 85
 }
85 86
 .area_com {
86 87
   color: #666666;
@@ -91,13 +92,60 @@
91 92
   flex: 3;
92 93
   text-align: left;
93 94
 }
94
-.area_spacing{
95
+.area_spacing {
95 96
   height: 2.5rem;
96 97
   display: flex;
97
-  flex-direction:column-reverse;
98
+  flex-direction: column-reverse;
98 99
 }
99
-.area_top img{
100
+.area_top img {
100 101
   width: 5rem;
101 102
   height: 5rem;
102 103
   margin: 0 1rem;
104
+}
105
+.area_approve {
106
+  position: absolute;
107
+  left: 50%;
108
+  transform: translate(-50%, 0);
109
+}
110
+.area_bot{
111
+  margin-top: 0.3rem;
112
+}
113
+.ab_minsin{
114
+  width: 100%;
115
+  height: 3.2rem;
116
+  position: absolute;
117
+}
118
+.piece_items {
119
+  width: 13rem;
120
+  padding: 0.8rem 0 0.2rem;
121
+  position: absolute;
122
+  left: 50%;
123
+  transform: translateX(-50%);
124
+}
125
+.area_four{
126
+  display: flex;
127
+  justify-content: space-between;
128
+}
129
+.area_fs{
130
+  width: 2.8rem;
131
+  height: 3rem;
132
+  background-color: white;
133
+  color: #333333;
134
+  text-align: center;
135
+  padding: 0 0.2rem;
136
+  box-sizing: border-box;
137
+}
138
+.area_fs img{
139
+  width: 0.9rem;
140
+  height: 0.8rem;
141
+  margin: 0.1rem auto 0;
142
+}
143
+.area_fs div {
144
+  font-size: 0.18rem;
145
+  line-height: 0.4rem;
146
+}
147
+.area_fs p {
148
+  font-size: 0.14rem;
149
+  line-height: 0.24rem;
150
+  margin-top: 0;
103 151
 }

BIN
img/about/icon1.png Wyświetl plik


BIN
img/about/icon2.png Wyświetl plik


BIN
img/about/icon3.png Wyświetl plik


BIN
img/about/icon4.png Wyświetl plik


BIN
img/about/icon5.png Wyświetl plik


BIN
img/about/icon6.png Wyświetl plik


BIN
img/about/icon7.png Wyświetl plik


BIN
img/about/icon8.png Wyświetl plik


BIN
img/about/mission.png Wyświetl plik


+ 21
- 0
js/about.js Wyświetl plik

@@ -0,0 +1,21 @@
1
+ $(".main-timeline .timeline").click(function () {
2
+       var TAG = $(this).siblings().length;
3
+       if (TAG >= 1) {
4
+         var index = $(this).index()
5
+         $(this).addClass('fd-active-line').siblings().removeClass('fd-active-line')
6
+         $(this).parent().parent().siblings('.event_list').children().eq(index).show().siblings().hide()
7
+       }
8
+     })
9
+     var swiper = new Swiper('.swiper-container', {
10
+       slidesPerView: 4,
11
+       direction: 'vertical',
12
+       navigation: {
13
+         nextEl: '.swiper-button-next',
14
+         prevEl: '.swiper-button-prev',
15
+       },
16
+       on: {
17
+         resize: function () {
18
+           swiper.changeDirection(getDirection());
19
+         }
20
+       }
21
+     });

+ 87
- 2
sections/about.html Wyświetl plik

@@ -4,6 +4,7 @@
4 4
     <meta charset="UTF-8" />
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+    <link rel="stylesheet" href="../librarys/swiper@3.4.2/swiper.min.css" />
7 8
     <link rel="stylesheet" href="../css/comm.css" />
8 9
     <link rel="stylesheet" href="../css/about.css" />
9 10
     <script src="../utils/rem.js"></script>
@@ -84,11 +85,95 @@
84 85
                 </div>
85 86
               </div>
86 87
             </div>
87
-            <div class="area_bot"></div>
88
+            <div class="area_bot">
89
+              <div style="text-align: center; position: relative">
90
+                <div class="area_approve" style="display: flex">
91
+                  <div class="area_num">1000</div>
92
+                  <div class="area_jia">+</div>
93
+                </div>
94
+                <div style="padding-top: 0.5rem" class="area_tit">客户认可</div>
95
+                <div class="area_com" style="margin-bottom: 0.2rem">
96
+                  一起见证数字安全与业务变革
97
+                </div>
98
+              </div>
99
+            </div>
100
+          </div>
101
+        </div>
102
+      </div>
103
+      <div class="piece_color" style="height: 8.8rem">
104
+        <img class="ab_minsin" src="../img/about/mission.png" />
105
+        <div class="piece_items">
106
+          <div class="area_title" style="color: white">我们努力践行的使命</div>
107
+          <div class="area_four">
108
+            <div class="area_fs">
109
+              <img src="../img/about/icon1.png" />
110
+              <div>为教育服务</div>
111
+              <p>技术为教育服务,教育为发展服务</p>
112
+            </div>
113
+            <div class="area_fs">
114
+              <img src="../img/about/icon2.png" />
115
+              <div>为师生服务</div>
116
+              <p>
117
+                通过大学习、深调研、抓落实,聚焦
118
+                痛点、前移服务、提质增效,将一件 件服务师生的具体事项落到实处
119
+              </p>
120
+            </div>
121
+            <div class="area_fs">
122
+              <img src="../img/about/icon3.png" />
123
+              <div>为成长助力</div>
124
+              <p>
125
+                通过大学习、深调研、抓落实,聚焦
126
+                痛点、前移服务、提质增效,将一件 件服务师生的具体事项落到实处
127
+              </p>
128
+            </div>
129
+            <div class="area_fs">
130
+              <img src="../img/about/icon4.png" />
131
+              <div>为梦想拼搏</div>
132
+              <p>
133
+                通过大学习、深调研、抓落实,聚焦
134
+                痛点、前移服务、提质增效,将一件 件服务师生的具体事项落到实处
135
+              </p>
136
+            </div>
137
+          </div>
138
+          <div class="area_title" style="margin: 0.5rem 0">
139
+            我们始终秉承的愿景
140
+          </div>
141
+          <div class="area_four">
142
+            <div class="area_fs" style="height: 2rem">
143
+              <img src="../img/about/icon5.png" />
144
+              <div>燃星星之火</div>
145
+            </div>
146
+            <div class="area_fs" style="height: 2rem">
147
+              <img src="../img/about/icon6.png" />
148
+              <div>呈燎原之势</div>
149
+            </div>
150
+            <div class="area_fs" style="height: 2rem">
151
+              <img src="../img/about/icon7.png" />
152
+              <div>汇涓涓细流</div>
153
+            </div>
154
+            <div class="area_fs" style="height: 2rem">
155
+              <img src="../img/about/icon8.png" />
156
+              <div>成汪洋大海</div>
157
+            </div>
158
+          </div>
159
+        </div>
160
+      </div>
161
+      <div class="piece">
162
+        <div class="piece_item">
163
+          <div class="area_title">发展历程</div>
164
+          <div class="swiper-container">
165
+            <!-- 如果需要分页器 -->
166
+            <div class="swiper-pagination"></div>
167
+
168
+            <!-- 如果需要导航按钮 -->
169
+            <div class="swiper-button-prev"></div>
170
+            <div class="swiper-button-next"></div>
88 171
           </div>
89 172
         </div>
90 173
       </div>
91
-      <div class="piece"></div>
92 174
     </div>
93 175
   </body>
176
+  <script src="../librarys/jquery@1.12.4/jquery.min.js"></script>
177
+  <script src="../librarys/swiper@3.4.2/swiper.jquery.min.js"></script>
178
+  <script src="../js/about.js"></script>
94 179
 </html>

Ładowanie…
Anuluj
Zapisz