周立森 5 년 전
부모
커밋
bd30f7909c
4개의 변경된 파일164개의 추가작업 그리고 103개의 파일을 삭제
  1. 3
    3
      src/App.vue
  2. 118
    59
      src/components/Business.vue
  3. 31
    35
      src/views/About.vue
  4. 12
    6
      src/views/Home.vue

+ 3
- 3
src/App.vue 파일 보기

@@ -203,19 +203,19 @@ p {
203 203
 <style>
204 204
 #app {
205 205
   
206
-  font-family: "Microsoft Yahei Light","Microsoft Yahei","Helvetica Neue","Helvetica","Arial",sans-serif;
206
+  font-family: "Microsoft Yahei Light","Microsoft Yahei","KaiGenGothicSC-Light","Helvetica Neue","Helvetica","Arial",sans-serif;
207 207
   -webkit-font-smoothing: antialiased;
208 208
   -moz-osx-font-smoothing: grayscale;
209 209
   text-align: center;
210 210
   /* background-color: fafafa; */
211
-  color: #2c3e50;
211
+  color: #000;
212 212
   margin-top: px;
213 213
   width: auto;
214 214
   margin: 0;
215 215
 }
216 216
 .app{
217 217
 
218
-  font-family: "Microsoft Yahei","Helvetica Neue","Helvetica","Arial",sans-serif;
218
+  font-family: "Microsoft Yahei","KaiGenGothicSC-Light","Helvetica Neue","Helvetica","Arial",sans-serif;
219 219
 }
220 220
 
221 221
 .coll {

+ 118
- 59
src/components/Business.vue 파일 보기

@@ -1,38 +1,21 @@
1 1
 <template>
2 2
   <div class="business">
3
-
4
-
5
-    
6
-    <div class="swiper-container" id="swiper2">
7
-      <div class="swiper-wrapper">
8
-
9
-
10
-
11
-        <div class="swiper-slide swiper-no-swiping sw" v-for="(item,index) in service" :key="index">
12
-          <div>
13
-            <img :src="item.serviceImageUrl"  />
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%" />
14 6
             <div>
15
-              <h4>{{item.labelName}}</h4>
16
-              <p class="text-left">
17
-                
18
-              </p>
7
+              <h4>{{item.serviceName}}</h4>
8
+              <p class="text-left business-text" v-for="(items,index) in item.serviceLabelList" :key="index">{{items.labelName}}</p>
19 9
             </div>
20 10
           </div>
21
-        </div>
22
-      
11
+ </div>
23 12
     
24
-
25
-     
26
-      </div>
27
-      <div class="swiper-button-prev"></div>
28
-      <div class="swiper-button-next"></div>
29
-    </div>
30 13
     <!-- <div class="contanier st">
31 14
       <div class="col-xs-6 col-md-3">
32 15
         <img src="../assets/image/home/service_brand.jpg" width="100%" height="100%" alt="..." />
33 16
         <div>
34 17
           <h4>品牌服务</h4>
35
-          <p class="text-left">
18
+          <p class="text-left business-text">
36 19
             品牌咨询
37 20
             <br />品牌策划
38 21
             <br />CIS/VIS
@@ -83,7 +66,7 @@
83 66
           </p>
84 67
         </div>
85 68
       </div>
86
-    </div> -->
69
+    </div>-->
87 70
   </div>
88 71
 </template>
89 72
 
@@ -100,63 +83,139 @@ export default {
100 83
   data () {
101 84
     return {
102 85
       show: true,
103
-      service:[]
86
+      service: []
104 87
     };
105 88
   },
106 89
   components: {},
107 90
 
108 91
   mounted () {
109
-    // new Swiper("#swiper2", {
110
-    //   // loop: true,
111
-    //   slidesPerView: 4,
112
-    //   spaceBetween: 60,
113
-    //   // slidesOffsetBefore: 100,
114
-    //   // slidesOffsetAfter: 100,
115
-    //   navigation: {
116
-    //     nextEl: ".swiper-button-next",
117
-    //     prevEl: ".swiper-button-prev"
118
-    //   }
119
-    // });
92
+  
120 93
   },
121 94
   created () {
122 95
 
123
-   
124
-   
125
-    
126
-//http://localhost:8080/pc/service/list
96
+
97
+
98
+
99
+    //http://localhost:8080/pc/service/list
127 100
     request({
128 101
       ...apis.service.list,
129
-      
130
-      
102
+
103
+
131 104
     }).then(con => {
132
-      // console.log(con,"124")
133
-       this.service = con;
105
+      console.log(con,"124")
106
+      this.service = con;
134 107
       // window.console.log(this.service, "543");
135 108
     })
136 109
 
137
-   
110
+
138 111
   }
139 112
 
140
-  
141 113
 
142
- 
114
+
115
+
143 116
 };
144 117
 </script>
145 118
 
146 119
 <!-- Add "scoped" attribute to limit CSS to this component only -->
147 120
 <style scoped>
148
-.st {
149
-  padding-left: 10%;
150
-  padding-right: 10%;
151
-  margin: 0;
121
+
122
+
123
+
124
+@media (max-width: 992px) {
125
+ .business-text{
126
+   display: none;
127
+ }
128
+
129
+
130
+  h4 {
131
+    font-family: "Microsoft Yahei Light";
132
+    font-size: 1.6rem;
133
+    padding: 5px;
134
+    background-color: #e03723;
135
+    color: #fff;
136
+    margin: 0;
137
+    height: 30px;
138
+    letter-spacing: 6px;
139
+  }
140
+  .st {
141
+    margin-bottom: 20px !important;
142
+    padding: 0 1% !important;
143
+  }
144
+  .sw {
145
+    padding: 2% !important;
146
+  }
147
+
148
+
149
+
150
+ 
151
+
152
+ 
152 153
 }
153 154
 
154
-h4 {
155
-  font-size: 24px;
156
-  padding: 10px;
157
-  background-color: red;
158
-  color: #fff;
159
-  margin: 0;
160
-  height: 43px;
155
+@media (min-width: 992px) {
156
+
157
+
158
+  p {
159
+    margin: 0px;
160
+    padding: 0px 5px 0 5px;
161
+    font-size: 2.4rem;
162
+    color: #595757;
163
+  }
164
+  
165
+
166
+  h4 {
167
+    font-family: "Microsoft Yahei Light";
168
+    font-size: 2.4rem;
169
+    padding: 0px;
170
+    background-color: #e03723;
171
+    color: #fff;
172
+    margin: 0 0 18px;
173
+    line-height: 43px;
174
+    letter-spacing: 3px;
175
+  }
176
+  .sw {
177
+    padding: 33px;
178
+  }
179
+
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
+
161 193
 }
194
+
195
+
196
+
197
+</style>
198
+
199
+
200
+<style lang="less" scoped>
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+ @media (max-width: 992px) {
210
+ 
211
+
212
+  .st {
213
+    padding: 0 20px;
214
+
215
+    .sw {
216
+      padding: 20px;
217
+    }
218
+  }
219
+} 
220
+
162 221
 </style>

+ 31
- 35
src/views/About.vue 파일 보기

@@ -6,14 +6,14 @@
6 6
 
7 7
     <div class="contanier st">
8 8
       <div class="row" style="margin-left:0;margin-right:0">
9
-        <div class="">
9
+        <div class>
10 10
           <div class="sssss">
11 11
             <p class="text-left">
12 12
               南京福予文化传媒有限公司成立于2018年6月,是一家崇尚服务与品质的广告创意公司,拥有多元化的团队体系及全案服务能
13 13
               力。从品牌策略到营销策划、广告创意、设计成型、落地执行、一站式解决客户所需。
14 14
             </p>
15 15
             <br />
16
-            <div class="">
16
+            <div class>
17 17
               <div class="abc">
18 18
                 <img src="../assets/image/about/FOYO.jpg" style="width:100%" />
19 19
               </div>
@@ -22,7 +22,7 @@
22 22
         </div>
23 23
       </div>
24 24
 
25
-      <div class="row about-1"  style="margin-left:0;margin-right:0">
25
+      <div class="row about-1" style="margin-left:0;margin-right:0">
26 26
         <div class="col-xs-6 col-md-3">
27 27
           <img src="../assets/image/about/Advantage1.png" class="about-1-img" alt="..." />
28 28
           <div class="caption">
@@ -77,12 +77,12 @@
77 77
         </div>
78 78
       </div>
79 79
 
80
-      <div class="row"  style="margin-left:0;margin-right:0">
80
+      <div class="row" style="margin-left:0;margin-right:0">
81 81
         <h1 class="h1">我们的团队</h1>
82 82
       </div>
83 83
 
84 84
       <div class="row about-2" style="margin-left:0;margin-right:0">
85
-        <div class="col-xs-12 col-md-6" >
85
+        <div class="col-xs-12 col-md-6">
86 86
           <div style="float:left;">
87 87
             <img src="../assets/image/about/Photo_sfg.jpg" class="about-ph1" alt="..." />
88 88
           </div>
@@ -117,7 +117,7 @@
117 117
           </div>
118 118
         </div>
119 119
       </div>
120
-      <div class="row about-3"  style="margin-left:0;margin-right:0">
120
+      <div class="row about-3" style="margin-left:0;margin-right:0">
121 121
         <div class="col-xs-2 col-md-2">
122 122
           <img src="../assets/image/about/Photo_1.jpg" alt="..." class="ph5" />
123 123
         </div>
@@ -144,9 +144,7 @@
144 144
 
145 145
 
146 146
 <style scoped>
147
-
148 147
 @media (min-width: 768px) {
149
- 
150 148
 }
151 149
 
152 150
 @media (max-width: 768px) {
@@ -154,12 +152,12 @@
154 152
     padding-top: 58px;
155 153
   }
156 154
   .about-1-img {
157
-    width: 60px;
158
-    height: 60px;
155
+    width: 80px;
156
+    height: 80px;
159 157
   }
160 158
   .sssss {
161
-    font-size: 1.2rem;
162
-color: #3e3a39;
159
+    font-size: 1.5rem;
160
+    color: #3e3a39;
163 161
     padding: 20px 20px;
164 162
   }
165 163
   .about-1 {
@@ -173,7 +171,10 @@ color: #3e3a39;
173 171
     margin-top: 0;
174 172
     /* font-size: 2rem; */
175 173
   }
176
-  
174
+}
175
+
176
+.col-xs-6 {
177
+  padding: 0;
177 178
 }
178 179
 
179 180
 /* 中等屏幕(桌面显示器,大于等于 992px) */
@@ -194,7 +195,7 @@ color: #3e3a39;
194 195
 
195 196
   .st div div .sssss {
196 197
     padding: 0px 20px 40px;
197
-color: #3e3a39;
198
+    color: #3e3a39;
198 199
     font-size: 2.4rem;
199 200
   }
200 201
   .h1 {
@@ -234,38 +235,34 @@ color: #3e3a39;
234 235
     font-size: 1.1vw;
235 236
     color: #595757;
236 237
     margin-bottom: 20px;
237
-    
238 238
   }
239 239
   .teamp2 {
240 240
     font-size: 1.1vw;
241 241
   }
242 242
 }
243 243
 
244
-
245 244
 /* 大屏幕(大桌面显示器,大于等于 1200px) */
246 245
 @media (min-width: 1200px) {
247 246
 }
248 247
 </style>
249 248
 
250 249
 <style lang="less" scoped>
251
-
252
-@media (min-width: 992) and (max-width: 1200) { 
253
-  
254
- }
250
+@media (min-width: 992) and (max-width: 1200) {
251
+}
255 252
 
256 253
 @media (min-width: 992px) {
257
-  .p1{
258
-  color: #000;
259
-  font-size: 2.0rem;
260
-}
254
+  .p1 {
255
+    color: #000;
256
+    font-size: 2rem;
257
+  }
261 258
   .about-2 {
262 259
     padding-top: 60px;
263 260
     div {
264 261
       .about-ph1 {
265 262
         float: left;
266 263
         width: 50%;
267
-     
268
-        padding: 0 40px ;
264
+
265
+        padding: 0 40px;
269 266
       }
270 267
     }
271 268
   }
@@ -292,30 +289,29 @@ color: #3e3a39;
292 289
       // }
293 290
       .caption {
294 291
         h2 {
295
-          font-size: 1.2rem;
292
+          font-size: 2.4rem;
296 293
           font-weight: bold;
297 294
         }
298 295
         .p1 {
299
-          font-size: 0.8rem;
296
+          font-size: 1.4rem;
300 297
         }
301 298
       }
302 299
     }
303 300
   }
304
-  .h1{
301
+  .h1 {
305 302
     font-size: 2.2rem;
306 303
     font-weight: bold;
307 304
     margin-bottom: 0px;
308 305
   }
309 306
   .about-2 {
310
-     
311
-    div {margin-top: 20px;
307
+    div {
308
+      margin-top: 20px;
312 309
       div {
313 310
         .about-ph1 {
314 311
           margin-left: 10px;
315 312
           margin-right: 10px;
316 313
           float: left;
317 314
           width: 120px;
318
-         
319 315
         }
320 316
       }
321 317
       div {
@@ -323,13 +319,13 @@ color: #3e3a39;
323 319
           h1 {
324 320
             font-size: 1.3rem;
325 321
             font-weight: bold;
326
-            margin-bottom: 6px
322
+            margin-bottom: 6px;
327 323
           }
328
-          .teamp1{
324
+          .teamp1 {
329 325
             font-size: 1.2rem;
330 326
             margin: 2px;
331 327
           }
332
-          .teamp2{
328
+          .teamp2 {
333 329
             font-size: 1.2rem;
334 330
           }
335 331
         }

+ 12
- 6
src/views/Home.vue 파일 보기

@@ -60,8 +60,12 @@
60 60
         </div>
61 61
       </div>
62 62
 
63
-      <div class="row st">
64
-        <div class="col-xs-6 col-md-3 sw">
63
+      
64
+<Business></Business>
65
+      <!-- <div class="row st"> -->
66
+
67
+        
68
+        <!-- <div class="col-xs-6 col-md-3 sw">
65 69
           <img src="../assets/image/home/service_brand.jpg" width="100%" height="100%" alt="..." />
66 70
           <div class>
67 71
             <h4>品牌服务</h4>
@@ -86,6 +90,7 @@
86 90
             </p>
87 91
           </div>
88 92
         </div>
93
+
89 94
         <div class="col-xs-6 col-md-3 sw">
90 95
           <img src="../assets/image/home/service_design.jpg" width="100%" height="100%" alt="..." />
91 96
           <div class>
@@ -104,6 +109,7 @@
104 109
             </p>
105 110
           </div>
106 111
         </div>
112
+
107 113
         <div class="col-xs-6 col-md-3 sw">
108 114
           <img src="../assets/image/home/service_make.jpg" width="100%" height="100%" alt="..." />
109 115
           <div class>
@@ -114,8 +120,8 @@
114 120
               <br />网络制作
115 121
             </p>
116 122
           </div>
117
-        </div>
118
-      </div>
123
+        </div> -->
124
+      <!-- </div> -->
119 125
     </div>
120 126
 
121 127
     <div class="contanier home-case top-case">
@@ -183,7 +189,7 @@
183 189
 
184 190
 import { scrollIntoView } from 'scroll-js'
185 191
 import Wheelplanting from "@/components/Wheelplanting.vue";
186
-// import Business from "@/components/Business.vue";
192
+import Business from "@/components/Business.vue";
187 193
 
188 194
 import request from '../../utils/request'
189 195
 import apis from '../config/api';
@@ -212,7 +218,7 @@ export default {
212 218
   components: {
213 219
     Wheelplanting,
214 220
     // Wheelplantings,
215
-    // Business,
221
+    Business,
216 222
   },
217 223
   mounted () {
218 224
     window.addEventListener('scroll', () => {