Browse Source

Merge commit '5483f01e05ab7222966bf2de6e12398aeb059fc6' into gzb

gzb
guozhongbo 1 year ago
parent
commit
c5ff5dc510
3 changed files with 78 additions and 22 deletions
  1. 49
    0
      css/comm.css
  2. 23
    22
      index.html
  3. 6
    0
      js/transform.js

+ 49
- 0
css/comm.css View File

53
 .header_root.bg_white {
53
 .header_root.bg_white {
54
   color: #333;
54
   color: #333;
55
   background-color: #fff;
55
   background-color: #fff;
56
+  box-shadow: 0 0 1rem 0.4rem rgba(0, 0, 0, 0.082);
56
 }
57
 }
57
 .header_root:hover {
58
 .header_root:hover {
58
   color: #333;
59
   color: #333;
89
 .header_stitle {
90
 .header_stitle {
90
   padding-top: 0.3rem;
91
   padding-top: 0.3rem;
91
   font-size: 0.16rem;
92
   font-size: 0.16rem;
93
+}
94
+/* 动画 */
95
+/* 向下移动30像素 */
96
+.translateY_30 {
97
+  -webkit-transform: translateY(30px);
98
+  -ms-transform: translateY(30px);
99
+  transform: translateY(30px);
100
+  -webkit-transition: opacity 1s, -webkit-transform 1s;
101
+  transition: opacity 1s, -webkit-transform 1s;
102
+  -o-transition: transform 1s, opacity 1s;
103
+  transition: transform 1s, opacity 1s;
104
+  transition: transform 1s, opacity 1s, -webkit-transform 1s;
105
+  opacity: 0;
106
+  -webkit-transition-delay: 0.5s;
107
+  -o-transition-delay: 0.5s;
108
+  transition-delay: 0.5s;
109
+}
110
+/* 旋转图片 */
111
+@-webkit-keyframes Rotimg {
112
+  0% {
113
+      transform: rotateY(0deg);
114
+  }
115
+
116
+  to {
117
+      transform: rotateY(360deg)
118
+  }
119
+}
120
+
121
+@keyframes Rotimg {
122
+  0% {
123
+      transform: rotateY(0deg);
124
+  }
125
+
126
+  to {
127
+      transform: rotateY(360deg)
128
+  }
129
+}
130
+
131
+.rotate_img {
132
+  -webkit-animation: Rotimg 2s linear;
133
+  animation: Rotimg 2s linear;
134
+}
135
+/* 还原 */
136
+.original_point {
137
+  -webkit-transform: none;
138
+  -ms-transform: none;
139
+  transform: none;
140
+  opacity: 1;
92
 }
141
 }

+ 23
- 22
index.html View File

69
       </div>
69
       </div>
70
     </div>
70
     </div>
71
     <div class="home_main">
71
     <div class="home_main">
72
-      <div class="home_superiority_title">我们的优势</div>
72
+      <div class="home_superiority_title translateY_30">我们的优势</div>
73
       <div class="home_superiority_info">
73
       <div class="home_superiority_info">
74
-        <div class="superiority_item">
74
+        <div class="superiority_item translateY_30">
75
           <img
75
           <img
76
-            class="superiority_item_img"
76
+            class="superiority_item_img original_img"
77
             src="./img/home/superiority/datong.png"
77
             src="./img/home/superiority/datong.png"
78
           />
78
           />
79
-          <div class="superiority_item_title">打通教育全流程</div>
80
-          <div class="superiority_item_stitle">
79
+          <div class="superiority_item_title translateY_30">打通教育全流程</div>
80
+          <div class="superiority_item_stitle translateY_30">
81
             为K12全流程、全方位<br />提供智能服务
81
             为K12全流程、全方位<br />提供智能服务
82
           </div>
82
           </div>
83
         </div>
83
         </div>
84
-        <div class="superiority_item">
84
+        <div class="superiority_item translateY_30">
85
           <img
85
           <img
86
-            class="superiority_item_img"
86
+            class="superiority_item_img original_img"
87
             src="./img/home/superiority/zhuanzhu.png"
87
             src="./img/home/superiority/zhuanzhu.png"
88
           />
88
           />
89
-          <div class="superiority_item_title">专注K12智慧教育</div>
90
-          <div class="superiority_item_stitle">
89
+          <div class="superiority_item_title translateY_30">专注K12智慧教育</div>
90
+          <div class="superiority_item_stitle translateY_30">
91
             为教育行业提供全方位<br />实时音频解决方案
91
             为教育行业提供全方位<br />实时音频解决方案
92
           </div>
92
           </div>
93
         </div>
93
         </div>
94
-        <div class="superiority_item">
94
+        <div class="superiority_item translateY_30">
95
           <img
95
           <img
96
-            class="superiority_item_img"
96
+            class="superiority_item_img original_img"
97
             src="./img/home/superiority/shuju.png"
97
             src="./img/home/superiority/shuju.png"
98
           />
98
           />
99
-          <div class="superiority_item_title">数据安全及稳定性</div>
100
-          <div class="superiority_item_stitle">数据安全及稳定性有保障</div>
99
+          <div class="superiority_item_title translateY_30">数据安全及稳定性</div>
100
+          <div class="superiority_item_stitle translateY_30">数据安全及稳定性有保障</div>
101
         </div>
101
         </div>
102
-        <div class="superiority_item">
102
+        <div class="superiority_item translateY_30">
103
           <img
103
           <img
104
-            class="superiority_item_img"
104
+            class="superiority_item_img original_img"
105
             src="./img/home/superiority/fuwu.png"
105
             src="./img/home/superiority/fuwu.png"
106
           />
106
           />
107
-          <div class="superiority_item_title">服务保障</div>
108
-          <div class="superiority_item_stitle">全流程、全方位服务保障</div>
107
+          <div class="superiority_item_title translateY_30">服务保障</div>
108
+          <div class="superiority_item_stitle translateY_30">全流程、全方位服务保障</div>
109
         </div>
109
         </div>
110
       </div>
110
       </div>
111
       <div class="home_scheme_info">
111
       <div class="home_scheme_info">
172
     </div>
172
     </div>
173
     <div class="home_serve">
173
     <div class="home_serve">
174
       <div class="home_serve_main">
174
       <div class="home_serve_main">
175
-        <div class="home_serve_title">
175
+        <div class="home_serve_title translateY_30">
176
           多项服务保障<br />让学校、老师、学生无忧
176
           多项服务保障<br />让学校、老师、学生无忧
177
         </div>
177
         </div>
178
         <div class="home_serve_item_box">
178
         <div class="home_serve_item_box">
179
-          <div class="home_serve_item">
179
+          <div class="home_serve_item translateY_30">
180
             <img src="./img/home/serve/hailiangshujuziyuan.png" />
180
             <img src="./img/home/serve/hailiangshujuziyuan.png" />
181
             <div class="home_serve_item_title">海量数据资源</div>
181
             <div class="home_serve_item_title">海量数据资源</div>
182
             <div class="home_serve_item_stitle">
182
             <div class="home_serve_item_stitle">
183
               优质海量资源,教师不需要重新收集整理
183
               优质海量资源,教师不需要重新收集整理
184
             </div>
184
             </div>
185
           </div>
185
           </div>
186
-          <div class="home_serve_item">
186
+          <div class="home_serve_item translateY_30">
187
             <img src="./img/home/serve/jingzhunhuaxiang.png" />
187
             <img src="./img/home/serve/jingzhunhuaxiang.png" />
188
             <div class="home_serve_item_title">精准画像</div>
188
             <div class="home_serve_item_title">精准画像</div>
189
             <div class="home_serve_item_stitle">
189
             <div class="home_serve_item_stitle">
190
               全程采集教学数据,深度挖掘开发精准画像,指导师生发展
190
               全程采集教学数据,深度挖掘开发精准画像,指导师生发展
191
             </div>
191
             </div>
192
           </div>
192
           </div>
193
-          <div class="home_serve_item">
193
+          <div class="home_serve_item translateY_30">
194
             <img src="./img/home/serve/jiaoxueshujufenxi.png" />
194
             <img src="./img/home/serve/jiaoxueshujufenxi.png" />
195
             <div class="home_serve_item_title">教学数据分析</div>
195
             <div class="home_serve_item_title">教学数据分析</div>
196
             <div class="home_serve_item_stitle">
196
             <div class="home_serve_item_stitle">
197
               薄弱知识点,归纳错因,体现能力变化曲线,帮助学生针对性训练
197
               薄弱知识点,归纳错因,体现能力变化曲线,帮助学生针对性训练
198
             </div>
198
             </div>
199
           </div>
199
           </div>
200
-          <div class="home_serve_item">
200
+          <div class="home_serve_item translateY_30">
201
             <img src="./img/home/serve/zhihuipiyuejishu.png" />
201
             <img src="./img/home/serve/zhihuipiyuejishu.png" />
202
             <div class="home_serve_item_title">智慧批阅技术</div>
202
             <div class="home_serve_item_title">智慧批阅技术</div>
203
             <div class="home_serve_item_stitle">
203
             <div class="home_serve_item_stitle">
212
     <script src="./librarys/swiper@3.4.2/swiper.jquery.min.js"></script>
212
     <script src="./librarys/swiper@3.4.2/swiper.jquery.min.js"></script>
213
     <script src="../js/header.js"></script>
213
     <script src="../js/header.js"></script>
214
     <script src="./js/index.js"></script>
214
     <script src="./js/index.js"></script>
215
+    <script src="./js/transform.js"></script>
215
   </body>
216
   </body>
216
 </html>
217
 </html>

+ 6
- 0
js/transform.js View File

1
+$(function () {
2
+  setTimeout(function() {
3
+    $(".translateY_30").addClass("original_point");
4
+    $(".original_img").addClass("rotate_img");
5
+  }, 500);
6
+});

Loading…
Cancel
Save