周立森 5 年之前
父節點
當前提交
88c1264c92

+ 56
- 117
src/App.vue 查看文件

@@ -1,109 +1,34 @@
1 1
 <template>
2 2
   <div id="app">
3
-    <!-- <div>
4
-      <nav class="navbar navbar-default navbar-fixed-top app" :class="{ 'scroll': scrolled }">
5
-        <div class="container-fluid con">
6
-         
7
-          <div class="navbar-header">
8
-            <button type="button" class="navbar-toggle collapsed">
9
-              <span class="iconfont icon-caidan" @click="navdrawer = true"></span>
10
-            </button>
11
-           
12
-            <a class="navbar-brand" href="#">
13
-            
14
-              <div alt="Brand" class="logo"></div>
15
-            </a>
16
-          </div>
17
-
18
-          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
19
-            <ul class="nav navbar-nav navbar-right">
20
-            
21
-              <li class="a">
22
-                <a href="/">首页</a>
23
-              </li>
24
-              <li class="a">
25
-                <a href="/case">案例</a>
26
-              </li>
27
-              <li class="a">
28
-                <a href="/dynamic">动态</a>
29
-              </li>
30
-              <li class="a">
31
-                <a href="/about">关于</a>
32
-              </li>
33
-              <li class="a">
34
-                <a href="/contact">联系</a>
35
-              </li>
36
-            </ul>
37
-          </div>
38
-         
39
-        </div>
40
-     
41
-      </nav>
42
-    </div>
43
-    -->
44
-    <!-- <el-drawer :visible.sync="navdrawer" :show-close="true" size="80%">
45
-      <div>
46
-        <el-row style="text-align: center;">
47
-          <el-col :span="24">
48
-            <img src="./assets/image/mobile/Sidemenulogo.png" width="46%" class="logoimg" />
49
-          </el-col>
50
-          <el-col class="line"></el-col>
51
-          <el-col :span="24" class="a">
52
-            <a href="/" class="btn1">01 回到首页</a>
53
-          </el-col>
54
-
55
-          <el-col :span="24" class="a">
56
-            <a href="/case" class="btn1">02 案例展示</a>
57
-          </el-col>
58
-
59
-          <el-col :span="24" class="a">
60
-            <a href="/dynamic" class="btn1">03 动态分享</a>
61
-          </el-col>
62
-
63
-          <el-col :span="24" class="a">
64
-            <a href="/about" class="btn1">04 关于福予</a>
65
-          </el-col>
66
-
67
-          <el-col :span="24" class="a">
68
-            <a href="/contact" class="btn1">05 联系我们</a>
69
-          </el-col>
70
-
71
-          <el-col :span="24" class="a">
72
-            <button type="button" class="btn btn-default" @click="navdrawer = flase" style="color:black;font-size: 24px;">继续浏览</button>
73
-          </el-col>
74
-        </el-row>
75
-      </div>
76
-    </el-drawer> -->
77
-
78 3
     <div class="main">
79 4
       <router-view />
80 5
     </div>
81 6
     <div id="hide">
82 7
       <div class="coll">
83 8
         <div>
84
-          <div v-if="!current1" class="btn btn-default" role="button" @mouseenter="enter1()" style="position:fixed;right:0;bottom:306px;margin:0;padding:0;z-index: 3;">
85
-            <img src="./assets/image/联系我们.jpg" alt style="position:fixed;right:0;bottom:306px;margin:0;padding:0;z-index: 3;" />
9
+          <div v-if="!current1" class="btn btn-default back-top1" role="button" @mouseenter="enter1()">
10
+            <img src="./assets/image/联系我们.jpg" class="back-top1" />
86 11
           </div>
87
-          <div v-if="current1" class="btn btn-default" role="button" @click="open" @mouseenter.stop="enter1() " @mouseleave="leave1()" style="position:fixed;right:0;bottom:306px;margin:0;padding:0;z-index: 4;">
88
-            <img src="./assets/image/联系我们触发.png" @mouseleave="leave1()" alt style="position:fixed;right:0;bottom:306px;margin:0;padding:0;z-index: 4;" />
12
+          <div v-if="current1" class="btn btn-default back-top1" role="button" @click="open" @mouseenter.stop="enter1() " @mouseleave="leave1()">
13
+            <img src="./assets/image/联系我们触发.png" @mouseleave="leave1()" class="back-top1" />
89 14
           </div>
90 15
         </div>
91 16
       </div>
92 17
       <div class="coll">
93 18
         <div>
94
-          <a href="#" v-if="!current2" role="button" @mouseenter="enter2()" style="position:fixed;right:0;bottom:250px;margin:0;padding:0;z-index: 3;">
95
-            <img src="./assets/image/返回顶层.jpg" style="position:fixed;right:0;bottom:250px;margin:0;padding:0;z-index: 3;" />
19
+          <a class="back-top2" href="#" v-if="!current2" role="button" @mouseenter="enter2()">
20
+            <img src="./assets/image/返回顶层.jpg" class="back-top2" />
96 21
           </a>
97 22
         </div>
98 23
         <div>
99
-          <a class="back-top" href="#" v-if="current2" role="button" @mouseenter.stop="enter2()" @mouseleave="leave2()" style="position:fixed;right:0;bottom:250px;margin:0;padding:0;z-index: 4;">
100
-            <img src="./assets/image/返回顶层触发.jpg" style="position:fixed;right:0;bottom:250px;margin:0;padding:0;z-index: 4;" />
24
+          <a class="back-top2" href="#" v-if="current2" role="button" @mouseenter.stop="enter2()" @mouseleave="leave2()">
25
+            <img src="./assets/image/返回顶层触发.jpg" class="back-top2" />
101 26
           </a>
102 27
         </div>
103 28
       </div>
104 29
     </div>
105 30
     <div class="page-footer" style="background-color:#1b1b1b">
106
-      <p class="footer-p" style="color:rgb(255,255,255)">© 2019 All rights reserved.</p>
31
+      <p class="footer-p" style="color:rgb(255,255,255)">Copyright © 2019 All rights reserved.</p>
107 32
     </div>
108 33
   </div>
109 34
 </template>
@@ -220,47 +145,40 @@ p {
220 145
   /* padding: 0; */
221 146
   border: none;
222 147
 }
223
-.iconfont {
224
-  border: none;
225
-  font-size: 30px;
226
-}
227
-.iconfont:hover {
228
-  color: red;
229
-}
230 148
 
231
-@media (min-width: 768px) and (max-width: 992px) {
232
-  .con {
233
-    padding-left: 5vw !important;
234
-    padding-right: 5vw !important;
235
-  }
236
-  .logo {
237
-    margin-top: 0 !important;
238
-  }
239
-  .nav li {
240
-    margin-left: 0 !important;
241
-  }
242
-  .a {
243
-    font-size: 2.4rem !important;
244
-    margin-top: 0.5rem !important;
245
-    color: #000;
246
-    padding-left: 0px !important;
247
-    padding-right: 0px !important;
248
-  }
249
-}
149
+
150
+
151
+
152
+
250 153
 @media (min-width: 992px) {
251 154
   .coll {
252 155
     display: block;
253 156
   }
254 157
   .con {
255
-    padding-left: 10%;
256
-    padding-right: 10%;
158
+    padding-left: 9%;
159
+    padding-right: 9%;
160
+  }
161
+
162
+  .back-top1 {
163
+    position: fixed;
164
+    right: 0;
165
+    bottom: 256px;
166
+    margin: 0;
167
+    padding: 0;
168
+  }
169
+  .back-top2 {
170
+    position: fixed;
171
+    right: 0;
172
+    bottom: 200px;
173
+    margin: 0;
174
+    padding: 0;
257 175
   }
258 176
 
259 177
   .page-footer {
260
-    height: 120px;
178
+    height: 6.3vw;
261 179
   }
262 180
   .footer-p {
263
-    line-height: 120px;
181
+    line-height: 6.3vw;
264 182
     font-size: 20px;
265 183
     margin: 0;
266 184
   }
@@ -275,8 +193,6 @@ p {
275 193
 #hide {
276 194
   display: none;
277 195
 }
278
-
279
-
280 196
 </style>
281 197
 
282 198
 
@@ -328,7 +244,9 @@ p {
328 244
     );
329 245
     margin-bottom: 30px;
330 246
   }
331
- 
247
+  .footer-p{
248
+    margin:0;
249
+  }
332 250
 }
333 251
 @media (min-width: 768px) {
334 252
   .navbar {
@@ -392,4 +310,25 @@ p {
392 310
     // }
393 311
   }
394 312
 }
313
+@media (min-width: 992px) and (max-width: 1200px) {
314
+  .back-top1 {
315
+    position: fixed;
316
+    right: 0;
317
+    bottom: 156px !important;
318
+    margin: 0;
319
+    padding: 0;
320
+    z-index: 3;
321
+  }
322
+  .back-top2 {
323
+    position: fixed;
324
+    right: 0;
325
+    bottom: 100px !important;
326
+    margin: 0;
327
+    padding: 0;
328
+    z-index: 3;
329
+  }
330
+}
331
+
332
+
333
+
395 334
 </style>

+ 33
- 52
src/components/Business.vue 查看文件

@@ -19,19 +19,15 @@
19 19
         <div class="swiper-button-next"></div>
20 20
       </div>
21 21
     </div>
22
-    <br />
23
-    <br />
24
-
22
+    
25 23
     <div v-if="!show" class="row st">
26 24
       <div class="col-xs-6 col-md-3 sw" v-for="(item,index) in service" :key="index">
27 25
         <img :src="item.serviceImageUrl" width="100%" height="100%" alt="..." />
28 26
         <div class>
29 27
           <h4>{{item.serviceName}}</h4>
30
-                  <p class="text-left business-text" v-for="(items,index) in item.serviceLabelList" :key="index">{{items.labelName}}</p>
28
+          <p class="text-left business-text" v-for="(items,index) in item.serviceLabelList" :key="index">{{items.labelName}}</p>
31 29
         </div>
32 30
       </div>
33
-
34
-
35 31
     </div>
36 32
   </div>
37 33
 </template>
@@ -67,14 +63,7 @@ export default {
67 63
           slidesPerView: 4,
68 64
           // slidesPerGroup: 1,
69 65
           spaceBetween: 40,
70
-          // virtualTranslate: true,
71
-          // centeredSlides: true,
72
-          // watchSlidesProgress: true,
73
-
74
-          // direction :horizontal,
75
-          // slidesPerView : 4,
76 66
 
77
-          // 如果需要前进后退按钮
78 67
 
79 68
           navigation: {
80 69
             nextEl: '.swiper-button-next',
@@ -93,32 +82,6 @@ export default {
93 82
   },
94 83
 
95 84
 
96
-  // watch: {
97
-  //     config: {
98
-  //       handler (nw) {
99
-  //         this.initShare(nw || {})
100
-  //       },
101
-  //       immediate: true,
102
-  //       deep: true,
103
-  //     }
104
-  //   },
105
-  //   mounted () {
106
-  //     this.initShare(this.config || {})
107
-  //   },
108
-
109
-  //   methods: {
110
-  //     initShare (config = {}) {
111
-  //       const options = {
112
-  //         ...this.defautlOpt,
113
-  //         ...config,
114
-  //       }
115
-
116
-  //       if (this.$el && options.title) {
117
-  //         window.socialShare(this.$el, options)
118
-  //       }
119
-  //     }
120
-  //   }
121
-
122 85
 
123 86
 
124 87
 
@@ -136,14 +99,14 @@ export default {
136 99
 
137 100
 
138 101
     }).then(con => {
139
-      console.log(con, "124")
102
+      // console.log(con, "124")
140 103
       this.service = con;
141 104
 
142 105
       this.show = this.service.length > 4 ? true : false;
143
-      if(this.show){
144
-      window.setTimeout(() => this.initSwiper(), 0)
145
-}
146
-      console.log(this.service.length, "111111111")
106
+      if (this.show) {
107
+        window.setTimeout(() => this.initSwiper(), 0)
108
+      }
109
+      // console.log(this.service.length, "111111111")
147 110
       // window.console.log(this.service, "543");
148 111
     })
149 112
 
@@ -158,6 +121,9 @@ export default {
158 121
 
159 122
 
160 123
 <style scoped>
124
+.col-xs-6{
125
+  padding: 0px;
126
+}
161 127
 @media (max-width: 992px) {
162 128
   .business-text {
163 129
     display: none;
@@ -176,9 +142,11 @@ export default {
176 142
   .st {
177 143
     margin-bottom: 20px !important;
178 144
     padding: 0 1% !important;
145
+    
179 146
   }
180 147
   .sw {
181
-    padding: 2% !important;
148
+   padding-left: 2% !important;
149
+    padding-right: 2% !important;
182 150
   }
183 151
 }
184 152
 
@@ -231,7 +199,8 @@ export default {
231 199
     position: relative;
232 200
   }
233 201
 
234
-  p {line-height: 1.6em;
202
+  p {
203
+    line-height: 1.6em;
235 204
     font-size: 2.2rem;
236 205
     padding-bottom: 0;
237 206
     margin: 0px;
@@ -251,15 +220,15 @@ export default {
251 220
     letter-spacing: 3px;
252 221
   }
253 222
   .sw {
254
-    padding: 33px;
223
+    padding-left: 2%;
224
+    padding-right: 2%;
255 225
   }
256
-
257
-  
258 226
 }
259 227
 .st {
260
-  padding-left: 10%;
261
-  padding-right: 10%;
228
+  padding-left: 9%;
229
+  padding-right: 9%;
262 230
   margin: 0;
231
+  
263 232
 }
264 233
 </style>
265 234
 
@@ -270,8 +239,20 @@ export default {
270 239
     padding: 0 20px;
271 240
 
272 241
     .sw {
273
-      padding: 20px;
242
+      padding: 2vw;
274 243
     }
275 244
   }
276 245
 }
246
+@media (min-width: 992px) and (max-width: 1550px) {
247
+  h4 {
248
+    font-size: 1.7rem;
249
+    line-height: 30px;
250
+    margin: 0 0 10px;
251
+  }
252
+  p {
253
+    line-height: 1.3em !important;
254
+
255
+    font-size: 1.7rem;
256
+  }
257
+}
277 258
 </style>

+ 47
- 7
src/components/CaseCard.vue 查看文件

@@ -1,11 +1,14 @@
1 1
 <template>
2
-  <el-card class="case-card app" shadow="hover" :body-style="{ padding: '0px' }" style=" padding: 0px">
2
+<div class="hover">
3
+  <el-card class="case-card app" shadow="never" :body-style="{ padding: '0px' }" style=" padding: 0px">
3 4
     <img :style="{background: `url(${thumb})`}" class="image" />
4 5
     <div class="body">
5 6
       <h3>{{title}}</h3>
6 7
       <div class="bottom clearfix caption">{{caption}}</div>
7 8
     </div>
8 9
   </el-card>
10
+  <!-- shadow="hover" -->
11
+  </div>
9 12
 </template>
10 13
 
11 14
 <script>
@@ -24,7 +27,8 @@ export default {
24 27
   .case-card {
25 28
     width: 100%;
26 29
     padding: 0;
27
-  
30
+    border-radius: 0px;
31
+    border: none;
28 32
     .image {
29 33
       bottom: 0;
30 34
       width: 100%;
@@ -33,7 +37,7 @@ export default {
33 37
       padding-bottom: 66%;
34 38
       background-size: 100% 100% !important;
35 39
     }
36
- 
40
+
37 41
     .body {
38 42
       padding: 1.5rem;
39 43
       text-align: left;
@@ -45,18 +49,24 @@ export default {
45 49
         font-size: 3rem;
46 50
         color: #000;
47 51
         line-height: 1.2em;
48
-        
49 52
       }
50
- text-decoration: none !important;
53
+      text-decoration: none !important;
51 54
       .caption {
52
-        font-size: 2.0rem;
55
+        font-size: 2rem;
53 56
         color: #727171;
54
-        
57
+
55 58
         line-height: 1.2em;
56 59
         margin-top: 6px;
57 60
       }
58 61
     }
59 62
   }
63
+  .hover:hover{
64
+  .case-card{
65
+    margin-top: -20px; 
66
+     margin-bottom: 20px;
67
+    box-shadow:0px 0px 16px 5px rgba(0,0,0,0.12);
68
+  }
69
+  }
60 70
 }
61 71
 
62 72
 @media (max-width: 992px) {
@@ -94,4 +104,34 @@ export default {
94 104
     }
95 105
   }
96 106
 }
107
+@media (min-width: 992px) and (max-width: 1500px) {
108
+  .case-card {
109
+    .body {
110
+      padding: 1.05rem;
111
+      text-align: left;
112
+
113
+      h3 {
114
+        margin: 0;
115
+        padding: 0;
116
+
117
+        font-size: 2.1rem;
118
+
119
+        line-height: 0.84em;
120
+      }
121
+      text-decoration: none !important;
122
+      .caption {
123
+        font-size: 1.4rem;
124
+
125
+        line-height: 0.84em;
126
+        margin-top: 4.2px;
127
+      }
128
+    }
129
+  }
130
+   .hover:hover{
131
+  .case-card{
132
+    margin-top: -10px; 
133
+    margin-bottom: 10px; 
134
+    box-shadow:0px 0px 10px 3px rgba(0,0,0,0.12);
135
+  }
136
+}}
97 137
 </style>

+ 45
- 78
src/components/ClickContact.vue 查看文件

@@ -2,28 +2,32 @@
2 2
   <div class="clickcontact app">
3 3
     <div class="contact-1">
4 4
       <div class="contact-main">
5
-        <h1 style="margin-bottom:70px">联系我们</h1>
5
+        <h1 style="">联系我们</h1>
6 6
 
7 7
         <div class="row">
8 8
           <div class="col-md-6 col-xs-6 st1" style="border-right: 1px solid #aaa;">
9
-            <img class="img1" src="../assets/image/contact/weixin.jpg" />
10
-            <div>
11
-              <h2>微信咨询</h2>
9
+            <div class="pull-right1">
10
+              <img class="img1" src="../assets/image/contact/weixin.jpg" style="weight:100%" />
11
+              <div class="caption">
12
+                <h2>微信咨询</h2>
13
+              </div>
12 14
             </div>
13 15
           </div>
14 16
 
15 17
           <div class="col-md-6 col-xs-6 st2">
16
-            <img class="img1" src="../assets/image/contact/QQ.jpg" />
17
-            <div>
18
-              <h2>QQ咨询</h2>
18
+             <div class="pull-left1">
19
+              <img class="img1" src="../assets/image/contact/QQ.jpg" style="weight:100%" />
20
+              <div class="caption">
21
+                <h2>QQ咨询</h2>
22
+              </div>
19 23
             </div>
20 24
           </div>
21 25
         </div>
22 26
 
23 27
         <div>
24
-          <a href="tel:13585167730">
25
-            <img src="../assets/image/contact/photo.jpg" alt style="padding-top:100px;width:100%" />
26
-          </a>
28
+         
29
+            <img src="../assets/image/contact/photo.jpg" alt style="width:100%" />
30
+         
27 31
         </div>
28 32
       </div>
29 33
     </div>
@@ -32,54 +36,33 @@
32 36
 
33 37
 
34 38
 <style>
35
-
36 39
 </style>
37 40
 
38 41
 
39
-<style scoped>
40
-.clickcontact{
41
-  color: #000;
42
-}
42
+<style lang="less" scoped>
43 43
 
44
-/* .contact-box {
45
-  width: 80%;
46
-  margin: 0 auto - 120px;
47
-  
48
-  .contact-main {
49
-    width: 704px;
50
-    text-align: center;
51
-  }
52 44
 
53
-  .col-xs-6 {
54
-    &:last-child {
55
-      float: right;
56
-    }
57
-
58
-    & + .col-xs-6 {
59
-      
60
-    }
61
-  }
62
-
63
-} */
45
+.clickcontact {
46
+  
47
+  color: #000;
48
+}
64 49
 
65 50
 
66 51
 
67 52
 @media (min-width: 992px) {
68 53
   .contact-1 {
69
-    
70
-    padding: 50px;
71
-  
72
-
73 54
     background-color: #fff;
74 55
     display: inline-block;
75 56
     border-radius: 0;
76
- 
57
+  }
58
+  h1{
59
+    font-size: 3.6rem;
60
+    margin-bottom: 40px;
77 61
   }
78 62
 
79 63
   .contact-1 .contact-main {
80 64
     width: 707px;
81 65
     margin: 0 auto;
82
-    padding-top: 20px;
83 66
   }
84 67
   .st1 {
85 68
     padding-right: 120px;
@@ -95,50 +78,34 @@
95 78
 h2 {
96 79
   margin-bottom: -22px;
97 80
 }
98
-
99
-/* .contact {
100
-    padding-top: 116px;
101
-  }
102
-
103
-
81
+@media (min-width: 992px) and (max-width: 1551px) {
104 82
   .contact-1 {
105 83
     width: 80%;
106
-    padding: 50px;
107
-    margin-top: -120px;
108
-
109
-    background-color: #fff;
110
-    display: inline-block;
111
-    border-radius: 0;
112
-    border: 1px solid #dcdcdc;
84
+    padding: 30px 16px 63px;
85
+    margin-top: -85px;
113 86
   }
114
-  .contact-2 {
115
-    padding: 98px 98px 27px 98px;
116
- 
87
+  .border-bottom {
88
+    font-size: 20px;
89
+    border-bottom: 1px solid #bfbfbf;
90
+    padding: 0px;
117 91
   }
118
-  .st {
119
-    padding: 0 100px;
92
+  h1{
93
+    font-size: 2.52rem;
120 94
   }
121
-  
122
-  
123
-  .img1{
124
-    width: 100%;
125
-
95
+  h2{
96
+    font-size: 2.1rem
126 97
   }
127
-
128
-  
129
-
130
-  .contact-1 > div {
131
-    width: 704px;
132
-    margin: 0 auto;
98
+.address {
99
+    .p1 {
100
+      padding-top: 70px;
101
+      font-size: 2.52rem;
102
+    }
103
+    .p2 {
104
+      font-size: 2.1rem;
105
+      padding-top: 12px;
106
+    }
133 107
   }
108
+}
109
+ 
134 110
 
135
-
136
-  @media (max-width: 768px) {
137
-    
138
-  .contact-1 > div {
139
-    width: 222px;
140
-    margin: 0 auto;
141
-  }
142
-    
143
-  } */
144 111
 </style>

+ 51
- 21
src/components/Navbars.vue 查看文件

@@ -8,7 +8,7 @@
8 8
               <span class="iconfont icon-caidan" @click="navdrawer = true"></span>
9 9
             </button>
10 10
 
11
-            <a class="navbar-brand" href="#">
11
+            <a class="navbar-brand" href="/">
12 12
               <div alt="Brand" class="logo"></div>
13 13
             </a>
14 14
           </div>
@@ -18,17 +18,18 @@
18 18
               <li class="a">
19 19
                 <a href="/">首页</a>
20 20
               </li>
21
+              <!-- class="case" class-active="" -->
21 22
               <li class="a">
22
-                <a href="/case">案例</a>
23
+                <a href="/case"  :class="{linkactive:'/case'==routepath}">案例</a>
23 24
               </li>
24 25
               <li class="a">
25
-                <a href="/dynamic">动态</a>
26
+                <a href="/Share" :class="{linkactive:'/Share/'==routepath}">动态</a>
26 27
               </li>
27 28
               <li class="a">
28
-                <a href="/about">关于</a>
29
+                <a href="/about" :class="{linkactive:'/about'==routepath}">关于</a>
29 30
               </li>
30 31
               <li class="a">
31
-                <a href="/contact">联系</a>
32
+                <a href="/contact" :class="{linkactive:'/contact'==routepath}">联系</a>
32 33
               </li>
33 34
             </ul>
34 35
           </div>
@@ -44,27 +45,27 @@
44 45
           </el-col>
45 46
           <el-col class="line"></el-col>
46 47
           <el-col :span="24" class="a">
47
-            <a href="/" class="btn1">01 回到首页</a>
48
+            <a href="/" class="btn1" :class="{moblinkactive:'/'==routepath}">01 回到首页</a>
48 49
           </el-col>
49 50
 
50 51
           <el-col :span="24" class="a">
51
-            <a href="/case" class="btn1">02 案例展示</a>
52
+            <a href="/case" class="btn1" :class="{moblinkactive:'/case'==routepath}">02 案例展示</a>
52 53
           </el-col>
53 54
 
54 55
           <el-col :span="24" class="a">
55
-            <a href="/dynamic" class="btn1">03 动态分享</a>
56
+            <a href="/Share" class="btn1" :class="{moblinkactive:'/Share/'==routepath}">03 动态分享</a>
56 57
           </el-col>
57 58
 
58 59
           <el-col :span="24" class="a">
59
-            <a href="/about" class="btn1">04 关于福予</a>
60
+            <a href="/about" class="btn1" :class="{moblinkactive:'/about'==routepath}">04 关于福予</a>
60 61
           </el-col>
61 62
 
62 63
           <el-col :span="24" class="a">
63
-            <a href="/contact" class="btn1">05 联系我们</a>
64
+            <a href="/contact" class="btn1" :class="{moblinkactive:'/contact'==routepath}">05 联系我们</a>
64 65
           </el-col>
65 66
 
66 67
           <el-col :span="24" class="a">
67
-            <button type="button" class="btn btn-default" @click="navdrawer = flase" style="color:black;font-size: 24px;">继续浏览</button>
68
+            <button type="button" class="btn btn-default rebtn" @click="navdrawer = flase" style="color:black;font-size: 24px;">继续浏览</button>
68 69
           </el-col>
69 70
         </el-row>
70 71
       </div>
@@ -79,13 +80,18 @@ export default {
79 80
   data () {
80 81
     return {
81 82
       scrolled: false,
82
-      
83
-    
83
+
84
+
84 85
       navdrawer: false,
85 86
       direction: 'rtl',
87
+
88
+      routepath:'',
86 89
     }
87 90
   },
88
-
91
+ mounted () {
92
+         this.routepath  =  this.$route.path;
93
+         console.log(this.routepath);
94
+  },
89 95
 
90 96
 
91 97
 
@@ -106,8 +112,7 @@ p {
106 112
 </style>
107 113
 
108 114
 <style scoped>
109
-
110
-
115
+.icon-caidan
111 116
 .coll {
112 117
   display: none;
113 118
 }
@@ -116,12 +121,20 @@ p {
116 121
   /* padding: 0; */
117 122
   border: none;
118 123
 }
124
+.navbar-default .navbar-toggle:hover {
125
+    background-color: none;
126
+}
127
+
128
+/* .navbar-toggle:hover{
129
+background-color: none;
130
+padding-bottom: 0px
131
+} */
119 132
 .iconfont {
120 133
   border: none;
121 134
   font-size: 30px;
122 135
 }
123 136
 .iconfont:hover {
124
-  color: red;
137
+  color:#e03723;
125 138
 }
126 139
 
127 140
 @media (min-width: 768px) and (max-width: 992px) {
@@ -148,8 +161,8 @@ p {
148 161
     display: block;
149 162
   }
150 163
   .con {
151
-    padding-left: 10%;
152
-    padding-right: 10%;
164
+    padding-left: 9%;
165
+    padding-right: 9%;
153 166
   }
154 167
 
155 168
   .page-footer {
@@ -225,11 +238,11 @@ p {
225 238
     border: none !important;
226 239
   }
227 240
   .btn1:hover {
228
-    color: red !important;
241
+    color: #e03723 !important;
229 242
     text-decoration: none;
230 243
   }
231 244
   .btn1:active {
232
-    color: red !important;
245
+    color: #e03723 !important;
233 246
     text-decoration: none;
234 247
   }
235 248
 }
@@ -246,6 +259,8 @@ p {
246 259
     z-index: 50;
247 260
     height: 116px;
248 261
     margin: 0;
262
+    -moz-box-shadow: 0px 2px 5px #888888; /* 老的 Firefox */
263
+    box-shadow: 0px 2px 5px #888888;
249 264
 
250 265
     .navbar-brand {
251 266
       padding: 0;
@@ -257,6 +272,7 @@ p {
257 272
 
258 273
     .nav {
259 274
       font-size: 2.6rem;
275
+      margin-top: 5px;
260 276
       li {
261 277
         margin-left: 2vw;
262 278
         a {
@@ -299,4 +315,18 @@ p {
299 315
     // }
300 316
   }
301 317
 }
318
+.linkactive{
319
+  border-bottom: 3px solid #000;
320
+}
321
+.moblinkactive{
322
+  color:#e03723 !important;
323
+}
324
+.rebtn{
325
+  border-radius: 0px;
326
+}
327
+.rebtn:hover{
328
+  color: #e03723 !important;
329
+    border: 1px solid #e03723;
330
+    background: #fff;
331
+}
302 332
 </style>

+ 21
- 2
src/components/Share.vue 查看文件

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div class="social-share" data-initialized="true" style="display: contents;">
3
-    <a href="#" class="social-share-icon icon-wechat" >
3
+    <a href="#" class="social-share-icon icon-wechat">
4 4
       <img src="../assets/image/case2/微信icon.png" class="share" alt />
5 5
     </a>
6 6
     <a href="#" class="social-share-icon icon-weibo">
@@ -80,7 +80,7 @@ export default {
80 80
 }
81 81
 
82 82
 @media (max-width: 992px) {
83
- .social-share .social-share-icon {
83
+  .social-share .social-share-icon {
84 84
     border: none;
85 85
     height: 26px;
86 86
     width: 26px;
@@ -97,4 +97,23 @@ export default {
97 97
     }
98 98
   }
99 99
 }
100
+@media (min-width: 992px) and (max-width: 1550px) {
101
+  .social-share .social-share-icon {
102
+    border: none;
103
+    height: 36px;
104
+    width: 36px;
105
+    margin-top: -4px;
106
+  }
107
+  .social-share {
108
+    a {
109
+      &:before {
110
+        content: none;
111
+      }
112
+      .share {
113
+        width: 36px;
114
+        height: 36px;
115
+      }
116
+    }
117
+  }
118
+}
100 119
 </style>

+ 8
- 20
src/components/Wheelplanting.vue 查看文件

@@ -2,23 +2,11 @@
2 2
   <div class="wheelplanting">
3 3
     <div class="swiper-container con-swiper">
4 4
       <div class="swiper-wrapper">
5
-        <!-- <div class="col-md-2 col-xs-2" v-for="(item,index) in blogs" :key="index+'img'">
6
-            <img  :src="item.logoImg" alt class="ph-logo" />
7
-        </div>-->
8
-        <!-- <div v-for="item in blogs" :key="item">
9
-          <div class="swiper-slide">
10
-            <img :src="item.imageUrl" width="100%" height="" alt />
11
-          </div>
12
-        </div>-->
5
+        
13 6
         <div class="swiper-slide" v-for="(url,index) in blogs" :key="index+'url'">
14 7
           <img :src="url.imageUrl" width="100%" height="100%" />
15 8
         </div>
16
-        <!-- <div class="swiper-slide">
17
-          <img src="http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1566890344965.png?Expires=1568717732&OSSAccessKeyId=LTAIkc75dpkJw8Lb" width="100%" height="100%" />
18
-        </div>
19
-        <div class="swiper-slide">
20
-          <img src="http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1566890344965.png?Expires=1568717732&OSSAccessKeyId=LTAIkc75dpkJw8Lb" width="100%" height="100%" />
21
-        </div>-->
9
+       
22 10
       </div>
23 11
       <div class="swiper-pagination"></div>
24 12
     </div>
@@ -63,16 +51,19 @@ export default {
63 51
       if (!this.swiper) {
64 52
         this.swiper = new Swiper(".con-swiper", {
65 53
           // loop:true,
66
-          // autoplay: true,
54
+          autoplay: true,
67 55
           direction: this.direction || 'horizontal',
68 56
           observer: true,
69 57
           observeSlideChildren: true,
58
+          preloadImages:true,
59
+          updateOnImagesReady : true,
70 60
 
71 61
           pagination: {
72 62
             el: '.swiper-pagination',
73 63
             bulletClass : 'swiper-pagination-bullet',
74 64
             bulletActiveClass: 'my-bullet-active',
75
-            hideOnClick: true,
65
+            // hideOnClick: true,
66
+             clickable :true,
76 67
          
77 68
           }
78 69
         });
@@ -106,11 +97,8 @@ export default {
106 97
     margin: 8px 10vw 7px 0;
107 98
     display: block;
108 99
 }
109
-.swiper-pagination-bullet{
110 100
 
111
- /* margin:7px 0 7px -40px !important; 
112
- z-index: 60 !important; */
113
-}
101
+
114 102
 
115 103
 .my-bullet-active{
116 104
   background: #fff;

+ 1
- 1
src/router.js 查看文件

@@ -29,7 +29,7 @@ export default new Router({
29 29
       component: () => import(/* webpackChunkName: "case" */ './views/Case.vue')
30 30
     },
31 31
     {
32
-      path: '/dynamic',
32
+      path: '/Share',
33 33
       name: 'dynamic',
34 34
       // route level code-splitting
35 35
       // this generates a separate chunk (about.[hash].js) for this route

+ 65
- 14
src/views/About.vue 查看文件

@@ -1,6 +1,5 @@
1 1
 <template>
2 2
   <div class="about">
3
-
4 3
     <Navbars></Navbars>
5 4
     <div class>
6 5
       <img src="../assets/image/about/aboutbanner.jpg" width="100%" />
@@ -17,7 +16,7 @@
17 16
             <br />
18 17
             <div class>
19 18
               <div class="abc">
20
-                <img src="../assets/image/about/FOYO.jpg" style="width:100%" />
19
+                <img src="../assets/image/about/FOYO.jpg" style="width:60vw" />
21 20
               </div>
22 21
             </div>
23 22
           </div>
@@ -150,16 +149,16 @@
150 149
 import Navbars from '../components/Navbars'
151 150
 
152 151
 export default {
153
-name: 'about',
154
- data () {},
152
+  name: 'about',
153
+  data () { },
155 154
   components: {
156
-   
155
+
157 156
     Navbars,
158 157
   },
159 158
 
160
- 
161 159
 
162
-  
160
+
161
+
163 162
 
164 163
 
165 164
 }
@@ -183,10 +182,10 @@ name: 'about',
183 182
     padding: 20px 20px;
184 183
   }
185 184
   .about-1 {
186
-    border-top: 2px solid #e5e5e5;
185
+    border-top: 1px solid #e5e5e5;
187 186
     padding-top: 30px;
188 187
     padding-bottom: 30px;
189
-    border-bottom: 2px solid #e5e5e5;
188
+    border-bottom: 1px solid #e5e5e5;
190 189
   }
191 190
 
192 191
   .teamh1 {
@@ -207,7 +206,7 @@ name: 'about',
207 206
     margin-top: -120px;
208 207
 
209 208
     background-color: #fff;
210
-    border: 2px solid #dcdcdc;
209
+    border: 1px solid #dcdcdc;
211 210
     display: inline-block;
212 211
     border-radius: 0; /*去圆角 */
213 212
   }
@@ -236,12 +235,12 @@ name: 'about',
236 235
   }
237 236
 
238 237
   .abc {
239
-    border-bottom: 2px solid #e5e5e5;
238
+    border-bottom: 1px solid #e5e5e5;
240 239
   }
241 240
   .about-1 {
242 241
     margin: 0 79px;
243 242
     padding: 78px 0 84px 0;
244
-    border-bottom: 2px solid #e5e5e5;
243
+    border-bottom: 1px solid #e5e5e5;
245 244
   }
246 245
 
247 246
   .ph5 {
@@ -330,8 +329,8 @@ name: 'about',
330 329
       margin-top: 20px;
331 330
       div {
332 331
         .about-ph1 {
333
-          margin-left: 10px;
334
-          margin-right: 10px;
332
+          margin-left: 9px;
333
+          margin-right: 9px;
335 334
           float: left;
336 335
           width: 120px;
337 336
         }
@@ -366,5 +365,57 @@ name: 'about',
366 365
     }
367 366
   }
368 367
 }
368
+@media (min-width: 992px) and (max-width: 1550px) {
369
+  .st {
370
+    width: 80%;
371
+    padding: 67px 16px 63px;
372
+    margin-top: -85px;
373
+    background-color: #fff;
374
+    border: 1px solid #dcdcdc;
375
+    display: inline-block;
376
+    border-radius: 0;
377
+  }
378
+  .text-left {
379
+    font-size: 1.7rem;
380
+  }
381
+  .h1 {
382
+    padding-top: 34px;
383
+    font-size: 3rem;
384
+  }
385
+  h2 {
386
+    padding-bottom: 21px;
387
+    font-size: 2.1rem;
388
+  }
389
+  .p1 {
390
+    font-size: 1.5rem;
391
+  }
392
+  .col-md-6 {
393
+    padding: 0;
394
+  }
395
+  .about-1 {
396
+    padding: 50px 0 60px 0;
397
+  }
398
+  .teamp1 {
399
+    font-size: 1.1vw;
400
+    margin-bottom: 14px;
401
+  }
402
+  .about-3 {
403
+    padding-top: 70px;
404
+    padding-left: 40px;
405
+    padding-right: 40px;
406
+  }
407
+  .abc {
408
+
409
+   
410
+    padding-bottom: 60px;
411
+
412
+}
413
+.about-1-img {
414
+
415
+    width: 140px;
416
+    height: 140px;
417
+
418
+}
419
+}
369 420
 </style>
370 421
 

+ 80
- 27
src/views/Case.vue 查看文件

@@ -8,8 +8,8 @@
8 8
 
9 9
     <div class="border-bottom comtype">
10 10
       <div>
11
-        <button type="button" class="btn1 btn-link app" style="color:black;font-size: 24px;padding: 25px" @click="() => filterCase()">全部案例</button>
12
-        <button v-for="cas in casetype" :key="cas.id" @click="() => filterCase(cas)" type="button" class="btn1 btn-link app" style="color:black;font-size: 24px;padding: 25px">{{cas.typeName}}</button>
11
+        <button type="button" class="btn1 btn-link app" @click="() => filterCase()" :class="{btnactive:thisbtn==''}">全部案例</button>
12
+        <button v-for="cas in casetype" :key="cas.id" @click="() => filterCase(cas)" type="button" class="btn1 btn-link app" :class="{btnactive:thisbtn==cas.typeName}">{{cas.typeName}}</button>
13 13
       </div>
14 14
     </div>
15 15
 
@@ -20,21 +20,22 @@
20 20
         </div>
21 21
       </div>
22 22
       <div class="col-xs-6">
23
-        <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="margin-left: 16px;">{{currentTypeName}}</el-button>
23
+        <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="margin-left: 16px;width:140px;padding-left:0;padding-right:0">{{currentTypeName}}</el-button>
24 24
       </div>
25 25
     </div>
26
+
26 27
     <el-drawer :visible.sync="drawer" :direction="direction" :show-close="true" size="80%">
27 28
       <div>
28 29
         <el-row style="text-align: center;">
29 30
           <el-col :span="24">
30
-            <button type="button" @click="() => filterCase()" class="btn-link" style="color:black;font-size: 24px;">全部案例</button>
31
+            <button type="button" @click="() => filterCase()" class="btn-link" style="color:black;font-size: 24px;" :class="{btnactive:thisbtn==''}">全部案例</button>
31 32
           </el-col>
32 33
           <el-col :span="24" v-for="cas in casetype" :key="cas.id">
33 34
             <!-- @click="() => filterCase(cas)" -->
34
-            <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px">{{cas.typeName}}</button>
35
+            <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px" :class="{btnactive:thisbtn==cas.typeName}">{{cas.typeName}}</button>
35 36
           </el-col>
36 37
           <el-col :span="24">
37
-            <button type="button" class="btn btn-default" @click="drawer = flase" style="color:black;font-size: 24px;padding-left: 40px;padding-right: 40px; margin-top:30px">返回</button>
38
+            <button type="button" class="btn btn-default rebtn" @click="drawer = flase" style="color:black;font-size: 24px;padding-left: 40px;padding-right: 40px; margin-top:30px">返回</button>
38 39
           </el-col>
39 40
         </el-row>
40 41
       </div>
@@ -42,7 +43,7 @@
42 43
 
43 44
     <div class="contanier center-block dyn-main">
44 45
       <div class="row">
45
-        <div class="col-md-6 col-xs-6" v-for="(item,index) in caselist" :key="index" :class="{ marginTP: index > 1 }">
46
+        <div class="col-md-6 col-xs-6 cards" v-for="(item,index) in caselist" :key="index" :class="{ marginTP: index > 1 }">
46 47
           <router-link :to="{ name: 'details', params: { id: item.id }}" class="routelink">
47 48
             <case-card :thumb="item.caseCoverImg" :title="item.caseTitle" :caption="item.caseSummary" class="casecard"></case-card>
48 49
           </router-link>
@@ -52,7 +53,7 @@
52 53
     <!--  -->
53 54
     <div style="margin-top:40px">
54 55
       <button type="button" v-if="!allLoaded" class="btn btn-default" @click="more">加载更多</button>
55
-      <p v-else>已经到底了~更多案例请期待~</p>
56
+      <p v-else>已经到底了~更多案例请期待~</p>
56 57
     </div>
57 58
   </div>
58 59
 </template>
@@ -77,7 +78,7 @@ export default {
77 78
       cover: {},
78 79
       casetype: [],
79 80
       caselist: [],
80
-
81
+      thisbtn: '',
81 82
       conditions: {
82 83
         pageNum: 0,
83 84
         pageSize: 8,
@@ -154,11 +155,12 @@ export default {
154 155
     },
155 156
 
156 157
     filterCase (caseType) {
158
+      // console.log(caseType.typeName)
157 159
       this.currentTypeName = caseType ? caseType.typeName : '全部案例'
158 160
 
159 161
       this.getCaseList({ pageNum: 1, caseType: caseType ? caseType.id : '' })
160 162
       this.drawer = false;
161
-
163
+      this.thisbtn = caseType ? caseType.typeName : ''
162 164
     },
163 165
   }
164 166
 
@@ -171,28 +173,34 @@ export default {
171 173
   text-decoration: none;
172 174
 }
173 175
 
174
-.casecard {
176
+.mobtype {
177
+  padding: 0;
178
+  margin-top: 10px;
179
+}
180
+
181
+/* .casecard {
175 182
   width: 100%;
176 183
 
177 184
   padding-bottom: 100%;
178
-  background-size: 100% 100% !important;
179
-  /* position: relative; */
185
+  background-size: 100% 100% !important; */
186
+/* position: relative; */
180 187
 
181
-  margin: 0;
182
-}
188
+/* margin: 0;
189
+} */
183 190
 
184 191
 .border-bottom {
185 192
   /* display: none; */
186 193
   border-bottom: 1px solid #bfbfbf;
187
-  margin-top: 10px !important;
194
+  margin-top: 10px;
188 195
 }
189 196
 .btn1 {
190
-  font-size: 24px !important;
191
-  color: black !important;
192
-  border: none !important;
197
+  font-size: 24px;
198
+  padding: 25px;
199
+  color: black;
200
+  border: none;
193 201
 }
194 202
 .btn1:hover {
195
-  color: red !important;
203
+  color: #e03723;
196 204
   text-decoration: none;
197 205
 }
198 206
 .mobbtn {
@@ -229,15 +237,21 @@ export default {
229 237
   }
230 238
   .dyn-main {
231 239
     margin-top: 20px;
232
-    padding-left: 15px;
233
-    padding-right: 15px;
240
+
241
+     padding-left: 1.6vw;
242
+    padding-right: 1.6vw;
243
+  }
244
+  .marginTP {
245
+    margin-top: 3.2vw;
246
+  }
247
+  .cards{
248
+    padding-left: 1.6vw;
249
+    padding-right: 1.6vw;
234 250
   }
235 251
 }
236 252
 .row {
237
-  margin: 0;
238
-}
239
-.marginTP {
240
-  margin-top: 3rem;
253
+  margin-left: 0;
254
+  margin-right: 0;
241 255
 }
242 256
 
243 257
 @media (min-width: 992px) {
@@ -249,6 +263,9 @@ export default {
249 263
     /* flex-flow: <flex-direction> <flex-wrap>; */ /*简写*/
250 264
     justify-content: center;
251 265
   }
266
+  .marginTP {
267
+    margin-top: 3rem;
268
+  }
252 269
   .case {
253 270
     margin-top: 116px;
254 271
     margin-bottom: -116px;
@@ -290,4 +307,40 @@ export default {
290 307
   outline: none;
291 308
   text-decoration: none;
292 309
 }
293
-</style>
310
+.mobtype {
311
+  padding: 0;
312
+  margin-top: 10px;
313
+}
314
+
315
+@media (min-width: 992px) and (max-width: 1550px) {
316
+  .btn1 {
317
+    font-size: 20px;
318
+    padding: 21px;
319
+  }
320
+  .border-bottom {
321
+    padding: 0;
322
+    margin-top: 0px;
323
+  }
324
+
325
+  .btn {
326
+    padding: 9px 105px;
327
+    font-size: 17px;
328
+    margin-top: 28px;
329
+  }
330
+}
331
+.btnactive {
332
+  color: #e03723 !important;
333
+}
334
+.rebtn {
335
+  border-radius: 0px;
336
+}
337
+.rebtn:hover {
338
+  color: #e03723 !important;
339
+  border: 1px solid #e03723;
340
+  background: #fff;
341
+}
342
+</style>
343
+
344
+
345
+
346
+

+ 90
- 101
src/views/Contact.vue 查看文件

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div class="contact">
3
-     <Navbars></Navbars>
3
+    <Navbars></Navbars>
4 4
     <div class>
5 5
       <img src="../assets/image/contact/contactbanner.png" style="width:100%" />
6 6
       <!-- width="100%" height="300"> -->
@@ -10,27 +10,29 @@
10 10
       <div class="contact-main">
11 11
         <h1 style="margin-bottom:70px">联系我们</h1>
12 12
 
13
-        <div class="row app" style="margin:0" >
14
-          <div class="col-md-6 col-xs-6 st1" style="border-right: 1px solid #aaa;">
15
-            <img class="img1" src="../assets/image/contact/weixin.jpg" />
16
-            <div>
17
-              <h2>微信咨询</h2>
13
+        <div class="row app" style="margin:0">
14
+          <div class="col-md-6 col-xs-6 st1" style=" border-right: 1px solid #aaa;">
15
+            <div class="pull-right1">
16
+              <img class="img1" src="../assets/image/contact/weixin.jpg" style="weight:100%" />
17
+              <div class="caption">
18
+                <h2>微信咨询</h2>
19
+              </div>
18 20
             </div>
19 21
           </div>
20
-
21 22
           <div class="col-md-6 col-xs-6 st2">
22
-            <img class="img1" src="../assets/image/contact/QQ.jpg" />
23
-            <div>
24
-              <h2>QQ咨询</h2>
23
+            <div class="pull-left1">
24
+              <img class="img1" src="../assets/image/contact/QQ.jpg" style="weight:100%" />
25
+              <div class="caption">
26
+                <h2>QQ咨询</h2>
27
+              </div>
25 28
             </div>
26 29
           </div>
27 30
         </div>
28
-
29 31
         <div>
30
-  
31
-          <a href="tel:13585167730">
32
-            <img src="../assets/image/contact/photo.jpg" alt style="padding-top:100px;width:100%" />
32
+          <a v-if="isMobilePhone" href="tel:13585167730">
33
+            <img src="../assets/image/contact/photo.jpg" alt style="padding-top:100px;width:90%" />
33 34
           </a>
35
+          <img v-else src="../assets/image/contact/photo.jpg" alt style="padding-top:100px;width:80%" />
34 36
         </div>
35 37
       </div>
36 38
       <div class="address" style=" ">
@@ -49,81 +51,84 @@
49 51
 <script>
50 52
 // @ is an alias to /src
51 53
 
52
-
54
+import { isMobilePhone } from '../../utils'
53 55
 import Navbars from '../components/Navbars'
54 56
 
55 57
 export default {
56
-name: 'contact',
57
- data () {},
58
+  name: 'contact',
59
+  data () {
60
+    return { isMobilePhone, }
61
+
62
+  },
58 63
   components: {
59
-   
64
+
60 65
     Navbars,
61 66
   },
62 67
 
63
- 
64 68
 
65
-  
69
+
70
+
66 71
 
67 72
 
68 73
 }
69 74
 </script>
70 75
 
76
+<style>
77
+.coll {
78
+  display: none;
79
+}
80
+</style>
81
+
71 82
 <style lang="less" scoped>
72
-@media (max-width: 992px){
73
-    .address{
74
-    .p1{
75
-      padding-top: 70px;font-size: 2.0rem
83
+.col-md-6,
84
+.col-xs-6 {
85
+  padding: 0px;
86
+}
87
+@media (max-width: 992px) {
88
+  .address {
89
+    .p1 {
90
+      padding-top: 70px;
91
+      font-size: 2rem;
76 92
     }
77
-    .p2{
78
-font-size: 1.2rem;padding-top: 14px;
93
+    .p2 {
94
+      font-size: 1.2rem;
95
+      padding-top: 14px;
79 96
     }
80 97
   }
81 98
 }
82
-@media (min-width: 992px){
83
-
84
-
85
-  h1{
99
+@media (min-width: 992px) {
100
+  h1 {
86 101
     font-weight: bold;
87 102
   }
88
-  .address{
89
-    .p1{
90
-      padding-top: 70px;font-size: 3.6rem
103
+  .address {
104
+    .p1 {
105
+      padding-top: 70px;
106
+      font-size: 3.6rem;
91 107
     }
92
-    .p2{
93
-      font-size: 3rem;padding-top: 14px;
108
+    .p2 {
109
+      font-size: 3rem;
110
+      padding-top: 14px;
94 111
     }
95 112
   }
96
-}
97
-</style>
98
-
99
-<style scoped>
100
-/* .contact-box {
101
-  width: 80%;
102
-  margin: 0 auto - 120px;
103
-  
104
-  .contact-main {
105
-    width: 704px;
106
-    text-align: center;
113
+  .pull-right1 {
114
+    float: right;
115
+    padding-right: 120px;
107 116
   }
108
-
109
-  .col-xs-6 {
110
-    &:last-child {
111
-      float: right;
112
-    }
113
-
114
-    & + .col-xs-6 {
115
-      
116
-    }
117
+  .pull-left1 {
118
+    float: left;
119
+    padding-left: 120px;
117 120
   }
121
+}
122
+</style>
118 123
 
119
-} */
124
+<style lang="less" scoped>
120 125
 @media (max-width: 992px) {
121 126
   .contact {
122 127
     margin-top: 60px;
123 128
   }
124
-  
125
-  .img1{
126
-    width: 100%;
129
+
130
+  .img1 {
131
+    width: 80%;
127 132
   }
128 133
 }
129 134
 
@@ -147,12 +152,6 @@ font-size: 1.2rem;padding-top: 14px;
147 152
     margin: 0 auto;
148 153
     padding-top: 20px;
149 154
   }
150
-  .st1 {
151
-    padding-right: 120px;
152
-  }
153
-  .st2 {
154
-    padding-left: 120px;
155
-  }
156 155
 
157 156
   .contact-2 {
158 157
     padding: 98px 98px 27px 98px;
@@ -162,47 +161,37 @@ h2 {
162 161
   margin-bottom: -22px;
163 162
 }
164 163
 
165
-
166
-
167
-
168
- /*  .contact-1 {
164
+@media (min-width: 992px) and (max-width: 1551px) {
165
+  .contact-1 {
169 166
     width: 80%;
170
-    padding: 50px;
171
-    margin-top: -120px;
172
-
173
-    background-color: #fff;
174
-    display: inline-block;
175
-    border-radius: 0;
176
-    border: 1px solid #dcdcdc;
167
+    padding: 30px 16px 63px;
168
+    margin-top: -85px;
177 169
   }
178
-  .contact-2 {
179
-    padding: 98px 98px 27px 98px;
180
- 
170
+  .border-bottom {
171
+    font-size: 20px;
172
+    border-bottom: 1px solid #bfbfbf;
173
+    padding: 0px;
181 174
   }
182
-  .st {
183
-    padding: 0 100px;
175
+  h1 {
176
+    font-size: 2.52rem;
184 177
   }
185
-  
186
-  
187
-  .img1{
188
-    width: 100%;
189
-
178
+  h2 {
179
+    font-size: 2.1rem;
190 180
   }
191
-
192
-  
193
-
194
-  .contact-1 > div {
195
-    width: 704px;
196
-    margin: 0 auto;
181
+  .address {
182
+    .p1 {
183
+      padding-top: 70px;
184
+      font-size: 2.52rem;
185
+    }
186
+    .p2 {
187
+      font-size: 2.1rem;
188
+      padding-top: 12px;
189
+    }
197 190
   }
198
-
199
-
200
-  @media (max-width: 768px) {
201
-    
202
-  .contact-1 > div {
203
-    width: 222px;
204
-    margin: 0 auto;
191
+}
192
+@media  (max-width: 551px) {
193
+  h2{
194
+    font-size: 2rem
205 195
   }
206
-    
207
-  } */
196
+}
208 197
 </style>

+ 31
- 5
src/views/Details.vue 查看文件

@@ -53,7 +53,7 @@
53 53
     </div>
54 54
 
55 55
     <div class="center-block st5" style>
56
-      <h2>更多好案例</h2>
56
+      <h2>更多好{{type}}</h2>
57 57
 
58 58
       <div class="row home-case" style="padding:0;width: 100%;margin-left :0; margin-right:0">
59 59
         <div class="col-xs-6 col-md-3 home-case" style="margin:0" v-for="(item,index) in recommends" :key="index">
@@ -89,6 +89,8 @@ export default {
89 89
 
90 90
   data () {
91 91
     return {
92
+
93
+      type: '案例',
92 94
       detail: {},
93 95
       // config: {
94 96
       //   // url: '', // 网址,默认使用 window.location.href
@@ -163,6 +165,9 @@ export default {
163 165
         urlData: { id },
164 166
       }).then(res => {
165 167
         this.detail = res || {}
168
+
169
+         this.type =  this.detail.current.type == 'case' ? '案例' : '分享'
170
+        // console.log(this.detail.current.type,'1234')
166 171
       })
167 172
     },
168 173
 
@@ -190,7 +195,9 @@ export default {
190 195
 
191 196
 
192 197
 
198
+  
193 199
   },
200
+  
194 201
 
195 202
 }
196 203
 </script>
@@ -200,7 +207,7 @@ export default {
200 207
   hr {
201 208
     margin-bottom: 20px;
202 209
     width: 50px;
203
-    border: 2px solid red;
210
+    border: 2px solid #e03723;
204 211
   }
205 212
 }
206 213
 @media (max-width: 992px) {
@@ -259,7 +266,7 @@ export default {
259 266
     text-decoration: none;
260 267
   }
261 268
   .btn1:hover {
262
-    color: red !important;
269
+    color: #e03723 !important;
263 270
     text-decoration: none;
264 271
   }
265 272
   .btn {
@@ -292,8 +299,7 @@ export default {
292 299
     font-size: 1.2rem !important;
293 300
     color: black !important;
294 301
     border: none !important;
295
-        text-decoration: none;
296
-
302
+    text-decoration: none;
297 303
   }
298 304
 
299 305
   .btn {
@@ -414,6 +420,7 @@ export default {
414 420
   .case-3 {
415 421
     margin: 0;
416 422
     padding: 0;
423
+    line-height: 49px;
417 424
   }
418 425
 
419 426
   .home-case {
@@ -463,4 +470,23 @@ export default {
463 470
     content: "" !important;
464 471
   }
465 472
 }
473
+
474
+@media (min-width: 992px) and (max-width: 1550px) {
475
+  .st h1 {
476
+    font-size: 3rem;
477
+  }
478
+  .st p {
479
+    font-size: 1.7rem;
480
+  }
481
+  .pull-left {
482
+    font-size: 2.5rem;
483
+    .iconfont {
484
+      font-size: 2.5rem;
485
+    }
486
+  }
487
+
488
+  .pull-right {
489
+    font-size: 2.5rem;
490
+  }
491
+}
466 492
 </style>

+ 84
- 54
src/views/Dynamic.vue 查看文件

@@ -8,8 +8,8 @@
8 8
 
9 9
     <div class="border-bottom comtype">
10 10
       <div>
11
-        <button type="button" class="btn1 btn-link app" @click="() => filterCase()" style="color:black;font-size: 24px;padding: 25px">全部动态</button>
12
-        <button v-for="cas in casetype" :key="cas.id" @click="() => filterCase(cas)" type="button" class="btn1 btn-link app" style="color:black;font-size: 24px;padding: 25px">{{cas.typeName}}</button>
11
+        <button type="button" class="btn1 btn-link app" @click="() => filterCase()"  :class="{btnactive:thisbtn==''}">全部动态</button>
12
+        <button v-for="cas in casetype" :key="cas.id" @click="() => filterCase(cas)" type="button" class="btn1 btn-link app" :class="{btnactive:thisbtn==cas.typeName}">{{cas.typeName}}</button>
13 13
       </div>
14 14
     </div>
15 15
 
@@ -20,20 +20,20 @@
20 20
         </div>
21 21
       </div>
22 22
       <div class="col-xs-6">
23
-        <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="margin-left: 16px;">{{currentTypeName}}</el-button>
23
+        <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="margin-left: 16px;;width:140px;padding-left:0;padding-right:0">{{currentTypeName}}</el-button>
24 24
       </div>
25 25
     </div>
26 26
     <el-drawer :visible.sync="drawer" :direction="direction" :show-close="true" size="80%">
27 27
       <div>
28
-        <el-row  style="text-align: center;">
28
+        <el-row style="text-align: center;">
29 29
           <el-col :span="24">
30
-            <button type="button" class="btn-link"  @click="() => filterCase()" style="color:black;font-size: 24px;">全部动态</button>
30
+            <button type="button" class="btn-link" @click="() => filterCase()" style="color:black;font-size: 24px;" :class="{btnactive:thisbtn==''}">全部动态</button>
31 31
           </el-col>
32
-          <el-col :span="24" v-for="cas in casetype" :key="cas.id" >
33
-            <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px">{{cas.typeName}}</button>
32
+          <el-col :span="24" v-for="cas in casetype" :key="cas.id">
33
+            <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px" :class="{btnactive:thisbtn==cas.typeName}">{{cas.typeName}}</button>
34 34
           </el-col>
35 35
           <el-col :span="24">
36
-            <button type="button" class="btn btn-default" @click="drawer = flase" style="color:black;font-size: 24px;padding-left: 40px;padding-right: 40px; margin-top:30px">返回</button>
36
+            <button type="button" class="btn btn-default rebtn" @click="drawer = flase" style="color:black;font-size: 24px;padding-left: 40px;padding-right: 40px; margin-top:30px">返回</button>
37 37
           </el-col>
38 38
         </el-row>
39 39
       </div>
@@ -41,7 +41,7 @@
41 41
 
42 42
     <div class="contanier center-block dyn-main">
43 43
       <div class="row">
44
-        <div class="col-md-6 col-xs-6" v-for="(item,index) in caselist" :key="index" :class="{ marginTP: index > 1 }">
44
+        <div class="col-md-6 col-xs-6 cards" v-for="(item,index) in caselist" :key="index" :class="{ marginTP: index > 1 }">
45 45
           <router-link :to="{ name: 'details', params: { id: item.id }}" class="routelink">
46 46
             <case-card :thumb="item.caseCoverImg" :title="item.caseTitle" :caption="item.caseSummary"></case-card>
47 47
           </router-link>
@@ -51,7 +51,7 @@
51 51
 
52 52
     <div style="margin-top:40px">
53 53
       <button type="button" class="btn btn-default" @click="more" v-if="!allLoaded">加载更多</button>
54
-      <p v-else>已经到底了~更多案例尽请期待~</p>
54
+      <p v-else>已经到底了~更多动态敬请期待~</p>
55 55
     </div>
56 56
   </div>
57 57
 </template>
@@ -85,6 +85,7 @@ export default {
85 85
       direction: 'rtl',
86 86
 
87 87
       currentTypeName: '全部动态',
88
+      thisbtn:''
88 89
     }
89 90
   },
90 91
   components: {
@@ -158,11 +159,12 @@ export default {
158 159
     },
159 160
 
160 161
     filterCase (caseType) {
161
-this.currentTypeName = caseType ? caseType.typeName : '全部动态'
162
+      this.currentTypeName = caseType ? caseType.typeName : '全部动态'
163
+
162 164
 
163
-      
164 165
       this.getCaseList({ pageNum: 1, caseType: caseType ? caseType.id : '' });
165 166
       this.drawer = false;
167
+       this.thisbtn = caseType ? caseType.typeName : ''
166 168
     },
167 169
   }
168 170
 
@@ -171,13 +173,11 @@ this.currentTypeName = caseType ? caseType.typeName : '全部动态'
171 173
 </script>
172 174
 
173 175
 <style scoped>
174
-
175
-.routelink{
176
+.routelink {
176 177
   text-decoration: none;
177 178
 }
178 179
 
179
-.casecard{
180
- 
180
+.casecard {
181 181
   width: 100%;
182 182
 
183 183
   padding-bottom: 100%;
@@ -185,33 +185,29 @@ this.currentTypeName = caseType ? caseType.typeName : '全部动态'
185 185
   /* position: relative; */
186 186
 
187 187
   margin: 0;
188
-
189 188
 }
190 189
 
191 190
 .border-bottom {
192 191
   /* display: none; */
193 192
   border-bottom: 1px solid #bfbfbf;
194
-      margin-top: 10px !important;
193
+  margin-top: 10px;
195 194
 }
196
- .btn1 {
197
-    font-size: 24px !important;
198
-    color: black !important;
199
-    border: none !important;
200
-  }
201
-  .btn1:hover {
202
-    color: red !important;
203
-    text-decoration: none;
204
-  }
205
-.mobbtn{
206
-color: #e03723;
207
-   
208
-  padding:12px 40px;
209
-
210
-    border-radius: 0px;
211
-
212
-    background-color: rgb(252, 151, 252);
213
-    border: 2px solid #bfbfbf;
214
-  
195
+.btn1 {
196
+  font-size: 24px;
197
+  padding: 25px;
198
+  color: black;
199
+  border: none;
200
+}
201
+.btn1:hover {
202
+  color: #e03723;
203
+  text-decoration: none;
204
+}
205
+.mobbtn {
206
+  color: #e03723;
207
+  padding: 12px 40px;
208
+  border-radius: 0px;
209
+  background-color: rgb(252, 151, 252);
210
+  border: 2px solid #bfbfbf;
215 211
 }
216 212
 
217 213
 .text-left {
@@ -228,7 +224,7 @@ color: #e03723;
228 224
 }
229 225
 
230 226
 @media (max-width: 992px) {
231
-  .dynamic{
227
+  .dynamic {
232 228
     margin-top: 58px;
233 229
   }
234 230
   .comtype {
@@ -237,18 +233,24 @@ color: #e03723;
237 233
   }
238 234
   .dyn-main {
239 235
     margin-top: 20px;
240
-    
241
-    padding-left: 15px;
242
-    padding-right: 15px;
236
+
237
+     padding-left: 1.6vw;
238
+    padding-right: 1.6vw;
239
+  }
240
+  .marginTP {
241
+    margin-top: 3.2vw;
242
+  }
243
+  .cards{
244
+    padding-left: 1.6vw;
245
+    padding-right: 1.6vw;
243 246
   }
244 247
 }
245 248
 .row {
246
-    margin: 0;
247
-  }
248
-.marginTP {
249
-  margin-top: 3rem;
249
+    margin-left: 0;
250
+  margin-right: 0;
250 251
 }
251 252
 
253
+
252 254
 @media (min-width: 992px) {
253 255
   .main {
254 256
     display: -webkit-flex; /* Safari */
@@ -258,18 +260,20 @@ color: #e03723;
258 260
     /* flex-flow: <flex-direction> <flex-wrap>; */ /*简写*/
259 261
     justify-content: center;
260 262
   }
261
-  .dynamic {
262
-  margin-top: 116px;
263
-  margin-bottom: -116px;
264
-  padding-bottom: 116px; 
265
-  background-color: #fafafa;
263
+  .marginTP {
264
+  margin-top: 3rem;
266 265
 }
267
-  
266
+  .dynamic {
267
+    margin-top: 116px;
268
+    margin-bottom: -116px;
269
+    padding-bottom: 116px;
270
+    background-color: #fafafa;
271
+  }
272
+
268 273
   .mobtype {
269 274
     display: none;
270 275
   }
271 276
 
272
-  
273 277
   .btn {
274 278
     font-size: 24px;
275 279
     margin-top: 88px;
@@ -296,8 +300,34 @@ color: #e03723;
296 300
     padding: 10px;
297 301
   }
298 302
 }
299
-.btn-link{
303
+.btn-link {
300 304
   outline: none;
301
-  text-decoration: none
305
+  text-decoration: none;
306
+}
307
+@media (min-width: 992px) and (max-width: 1550px) {
308
+  .btn1 {
309
+    font-size: 20px;
310
+    padding: 21px;
311
+  }
312
+  .border-bottom {
313
+    padding: 0;
314
+    margin-top: 0px;
315
+  }
316
+  .btn {
317
+    padding: 9px 105px;
318
+    font-size: 17px;
319
+    margin-top: 28px;
320
+  }
321
+}
322
+.btnactive{
323
+  color:#e03723 !important;
324
+}
325
+.rebtn{
326
+  border-radius: 0px;
327
+}
328
+.rebtn:hover{
329
+  color: #e03723 !important;
330
+    border: 1px solid #e03723;
331
+    background: #fff;
302 332
 }
303 333
 </style>

+ 116
- 39
src/views/Home.vue 查看文件

@@ -20,7 +20,7 @@
20 20
               <a href="/case">案例</a>
21 21
             </li>
22 22
             <li class="a">
23
-              <a href="/dynamic">动态</a>
23
+              <a href="/Share">动态</a>
24 24
             </li>
25 25
             <li class="a">
26 26
               <a href="/about">关于</a>
@@ -32,7 +32,7 @@
32 32
         </div>
33 33
       </div>
34 34
     </nav>
35
-<Navbars v-if="isMobilePhone"></Navbars>
35
+    <Navbars v-if="isMobilePhone"></Navbars>
36 36
     <div class="aarow_box animated aarowMove">
37 37
       <div class="aarow" @click="arrow()"></div>
38 38
     </div>
@@ -59,7 +59,7 @@
59 59
         </div>
60 60
       </div>
61 61
 
62
-      <Business></Business>
62
+      <Business class="business"></Business>
63 63
     </div>
64 64
 
65 65
     <div class="contanier home-case top-case">
@@ -89,13 +89,13 @@
89 89
           <h1>以品质答谢信任</h1>
90 90
         </div>
91 91
         <div class="col-md-12" style="padding:0;width: 100%; color:#595757">
92
-          <p>
92
+          <p class="p2">
93 93
             至始至终将服务放到首位!
94 94
             <br class="br-logotop" />用更好的创意,助力客户创造品牌价值
95 95
           </p>
96 96
         </div>
97 97
 
98
-        <div class="row st">
98
+        <div class="row st partner">
99 99
           <!-- <div v></div> -->
100 100
           <div class="col-md-2 col-xs-4" v-for="(item,index) in blogs" :key="index+'img'">
101 101
             <!-- <img :src="item.logoImg" alt class="ph-logo" /> -->
@@ -156,7 +156,7 @@ export default {
156 156
     Wheelplanting,
157 157
     // Wheelplantings,
158 158
     Business,
159
-    Navbars:() => import('../components/Navbars'),
159
+    Navbars: () => import('../components/Navbars'),
160 160
   },
161 161
   mounted () {
162 162
     window.addEventListener('scroll', () => {
@@ -250,6 +250,10 @@ export default {
250 250
   }
251 251
 }
252 252
 
253
+.col-md-2 {
254
+  padding: 0;
255
+}
256
+
253 257
 @media (max-width: 992px) {
254 258
   .business-text {
255 259
     display: none;
@@ -262,10 +266,13 @@ export default {
262 266
     letter-spacing: 1px;
263 267
   }
264 268
   h3 {
265
-    font-size: 2.4rem;
266
-    padding: 0px;
269
+    padding-top: 3%;
270
+    padding-left: 5%;
271
+    font-size: 2rem;
272
+    /* padding: 0px; */
267 273
     width: 100%;
268
-    height: 2.4rem;
274
+    height: 19%;
275
+    /* line-height: 19%; */
269 276
 
270 277
     background-color: black;
271 278
     color: #fff;
@@ -405,9 +412,14 @@ export default {
405 412
     padding: 33px;
406 413
   }
407 414
 
415
+  .business {
416
+    margin-bottom: 75px;
417
+    margin-top: 50px !important;
418
+  }
419
+
408 420
   .st {
409
-    padding-left: 10%;
410
-    padding-right: 10%;
421
+    padding-left: 9%;
422
+    padding-right: 9%;
411 423
     margin: 0;
412 424
   }
413 425
   .st .sw p {
@@ -416,13 +428,20 @@ export default {
416 428
     padding-bottom: 0;
417 429
   }
418 430
   .ph-logo {
419
-    width: 100%;
431
+    width: 90%;
420 432
     /* padding-bottom: 37px; */
421 433
     /* height: 100%; */
434
+    background-position: center center;
422 435
     height: 0;
423 436
     padding-bottom: 45.8%;
424 437
     background-size: 100% 100% !important;
425
-    margin: 18px;
438
+    margin: 0px;
439
+  }
440
+  .partner {
441
+    margin-right: -0.6vw;
442
+  }
443
+  .ph-logo:nth-child(6n + 1) {
444
+    margin-left: 0.7vw;
426 445
   }
427 446
   .home-case {
428 447
     padding: 0;
@@ -482,7 +501,6 @@ export default {
482 501
   margin: 0;
483 502
 }
484 503
 
485
-
486 504
 .st4 {
487 505
   width: 100%;
488 506
 
@@ -544,12 +562,12 @@ h3 {
544 562
   hr {
545 563
     margin-bottom: 0px;
546 564
     width: 50px;
547
-    border: 2px solid red;
565
+    border: 2px solid #e03723;
548 566
   }
549 567
 }
550 568
 
551 569
 @media (max-width: 992px) {
552
-  .casetitle{
570
+  .casetitle {
553 571
     display: none;
554 572
   }
555 573
   .navbar {
@@ -566,28 +584,29 @@ h3 {
566 584
 }
567 585
 @media (min-width: 992px) {
568 586
   .st4 .casetitle {
569
-  display: none;
570
-}
587
+    display: none;
588
+  }
571 589
 
572
-.st4:hover .casetitle {
573
-  position: absolute;
574
-  width: 100%;
575
-  height: 100%;
576
-  float: left;
577
-  padding: 0 auto;
578
-  background: rgba(0, 0, 0, 0.7);
579
-  align-items: center;
580
-  display: -webkit-flex;
581
-  display: flex;
590
+  .st4:hover .casetitle {
591
+    position: absolute;
592
+    width: 100%;
593
+    height: 100%;
594
+    float: left;
595
+    padding: 0 auto;
596
+    background: rgba(0, 0, 0, 0.7);
597
+    align-items: center;
598
+    display: -webkit-flex;
599
+    display: flex;
582 600
 
583
-  text-align: center;
584
-}
585
-.st4 .casetitle p {
586
-  text-align: center;
587
-  display: block;
588
-  color: #fff;
589
-  width: 100%;
590
-}
601
+    text-align: center;
602
+  }
603
+  .st4 .casetitle p {
604
+    font-size: 2.4rem;
605
+    text-align: center;
606
+    display: block;
607
+    color: #fff;
608
+    width: 100%;
609
+  }
591 610
   .br-logotop {
592 611
     display: none;
593 612
   }
@@ -601,7 +620,6 @@ h3 {
601 620
     margin: 0;
602 621
     transition: all 0.5s;
603 622
 
604
-
605 623
     .navbar-brand {
606 624
       padding: 0;
607 625
 
@@ -612,6 +630,7 @@ h3 {
612 630
 
613 631
     .nav {
614 632
       font-size: 2.6rem;
633
+      margin-top: 5px;
615 634
       li {
616 635
         margin-left: 2vw;
617 636
         a {
@@ -638,8 +657,11 @@ h3 {
638 657
       // background: #fff;
639 658
       background: rgba(255, 255, 255, 1);
640 659
       padding: 30px 0;
660
+      -moz-box-shadow: 0px 2px 2px #ccc; /* 老的 Firefox */
661
+      box-shadow: 0px 2px 2px #ccc;
641 662
       .nav {
642 663
         font-size: 2.6rem;
664
+
643 665
         li {
644 666
           a {
645 667
             color: #000;
@@ -653,14 +675,69 @@ h3 {
653 675
             }
654 676
           }
655 677
         }
678
+        li:first-child {
679
+          a{
680
+            border-bottom: 3px solid #000;
681
+          }
682
+        }
656 683
       }
657 684
 
658 685
       .logo {
659 686
         background: url("../assets/logo1.png");
660 687
       }
661 688
     }
662
-
663
-    
689
+  }
690
+  .p2 {
691
+    margin-bottom: 75px;
664 692
   }
665 693
 }
694
+@media (min-width: 992px) and (max-width: 1550px) {
695
+  h2 {
696
+    font-size: 3rem;
697
+  }
698
+  .p1 {
699
+    font-size: 1.7rem;
700
+  }
701
+  h4 {
702
+    font-size: 1.7rem;
703
+    line-height: 30px;
704
+  }
705
+  h1 {
706
+    font-size: 3rem;
707
+    padding-top: 60px;
708
+  }
709
+  .p2 {
710
+    padding: 7px 5px 0 5px;
711
+    font-size: 1.7rem;
712
+  }
713
+  .p2 {
714
+    margin-bottom: 50px;
715
+  }
716
+  .top-news {
717
+    margin-top: 45px;
718
+    h3 {
719
+      font-size: 1.7rem;
720
+      padding: 30px;
721
+      height: 70px;
722
+      line-height: 1.7rem;
723
+      padding: 28px;
724
+    }
725
+  }
726
+  .btn {
727
+    font-size: 17px;
728
+    margin-top: 28px;
729
+    padding: 8.4px 35px;
730
+  }
731
+  .business {
732
+    margin-bottom: 60px;
733
+    margin-top: 40px !important;
734
+  }
735
+}
736
+@media (max-width: 600px) {
737
+  h3 {font-size: 1.4rem}
738
+}
739
+@media (max-width: 400px) {
740
+  h3 {font-size: 1rem}
741
+}
742
+
666 743
 </style>