周立森 5 년 전
부모
커밋
be87695011
10개의 변경된 파일708개의 추가작업 그리고 406개의 파일을 삭제
  1. 30
    49
      src/App.vue
  2. 168
    112
      src/components/Business.vue
  3. 302
    0
      src/components/Navbars.vue
  4. 1
    1
      src/components/Wheelplanting.vue
  5. 22
    0
      src/views/About.vue
  6. 36
    38
      src/views/Case.vue
  7. 25
    0
      src/views/Contact.vue
  8. 41
    42
      src/views/Details.vue
  9. 3
    0
      src/views/Dynamic.vue
  10. 80
    164
      src/views/Home.vue

+ 30
- 49
src/App.vue 파일 보기

1
 <template>
1
 <template>
2
   <div id="app">
2
   <div id="app">
3
-    <div>
3
+    <!-- <div>
4
       <nav class="navbar navbar-default navbar-fixed-top app" :class="{ 'scroll': scrolled }">
4
       <nav class="navbar navbar-default navbar-fixed-top app" :class="{ 'scroll': scrolled }">
5
         <div class="container-fluid con">
5
         <div class="container-fluid con">
6
-          <!-- Brand and toggle get grouped for better mobile display -->
6
+         
7
           <div class="navbar-header">
7
           <div class="navbar-header">
8
             <button type="button" class="navbar-toggle collapsed">
8
             <button type="button" class="navbar-toggle collapsed">
9
               <span class="iconfont icon-caidan" @click="navdrawer = true"></span>
9
               <span class="iconfont icon-caidan" @click="navdrawer = true"></span>
10
             </button>
10
             </button>
11
-            <!-- <el-button class="btn-link" @click="navdrawer = true" type="button" style="margin-left: 16px;"><span class="iconfont icon-caidan"></span></el-button> -->
11
+           
12
             <a class="navbar-brand" href="#">
12
             <a class="navbar-brand" href="#">
13
-              <!-- <img alt="Brand" src="./assets/logo1.png" /> -->
13
+            
14
               <div alt="Brand" class="logo"></div>
14
               <div alt="Brand" class="logo"></div>
15
             </a>
15
             </a>
16
           </div>
16
           </div>
17
 
17
 
18
           <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
18
           <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
19
             <ul class="nav navbar-nav navbar-right">
19
             <ul class="nav navbar-nav navbar-right">
20
-              <!-- <router-link to="/">首页</router-link> 
21
-                        <router-link to="/case" class="a"  style="color:#000000;">案例</router-link>
22
-                        <router-link to="/dynamic" class="a" style="color:#000000;">动态</router-link>
23
-                        <router-link to="/about" class="a" style="color:#000000;">关于</router-link>
24
-              <router-link to="/contact" class="a" style="color:#000000;">联系</router-link>-->
20
+            
25
               <li class="a">
21
               <li class="a">
26
                 <a href="/">首页</a>
22
                 <a href="/">首页</a>
27
               </li>
23
               </li>
39
               </li>
35
               </li>
40
             </ul>
36
             </ul>
41
           </div>
37
           </div>
42
-          <!-- /.navbar-collapse -->
38
+         
43
         </div>
39
         </div>
44
-        <!-- /.container-fluid -->
40
+     
45
       </nav>
41
       </nav>
46
     </div>
42
     </div>
47
-
48
-    <el-drawer :visible.sync="navdrawer" :show-close="true" size="80%">
43
+    -->
44
+    <!-- <el-drawer :visible.sync="navdrawer" :show-close="true" size="80%">
49
       <div>
45
       <div>
50
         <el-row style="text-align: center;">
46
         <el-row style="text-align: center;">
51
           <el-col :span="24">
47
           <el-col :span="24">
77
           </el-col>
73
           </el-col>
78
         </el-row>
74
         </el-row>
79
       </div>
75
       </div>
80
-    </el-drawer>
76
+    </el-drawer> -->
81
 
77
 
82
     <div class="main">
78
     <div class="main">
83
       <router-view />
79
       <router-view />
167
   },
163
   },
168
 
164
 
169
   mounted () {
165
   mounted () {
170
-    window.addEventListener('scroll', () => {
171
-      this.scrolled = (document.documentElement.scrollTop || document.body.scrollTop) > 200
172
-    })
166
+
173
 
167
 
174
     window.onscroll = function () {
168
     window.onscroll = function () {
175
       var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
169
       var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
202
 
196
 
203
 <style>
197
 <style>
204
 #app {
198
 #app {
205
-  
206
-  font-family: "Microsoft Yahei Light","Microsoft Yahei","KaiGenGothicSC-Light","Helvetica Neue","Helvetica","Arial",sans-serif;
199
+  font-family: "Microsoft Yahei Light", "Microsoft Yahei",
200
+    "KaiGenGothicSC-Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
207
   -webkit-font-smoothing: antialiased;
201
   -webkit-font-smoothing: antialiased;
208
   -moz-osx-font-smoothing: grayscale;
202
   -moz-osx-font-smoothing: grayscale;
209
   text-align: center;
203
   text-align: center;
213
   width: auto;
207
   width: auto;
214
   margin: 0;
208
   margin: 0;
215
 }
209
 }
216
-.app{
217
-
218
-  font-family: "Microsoft Yahei","KaiGenGothicSC-Light","Helvetica Neue","Helvetica","Arial",sans-serif;
210
+.app {
211
+  font-family: "Microsoft Yahei", "KaiGenGothicSC-Light", "Helvetica Neue",
212
+    "Helvetica", "Arial", sans-serif;
219
 }
213
 }
220
 
214
 
221
 .coll {
215
 .coll {
234
   color: red;
228
   color: red;
235
 }
229
 }
236
 
230
 
237
-
238
-
239
 @media (min-width: 768px) and (max-width: 992px) {
231
 @media (min-width: 768px) and (max-width: 992px) {
240
   .con {
232
   .con {
241
     padding-left: 5vw !important;
233
     padding-left: 5vw !important;
242
     padding-right: 5vw !important;
234
     padding-right: 5vw !important;
243
   }
235
   }
244
-  .logo{
236
+  .logo {
245
     margin-top: 0 !important;
237
     margin-top: 0 !important;
246
   }
238
   }
247
-  .nav li {margin-left: 0 !important;}
239
+  .nav li {
240
+    margin-left: 0 !important;
241
+  }
248
   .a {
242
   .a {
249
     font-size: 2.4rem !important;
243
     font-size: 2.4rem !important;
250
     margin-top: 0.5rem !important;
244
     margin-top: 0.5rem !important;
273
   .main {
267
   .main {
274
     padding-bottom: 9.4rem;
268
     padding-bottom: 9.4rem;
275
   }
269
   }
276
- 
277
 }
270
 }
278
 
271
 
279
 .rtl #drawer__title {
272
 .rtl #drawer__title {
283
   display: none;
276
   display: none;
284
 }
277
 }
285
 
278
 
279
+
280
+</style>
281
+
282
+
283
+<style lang="less" scoped>
286
 @media (max-width: 992px) {
284
 @media (max-width: 992px) {
287
   .navbar {
285
   .navbar {
288
     height: 60px;
286
     height: 60px;
330
     );
328
     );
331
     margin-bottom: 30px;
329
     margin-bottom: 30px;
332
   }
330
   }
333
-  .btn1 {
334
-    font-size: 24px !important;
335
-    color: black !important;
336
-    border: none !important;
337
-  }
338
-  .btn1:hover {
339
-    color: red !important;
340
-    text-decoration: none;
341
-  }
342
-  .btn1:active {
343
-    color: red !important;
344
-    text-decoration: none;
345
-  }
331
+ 
346
 }
332
 }
347
-</style>
348
-
349
-
350
-<style lang="less" scoped>
351
 @media (min-width: 768px) {
333
 @media (min-width: 768px) {
352
   .navbar {
334
   .navbar {
353
     padding: 30px 0;
335
     padding: 30px 0;
371
       li {
353
       li {
372
         margin-left: 2vw;
354
         margin-left: 2vw;
373
         a {
355
         a {
374
-      
375
-color: #000;
376
-    padding-left: 5px;
377
-    padding-right: 5px;
378
-    margin: 0 10px;
356
+          color: #000;
357
+          padding-left: 5px;
358
+          padding-right: 5px;
359
+          margin: 0 10px;
379
           &:hover {
360
           &:hover {
380
             border-bottom: 3px solid #000;
361
             border-bottom: 3px solid #000;
381
           }
362
           }

+ 168
- 112
src/components/Business.vue 파일 보기

1
 <template>
1
 <template>
2
   <div class="business">
2
   <div class="business">
3
- <div class="row st">
4
-          <div class="col-xs-6 col-md-3 sw" v-for="(item,index) in service" :key="index">
5
-            <img :src="item.serviceImageUrl" width="100%" height="100%" />
6
-            <div>
7
-              <h4>{{item.serviceName}}</h4>
8
-              <p class="text-left business-text" v-for="(items,index) in item.serviceLabelList" :key="index">{{items.labelName}}</p>
3
+    <div v-if="show" class="st">
4
+      <div class="swiper-father">
5
+        <div class="swiper-container swiper-list" style="width: 100%">
6
+          <div class="swiper-wrapper">
7
+            <div v-for="(item,index) in service" :key="index" class="swiper-slide">
8
+              <div style="width: 100%;">
9
+                <img :src="item.serviceImageUrl" width="100%" />
10
+                <div>
11
+                  <h4>{{item.serviceName}}</h4>
12
+                  <p class="text-left business-text" v-for="(items,index) in item.serviceLabelList" :key="index">{{items.labelName}}</p>
13
+                </div>
14
+              </div>
9
             </div>
15
             </div>
10
           </div>
16
           </div>
11
- </div>
12
-    
13
-    <!-- <div class="contanier st">
14
-      <div class="col-xs-6 col-md-3">
15
-        <img src="../assets/image/home/service_brand.jpg" width="100%" height="100%" alt="..." />
16
-        <div>
17
-          <h4>品牌服务</h4>
18
-          <p class="text-left business-text">
19
-            品牌咨询
20
-            <br />品牌策划
21
-            <br />CIS/VIS
22
-            <br />logo设计
23
-            <br />
24
-          </p>
25
         </div>
17
         </div>
18
+        <div class="swiper-button-prev"></div>
19
+        <div class="swiper-button-next"></div>
26
       </div>
20
       </div>
27
-
28
-      <div class="col-xs-6 col-md-3">
29
-        <img src="../assets/image/home/service_plan.jpg" width="100%" height="100%" alt="..." />
30
-        <div class="caption">
31
-          <h4>营销与策划</h4>
32
-          <p class="text-left">
33
-            营销创意
34
-            <br />广告创意
35
-            <br />活动策划与执行
36
-          </p>
37
-        </div>
38
-      </div>
39
-      <div class="col-xs-6 col-md-3">
40
-        <img src="../assets/image/home/service_design.jpg" width="100%" height="100%" alt="..." />
41
-        <div class="caption">
42
-          <h4>创意设计</h4>
43
-          <p class="text-left">
44
-            平面设计
45
-            <br />平面设计
46
-            <small>(海报/展架/画册/包装...)</small>
47
-            <br />数字媒体
48
-            <small>(H5/短视频/小程序...)</small>
49
-            <br />动画制作
50
-            <br />视觉设计
51
-            <small>(app/网站)</small>
52
-            <br />空间设计
53
-            <small>(美陈/展厅/店面/导视)</small>
54
-            <br />视频包装
55
-          </p>
56
-        </div>
57
-      </div>
58
-      <div class="col-xs-6 col-md-3">
59
-        <img src="../assets/image/home/service_make.jpg" width="100%" height="100%" alt="..." />
60
-        <div class="caption">
61
-          <h4>制作与传播</h4>
62
-          <p class="text-left">
63
-            物料制作
64
-            <br />传统媒介
65
-            <br />网络制作
66
-          </p>
21
+    </div>
22
+    <br />
23
+    <br />
24
+
25
+    <div v-if="!show" class="row st">
26
+      <div class="col-xs-6 col-md-3 sw" v-for="(item,index) in service" :key="index">
27
+        <img :src="item.serviceImageUrl" width="100%" height="100%" alt="..." />
28
+        <div class>
29
+          <h4>{{item.serviceName}}</h4>
30
+                  <p class="text-left business-text" v-for="(items,index) in item.serviceLabelList" :key="index">{{items.labelName}}</p>
67
         </div>
31
         </div>
68
       </div>
32
       </div>
69
-    </div>-->
33
+
34
+
35
+    </div>
70
   </div>
36
   </div>
71
 </template>
37
 </template>
72
 
38
 
73
 <script>
39
 <script>
74
-// @ is an alias to /src
75
-//  import Swiper from "swiper";
76
-// import Swiper from "swiper";
40
+import Swiper from 'swiper';
77
 import "swiper/dist/css/swiper.min.css";
41
 import "swiper/dist/css/swiper.min.css";
78
 import request from '../../utils/request'
42
 import request from '../../utils/request'
79
 import apis from '../config/api';
43
 import apis from '../config/api';
82
   name: "business",
46
   name: "business",
83
   data () {
47
   data () {
84
     return {
48
     return {
85
-      show: true,
49
+      show: false,
86
       service: []
50
       service: []
87
     };
51
     };
88
   },
52
   },
89
   components: {},
53
   components: {},
90
 
54
 
91
   mounted () {
55
   mounted () {
92
-  
56
+    // this.initSwiper()
57
+  },
58
+  methods: {
59
+    initSwiper () {
60
+
61
+      if (!this.swiper) {
62
+
63
+        this.swiper = new Swiper('.swiper-list', {
64
+
65
+          // loop: true,
66
+
67
+          slidesPerView: 4,
68
+          // slidesPerGroup: 1,
69
+          spaceBetween: 40,
70
+          // virtualTranslate: true,
71
+          // centeredSlides: true,
72
+          // watchSlidesProgress: true,
73
+
74
+          // direction :horizontal,
75
+          // slidesPerView : 4,
76
+
77
+          // 如果需要前进后退按钮
78
+
79
+          navigation: {
80
+            nextEl: '.swiper-button-next',
81
+            prevEl: '.swiper-button-prev',
82
+          },
83
+
84
+
85
+
86
+        })
87
+      } else {
88
+        this.swiper.update(true)
89
+      }
90
+
91
+
92
+    }
93
   },
93
   },
94
+
95
+
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
+
123
+
124
+
125
+
126
+
94
   created () {
127
   created () {
95
 
128
 
96
 
129
 
97
 
130
 
98
 
131
 
132
+
99
     //http://localhost:8080/pc/service/list
133
     //http://localhost:8080/pc/service/list
100
     request({
134
     request({
101
       ...apis.service.list,
135
       ...apis.service.list,
102
 
136
 
103
 
137
 
104
     }).then(con => {
138
     }).then(con => {
105
-      console.log(con,"124")
139
+      console.log(con, "124")
106
       this.service = con;
140
       this.service = con;
141
+
142
+      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")
107
       // window.console.log(this.service, "543");
147
       // window.console.log(this.service, "543");
108
     })
148
     })
109
 
149
 
116
 };
156
 };
117
 </script>
157
 </script>
118
 
158
 
119
-<!-- Add "scoped" attribute to limit CSS to this component only -->
120
-<style scoped>
121
-
122
-
123
 
159
 
160
+<style scoped>
124
 @media (max-width: 992px) {
161
 @media (max-width: 992px) {
125
- .business-text{
126
-   display: none;
127
- }
128
-
162
+  .business-text {
163
+    display: none;
164
+  }
129
 
165
 
130
   h4 {
166
   h4 {
131
     font-family: "Microsoft Yahei Light";
167
     font-family: "Microsoft Yahei Light";
144
   .sw {
180
   .sw {
145
     padding: 2% !important;
181
     padding: 2% !important;
146
   }
182
   }
147
-
148
-
149
-
150
- 
151
-
152
- 
153
 }
183
 }
154
 
184
 
155
 @media (min-width: 992px) {
185
 @media (min-width: 992px) {
186
+  .swiper-button-prev {
187
+    width: 36px;
188
+    height: 96px;
189
+    top: 25%;
190
+    background-image: url(../assets/image/home/service_arrow_normal.png);
191
+    background-size: 36px, 96px;
192
+    left: -5vw;
193
+    right: auto;
194
+    outline: none;
195
+  }
196
+  .swiper-button-next {
197
+    width: 36px;
198
+    height: 96px;
199
+
200
+    top: 25%;
201
+    background-image: url(../assets/image/home/service_arrow_normal.png);
202
+    background-size: 36px, 96px;
203
+    right: -5vw;
204
+    transform: rotate(180deg);
205
+    outline: none;
206
+  }
207
+  .swiper-button-prev:hover {
208
+    width: 36px;
209
+    height: 96px;
210
+    top: 25%;
211
+    background-image: url(../assets/image/home/service_arrow_trigger.png);
212
+    background-size: 36px, 96px;
213
+    left: -5vw;
214
+    right: auto;
215
+    outline: none;
216
+  }
217
+  .swiper-button-next:hover {
218
+    width: 36px;
219
+    height: 96px;
220
+
221
+    top: 25%;
222
+    background-image: url(../assets/image/home/service_arrow_trigger.png);
223
+    background-size: 36px, 96px;
224
+    right: -5vw;
225
+    transform: rotate(180deg);
226
+    outline: none;
227
+  }
156
 
228
 
229
+  /* trigger */
230
+  .swiper-father {
231
+    position: relative;
232
+  }
157
 
233
 
158
-  p {
234
+  p {line-height: 1.6em;
235
+    font-size: 2.2rem;
236
+    padding-bottom: 0;
159
     margin: 0px;
237
     margin: 0px;
160
     padding: 0px 5px 0 5px;
238
     padding: 0px 5px 0 5px;
161
     font-size: 2.4rem;
239
     font-size: 2.4rem;
162
     color: #595757;
240
     color: #595757;
163
   }
241
   }
164
-  
165
 
242
 
166
   h4 {
243
   h4 {
167
     font-family: "Microsoft Yahei Light";
244
     font-family: "Microsoft Yahei Light";
177
     padding: 33px;
254
     padding: 33px;
178
   }
255
   }
179
 
256
 
180
-  .st {
181
-    padding-left: 10%;
182
-    padding-right: 10%;
183
-    margin: 0;
184
-  }
185
-  .st .sw p {
186
-    line-height: 1.6em;
187
-    font-size: 2.2rem;
188
-    padding-bottom: 0;
189
-  }
190
-
191
-
192
-
257
+  
258
+}
259
+.st {
260
+  padding-left: 10%;
261
+  padding-right: 10%;
262
+  margin: 0;
193
 }
263
 }
194
-
195
-
196
-
197
 </style>
264
 </style>
198
 
265
 
199
 
266
 
200
 <style lang="less" scoped>
267
 <style lang="less" scoped>
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
- @media (max-width: 992px) {
210
- 
211
-
268
+@media (max-width: 992px) {
212
   .st {
269
   .st {
213
     padding: 0 20px;
270
     padding: 0 20px;
214
 
271
 
216
       padding: 20px;
273
       padding: 20px;
217
     }
274
     }
218
   }
275
   }
219
-} 
220
-
276
+}
221
 </style>
277
 </style>

+ 302
- 0
src/components/Navbars.vue 파일 보기

1
+<template>
2
+  <div class="navbars">
3
+    <div>
4
+      <nav class="navbar navbar-default navbar-fixed-top app" :class="{ 'scroll': scrolled }">
5
+        <div class="container-fluid con">
6
+          <div class="navbar-header">
7
+            <button type="button" class="navbar-toggle collapsed">
8
+              <span class="iconfont icon-caidan" @click="navdrawer = true"></span>
9
+            </button>
10
+
11
+            <a class="navbar-brand" href="#">
12
+              <div alt="Brand" class="logo"></div>
13
+            </a>
14
+          </div>
15
+
16
+          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
17
+            <ul class="nav navbar-nav navbar-right">
18
+              <li class="a">
19
+                <a href="/">首页</a>
20
+              </li>
21
+              <li class="a">
22
+                <a href="/case">案例</a>
23
+              </li>
24
+              <li class="a">
25
+                <a href="/dynamic">动态</a>
26
+              </li>
27
+              <li class="a">
28
+                <a href="/about">关于</a>
29
+              </li>
30
+              <li class="a">
31
+                <a href="/contact">联系</a>
32
+              </li>
33
+            </ul>
34
+          </div>
35
+        </div>
36
+      </nav>
37
+    </div>
38
+
39
+    <el-drawer :visible.sync="navdrawer" :show-close="true" size="80%">
40
+      <div>
41
+        <el-row style="text-align: center;">
42
+          <el-col :span="24">
43
+            <img src="../assets/image/mobile/Sidemenulogo.png" width="46%" class="logoimg" />
44
+          </el-col>
45
+          <el-col class="line"></el-col>
46
+          <el-col :span="24" class="a">
47
+            <a href="/" class="btn1">01 回到首页</a>
48
+          </el-col>
49
+
50
+          <el-col :span="24" class="a">
51
+            <a href="/case" class="btn1">02 案例展示</a>
52
+          </el-col>
53
+
54
+          <el-col :span="24" class="a">
55
+            <a href="/dynamic" class="btn1">03 动态分享</a>
56
+          </el-col>
57
+
58
+          <el-col :span="24" class="a">
59
+            <a href="/about" class="btn1">04 关于福予</a>
60
+          </el-col>
61
+
62
+          <el-col :span="24" class="a">
63
+            <a href="/contact" class="btn1">05 联系我们</a>
64
+          </el-col>
65
+
66
+          <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
+          </el-col>
69
+        </el-row>
70
+      </div>
71
+    </el-drawer>
72
+  </div>
73
+</template>
74
+
75
+<script>
76
+
77
+
78
+export default {
79
+  data () {
80
+    return {
81
+      scrolled: false,
82
+      
83
+    
84
+      navdrawer: false,
85
+      direction: 'rtl',
86
+    }
87
+  },
88
+
89
+
90
+
91
+
92
+
93
+
94
+}
95
+</script>
96
+
97
+<style>
98
+.messageBox-Contace {
99
+  width: 80% !important;
100
+}
101
+</style>
102
+<style scoped>
103
+p {
104
+  margin: 0 50px;
105
+}
106
+</style>
107
+
108
+<style scoped>
109
+
110
+
111
+.coll {
112
+  display: none;
113
+}
114
+.navbar-toggle {
115
+  margin: 0 10px 0 0;
116
+  /* padding: 0; */
117
+  border: none;
118
+}
119
+.iconfont {
120
+  border: none;
121
+  font-size: 30px;
122
+}
123
+.iconfont:hover {
124
+  color: red;
125
+}
126
+
127
+@media (min-width: 768px) and (max-width: 992px) {
128
+  .con {
129
+    padding-left: 5vw !important;
130
+    padding-right: 5vw !important;
131
+  }
132
+  .logo {
133
+    margin-top: 0 !important;
134
+  }
135
+  .nav li {
136
+    margin-left: 0 !important;
137
+  }
138
+  .a {
139
+    font-size: 2.4rem !important;
140
+    margin-top: 0.5rem !important;
141
+    color: #000;
142
+    padding-left: 0px !important;
143
+    padding-right: 0px !important;
144
+  }
145
+}
146
+@media (min-width: 992px) {
147
+  .coll {
148
+    display: block;
149
+  }
150
+  .con {
151
+    padding-left: 10%;
152
+    padding-right: 10%;
153
+  }
154
+
155
+  .page-footer {
156
+    height: 120px;
157
+  }
158
+  .footer-p {
159
+    line-height: 120px;
160
+    font-size: 20px;
161
+    margin: 0;
162
+  }
163
+  .main {
164
+    padding-bottom: 9.4rem;
165
+  }
166
+}
167
+
168
+.rtl #drawer__title {
169
+  margin: 0;
170
+}
171
+#hide {
172
+  display: none;
173
+}
174
+
175
+@media (max-width: 992px) {
176
+  .navbar {
177
+    height: 60px;
178
+  }
179
+  .navbar-brand {
180
+    padding: 0;
181
+  }
182
+  .logo {
183
+    margin-top: 15px;
184
+    margin-left: 20px;
185
+    width: 150px;
186
+    height: 30px;
187
+    background-size: 100% 100% !important;
188
+    background: url("../assets/logo1.png");
189
+  }
190
+  .logoimg {
191
+    margin: -20px auto 0px;
192
+  }
193
+  .a {
194
+    font-size: 2.4rem;
195
+    margin-top: 2rem;
196
+    color: #000;
197
+  }
198
+  .a a {
199
+    color: #000;
200
+  }
201
+  .main {
202
+    padding-bottom: 3rem;
203
+  }
204
+
205
+  .line {
206
+    height: 2px;
207
+    width: 300px;
208
+    background: -webkit-linear-gradient(
209
+      left,
210
+      rgba(255, 255, 255, 0),
211
+      #aaa,
212
+      rgba(255, 255, 255, 0)
213
+    );
214
+    background: linear-gradient(
215
+      to right,
216
+      rgba(255, 255, 255, 0),
217
+      #aaa,
218
+      rgba(255, 255, 255, 0)
219
+    );
220
+    margin-bottom: 30px;
221
+  }
222
+  .btn1 {
223
+    font-size: 24px !important;
224
+    color: black !important;
225
+    border: none !important;
226
+  }
227
+  .btn1:hover {
228
+    color: red !important;
229
+    text-decoration: none;
230
+  }
231
+  .btn1:active {
232
+    color: red !important;
233
+    text-decoration: none;
234
+  }
235
+}
236
+</style>
237
+
238
+
239
+<style lang="less" scoped>
240
+@media (min-width: 768px) {
241
+  .navbar {
242
+    padding: 30px 0;
243
+    // background-color: transparent;
244
+    border: none;
245
+    padding: 30px 0;
246
+    z-index: 50;
247
+    height: 116px;
248
+    margin: 0;
249
+
250
+    .navbar-brand {
251
+      padding: 0;
252
+
253
+      img {
254
+        height: 100%;
255
+      }
256
+    }
257
+
258
+    .nav {
259
+      font-size: 2.6rem;
260
+      li {
261
+        margin-left: 2vw;
262
+        a {
263
+          color: #000;
264
+          padding-left: 5px;
265
+          padding-right: 5px;
266
+          margin: 0 10px;
267
+          &:hover {
268
+            border-bottom: 3px solid #000;
269
+          }
270
+        }
271
+      }
272
+    }
273
+
274
+    .logo {
275
+      width: 300px;
276
+      height: 60px;
277
+      background: url("../assets/logo1.png");
278
+    }
279
+
280
+    // &.scroll {
281
+    //   transition: all 0.5s;
282
+    //   background: #fff;
283
+
284
+    //   .nav {
285
+    //     li {
286
+    //       a {
287
+    //         color: #000;
288
+
289
+    //         &:hover {
290
+    //           border-bottom: 3px solid #000;
291
+    //         }
292
+    //       }
293
+    //     }
294
+    //   }
295
+
296
+    //   .logo {
297
+    //     background: url("./assets/logo1.png");
298
+    //   }
299
+    // }
300
+  }
301
+}
302
+</style>

+ 1
- 1
src/components/Wheelplanting.vue 파일 보기

61
 
61
 
62
     initSwiper () {
62
     initSwiper () {
63
       if (!this.swiper) {
63
       if (!this.swiper) {
64
-        this.swiper = new Swiper(".swiper-container", {
64
+        this.swiper = new Swiper(".con-swiper", {
65
           // loop:true,
65
           // loop:true,
66
           // autoplay: true,
66
           // autoplay: true,
67
           direction: this.direction || 'horizontal',
67
           direction: this.direction || 'horizontal',

+ 22
- 0
src/views/About.vue 파일 보기

1
 <template>
1
 <template>
2
   <div class="about">
2
   <div class="about">
3
+
4
+    <Navbars></Navbars>
3
     <div class>
5
     <div class>
4
       <img src="../assets/image/about/aboutbanner.jpg" width="100%" />
6
       <img src="../assets/image/about/aboutbanner.jpg" width="100%" />
5
     </div>
7
     </div>
141
   </div>
143
   </div>
142
 </template>
144
 </template>
143
 
145
 
146
+<script>
147
+// @ is an alias to /src
148
+
149
+
150
+import Navbars from '../components/Navbars'
151
+
152
+export default {
153
+name: 'about',
154
+ data () {},
155
+  components: {
156
+   
157
+    Navbars,
158
+  },
144
 
159
 
160
+ 
161
+
162
+  
163
+
164
+
165
+}
166
+</script>
145
 
167
 
146
 <style scoped>
168
 <style scoped>
147
 @media (min-width: 768px) {
169
 @media (min-width: 768px) {

+ 36
- 38
src/views/Case.vue 파일 보기

1
 <template>
1
 <template>
2
   <div class="case">
2
   <div class="case">
3
+    <Navbars></Navbars>
3
     <div>
4
     <div>
4
       <img :src="cover.coverImg" width="100%" />
5
       <img :src="cover.coverImg" width="100%" />
5
       <!-- width="100%" height="300"> -->
6
       <!-- width="100%" height="300"> -->
26
       <div>
27
       <div>
27
         <el-row style="text-align: center;">
28
         <el-row style="text-align: center;">
28
           <el-col :span="24">
29
           <el-col :span="24">
29
-            <button type="button" @click="() => filterCase()"  class="btn-link" style="color:black;font-size: 24px;">全部案例</button>
30
+            <button type="button" @click="() => filterCase()" class="btn-link" style="color:black;font-size: 24px;">全部案例</button>
30
           </el-col>
31
           </el-col>
31
-          <el-col :span="24" v-for="cas in casetype" :key="cas.id"> 
32
+          <el-col :span="24" v-for="cas in casetype" :key="cas.id">
32
             <!-- @click="() => filterCase(cas)" -->
33
             <!-- @click="() => filterCase(cas)" -->
33
             <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px">{{cas.typeName}}</button>
34
             <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px">{{cas.typeName}}</button>
34
           </el-col>
35
           </el-col>
48
         </div>
49
         </div>
49
       </div>
50
       </div>
50
     </div>
51
     </div>
51
-<!--  -->
52
+    <!--  -->
52
     <div style="margin-top:40px">
53
     <div style="margin-top:40px">
53
       <button type="button" v-if="!allLoaded" class="btn btn-default" @click="more">加载更多</button>
54
       <button type="button" v-if="!allLoaded" class="btn btn-default" @click="more">加载更多</button>
54
       <p v-else>已经到底了~更多案例尽请期待~</p>
55
       <p v-else>已经到底了~更多案例尽请期待~</p>
63
 import request from '../../utils/request'
64
 import request from '../../utils/request'
64
 import apis from '../config/api'
65
 import apis from '../config/api'
65
 import CaseCard from '../components/CaseCard'
66
 import CaseCard from '../components/CaseCard'
67
+import Navbars from '../components/Navbars'
66
 
68
 
67
 export default {
69
 export default {
68
   name: 'Case',
70
   name: 'Case',
69
   components: {
71
   components: {
70
     CaseCard,
72
     CaseCard,
73
+    Navbars,
71
   },
74
   },
72
   data () {
75
   data () {
73
     return {
76
     return {
164
 </script>
167
 </script>
165
 
168
 
166
 <style scoped>
169
 <style scoped>
167
-
168
-.routelink{
170
+.routelink {
169
   text-decoration: none;
171
   text-decoration: none;
170
 }
172
 }
171
 
173
 
172
-.casecard{
173
- 
174
+.casecard {
174
   width: 100%;
175
   width: 100%;
175
 
176
 
176
   padding-bottom: 100%;
177
   padding-bottom: 100%;
178
   /* position: relative; */
179
   /* position: relative; */
179
 
180
 
180
   margin: 0;
181
   margin: 0;
181
-
182
 }
182
 }
183
 
183
 
184
 .border-bottom {
184
 .border-bottom {
185
   /* display: none; */
185
   /* display: none; */
186
   border-bottom: 1px solid #bfbfbf;
186
   border-bottom: 1px solid #bfbfbf;
187
-      margin-top: 10px !important;
187
+  margin-top: 10px !important;
188
 }
188
 }
189
- .btn1 {
190
-    font-size: 24px !important;
191
-    color: black !important;
192
-    border: none !important;
193
-  }
194
-  .btn1:hover {
195
-    color: red !important;
196
-    text-decoration: none;
197
-  }
198
-.mobbtn{
199
-color: #e03723;
200
-   
201
-  padding:12px 40px;
189
+.btn1 {
190
+  font-size: 24px !important;
191
+  color: black !important;
192
+  border: none !important;
193
+}
194
+.btn1:hover {
195
+  color: red !important;
196
+  text-decoration: none;
197
+}
198
+.mobbtn {
199
+  color: #e03723;
202
 
200
 
203
-    border-radius: 0px;
201
+  padding: 12px 40px;
202
+
203
+  border-radius: 0px;
204
 
204
 
205
-    background-color: rgb(252, 151, 252);
206
-    border: 2px solid #bfbfbf;
207
-  
205
+  background-color: rgb(252, 151, 252);
206
+  border: 2px solid #bfbfbf;
208
 }
207
 }
209
 
208
 
210
 .text-left {
209
 .text-left {
221
 }
220
 }
222
 
221
 
223
 @media (max-width: 992px) {
222
 @media (max-width: 992px) {
224
-  .case{
223
+  .case {
225
     margin-top: 58px;
224
     margin-top: 58px;
226
   }
225
   }
227
   .comtype {
226
   .comtype {
235
   }
234
   }
236
 }
235
 }
237
 .row {
236
 .row {
238
-    margin: 0;
239
-  }
237
+  margin: 0;
238
+}
240
 .marginTP {
239
 .marginTP {
241
   margin-top: 3rem;
240
   margin-top: 3rem;
242
 }
241
 }
251
     justify-content: center;
250
     justify-content: center;
252
   }
251
   }
253
   .case {
252
   .case {
254
-  margin-top: 116px;
255
-  margin-bottom: -116px;
256
-  padding-bottom: 116px; 
257
-  background-color: #fafafa;
258
-}
259
-  
253
+    margin-top: 116px;
254
+    margin-bottom: -116px;
255
+    padding-bottom: 116px;
256
+    background-color: #fafafa;
257
+  }
258
+
260
   .mobtype {
259
   .mobtype {
261
     display: none;
260
     display: none;
262
   }
261
   }
263
 
262
 
264
-  
265
   .btn {
263
   .btn {
266
     font-size: 24px;
264
     font-size: 24px;
267
     margin-top: 88px;
265
     margin-top: 88px;
288
     padding: 10px;
286
     padding: 10px;
289
   }
287
   }
290
 }
288
 }
291
-.btn-link{
289
+.btn-link {
292
   outline: none;
290
   outline: none;
293
-  text-decoration: none
291
+  text-decoration: none;
294
 }
292
 }
295
 </style>
293
 </style>

+ 25
- 0
src/views/Contact.vue 파일 보기

1
 <template>
1
 <template>
2
   <div class="contact">
2
   <div class="contact">
3
+     <Navbars></Navbars>
3
     <div class>
4
     <div class>
4
       <img src="../assets/image/contact/contactbanner.png" style="width:100%" />
5
       <img src="../assets/image/contact/contactbanner.png" style="width:100%" />
5
       <!-- width="100%" height="300"> -->
6
       <!-- width="100%" height="300"> -->
43
   </div>
44
   </div>
44
 </template>
45
 </template>
45
 
46
 
47
+
48
+
49
+<script>
50
+// @ is an alias to /src
51
+
52
+
53
+import Navbars from '../components/Navbars'
54
+
55
+export default {
56
+name: 'contact',
57
+ data () {},
58
+  components: {
59
+   
60
+    Navbars,
61
+  },
62
+
63
+ 
64
+
65
+  
66
+
67
+
68
+}
69
+</script>
70
+
46
 <style lang="less" scoped>
71
 <style lang="less" scoped>
47
 @media (max-width: 992px){
72
 @media (max-width: 992px){
48
     .address{
73
     .address{

+ 41
- 42
src/views/Details.vue 파일 보기

1
 <template>
1
 <template>
2
   <div class="details">
2
   <div class="details">
3
+    <Navbars></Navbars>
3
     <div class="head">
4
     <div class="head">
4
       <img :src="current.caseCoverImg" width="100%" />
5
       <img :src="current.caseCoverImg" width="100%" />
5
     </div>
6
     </div>
7
     <div class="contanier st">
8
     <div class="contanier st">
8
       <h1 style>{{current.caseTitle}}</h1>
9
       <h1 style>{{current.caseTitle}}</h1>
9
 
10
 
10
-      <p >
11
+      <p>
11
         客户:
12
         客户:
12
         <img :src="current.caseLogoImg" alt />
13
         <img :src="current.caseLogoImg" alt />
13
         &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 所属行业:{{current.caseIndustry}}
14
         &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 所属行业:{{current.caseIndustry}}
23
           </div>
24
           </div>
24
         </div>
25
         </div>
25
         <div class="col-xs-6 col-md-6" style="padding 0;">
26
         <div class="col-xs-6 col-md-6" style="padding 0;">
26
-          <div class="pull-right" >
27
-            
28
-            <div style=" display: flex;"><span class="sharetext" >分享:</span><share :config="shareConfig"/></div> <div></div>
29
-  
30
-  
27
+          <div class="pull-right">
28
+            <div style=" display: flex;">
29
+              <span class="sharetext">分享:</span>
30
+              <share :config="shareConfig" />
31
+            </div>
32
+            <div></div>
31
           </div>
33
           </div>
32
         </div>
34
         </div>
33
       </div>
35
       </div>
59
             <div class="st4" :style="{background: `url(${item.caseCoverImg})`}">
61
             <div class="st4" :style="{background: `url(${item.caseCoverImg})`}">
60
               <div class="casetitle">
62
               <div class="casetitle">
61
                 <div style="width: 100%">
63
                 <div style="width: 100%">
62
-                  <hr>
63
-                  <p>
64
-                    {{item.caseTitle}}
65
-                  </p>
64
+                  <hr />
65
+                  <p>{{item.caseTitle}}</p>
66
                 </div>
66
                 </div>
67
               </div>
67
               </div>
68
             </div>
68
             </div>
73
   </div>
73
   </div>
74
 </template>
74
 </template>
75
 
75
 
76
+
77
+
78
+
79
+
76
 <script>
80
 <script>
77
 // @ is an alias to /src
81
 // @ is an alias to /src
78
 import request from '../../utils/request'
82
 import request from '../../utils/request'
79
-import apis from '../config/api';
80
-
81
-
83
+import apis from '../config/api'
82
 
84
 
83
 
85
 
84
 
86
 
85
 export default {
87
 export default {
86
-  name: 'CaseDetails',
88
+  name: 'Details',
87
 
89
 
88
   data () {
90
   data () {
89
     return {
91
     return {
101
       // }
103
       // }
102
     }
104
     }
103
 
105
 
106
+  },
107
+  components: {
108
+    share: () => import('../components/Share'),
109
+
110
+    Navbars: () => import('../components/Navbars'),
111
+
104
   },
112
   },
105
   computed: {
113
   computed: {
106
     shareConfig () {
114
     shareConfig () {
107
       return {
115
       return {
108
-        
116
+
109
         url: window.location.href,
117
         url: window.location.href,
110
         title: this.current.caseTitle,
118
         title: this.current.caseTitle,
111
         image: this.current.caseCoverImg, // 图片, 默认取网页中第一个img标签
119
         image: this.current.caseCoverImg, // 图片, 默认取网页中第一个img标签
136
       return (this.detail.recommends || []).slice(0, 4)
144
       return (this.detail.recommends || []).slice(0, 4)
137
     },
145
     },
138
   },
146
   },
139
-  components: {
140
-    share: () => import('../components/Share'),
141
-  },
147
+
142
   created () {
148
   created () {
143
 
149
 
144
-// var $config = {
145
-//     title               : '234',
146
-//     description         : '123',
147
-//     sites: ['weibo', 'wechat'], // 启用的站点
148
-//     wechatQrcodeTitle   : "微信扫一扫:分享", // 微信二维码提示文字
149
-//     wechatQrcodeHelper  : '<p>微信里点“发现”,扫一下</p><p>二维码便可将本文分享至朋友圈。</p>',
150
-// };
151
 
150
 
152
-// socialShare('.social-share-cs', $config);
153
 
151
 
154
 
152
 
155
     this.getDetail(this.$route.params.id)
153
     this.getDetail(this.$route.params.id)
190
       })
188
       })
191
     },
189
     },
192
 
190
 
193
-    
191
+
194
 
192
 
195
   },
193
   },
196
 
194
 
198
 </script>
196
 </script>
199
 
197
 
200
 <style lang="less" scoped>
198
 <style lang="less" scoped>
201
-
202
-
203
 .casetitle {
199
 .casetitle {
204
   hr {
200
   hr {
205
     margin-bottom: 20px;
201
     margin-bottom: 20px;
207
     border: 2px solid red;
203
     border: 2px solid red;
208
   }
204
   }
209
 }
205
 }
206
+@media (max-width: 992px) {
207
+  .casetitle {
208
+    display: none;
209
+  }
210
+}
210
 
211
 
211
 @media (min-width: 992px) {
212
 @media (min-width: 992px) {
212
   .pull-left {
213
   .pull-left {
255
     font-size: 2.4rem !important;
256
     font-size: 2.4rem !important;
256
     color: black !important;
257
     color: black !important;
257
     border: none !important;
258
     border: none !important;
259
+    text-decoration: none;
258
   }
260
   }
259
   .btn1:hover {
261
   .btn1:hover {
260
     color: red !important;
262
     color: red !important;
290
     font-size: 1.2rem !important;
292
     font-size: 1.2rem !important;
291
     color: black !important;
293
     color: black !important;
292
     border: none !important;
294
     border: none !important;
295
+        text-decoration: none;
296
+
293
   }
297
   }
294
-  .btn1:hover {
295
-    color: red !important;
296
-    text-decoration: none;
297
-  }
298
+
298
   .btn {
299
   .btn {
299
     width: 100px;
300
     width: 100px;
300
     padding: 3px;
301
     padding: 3px;
311
   .pull-right {
312
   .pull-right {
312
     display: flex;
313
     display: flex;
313
   }
314
   }
314
-  .zantext{
315
+  .zantext {
315
     // margin-top: -3px;
316
     // margin-top: -3px;
316
     margin-left: 10px;
317
     margin-left: 10px;
317
   }
318
   }
318
-  .sharetext{
319
-display:inline-block;line-height:42px
319
+  .sharetext {
320
+    display: inline-block;
321
+    line-height: 42px;
320
   }
322
   }
321
   .st {
323
   .st {
322
     h1 {
324
     h1 {
373
 
375
 
374
     margin: 0;
376
     margin: 0;
375
   }
377
   }
376
- 
377
 }
378
 }
378
 </style>
379
 </style>
379
 
380
 
454
     width: 100%;
455
     width: 100%;
455
   }
456
   }
456
 }
457
 }
457
-
458
 </style>
458
 </style>
459
 
459
 
460
 <style lang="less" scoped>
460
 <style lang="less" scoped>
461
-
462
 .icon-nobefore {
461
 .icon-nobefore {
463
- &::before {
464
-   content: '' !important;
465
- } 
462
+  &::before {
463
+    content: "" !important;
464
+  }
466
 }
465
 }
467
 </style>
466
 </style>

+ 3
- 0
src/views/Dynamic.vue 파일 보기

1
 <template>
1
 <template>
2
   <div class="dynamic">
2
   <div class="dynamic">
3
+    <Navbars></Navbars>
3
     <div>
4
     <div>
4
       <img :src="cover.coverImg" width="100%" />
5
       <img :src="cover.coverImg" width="100%" />
5
       <!-- width="100%" height="300"> -->
6
       <!-- width="100%" height="300"> -->
62
 import request from '../../utils/request'
63
 import request from '../../utils/request'
63
 import apis from '../config/api'
64
 import apis from '../config/api'
64
 import CaseCard from '../components/CaseCard'
65
 import CaseCard from '../components/CaseCard'
66
+import Navbars from '../components/Navbars'
65
 
67
 
66
 export default {
68
 export default {
67
   name: 'dynamic',
69
   name: 'dynamic',
87
   },
89
   },
88
   components: {
90
   components: {
89
     CaseCard,
91
     CaseCard,
92
+    Navbars,
90
   },
93
   },
91
 
94
 
92
   created () {
95
   created () {

+ 80
- 164
src/views/Home.vue 파일 보기

5
         <div class="navbar-header">
5
         <div class="navbar-header">
6
           <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
6
           <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
7
             <span class="sr-only">Toggle navigation</span>
7
             <span class="sr-only">Toggle navigation</span>
8
-            
9
           </button>
8
           </button>
10
           <a class="navbar-brand" href="/">
9
           <a class="navbar-brand" href="/">
11
             <div alt="Brand" class="logo"></div>
10
             <div alt="Brand" class="logo"></div>
33
         </div>
32
         </div>
34
       </div>
33
       </div>
35
     </nav>
34
     </nav>
36
-
35
+<Navbars v-if="isMobilePhone"></Navbars>
37
     <div class="aarow_box animated aarowMove">
36
     <div class="aarow_box animated aarowMove">
38
       <div class="aarow" @click="arrow()"></div>
37
       <div class="aarow" @click="arrow()"></div>
39
     </div>
38
     </div>
60
         </div>
59
         </div>
61
       </div>
60
       </div>
62
 
61
 
63
-      
64
-<Business></Business>
65
-      <!-- <div class="row st"> -->
66
-
67
-        
68
-        <!-- <div class="col-xs-6 col-md-3 sw">
69
-          <img src="../assets/image/home/service_brand.jpg" width="100%" height="100%" alt="..." />
70
-          <div class>
71
-            <h4>品牌服务</h4>
72
-            <p class="text-left business-text">
73
-              品牌咨询
74
-              <br />品牌策划
75
-              <br />CIS/VIS
76
-              <br />logo设计
77
-              <br />
78
-            </p>
79
-          </div>
80
-        </div>
81
-
82
-        <div class="col-xs-6 col-md-3 sw">
83
-          <img src="../assets/image/home/service_plan.jpg" width="100%" height="100%" alt="..." />
84
-          <div class>
85
-            <h4>营销与策划</h4>
86
-            <p class="text-left business-text">
87
-              营销创意
88
-              <br />广告创意
89
-              <br />活动策划与执行
90
-            </p>
91
-          </div>
92
-        </div>
93
-
94
-        <div class="col-xs-6 col-md-3 sw">
95
-          <img src="../assets/image/home/service_design.jpg" width="100%" height="100%" alt="..." />
96
-          <div class>
97
-            <h4>创意设计</h4>
98
-            <p class="text-left business-text">
99
-              平面设计
100
-              <small>(海报/展架/画册/包装...)</small>
101
-              <br />数字媒体
102
-              <small>(H5/短视频/小程序...)</small>
103
-              <br />动画制作
104
-              <br />视觉设计
105
-              <small>(app/网站)</small>
106
-              <br />空间设计
107
-              <small>(美陈/展厅/店面/导视)</small>
108
-              <br />视频包装
109
-            </p>
110
-          </div>
111
-        </div>
112
-
113
-        <div class="col-xs-6 col-md-3 sw">
114
-          <img src="../assets/image/home/service_make.jpg" width="100%" height="100%" alt="..." />
115
-          <div class>
116
-            <h4>制作与传播</h4>
117
-            <p class="text-left business-text">
118
-              物料制作
119
-              <br />传统媒介
120
-              <br />网络制作
121
-            </p>
122
-          </div>
123
-        </div> -->
124
-      <!-- </div> -->
62
+      <Business></Business>
125
     </div>
63
     </div>
126
 
64
 
127
     <div class="contanier home-case top-case">
65
     <div class="contanier home-case top-case">
131
             <div class="st4" :style="{background: `url(${item.caseCoverImg})`}">
69
             <div class="st4" :style="{background: `url(${item.caseCoverImg})`}">
132
               <div class="casetitle">
70
               <div class="casetitle">
133
                 <div style="width: 100%">
71
                 <div style="width: 100%">
134
-                  <hr>
135
-                  <p>
136
-                    {{item.caseTitle}}
137
-                  </p>
72
+                  <hr />
73
+                  <p>{{item.caseTitle}}</p>
138
                 </div>
74
                 </div>
139
               </div>
75
               </div>
140
             </div>
76
             </div>
171
           <div class="row">
107
           <div class="row">
172
             <div class="col-xs-6 col-md-6 home-news-hover home-news" v-for="(item,index) in dynamiclist" :key="index">
108
             <div class="col-xs-6 col-md-6 home-news-hover home-news" v-for="(item,index) in dynamiclist" :key="index">
173
               <router-link :to="{ name: 'details', params: { id: item.id }}" class="routelink">
109
               <router-link :to="{ name: 'details', params: { id: item.id }}" class="routelink">
174
-                <div :style="{background: `url(${item.caseCoverImg})`}" class="home-dynamic"><h3 class="text-left" style>{{item.caseTitle}}</h3></div>
175
-                
110
+                <div :style="{background: `url(${item.caseCoverImg})`}" class="home-dynamic">
111
+                  <h3 class="text-left" style>{{item.caseTitle}}</h3>
112
+                </div>
176
               </router-link>
113
               </router-link>
177
             </div>
114
             </div>
178
             <!-- item.caseCoverImg -->
115
             <!-- item.caseCoverImg -->
201
   data () {
138
   data () {
202
     return {
139
     return {
203
       scrolled: false,
140
       scrolled: false,
204
-      // rescrolled: false,
141
+      rescrolled: false,
205
       isMobilePhone,
142
       isMobilePhone,
206
       show: true,
143
       show: true,
207
       data: '',
144
       data: '',
219
     Wheelplanting,
156
     Wheelplanting,
220
     // Wheelplantings,
157
     // Wheelplantings,
221
     Business,
158
     Business,
159
+    Navbars:() => import('../components/Navbars'),
222
   },
160
   },
223
   mounted () {
161
   mounted () {
224
     window.addEventListener('scroll', () => {
162
     window.addEventListener('scroll', () => {
225
-      this.scrolled = (document.documentElement.scrollTop || document.body.scrollTop) > 300
226
-      
163
+      this.scrolled = (document.documentElement.scrollTop || document.body.scrollTop) > 100
164
+
165
+    })
166
+
167
+    window.addEventListener('!scroll', () => {
168
+      this.rescrolled = (document.documentElement.scrollTop || document.body.scrollTop) < 100
169
+
227
     })
170
     })
228
 
171
 
229
-    // window.addEventListener('scrolll', () => {
230
-    //   this.rescrolled = (document.documentElement.scrollTop || document.body.scrollTop) < 300
231
-      
232
-    // })
233
 
172
 
234
-    
235
 
173
 
236
 
174
 
237
   },
175
   },
238
- 
176
+
239
   methods: {
177
   methods: {
240
     arrow () {
178
     arrow () {
241
 
179
 
288
 
226
 
289
 <style scoped>
227
 <style scoped>
290
 @media (min-width: 768px) and (max-width: 992px) {
228
 @media (min-width: 768px) and (max-width: 992px) {
291
-
292
   .home {
229
   .home {
293
-  margin-top: 116px;
294
-  margin-bottom: -116px;
295
-  padding-bottom: 116px; 
296
-  
297
-}
230
+    margin-top: 116px;
231
+    margin-bottom: -116px;
232
+    padding-bottom: 116px;
233
+  }
298
   .con {
234
   .con {
299
     padding-left: 5vw !important;
235
     padding-left: 5vw !important;
300
     padding-right: 5vw !important;
236
     padding-right: 5vw !important;
301
   }
237
   }
302
-  .logo{
238
+  .logo {
303
     margin-top: 0 !important;
239
     margin-top: 0 !important;
304
   }
240
   }
305
-  .nav li {margin-left: 0 !important;}
241
+  .nav li {
242
+    margin-left: 0 !important;
243
+  }
306
   .a {
244
   .a {
307
     font-size: 2.4rem !important;
245
     font-size: 2.4rem !important;
308
     margin-top: 0.5rem !important;
246
     margin-top: 0.5rem !important;
544
   margin: 0;
482
   margin: 0;
545
 }
483
 }
546
 
484
 
547
-/* .home-business {
548
-  widows: 1300px;
549
-  height: 600px;
550
-} */
551
-
552
-.main {
553
-  display: -webkit-flex; /* Safari */
554
-  display: flex;
555
-  flex-direction: row;
556
-  flex-wrap: wrap;
557
-  /* flex-flow: <flex-direction> <flex-wrap>; */ /*简写*/
558
-  justify-content: center;
559
-}
560
 
485
 
561
 .st4 {
486
 .st4 {
562
   width: 100%;
487
   width: 100%;
567
 
492
 
568
   margin: 0;
493
   margin: 0;
569
 }
494
 }
570
-.st4 .casetitle {
571
-  display: none;
572
-}
573
-
574
-.st4:hover .casetitle {
575
-  position: absolute;
576
-  width: 100%;
577
-  height: 100%;
578
-  float: left;
579
-  padding: 0 auto;
580
-  background: rgba(0, 0, 0, 0.7);
581
-  align-items: center;
582
-  display: -webkit-flex;
583
-  display: flex;
584
 
495
 
585
-  text-align: center;
586
-}
587
-.st4 .casetitle p {
588
-  text-align: center;
589
-  display: block;
590
-  color: #fff;
591
-  width: 100%;
592
-}
593
 .home-news {
496
 .home-news {
594
   padding: 0 6px;
497
   padding: 0 6px;
595
   margin-bottom: 12px;
498
   margin-bottom: 12px;
617
   padding-bottom: 60%;
520
   padding-bottom: 60%;
618
   background-size: 100% 100% !important;
521
   background-size: 100% 100% !important;
619
 }
522
 }
620
-h3{
621
-      position: absolute;
622
-   
623
-    width: calc(100% - 12px);
624
- bottom: 0;
523
+h3 {
524
+  position: absolute;
525
+
526
+  width: calc(100% - 12px);
527
+  bottom: 0;
625
   color: #fff;
528
   color: #fff;
626
- 
627
-  background: rgba(0, 0, 0, 0.8);
628
-}
629
 
529
 
530
+  background: rgba(0, 0, 0, 0.9);
531
+}
630
 </style>
532
 </style>
631
 
533
 
632
 
534
 
633
 <style lang="less" scoped>
535
 <style lang="less" scoped>
634
-.routelink{
536
+.home-wheel {
537
+  z-index: 60;
538
+}
539
+.routelink {
635
   text-decoration: none;
540
   text-decoration: none;
636
 }
541
 }
637
 
542
 
638
-
639
-
640
 .casetitle {
543
 .casetitle {
641
   hr {
544
   hr {
642
     margin-bottom: 0px;
545
     margin-bottom: 0px;
645
   }
548
   }
646
 }
549
 }
647
 
550
 
648
-
649
 @media (max-width: 992px) {
551
 @media (max-width: 992px) {
552
+  .casetitle{
553
+    display: none;
554
+  }
650
   .navbar {
555
   .navbar {
651
     display: none;
556
     display: none;
652
   }
557
   }
660
   }
565
   }
661
 }
566
 }
662
 @media (min-width: 992px) {
567
 @media (min-width: 992px) {
568
+  .st4 .casetitle {
569
+  display: none;
570
+}
571
+
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;
582
+
583
+  text-align: center;
584
+}
585
+.st4 .casetitle p {
586
+  text-align: center;
587
+  display: block;
588
+  color: #fff;
589
+  width: 100%;
590
+}
663
   .br-logotop {
591
   .br-logotop {
664
     display: none;
592
     display: none;
665
   }
593
   }
666
   .navbar {
594
   .navbar {
667
     height: 116px;
595
     height: 116px;
668
     z-index: 70;
596
     z-index: 70;
669
-    padding: 30px 0;
670
-    background-color: transparent;
597
+    padding: 47px 0;
598
+    // background-color: transparent;
599
+    background: rgba(255, 255, 255, 0);
671
     border: none;
600
     border: none;
672
     margin: 0;
601
     margin: 0;
602
+    transition: all 0.5s;
603
+
604
+
673
     .navbar-brand {
605
     .navbar-brand {
674
       padding: 0;
606
       padding: 0;
675
 
607
 
685
         a {
617
         a {
686
           color: #fff;
618
           color: #fff;
687
 
619
 
688
-     padding-left: 5px;
689
-    padding-right: 5px;
690
-    margin: 0 10px;
620
+          padding-left: 5px;
621
+          padding-right: 5px;
622
+          margin: 0 10px;
691
           &:hover {
623
           &:hover {
692
             border-bottom: 3px solid #fff;
624
             border-bottom: 3px solid #fff;
693
           }
625
           }
700
       height: 60px;
632
       height: 60px;
701
       background: url("../assets/logo.png");
633
       background: url("../assets/logo.png");
702
     }
634
     }
703
-
635
+    // padding-top: 20px;
704
     &.scroll {
636
     &.scroll {
705
       transition: all 0.5s;
637
       transition: all 0.5s;
706
-      background: #fff;
707
-
638
+      // background: #fff;
639
+      background: rgba(255, 255, 255, 1);
640
+      padding: 30px 0;
708
       .nav {
641
       .nav {
642
+        font-size: 2.6rem;
709
         li {
643
         li {
710
           a {
644
           a {
711
             color: #000;
645
             color: #000;
712
 
646
 
713
-    padding-left: 5px;
714
-    padding-right: 5px;
715
-    margin: 0 10px;
647
+            padding-left: 5px;
648
+            padding-right: 5px;
649
+            margin: 0 10px;
716
 
650
 
717
             &:hover {
651
             &:hover {
718
               border-bottom: 3px solid #000;
652
               border-bottom: 3px solid #000;
726
       }
660
       }
727
     }
661
     }
728
 
662
 
729
-    //  &.scrolll {
730
-    //   transition: all 0.5s;
731
-    //   background-color: transparent;
732
-    //   .nav {
733
-    //     li {
734
-    //       a {
735
-    //         color: #fff;
736
-
737
-    //         &:hover {
738
-    //           border-bottom: 3px solid #fff;
739
-    //         }
740
-    //       }
741
-    //     }
742
-    //   }
743
-
744
-    //   .logo {
745
-    //     background: url("../assets/logo.png");
746
-    //   }
747
-    // }
663
+    
748
   }
664
   }
749
 }
665
 }
750
 </style>
666
 </style>