周立森 5 vuotta sitten
vanhempi
commit
be87695011

+ 30
- 49
src/App.vue Näytä tiedosto

@@ -1,27 +1,23 @@
1 1
 <template>
2 2
   <div id="app">
3
-    <div>
3
+    <!-- <div>
4 4
       <nav class="navbar navbar-default navbar-fixed-top app" :class="{ 'scroll': scrolled }">
5 5
         <div class="container-fluid con">
6
-          <!-- Brand and toggle get grouped for better mobile display -->
6
+         
7 7
           <div class="navbar-header">
8 8
             <button type="button" class="navbar-toggle collapsed">
9 9
               <span class="iconfont icon-caidan" @click="navdrawer = true"></span>
10 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 12
             <a class="navbar-brand" href="#">
13
-              <!-- <img alt="Brand" src="./assets/logo1.png" /> -->
13
+            
14 14
               <div alt="Brand" class="logo"></div>
15 15
             </a>
16 16
           </div>
17 17
 
18 18
           <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
19 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 21
               <li class="a">
26 22
                 <a href="/">首页</a>
27 23
               </li>
@@ -39,13 +35,13 @@
39 35
               </li>
40 36
             </ul>
41 37
           </div>
42
-          <!-- /.navbar-collapse -->
38
+         
43 39
         </div>
44
-        <!-- /.container-fluid -->
40
+     
45 41
       </nav>
46 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 45
       <div>
50 46
         <el-row style="text-align: center;">
51 47
           <el-col :span="24">
@@ -77,7 +73,7 @@
77 73
           </el-col>
78 74
         </el-row>
79 75
       </div>
80
-    </el-drawer>
76
+    </el-drawer> -->
81 77
 
82 78
     <div class="main">
83 79
       <router-view />
@@ -167,9 +163,7 @@ export default {
167 163
   },
168 164
 
169 165
   mounted () {
170
-    window.addEventListener('scroll', () => {
171
-      this.scrolled = (document.documentElement.scrollTop || document.body.scrollTop) > 200
172
-    })
166
+
173 167
 
174 168
     window.onscroll = function () {
175 169
       var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
@@ -202,8 +196,8 @@ p {
202 196
 
203 197
 <style>
204 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 201
   -webkit-font-smoothing: antialiased;
208 202
   -moz-osx-font-smoothing: grayscale;
209 203
   text-align: center;
@@ -213,9 +207,9 @@ p {
213 207
   width: auto;
214 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 215
 .coll {
@@ -234,17 +228,17 @@ p {
234 228
   color: red;
235 229
 }
236 230
 
237
-
238
-
239 231
 @media (min-width: 768px) and (max-width: 992px) {
240 232
   .con {
241 233
     padding-left: 5vw !important;
242 234
     padding-right: 5vw !important;
243 235
   }
244
-  .logo{
236
+  .logo {
245 237
     margin-top: 0 !important;
246 238
   }
247
-  .nav li {margin-left: 0 !important;}
239
+  .nav li {
240
+    margin-left: 0 !important;
241
+  }
248 242
   .a {
249 243
     font-size: 2.4rem !important;
250 244
     margin-top: 0.5rem !important;
@@ -273,7 +267,6 @@ p {
273 267
   .main {
274 268
     padding-bottom: 9.4rem;
275 269
   }
276
- 
277 270
 }
278 271
 
279 272
 .rtl #drawer__title {
@@ -283,6 +276,11 @@ p {
283 276
   display: none;
284 277
 }
285 278
 
279
+
280
+</style>
281
+
282
+
283
+<style lang="less" scoped>
286 284
 @media (max-width: 992px) {
287 285
   .navbar {
288 286
     height: 60px;
@@ -330,24 +328,8 @@ p {
330 328
     );
331 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 333
 @media (min-width: 768px) {
352 334
   .navbar {
353 335
     padding: 30px 0;
@@ -371,11 +353,10 @@ p {
371 353
       li {
372 354
         margin-left: 2vw;
373 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 360
           &:hover {
380 361
             border-bottom: 3px solid #000;
381 362
           }

+ 168
- 112
src/components/Business.vue Näytä tiedosto

@@ -1,79 +1,43 @@
1 1
 <template>
2 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 15
             </div>
10 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 17
         </div>
18
+        <div class="swiper-button-prev"></div>
19
+        <div class="swiper-button-next"></div>
26 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 31
         </div>
68 32
       </div>
69
-    </div>-->
33
+
34
+
35
+    </div>
70 36
   </div>
71 37
 </template>
72 38
 
73 39
 <script>
74
-// @ is an alias to /src
75
-//  import Swiper from "swiper";
76
-// import Swiper from "swiper";
40
+import Swiper from 'swiper';
77 41
 import "swiper/dist/css/swiper.min.css";
78 42
 import request from '../../utils/request'
79 43
 import apis from '../config/api';
@@ -82,28 +46,104 @@ export default {
82 46
   name: "business",
83 47
   data () {
84 48
     return {
85
-      show: true,
49
+      show: false,
86 50
       service: []
87 51
     };
88 52
   },
89 53
   components: {},
90 54
 
91 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 127
   created () {
95 128
 
96 129
 
97 130
 
98 131
 
132
+
99 133
     //http://localhost:8080/pc/service/list
100 134
     request({
101 135
       ...apis.service.list,
102 136
 
103 137
 
104 138
     }).then(con => {
105
-      console.log(con,"124")
139
+      console.log(con, "124")
106 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 147
       // window.console.log(this.service, "543");
108 148
     })
109 149
 
@@ -116,16 +156,12 @@ export default {
116 156
 };
117 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 161
 @media (max-width: 992px) {
125
- .business-text{
126
-   display: none;
127
- }
128
-
162
+  .business-text {
163
+    display: none;
164
+  }
129 165
 
130 166
   h4 {
131 167
     font-family: "Microsoft Yahei Light";
@@ -144,24 +180,65 @@ export default {
144 180
   .sw {
145 181
     padding: 2% !important;
146 182
   }
147
-
148
-
149
-
150
- 
151
-
152
- 
153 183
 }
154 184
 
155 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 237
     margin: 0px;
160 238
     padding: 0px 5px 0 5px;
161 239
     font-size: 2.4rem;
162 240
     color: #595757;
163 241
   }
164
-  
165 242
 
166 243
   h4 {
167 244
     font-family: "Microsoft Yahei Light";
@@ -177,38 +254,18 @@ export default {
177 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 264
 </style>
198 265
 
199 266
 
200 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 269
   .st {
213 270
     padding: 0 20px;
214 271
 
@@ -216,6 +273,5 @@ export default {
216 273
       padding: 20px;
217 274
     }
218 275
   }
219
-} 
220
-
276
+}
221 277
 </style>

+ 302
- 0
src/components/Navbars.vue Näytä tiedosto

@@ -0,0 +1,302 @@
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 Näytä tiedosto

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

+ 22
- 0
src/views/About.vue Näytä tiedosto

@@ -1,5 +1,7 @@
1 1
 <template>
2 2
   <div class="about">
3
+
4
+    <Navbars></Navbars>
3 5
     <div class>
4 6
       <img src="../assets/image/about/aboutbanner.jpg" width="100%" />
5 7
     </div>
@@ -141,7 +143,27 @@
141 143
   </div>
142 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 168
 <style scoped>
147 169
 @media (min-width: 768px) {

+ 36
- 38
src/views/Case.vue Näytä tiedosto

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <div class="case">
3
+    <Navbars></Navbars>
3 4
     <div>
4 5
       <img :src="cover.coverImg" width="100%" />
5 6
       <!-- width="100%" height="300"> -->
@@ -26,9 +27,9 @@
26 27
       <div>
27 28
         <el-row style="text-align: center;">
28 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 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 33
             <!-- @click="() => filterCase(cas)" -->
33 34
             <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px">{{cas.typeName}}</button>
34 35
           </el-col>
@@ -48,7 +49,7 @@
48 49
         </div>
49 50
       </div>
50 51
     </div>
51
-<!--  -->
52
+    <!--  -->
52 53
     <div style="margin-top:40px">
53 54
       <button type="button" v-if="!allLoaded" class="btn btn-default" @click="more">加载更多</button>
54 55
       <p v-else>已经到底了~更多案例尽请期待~</p>
@@ -63,11 +64,13 @@
63 64
 import request from '../../utils/request'
64 65
 import apis from '../config/api'
65 66
 import CaseCard from '../components/CaseCard'
67
+import Navbars from '../components/Navbars'
66 68
 
67 69
 export default {
68 70
   name: 'Case',
69 71
   components: {
70 72
     CaseCard,
73
+    Navbars,
71 74
   },
72 75
   data () {
73 76
     return {
@@ -164,13 +167,11 @@ export default {
164 167
 </script>
165 168
 
166 169
 <style scoped>
167
-
168
-.routelink{
170
+.routelink {
169 171
   text-decoration: none;
170 172
 }
171 173
 
172
-.casecard{
173
- 
174
+.casecard {
174 175
   width: 100%;
175 176
 
176 177
   padding-bottom: 100%;
@@ -178,33 +179,31 @@ export default {
178 179
   /* position: relative; */
179 180
 
180 181
   margin: 0;
181
-
182 182
 }
183 183
 
184 184
 .border-bottom {
185 185
   /* display: none; */
186 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 209
 .text-left {
@@ -221,7 +220,7 @@ color: #e03723;
221 220
 }
222 221
 
223 222
 @media (max-width: 992px) {
224
-  .case{
223
+  .case {
225 224
     margin-top: 58px;
226 225
   }
227 226
   .comtype {
@@ -235,8 +234,8 @@ color: #e03723;
235 234
   }
236 235
 }
237 236
 .row {
238
-    margin: 0;
239
-  }
237
+  margin: 0;
238
+}
240 239
 .marginTP {
241 240
   margin-top: 3rem;
242 241
 }
@@ -251,17 +250,16 @@ color: #e03723;
251 250
     justify-content: center;
252 251
   }
253 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 259
   .mobtype {
261 260
     display: none;
262 261
   }
263 262
 
264
-  
265 263
   .btn {
266 264
     font-size: 24px;
267 265
     margin-top: 88px;
@@ -288,8 +286,8 @@ color: #e03723;
288 286
     padding: 10px;
289 287
   }
290 288
 }
291
-.btn-link{
289
+.btn-link {
292 290
   outline: none;
293
-  text-decoration: none
291
+  text-decoration: none;
294 292
 }
295 293
 </style>

+ 25
- 0
src/views/Contact.vue Näytä tiedosto

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <div class="contact">
3
+     <Navbars></Navbars>
3 4
     <div class>
4 5
       <img src="../assets/image/contact/contactbanner.png" style="width:100%" />
5 6
       <!-- width="100%" height="300"> -->
@@ -43,6 +44,30 @@
43 44
   </div>
44 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 71
 <style lang="less" scoped>
47 72
 @media (max-width: 992px){
48 73
     .address{

+ 41
- 42
src/views/Details.vue Näytä tiedosto

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <div class="details">
3
+    <Navbars></Navbars>
3 4
     <div class="head">
4 5
       <img :src="current.caseCoverImg" width="100%" />
5 6
     </div>
@@ -7,7 +8,7 @@
7 8
     <div class="contanier st">
8 9
       <h1 style>{{current.caseTitle}}</h1>
9 10
 
10
-      <p >
11
+      <p>
11 12
         客户:
12 13
         <img :src="current.caseLogoImg" alt />
13 14
         &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 所属行业:{{current.caseIndustry}}
@@ -23,11 +24,12 @@
23 24
           </div>
24 25
         </div>
25 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 33
           </div>
32 34
         </div>
33 35
       </div>
@@ -59,10 +61,8 @@
59 61
             <div class="st4" :style="{background: `url(${item.caseCoverImg})`}">
60 62
               <div class="casetitle">
61 63
                 <div style="width: 100%">
62
-                  <hr>
63
-                  <p>
64
-                    {{item.caseTitle}}
65
-                  </p>
64
+                  <hr />
65
+                  <p>{{item.caseTitle}}</p>
66 66
                 </div>
67 67
               </div>
68 68
             </div>
@@ -73,17 +73,19 @@
73 73
   </div>
74 74
 </template>
75 75
 
76
+
77
+
78
+
79
+
76 80
 <script>
77 81
 // @ is an alias to /src
78 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 87
 export default {
86
-  name: 'CaseDetails',
88
+  name: 'Details',
87 89
 
88 90
   data () {
89 91
     return {
@@ -101,11 +103,17 @@ export default {
101 103
       // }
102 104
     }
103 105
 
106
+  },
107
+  components: {
108
+    share: () => import('../components/Share'),
109
+
110
+    Navbars: () => import('../components/Navbars'),
111
+
104 112
   },
105 113
   computed: {
106 114
     shareConfig () {
107 115
       return {
108
-        
116
+
109 117
         url: window.location.href,
110 118
         title: this.current.caseTitle,
111 119
         image: this.current.caseCoverImg, // 图片, 默认取网页中第一个img标签
@@ -136,20 +144,10 @@ export default {
136 144
       return (this.detail.recommends || []).slice(0, 4)
137 145
     },
138 146
   },
139
-  components: {
140
-    share: () => import('../components/Share'),
141
-  },
147
+
142 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 153
     this.getDetail(this.$route.params.id)
@@ -190,7 +188,7 @@ export default {
190 188
       })
191 189
     },
192 190
 
193
-    
191
+
194 192
 
195 193
   },
196 194
 
@@ -198,8 +196,6 @@ export default {
198 196
 </script>
199 197
 
200 198
 <style lang="less" scoped>
201
-
202
-
203 199
 .casetitle {
204 200
   hr {
205 201
     margin-bottom: 20px;
@@ -207,6 +203,11 @@ export default {
207 203
     border: 2px solid red;
208 204
   }
209 205
 }
206
+@media (max-width: 992px) {
207
+  .casetitle {
208
+    display: none;
209
+  }
210
+}
210 211
 
211 212
 @media (min-width: 992px) {
212 213
   .pull-left {
@@ -255,6 +256,7 @@ export default {
255 256
     font-size: 2.4rem !important;
256 257
     color: black !important;
257 258
     border: none !important;
259
+    text-decoration: none;
258 260
   }
259 261
   .btn1:hover {
260 262
     color: red !important;
@@ -290,11 +292,10 @@ export default {
290 292
     font-size: 1.2rem !important;
291 293
     color: black !important;
292 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 299
   .btn {
299 300
     width: 100px;
300 301
     padding: 3px;
@@ -311,12 +312,13 @@ export default {
311 312
   .pull-right {
312 313
     display: flex;
313 314
   }
314
-  .zantext{
315
+  .zantext {
315 316
     // margin-top: -3px;
316 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 323
   .st {
322 324
     h1 {
@@ -373,7 +375,6 @@ display:inline-block;line-height:42px
373 375
 
374 376
     margin: 0;
375 377
   }
376
- 
377 378
 }
378 379
 </style>
379 380
 
@@ -454,14 +455,12 @@ display:inline-block;line-height:42px
454 455
     width: 100%;
455 456
   }
456 457
 }
457
-
458 458
 </style>
459 459
 
460 460
 <style lang="less" scoped>
461
-
462 461
 .icon-nobefore {
463
- &::before {
464
-   content: '' !important;
465
- } 
462
+  &::before {
463
+    content: "" !important;
464
+  }
466 465
 }
467 466
 </style>

+ 3
- 0
src/views/Dynamic.vue Näytä tiedosto

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

+ 80
- 164
src/views/Home.vue Näytä tiedosto

@@ -5,7 +5,6 @@
5 5
         <div class="navbar-header">
6 6
           <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
7 7
             <span class="sr-only">Toggle navigation</span>
8
-            
9 8
           </button>
10 9
           <a class="navbar-brand" href="/">
11 10
             <div alt="Brand" class="logo"></div>
@@ -33,7 +32,7 @@
33 32
         </div>
34 33
       </div>
35 34
     </nav>
36
-
35
+<Navbars v-if="isMobilePhone"></Navbars>
37 36
     <div class="aarow_box animated aarowMove">
38 37
       <div class="aarow" @click="arrow()"></div>
39 38
     </div>
@@ -60,68 +59,7 @@
60 59
         </div>
61 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 63
     </div>
126 64
 
127 65
     <div class="contanier home-case top-case">
@@ -131,10 +69,8 @@
131 69
             <div class="st4" :style="{background: `url(${item.caseCoverImg})`}">
132 70
               <div class="casetitle">
133 71
                 <div style="width: 100%">
134
-                  <hr>
135
-                  <p>
136
-                    {{item.caseTitle}}
137
-                  </p>
72
+                  <hr />
73
+                  <p>{{item.caseTitle}}</p>
138 74
                 </div>
139 75
               </div>
140 76
             </div>
@@ -171,8 +107,9 @@
171 107
           <div class="row">
172 108
             <div class="col-xs-6 col-md-6 home-news-hover home-news" v-for="(item,index) in dynamiclist" :key="index">
173 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 113
               </router-link>
177 114
             </div>
178 115
             <!-- item.caseCoverImg -->
@@ -201,7 +138,7 @@ export default {
201 138
   data () {
202 139
     return {
203 140
       scrolled: false,
204
-      // rescrolled: false,
141
+      rescrolled: false,
205 142
       isMobilePhone,
206 143
       show: true,
207 144
       data: '',
@@ -219,23 +156,24 @@ export default {
219 156
     Wheelplanting,
220 157
     // Wheelplantings,
221 158
     Business,
159
+    Navbars:() => import('../components/Navbars'),
222 160
   },
223 161
   mounted () {
224 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 177
   methods: {
240 178
     arrow () {
241 179
 
@@ -288,21 +226,21 @@ export default {
288 226
 
289 227
 <style scoped>
290 228
 @media (min-width: 768px) and (max-width: 992px) {
291
-
292 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 234
   .con {
299 235
     padding-left: 5vw !important;
300 236
     padding-right: 5vw !important;
301 237
   }
302
-  .logo{
238
+  .logo {
303 239
     margin-top: 0 !important;
304 240
   }
305
-  .nav li {margin-left: 0 !important;}
241
+  .nav li {
242
+    margin-left: 0 !important;
243
+  }
306 244
   .a {
307 245
     font-size: 2.4rem !important;
308 246
     margin-top: 0.5rem !important;
@@ -544,19 +482,6 @@ export default {
544 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 486
 .st4 {
562 487
   width: 100%;
@@ -567,29 +492,7 @@ export default {
567 492
 
568 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 496
 .home-news {
594 497
   padding: 0 6px;
595 498
   margin-bottom: 12px;
@@ -617,26 +520,26 @@ export default {
617 520
   padding-bottom: 60%;
618 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 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 532
 </style>
631 533
 
632 534
 
633 535
 <style lang="less" scoped>
634
-.routelink{
536
+.home-wheel {
537
+  z-index: 60;
538
+}
539
+.routelink {
635 540
   text-decoration: none;
636 541
 }
637 542
 
638
-
639
-
640 543
 .casetitle {
641 544
   hr {
642 545
     margin-bottom: 0px;
@@ -645,8 +548,10 @@ h3{
645 548
   }
646 549
 }
647 550
 
648
-
649 551
 @media (max-width: 992px) {
552
+  .casetitle{
553
+    display: none;
554
+  }
650 555
   .navbar {
651 556
     display: none;
652 557
   }
@@ -660,16 +565,43 @@ h3{
660 565
   }
661 566
 }
662 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 591
   .br-logotop {
664 592
     display: none;
665 593
   }
666 594
   .navbar {
667 595
     height: 116px;
668 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 600
     border: none;
672 601
     margin: 0;
602
+    transition: all 0.5s;
603
+
604
+
673 605
     .navbar-brand {
674 606
       padding: 0;
675 607
 
@@ -685,9 +617,9 @@ h3{
685 617
         a {
686 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 623
           &:hover {
692 624
             border-bottom: 3px solid #fff;
693 625
           }
@@ -700,19 +632,21 @@ h3{
700 632
       height: 60px;
701 633
       background: url("../assets/logo.png");
702 634
     }
703
-
635
+    // padding-top: 20px;
704 636
     &.scroll {
705 637
       transition: all 0.5s;
706
-      background: #fff;
707
-
638
+      // background: #fff;
639
+      background: rgba(255, 255, 255, 1);
640
+      padding: 30px 0;
708 641
       .nav {
642
+        font-size: 2.6rem;
709 643
         li {
710 644
           a {
711 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 651
             &:hover {
718 652
               border-bottom: 3px solid #000;
@@ -726,25 +660,7 @@ h3{
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 666
 </style>