周立森 před 5 roky
rodič
revize
e2289f4030

+ 9
- 1
babel.config.js Zobrazit soubor

@@ -1,5 +1,13 @@
1 1
 module.exports = {
2 2
   presets: [
3
-    '@vue/app'
3
+    '@vue/app',
4
+  ],
5
+  plugins: [
6
+    ['import', {
7
+      libraryName: 'vant',
8
+      libraryDirectory: 'es',
9
+      style: true
10
+    }, 'vant']
4 11
   ]
12
+  
5 13
 }

+ 38
- 5
package-lock.json Zobrazit soubor

@@ -791,7 +791,6 @@
791 791
       "version": "7.5.5",
792 792
       "resolved": "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.5.5.tgz?cache=0&sync_timestamp=1563398515522&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fruntime%2Fdownload%2F%40babel%2Fruntime-7.5.5.tgz",
793 793
       "integrity": "sha1-dPulbTXvvspEQJHHhQzNSU/S8TI=",
794
-      "dev": true,
795 794
       "requires": {
796 795
         "regenerator-runtime": "^0.13.2"
797 796
       }
@@ -1018,11 +1017,15 @@
1018 1017
       "integrity": "sha1-aQoUdbhPKohP0HzXl8APXzE1bqg=",
1019 1018
       "dev": true
1020 1019
     },
1020
+    "@vant/icons": {
1021
+      "version": "1.1.15",
1022
+      "resolved": "https://registry.npmjs.org/@vant/icons/-/icons-1.1.15.tgz",
1023
+      "integrity": "sha512-96tbJotfofrKpOrUGWKkiGLJsCFc0OX5pikWLW5yarD+EMhi0zCrQSDb95xGrp/HETAFm+nSTQu2e1zGsWN/7A=="
1024
+    },
1021 1025
     "@vue/babel-helper-vue-jsx-merge-props": {
1022 1026
       "version": "1.0.0",
1023 1027
       "resolved": "https://registry.npm.taobao.org/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.0.0.tgz",
1024
-      "integrity": "sha1-BI/leZWNpAj7eosqPsBQtQpmEEA=",
1025
-      "dev": true
1028
+      "integrity": "sha1-BI/leZWNpAj7eosqPsBQtQpmEEA="
1026 1029
     },
1027 1030
     "@vue/babel-plugin-transform-vue-jsx": {
1028 1031
       "version": "1.0.0",
@@ -2635,6 +2638,16 @@
2635 2638
         "object.assign": "^4.1.0"
2636 2639
       }
2637 2640
     },
2641
+    "babel-plugin-import": {
2642
+      "version": "1.12.2",
2643
+      "resolved": "https://registry.npmjs.org/babel-plugin-import/-/babel-plugin-import-1.12.2.tgz",
2644
+      "integrity": "sha512-Vz9s+I6vAnsY8sYczU/cdtkKAHSorapa/2St6K+OzowplKizpWxul4HLi3kj1eRmHMFjhbROSMGXP+mFna2nUw==",
2645
+      "dev": true,
2646
+      "requires": {
2647
+        "@babel/helper-module-imports": "^7.0.0",
2648
+        "@babel/runtime": "^7.0.0"
2649
+      }
2650
+    },
2638 2651
     "babel-plugin-module-resolver": {
2639 2652
       "version": "3.2.0",
2640 2653
       "resolved": "https://registry.npm.taobao.org/babel-plugin-module-resolver/download/babel-plugin-module-resolver-3.2.0.tgz",
@@ -9334,8 +9347,7 @@
9334 9347
     "regenerator-runtime": {
9335 9348
       "version": "0.13.3",
9336 9349
       "resolved": "https://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.13.3.tgz",
9337
-      "integrity": "sha1-fPanfY9cb2Drc8X8GVWyzrAea/U=",
9338
-      "dev": true
9350
+      "integrity": "sha1-fPanfY9cb2Drc8X8GVWyzrAea/U="
9339 9351
     },
9340 9352
     "regenerator-transform": {
9341 9353
       "version": "0.14.1",
@@ -11188,6 +11200,17 @@
11188 11200
         "spdx-expression-parse": "^3.0.0"
11189 11201
       }
11190 11202
     },
11203
+    "vant": {
11204
+      "version": "2.2.11",
11205
+      "resolved": "https://registry.npmjs.org/vant/-/vant-2.2.11.tgz",
11206
+      "integrity": "sha512-oRxU+Z6zhxbxv8vhKZi7vqEmOYDxGaC9pKda/+45tfeboJGmu5kNyPxEg/KQ0sg8FpV4YIv4k5H1ZP9bSyaUsw==",
11207
+      "requires": {
11208
+        "@babel/runtime": "7.x",
11209
+        "@vant/icons": "1.1.15",
11210
+        "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
11211
+        "vue-lazyload": "1.2.3"
11212
+      }
11213
+    },
11191 11214
     "vary": {
11192 11215
       "version": "1.1.2",
11193 11216
       "resolved": "http://registry.npm.taobao.org/vary/download/vary-1.1.2.tgz",
@@ -11264,6 +11287,11 @@
11264 11287
       "integrity": "sha1-J1b0bLMlgFTF9HI96K5+hzAqHM8=",
11265 11288
       "dev": true
11266 11289
     },
11290
+    "vue-lazyload": {
11291
+      "version": "1.2.3",
11292
+      "resolved": "https://registry.npmjs.org/vue-lazyload/-/vue-lazyload-1.2.3.tgz",
11293
+      "integrity": "sha512-DC0ZwxanbRhx79tlA3zY5OYJkH8FYp3WBAnAJbrcuoS8eye1P73rcgAZhyxFSPUluJUTelMB+i/+VkNU/qVm7g=="
11294
+    },
11267 11295
     "vue-loader": {
11268 11296
       "version": "15.7.1",
11269 11297
       "resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-15.7.1.tgz?cache=0&sync_timestamp=1563435501637&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-15.7.1.tgz",
@@ -11296,6 +11324,11 @@
11296 11324
         }
11297 11325
       }
11298 11326
     },
11327
+    "vue-pickers": {
11328
+      "version": "2.1.0",
11329
+      "resolved": "https://registry.npmjs.org/vue-pickers/-/vue-pickers-2.1.0.tgz",
11330
+      "integrity": "sha512-04RwFebfPrT61bgXT4m3Pz/vS0aWzfX7nWei6qsWM5kyjloJs5+zTmhg7/Pp1vqj1O63lcM5dCd2jk15lwni/w=="
11331
+    },
11299 11332
     "vue-router": {
11300 11333
       "version": "3.1.2",
11301 11334
       "resolved": "https://registry.npm.taobao.org/vue-router/download/vue-router-3.1.2.tgz",

+ 3
- 0
package.json Zobrazit soubor

@@ -14,7 +14,9 @@
14 14
     "moment": "^2.24.0",
15 15
     "scroll-js": "^3.0.0",
16 16
     "swiper": "^4.5.0",
17
+    "vant": "^2.2.11",
17 18
     "vue": "^2.6.10",
19
+    "vue-pickers": "^2.1.0",
18 20
     "vue-router": "^3.0.3",
19 21
     "vuex": "^3.0.1"
20 22
   },
@@ -23,6 +25,7 @@
23 25
     "@vue/cli-plugin-eslint": "^3.10.0",
24 26
     "@vue/cli-service": "^3.10.0",
25 27
     "babel-eslint": "^10.0.1",
28
+    "babel-plugin-import": "^1.12.2",
26 29
     "eslint": "^5.16.0",
27 30
     "eslint-plugin-vue": "^5.0.0",
28 31
     "less": "^3.10.3",

binární
public/favicon.jpg Zobrazit soubor


binární
public/favicon.png Zobrazit soubor


+ 4
- 1
public/index.html Zobrazit soubor

@@ -6,9 +6,10 @@
6 6
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
7 7
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8 8
     <script src="https://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
9
-    <link rel="icon" href="<%= BASE_URL %>favicon.jpg">
9
+    <link rel="icon" href="<%= BASE_URL %>favicon.png">
10 10
     <link rel="stylesheet" type="text/css"media="screen and (max-device-width: 400px)" href="tinyScreen.css" />
11 11
     <link rel="stylesheet" href="/share/css/share.min.css">
12
+ 
12 13
 
13 14
     <script>
14 15
       if (navigator.userAgent.toLocaleLowerCase().match(/msie|trident/)) {
@@ -21,9 +22,11 @@
21 22
     <script src="/bootstrap/js/bootstrap.min.js"></script>
22 23
     <script src="/swiper/dist/js/swiper.min.js"></script>
23 24
     <script src="/share/js/social-share.min.js"></script>
25
+    <!-- <script src="/until/animate.js"></script> -->
24 26
     <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
25 27
     <link rel="stylesheet" href="/swiper/dist/css/swiper.min.css">
26 28
     <link rel="stylesheet" href="/iconfont.css">
29
+    <link rel="stylesheet" href="/until/style.css">
27 30
     <title>福予传媒-品牌策划|创意设计|制作与传播</title>
28 31
   </head>
29 32
   <body>

+ 43
- 0
public/until/animate.js Zobrazit soubor

@@ -0,0 +1,43 @@
1
+
2
+
3
+// <template>
4
+//   <div>
5
+//     <VuePicker :data="pickData"
6
+//       @cancel="cancel"
7
+//       @confirm="confirm"
8
+//       :showToolbar="false"
9
+//       :maskClick="true"
10
+//       :visible.sync="pickerVisible"
11
+//     />
12
+//   </div>
13
+// </template>
14
+
15
+// <script>
16
+//   import VuePicker from 'vue-pickers'
17
+//   var tdata = []
18
+//   for (let i = 0; i < 20; i++) {
19
+//     tdata.push({
20
+//       label: '第' + i + '行',
21
+//       value: i
22
+//     })
23
+//   }
24
+
25
+//   export default {
26
+//     components: { VuePicker },
27
+//     data () {
28
+//       return {
29
+//         pickerVisible: false,
30
+//         pickData: [ tdata ],
31
+//         result: ''
32
+//       }
33
+//     },
34
+//     methods: {
35
+//       cancel () {
36
+//         console.log('cancel')
37
+//       },
38
+//       confirm (res) {
39
+//         console.log(res)
40
+//       }
41
+//     },
42
+//   }
43
+// </script>

+ 66
- 0
public/until/style.css Zobrazit soubor

@@ -0,0 +1,66 @@
1
+/* * {
2
+    margin: 0;
3
+    padding: 0;
4
+} */
5
+.scroller-component {
6
+    display: block;
7
+    position: relative;
8
+    height: 238px;
9
+    overflow: hidden;
10
+    width: 100%;
11
+}
12
+
13
+.scroller-content {
14
+    position: absolute;
15
+    left: 0;
16
+    top: 0;
17
+    width: 100%;
18
+    z-index: 1;
19
+}
20
+
21
+.scroller-mask {
22
+    position: absolute;
23
+    left: 0;
24
+    top: 0;
25
+    height: 100%;
26
+    margin: 0 auto;
27
+    width: 100%;
28
+    z-index: 3;
29
+    transform: translateZ(0px);
30
+    background-image:
31
+        linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6)),
32
+        linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
33
+    background-position: top, bottom;
34
+    background-size: 100% 102px;
35
+    background-repeat: no-repeat;
36
+}
37
+
38
+.scroller-item {
39
+    text-align: center;
40
+    font-size: 16px;
41
+    height: 34px;
42
+    line-height: 34px;
43
+    color: #000;
44
+}
45
+
46
+.scroller-indicator {
47
+    width: 100%;
48
+    height: 34px;
49
+    position: absolute;
50
+    left: 0;
51
+    top: 102px;
52
+    z-index: 3;
53
+    background-image:
54
+        linear-gradient(to bottom, #d0d0d0, #d0d0d0, transparent, transparent),
55
+        linear-gradient(to top, #d0d0d0, #d0d0d0, transparent, transparent);
56
+    background-position: top, bottom;
57
+    background-size: 100% 1px;
58
+    background-repeat: no-repeat;
59
+}
60
+
61
+.scroller-item {
62
+    line-clamp: 1;
63
+    -webkit-line-clamp: 1;
64
+    overflow: hidden;
65
+    text-overflow: ellipsis;
66
+}

+ 48
- 26
src/App.vue Zobrazit soubor

@@ -9,8 +9,8 @@
9 9
           <div v-if="!current1" class="btn btn-default back-top1" role="button" @mouseenter="enter1()">
10 10
             <img src="./assets/image/联系我们.jpg" class="back-top1" />
11 11
           </div>
12
-          <div v-if="current1" class="btn btn-default back-top1" role="button" @click="open" @mouseenter.stop="enter1() " @mouseleave="leave1()">
13
-            <img src="./assets/image/联系我们触发.png" @mouseleave="leave1()" class="back-top1" />
12
+          <div v-if="current1" class="btn btn-default back-top1 back-top1s" role="button" @click="open" @mouseenter.stop="enter1() " @mouseleave="leave1()">
13
+            <img src="./assets/image/联系我们触发.png" @mouseleave="leave1()" class="back-top1 back-top1s" />
14 14
           </div>
15 15
         </div>
16 16
       </div>
@@ -22,7 +22,7 @@
22 22
         </div>
23 23
         <div>
24 24
           <a class="back-top2" href="#" v-if="current2" role="button" @mouseenter.stop="enter2()" @mouseleave="leave2()">
25
-            <img src="./assets/image/返回顶层触发.jpg" class="back-top2" />
25
+            <img src="./assets/image/返回顶层触发.jpg" class="back-top2 back-top2s" />
26 26
           </a>
27 27
         </div>
28 28
       </div>
@@ -111,6 +111,7 @@ export default {
111 111
 <style>
112 112
 .messageBox-Contace {
113 113
   width: 80% !important;
114
+  height: 80vh !important;
114 115
 }
115 116
 
116 117
 .btn:hover {
@@ -136,10 +137,10 @@ export default {
136 137
   border: 1px solid #e03723;
137 138
 }
138 139
 @media (max-width: 992px) {
139
-  .top{
140
-  width:100%;
141
-   height:47.8px
142
-}
140
+  .top {
141
+    width: 100%;
142
+    height: 47.8px;
143
+  }
143 144
 }
144 145
 </style>
145 146
 
@@ -168,8 +169,6 @@ p {
168 169
     sans-serif;
169 170
 }
170 171
 
171
-
172
-
173 172
 .coll {
174 173
   display: none;
175 174
 }
@@ -178,11 +177,31 @@ p {
178 177
   /* padding: 0; */
179 178
   border: none;
180 179
 }
181
-a:focus, a:hover {
182
-    /* color: #23527c; */
183
-    text-decoration: none;
180
+a:focus,
181
+a:hover {
182
+  /* color: #23527c; */
183
+  text-decoration: none;
184 184
 }
185 185
 @media (min-width: 992px) {
186
+   .el-message-box__headerbtn {
187
+
188
+    position: absolute;
189
+    top: 15px;
190
+    right: 15px;
191
+    padding: 0;
192
+    border: none;
193
+    outline: 0;
194
+    background: 0 0;
195
+    font-size: 38px !important;
196
+    cursor: pointer;
197
+color: #aaa !important;
198
+}
199
+
200
+.el-message-box__headerbtn:hover .el-message-box__close {
201
+color: #e03723 !important;
202
+
203
+}
204
+
186 205
   .coll {
187 206
     display: block;
188 207
   }
@@ -198,6 +217,7 @@ a:focus, a:hover {
198 217
     margin: 0;
199 218
     padding: 0;
200 219
   }
220
+  
201 221
   .back-top2 {
202 222
     position: fixed;
203 223
     right: 0;
@@ -211,7 +231,7 @@ a:focus, a:hover {
211 231
   }
212 232
   .footer-p {
213 233
     line-height: 6.3vw;
214
-    font-size: 20px;
234
+    font-size: 2rem;
215 235
     margin: 0;
216 236
   }
217 237
   .main {
@@ -230,17 +250,15 @@ a:focus, a:hover {
230 250
 
231 251
 <style lang="less" scoped>
232 252
 @media (max-width: 992px) {
233
-  .top{
234
-  width:100%;
235
-   height:47.8px
236
-}
237
- 
238
- 
253
+  .top {
254
+    width: 100%;
255
+    height: 47.8px;
256
+  }
257
+
239 258
   // .main {
240 259
   //   // padding-bottom: 3rem;
241 260
   // }
242 261
 
243
-
244 262
   .page-footer {
245 263
     height: 9.8vw;
246 264
   }
@@ -251,21 +269,19 @@ a:focus, a:hover {
251 269
   }
252 270
 }
253 271
 @media (min-width: 768px) {
254
-
255
-   
256
- 
257
-  
258 272
 }
259
-@media (min-width: 992px) and (max-width: 1200px) {
273
+@media (min-width: 992px) and (max-width: 1550px) {
260 274
   .back-top1 {
261 275
     position: fixed;
262 276
     right: 0;
263
-    bottom: 156px !important;
277
+    bottom: 150px !important;
264 278
     margin: 0;
265 279
     padding: 0;
266 280
     z-index: 3;
281
+    width: 50px;
267 282
   }
268 283
   .back-top2 {
284
+    width: 50px;
269 285
     position: fixed;
270 286
     right: 0;
271 287
     bottom: 100px !important;
@@ -273,5 +289,11 @@ a:focus, a:hover {
273 289
     padding: 0;
274 290
     z-index: 3;
275 291
   }
292
+  .footer-p {
293
+    font-size: 1.5rem;
294
+  }
295
+  .back-top2s, .back-top1s {
296
+    width: 163.6px !important;
297
+  }
276 298
 }
277 299
 </style>

+ 1
- 1
src/components/Business.vue Zobrazit soubor

@@ -201,7 +201,7 @@ export default {
201 201
 
202 202
   p {
203 203
     line-height: 1.6em;
204
-    font-size: 2.2rem;
204
+    
205 205
     padding-bottom: 0;
206 206
     margin: 0px;
207 207
     padding: 0px 5px 0 5px;

+ 14
- 6
src/components/ClickContact.vue Zobrazit soubor

@@ -7,7 +7,7 @@
7 7
         <div class="row">
8 8
           <div class="col-md-6 col-xs-6 st1" style="border-right: 1px solid #aaa;">
9 9
             <div class="pull-right1">
10
-              <img class="img1" src="../assets/image/contact/weixin.jpg" style="weight:100%" />
10
+              <img class="img1" src="../assets/image/contact/weixin.jpg" style="width:200px" />
11 11
               <div class="caption">
12 12
                 <h2>微信咨询</h2>
13 13
               </div>
@@ -16,7 +16,7 @@
16 16
 
17 17
           <div class="col-md-6 col-xs-6 st2">
18 18
              <div class="pull-left1">
19
-              <img class="img1" src="../assets/image/contact/QQ.jpg" style="weight:100%" />
19
+              <img class="img1" src="../assets/image/contact/QQ.jpg" style="width:200px" />
20 20
               <div class="caption">
21 21
                 <h2>QQ咨询</h2>
22 22
               </div>
@@ -26,7 +26,7 @@
26 26
 
27 27
         <div>
28 28
          
29
-            <img src="../assets/image/contact/photo.jpg" alt style="width:100%" />
29
+            <img src="../assets/image/contact/photo.jpg" alt class="contantimg" style="width:60%; " />
30 30
          
31 31
         </div>
32 32
       </div>
@@ -56,33 +56,39 @@
56 56
     border-radius: 0;
57 57
   }
58 58
   h1{
59
-    font-size: 3.6rem;
59
+    font-size: 2.4rem;
60 60
     margin-bottom: 40px;
61 61
   }
62 62
 
63 63
   .contact-1 .contact-main {
64 64
     width: 707px;
65
+    height: 600px;
65 66
     margin: 0 auto;
66 67
   }
67 68
   .st1 {
68
-    padding-right: 120px;
69
+    padding-right: 40px;
69 70
   }
70 71
   .st2 {
71
-    padding-left: 120px;
72
+    padding-left: 40px;
72 73
   }
73 74
 
74 75
   .contact-2 {
75 76
     padding: 98px 98px 27px 98px;
76 77
   }
78
+ 
77 79
 }
78 80
 h2 {
79 81
   margin-bottom: -22px;
80 82
 }
83
+.contantimg{
84
+  margin-top: 70px
85
+}
81 86
 @media (min-width: 992px) and (max-width: 1551px) {
82 87
   .contact-1 {
83 88
     width: 80%;
84 89
     padding: 30px 16px 63px;
85 90
     margin-top: -85px;
91
+     margin-bottom: -85px;
86 92
   }
87 93
   .border-bottom {
88 94
     font-size: 20px;
@@ -91,6 +97,8 @@ h2 {
91 97
   }
92 98
   h1{
93 99
     font-size: 2.52rem;
100
+    margin-bottom: 60px;
101
+    margin-top: 60px
94 102
   }
95 103
   h2{
96 104
     font-size: 2.1rem

+ 22
- 13
src/components/Navbars.vue Zobrazit soubor

@@ -38,13 +38,13 @@
38 38
     </div>
39 39
 
40 40
     <el-drawer :visible.sync="navdrawer" :show-close="true" size="80%">
41
-      <div>
41
+      <div  style="text-align: center;">
42 42
         <el-row style="text-align: center;">
43 43
           <el-col :span="24">
44
-            <img src="../assets/image/mobile/Sidemenulogo.png" width="46%" class="logoimg" />
44
+            <img src="../assets/image/mobile/Sidemenulogo.png" class="logoimg" />
45 45
           </el-col>
46 46
           <el-col class="line"></el-col>
47
-          <div>
47
+          <div class="btnheight">
48 48
             <el-col :span="24" class="a">
49 49
               <a href="/" class="btn1" :class="{moblinkactive:'/'==routepath}">01 回到首页</a>
50 50
             </el-col>
@@ -64,12 +64,11 @@
64 64
             <el-col :span="24" class="a">
65 65
               <a href="/contact" class="btn1" :class="{moblinkactive:'/contact'==routepath}">05 联系我们</a>
66 66
             </el-col>
67
-
68
-            <el-col :span="24" class="a">
69
-              <button type="button" class="btn rebtn" @click="navdrawer = flase" style="color:black;font-size: 24px;">继续浏览</button>
70
-            </el-col>
71 67
           </div>
72 68
         </el-row>
69
+        <el-col :span="24" class="a">
70
+          <button type="button" class="btn rebtn" @click="navdrawer = flase" style="color:black;font-size: 24px;">继续浏览</button>
71
+        </el-col>
73 72
       </div>
74 73
     </el-drawer>
75 74
   </div>
@@ -92,7 +91,7 @@ export default {
92 91
   },
93 92
   mounted () {
94 93
     this.routepath = this.$route.path;
95
-    console.log(this.routepath);
94
+    // console.log(this.routepath);
96 95
   },
97 96
 
98 97
 
@@ -208,10 +207,11 @@ padding-bottom: 0px
208 207
     background: url('../assets/logo1.png');
209 208
   }
210 209
   .logoimg {
211
-    margin: -20px auto 0px;
210
+    margin: -40px auto 0px;
211
+    width: 30vw;
212 212
   }
213 213
   .a {
214
-    height: 11vh;
214
+    height: 8vh;
215 215
     font-size: 2.4rem;
216 216
     /* margin-top: 2rem; */
217 217
     color: #000;
@@ -224,14 +224,15 @@ padding-bottom: 0px
224 224
   }
225 225
 
226 226
   .line {
227
-    height: 2px;
227
+    height: 1px;
228 228
     width: 80vw;
229 229
     background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), #aaa, rgba(255, 255, 255, 0));
230 230
     background: linear-gradient(to right, rgba(255, 255, 255, 0), #aaa, rgba(255, 255, 255, 0));
231 231
     margin-bottom: 30px;
232
+    margin-top: 20px;
232 233
   }
233 234
   .btn1 {
234
-    font-size: 24px !important;
235
+    font-size: 1.5rem !important;
235 236
     color: black !important;
236 237
     border: none !important;
237 238
   }
@@ -279,7 +280,7 @@ padding-bottom: 0px
279 280
           padding-left: 5px;
280 281
           padding-right: 5px;
281 282
           line-height: 40px;
282
-          padding-top: 0px; 
283
+          padding-top: 0px;
283 284
           padding-bottom: 0px;
284 285
           margin: 0 10px;
285 286
           &:hover {
@@ -305,13 +306,21 @@ padding-bottom: 0px
305 306
   color: #e03723 !important;
306 307
 }
307 308
 .rebtn {
309
+  position: fixed;
308 310
   border-radius: 0px;
309 311
   border: 1px solid #aaa;
310 312
   background: none;
313
+  bottom: 5vh;
314
+  right: 27vw;
315
+  font-size: 1.5rem !important;
316
+  width: 100px;
311 317
 }
312 318
 .rebtn:hover {
313 319
   color: #e03723 !important;
314 320
   border: 1px solid #e03723;
315 321
   background: #fff;
316 322
 }
323
+.btnheight {
324
+  height: 60vh;
325
+}
317 326
 </style>

+ 10
- 2
src/components/Wheelplanting.vue Zobrazit soubor

@@ -4,7 +4,10 @@
4 4
       <div class="swiper-wrapper">
5 5
         <div class="swiper-slide" v-for="(url,index) in blogs" :key="index+'url'">
6 6
           <div class="size">
7
-            <img class="imgrul" :src="url.imageUrl" />
7
+            <router-link :to="{ name: 'details', params: { id: url.link }}" v-if="url.link" class="routelink">
8
+           <img class="imgrul" :src="url.imageUrl" />
9
+          </router-link>
10
+            <img v-else class="imgrul" :src="url.imageUrl" />
8 11
           </div>
9 12
         </div>
10 13
       </div>
@@ -79,10 +82,14 @@ export default {
79 82
 <style scoped>
80 83
 @media (min-width: 992px) {
81 84
   .wheelplanting .con-swiper {
82
-    /* width: 100%; */
85
+    width: 100%;
83 86
     height: 100vh;
84 87
     z-index: 60;
85 88
   }
89
+  .imgrul {
90
+    width: 100vw;
91
+    height: 100vh;
92
+  }
86 93
 }
87 94
 @media (max-width: 992px) {
88 95
   .wheelplanting .con-swiper {
@@ -101,6 +108,7 @@ export default {
101 108
     text-align:center
102 109
   }
103 110
   .imgrul {
111
+    width: 100vw;
104 112
     height: 53vw;
105 113
     /* margin:0 auto; */
106 114
     /* max-width:200vw; */

+ 4
- 0
src/main.js Zobrazit soubor

@@ -5,8 +5,12 @@ import router from './router'
5 5
 import store from './store'
6 6
 import 'element-ui/lib/theme-chalk/index.css'
7 7
 
8
+
9
+
8 10
 Vue.config.productionTip = false
11
+import { Picker } from 'vant'
9 12
 
13
+Vue.use(Picker);
10 14
 Vue.use(ElementUI)
11 15
 
12 16
 new Vue({

+ 13
- 7
src/views/About.vue Zobrazit soubor

@@ -178,6 +178,7 @@ export default {
178 178
   }
179 179
   .foyoimg{
180 180
     width: 80vw !important;
181
+    /* margin-bottom: 20px !important; */
181 182
   }
182 183
   .sssss {
183 184
     font-size: 1.2rem;
@@ -214,7 +215,7 @@ export default {
214 215
     border-radius: 0; /*去圆角 */
215 216
   }
216 217
   .about {
217
-    padding-top: 116px;
218
+    padding-top: 100px;
218 219
   }
219 220
 
220 221
   .st div div .sssss {
@@ -229,7 +230,7 @@ export default {
229 230
   }
230 231
 
231 232
   h2 {
232
-    padding-bottom: 30px;
233
+    padding-bottom: 10px;
233 234
     font-weight: bold;
234 235
   }
235 236
   .about-1-img {
@@ -242,7 +243,7 @@ export default {
242 243
   }
243 244
   .about-1 {
244 245
     margin: 0 79px;
245
-    padding: 78px 0 84px 0;
246
+    padding: 30px 0 70px 0;
246 247
     border-bottom: 1px solid #e5e5e5;
247 248
   }
248 249
 
@@ -263,6 +264,10 @@ export default {
263 264
   .teamp2 {
264 265
     font-size: 1.1vw;
265 266
   }
267
+   .foyoimg{
268
+   
269
+    margin-bottom: 30px !important;
270
+  }
266 271
 }
267 272
 
268 273
 /* 大屏幕(大桌面显示器,大于等于 1200px) */
@@ -313,7 +318,7 @@ export default {
313 318
       // }
314 319
       .caption {
315 320
         h2 {
316
-          font-size: 2.4rem;
321
+          font-size: 1.6rem;
317 322
           font-weight: bold;
318 323
         }
319 324
         .p1 {
@@ -323,13 +328,14 @@ export default {
323 328
     }
324 329
   }
325 330
   .h1 {
326
-    font-size: 2.2rem;
331
+    margin-top: 30px;
332
+    font-size: 1.6rem;
327 333
     font-weight: bold;
328 334
     margin-bottom: 0px;
329 335
   }
330 336
   .about-2 {
331 337
     div {
332
-      margin-top: 20px;
338
+      margin-top: 12px;
333 339
       div {
334 340
         .about-ph1 {
335 341
           margin-left: 9px;
@@ -425,7 +431,7 @@ export default {
425 431
       // }
426 432
       .caption {
427 433
         h2 {
428
-          font-size: 2.1rem;
434
+          font-size: 1.6rem;
429 435
           font-weight: bold;
430 436
         }
431 437
         .p1 {

+ 107
- 20
src/views/Case.vue Zobrazit soubor

@@ -17,7 +17,7 @@
17 17
     <div class="row mobtype border-bottom">
18 18
       <div class="col-xs-6">
19 19
         <div>
20
-          <p style="line-height:40px">选择想看的案例类型:</p>
20
+          <p style="line-height:38px">选择想看的案例类型:</p>
21 21
         </div>
22 22
       </div>
23 23
       <div class="col-xs-6">
@@ -28,15 +28,18 @@
28 28
     <el-drawer :visible.sync="drawer" :direction="direction" :show-close="true" size="80%" style="text-align: center;">
29 29
       <div>
30 30
         <el-row style="text-align: center;height:72.5vh;display: grid;">
31
-          <el-col :span="24">
31
+          <!-- <el-col :span="24">
32 32
             <button type="button" @click="() => filterCase()" class="btn-link" style="color:black;font-size: 24px;" :class="{btnactive:thisbtn==''}">全部案例</button>
33
+          </el-col>-->
34
+          <el-col :span="24">
35
+            <van-picker class="values" :columns="columns" @cancel="drawer = false" :class="{btnactive:thisbtn==values}" @confirm="onConfirm" @change="onChange"  />
33 36
           </el-col>
34
-          <el-col :span="24" v-for="cas in casetype" :key="cas.id">
35
-            <!-- @click="() => filterCase(cas)" -->
37
+          <!-- <el-col :span="24" v-for="cas in casetype" :key="cas.id"> value-key=''
38
+         
36 39
             <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px" :class="{btnactive:thisbtn==cas.typeName}">{{cas.typeName}}</button>
37
-          </el-col>
40
+          </el-col>-->
38 41
         </el-row>
39
-        <button type="button" class="btn rebtn" @click="drawer = flase" style="text-align:center;color:black;font-size: 24px;padding-left: 40px;padding-right: 40px;">返回</button>
42
+        <button type="button" class="btn rebtn" @click="() => filterCase()" style="text-align:center;color:black;">确定</button>
40 43
       </div>
41 44
     </el-drawer>
42 45
 
@@ -50,7 +53,7 @@
50 53
       </div>
51 54
     </div>
52 55
     <!--  -->
53
-    <div style="margin-top:40px">
56
+    <div style="margin-top:27px">
54 57
       <button type="button" class="btn rebtn" @click="more" v-if="!allLoaded">加载更多</button>
55 58
       <p v-else>已经到底了~更多案例敬请期待~</p>
56 59
     </div>
@@ -65,12 +68,25 @@ import request from '../../utils/request'
65 68
 import apis from '../config/api'
66 69
 import CaseCard from '../components/CaseCard'
67 70
 import Navbars from '../components/Navbars'
71
+// import Picker from 'vant/lib/picker';
72
+import 'vant/lib/picker/style';
73
+// import { Picker } from 'vant'
74
+
75
+// import VuePicker from 'vue-pickers'
76
+// var tdata = []
77
+// for (let i = 0; i < 20; i++) {
78
+//   tdata.push({
79
+//     label: '第' + i + '行',
80
+//     value: i
81
+//   })
82
+// }
68 83
 
69 84
 export default {
70 85
   name: 'Case',
71 86
   components: {
72 87
     CaseCard,
73 88
     Navbars,
89
+    // VuePicker,
74 90
   },
75 91
   data () {
76 92
     return {
@@ -89,6 +105,12 @@ export default {
89 105
       navdrawer: false,
90 106
       direction: 'rtl',
91 107
       currentTypeName: '全部案例',
108
+
109
+      columns: ['全部案例'],
110
+      indexs: [],
111
+
112
+      value: '',
113
+      index: '',
92 114
     }
93 115
   },
94 116
 
@@ -108,7 +130,29 @@ export default {
108 130
       ...apis.caseType.list,
109 131
     })
110 132
       .then(res => {
111
-        this.casetype = (res.records || []).filter(x => x.type === 'case');
133
+         this.casetype = (res.records || []).filter(x => x.type === 'case');
134
+        // console.log(res.records || []).filter(x => x.type === 'case')
135
+        let type = (res.records || []).filter(x => x.type === 'case');
136
+
137
+        type.map((row, index) => {
138
+          this.columns[index + 1] = row.typeName
139
+          this.indexs[index] = row.id
140
+        
141
+        });
142
+
143
+        //      return data.map((row, inx) => {
144
+        //   return eval('(' + row.content + ')').reduce((acc, col) => {
145
+        //     const r = {this.columns = 
146
+
147
+        //       key: inx + 1,
148
+        //       createDate: row.createDate,
149
+        //       [`${col.key}`]: col.value,
150
+        //       ...acc,
151
+        //     }
152
+        //     console.log('r', r)
153
+        //     return r
154
+        //   }, {})
155
+        // })
112 156
       })
113 157
 
114 158
     this.getCaseList()
@@ -119,6 +163,23 @@ export default {
119 163
   },
120 164
 
121 165
   methods: {
166
+    // cancel () {
167
+    //         console.log('cancel')
168
+    //       },
169
+    //       confirm (res) {
170
+    //         console.log(res)
171
+    //       },
172
+    onChange (picker, value, index) {
173
+      console.log(picker);
174
+      this.value = value
175
+      this.index = index
176
+      console.log(`当前值:${value}, 当前索引:${index}`);
177
+    },
178
+
179
+    onConfirm (value, index) {
180
+      Toast(`当前值:${value}, 当前索引:${index}`);
181
+    },
182
+
122 183
     getCaseList (filters = {}) {
123 184
       const params = {
124 185
         ...this.conditions,
@@ -154,12 +215,31 @@ export default {
154 215
     },
155 216
 
156 217
     filterCase (caseType) {
157
-      // console.log(caseType.typeName)
158
-      this.currentTypeName = caseType ? caseType.typeName : '全部案例'
218
+      //  let value = ref.getColumnValue
219
+
220
+      if (this.value) {
221
+
222
+        console.log(this.value, this.indexs, '111111111')
223
+
224
+this.currentTypeName = this.value
225
+
226
+        this.getCaseList({ pageNum: 1, caseType: this.value=='全部案例' ? '': this.indexs[this.index-1] })
227
+        this.currentTypeName = this.value
228
+        
229
+        this.drawer = false;
230
+
231
+      } else {
232
+        console.log(caseType)
233
+        this.currentTypeName = caseType ? caseType.typeName : '全部案例'
234
+
235
+        this.getCaseList({ pageNum: 1, caseType: caseType ? caseType.id : '' })
236
+
237
+        this.thisbtn = caseType ? caseType.typeName : ''
238
+        this.drawer = false;
239
+      }
240
+
241
+
159 242
 
160
-      this.getCaseList({ pageNum: 1, caseType: caseType ? caseType.id : '' })
161
-      this.drawer = false;
162
-      this.thisbtn = caseType ? caseType.typeName : ''
163 243
     },
164 244
   }
165 245
 
@@ -174,7 +254,7 @@ export default {
174 254
 
175 255
 .mobtype {
176 256
   padding: 0;
177
-  margin-top: 10px;
257
+  margin-top: 0px;
178 258
 }
179 259
 
180 260
 .case {
@@ -184,7 +264,7 @@ export default {
184 264
 .border-bottom {
185 265
   /* display: none; */
186 266
   border-bottom: 1px solid #bfbfbf;
187
-  margin-top: 10px;
267
+  margin-top: 0px;
188 268
 }
189 269
 .btn1 {
190 270
   font-size: 24px;
@@ -221,6 +301,9 @@ export default {
221 301
 }
222 302
 
223 303
 @media (max-width: 992px) {
304
+  .rebtn {
305
+    width: 120px;
306
+  }
224 307
   .case {
225 308
     background-color: #fafafa;
226 309
     padding-bottom: 3rem;
@@ -230,7 +313,7 @@ export default {
230 313
     border-bottom: 1px solid #bfbfbf;
231 314
   }
232 315
   .dyn-main {
233
-    margin-top: 20px;
316
+    margin-top: 10px;
234 317
 
235 318
     padding-left: 1.6vw;
236 319
     padding-right: 1.6vw;
@@ -242,6 +325,9 @@ export default {
242 325
     padding-left: 1.6vw;
243 326
     padding-right: 1.6vw;
244 327
   }
328
+  p {
329
+    margin: 0;
330
+  }
245 331
 }
246 332
 .row {
247 333
   margin-left: 0;
@@ -261,9 +347,9 @@ export default {
261 347
     margin-top: 3rem;
262 348
   }
263 349
   .case {
264
-    margin-top: 116px;
265
-    margin-bottom: -116px;
266
-    padding-bottom: 116px;
350
+    margin-top: 100px;
351
+    margin-bottom: -100px;
352
+    padding-bottom: 100px;
267 353
     background-color: #fafafa;
268 354
   }
269 355
 
@@ -329,7 +415,7 @@ export default {
329 415
 }
330 416
 .mobtype {
331 417
   padding: 0;
332
-  margin-top: 10px;
418
+  margin-top: 0px;
333 419
 }
334 420
 
335 421
 @media (min-width: 992px) and (max-width: 1550px) {
@@ -352,6 +438,7 @@ export default {
352 438
   color: #e03723 !important;
353 439
 }
354 440
 .rebtn {
441
+  /* width: 120px; */
355 442
   border-radius: 0px;
356 443
   border: 1px solid #aaa;
357 444
   background: none;

+ 26
- 19
src/views/Contact.vue Zobrazit soubor

@@ -40,7 +40,10 @@
40 40
           <strong>南京福予文化传媒有限公司</strong>
41 41
         </p>
42 42
 
43
-        <p class="p2 app">地址:南京市江宁区秣周东路12号悠谷三号楼(砂之船奥特莱斯旁)</p>
43
+        <p class="p2">
44
+          南京市江宁区秣周东路12号悠谷三号楼
45
+          <br v-if="isMobilePhone"/>(砂之船奥特莱斯旁)
46
+        </p>
44 47
       </div>
45 48
     </div>
46 49
   </div>
@@ -80,11 +83,10 @@ export default {
80 83
 </style>
81 84
 
82 85
 <style lang="less" scoped>
83
-.contact{
86
+.contact {
84 87
   min-height: 85vh;
85 88
 }
86 89
 
87
-
88 90
 .col-md-6,
89 91
 .col-xs-6 {
90 92
   padding: 0px;
@@ -93,11 +95,11 @@ export default {
93 95
   .address {
94 96
     .p1 {
95 97
       padding-top: 7.57vw;
96
-      font-size: 2.9vw;
98
+      font-size: 3.8vw;
97 99
       margin-bottom: 0;
98 100
     }
99 101
     .p2 {
100
-      font-size: 2.4vw;
102
+      font-size: 1.2rem;
101 103
       padding-top: 1.9vw;
102 104
     }
103 105
   }
@@ -106,13 +108,17 @@ export default {
106 108
   h1 {
107 109
     font-weight: bold;
108 110
   }
111
+  h2 {
112
+    font-size: 2.5rem;
113
+    font-weight: 200;
114
+  }
109 115
   .address {
110 116
     .p1 {
111 117
       padding-top: 70px;
112 118
       font-size: 3.6rem;
113 119
     }
114 120
     .p2 {
115
-      font-size: 3rem;
121
+      font-size: 2.5rem;
116 122
       padding-top: 14px;
117 123
     }
118 124
   }
@@ -137,32 +143,35 @@ export default {
137 143
   .img1 {
138 144
     width: 20vw !important;
139 145
   }
140
-  .pull-right1{
146
+  .pull-right1 {
141 147
     float: right;
142 148
     margin-right: 8.5vw;
143 149
   }
144
-  .pull-left1{
150
+  .pull-left1 {
145 151
     float: left;
146
-    margin-left: 8.5vw
152
+    margin-left: 8.5vw;
147 153
   }
148
-  h1{
149
-    font-size: 3.22vw;
154
+  h1 {
155
+    // font-size: 3.22vw;
150 156
     margin-top: 4.9vw;
151 157
     margin-bottom: 5vw !important;
158
+    font-size: 1.6rem;
159
+
160
+    font-weight: bold;
161
+
162
+    // margin-bottom: 0px;
152 163
   }
153
-  h2{
164
+  h2 {
154 165
     font-size: 2.4vw;
155 166
     margin-top: 1.6vw;
156
-   
157
-  margin-bottom: 0.08vw !important;
158
-
159 167
 
168
+    margin-bottom: 0.08vw !important;
160 169
   }
161 170
 }
162 171
 
163 172
 @media (min-width: 992px) {
164 173
   .contact {
165
-    padding-top: 116px;
174
+    padding-top: 100px;
166 175
   }
167 176
   .contact-1 {
168 177
     width: 80%;
@@ -184,11 +193,9 @@ export default {
184 193
   .contact-2 {
185 194
     padding: 98px 98px 27px 98px;
186 195
   }
187
-  
188 196
 }
189 197
 h2 {
190 198
   margin-bottom: -22px;
191
-
192 199
 }
193 200
 
194 201
 @media (min-width: 992px) and (max-width: 1551px) {
@@ -219,7 +226,7 @@ h2 {
219 226
     }
220 227
   }
221 228
 }
222
-@media  (max-width: 551px) {
229
+@media (max-width: 551px) {
223 230
   // h2{
224 231
   //   font-size: 2rem
225 232
   // }

+ 20
- 9
src/views/Details.vue Zobrazit soubor

@@ -68,7 +68,7 @@
68 68
       <div class="row home-case" style="padding:0;width: 100%;margin-left :0; margin-right:0">
69 69
         <div class="col-xs-6 col-md-3 home-case" style="margin:0" v-for="(item,index) in recommends" :key="index">
70 70
           <router-link :to="{name: 'details', params: { id: item.id }}">
71
-            <div class="st4" :style="{background: `url(${item.caseCoverImg})`}">
71
+            <div class="st4" :style="{background: `url(${item.caseMoreCoverImg||item.caseCoverImg})`}">
72 72
               <div class="casetitle">
73 73
                 <div style="width: 100%">
74 74
                   <hr />
@@ -250,7 +250,7 @@ export default {
250 250
       font-size: 4rem;
251 251
     }
252 252
     .zantext {
253
-      font-size: 3.6rem;
253
+      font-size: 2.4rem;
254 254
       line-height: 4rem;
255 255
     }
256 256
   }
@@ -343,6 +343,7 @@ export default {
343 343
   h2 {
344 344
     margin-top: 64px;
345 345
     margin-bottom: 30px;
346
+    font-size: 2.4rem
346 347
   }
347 348
   .st5 {
348 349
     width: 80%;
@@ -465,7 +466,7 @@ export default {
465 466
 <style scoped>
466 467
 @media (min-width: 992px) {
467 468
   .details {
468
-    margin-top: 116px;
469
+    margin-top: 100px;
469 470
   }
470 471
 
471 472
   .coverimg {
@@ -478,7 +479,7 @@ export default {
478 479
     margin: 0;
479 480
   }
480 481
   .case {
481
-    padding-top: 116px;
482
+    padding-top: 100px;
482 483
   }
483 484
 
484 485
   .st {
@@ -488,7 +489,7 @@ export default {
488 489
     background-color: #fff;
489 490
     display: inline-block;
490 491
     border-radius: 0;
491
-    border: 2px solid #bcbcbc;
492
+    border: 1px solid #bcbcbc;
492 493
   }
493 494
 
494 495
   .case-2 {
@@ -546,6 +547,7 @@ export default {
546 547
   }
547 548
   .p2 {
548 549
     line-height: 55px;
550
+    font-size: 2.4rem
549 551
   }
550 552
 }
551 553
 </style>
@@ -562,6 +564,10 @@ export default {
562 564
   //     font-size: 3rem;
563 565
   //     line-height: 3.4rem;
564 566
   //   }
567
+   .movment {
568
+    font-size: 1.7rem;
569
+  
570
+  }
565 571
   .st h1 {
566 572
     font-size: 3rem;
567 573
   }
@@ -569,24 +575,29 @@ export default {
569 575
     font-size: 1.7rem;
570 576
   }
571 577
   .pull-left {
572
-    font-size: 2.5rem;
578
+    font-size: 1.7rem;
573 579
     .iconfont {
574 580
       font-size: 2.5rem;
575 581
     }
576 582
     .zantext {
577
-      font-size: 2.5rem;
583
+      font-size: 1.7rem;
578 584
       line-height: 2.8rem;
579 585
     }
580 586
   }
581 587
 
588
+  .btn1{
589
+    font-size: 1.7rem !important;
590
+  }
591
+
582 592
   .pull-right {
583
-    font-size: 2.5rem;
593
+    font-size: 1.7rem;
584 594
   }
585 595
  
586 596
 }
587 597
 @media (min-width: 1550px){
588 598
   .sharetext{
589
-    font-size: 3.6rem
599
+    font-size: 2.4rem;
600
+    line-height:5.8rem;
590 601
   }
591 602
 }
592 603
 a {

+ 92
- 44
src/views/Dynamic.vue Zobrazit soubor

@@ -27,15 +27,14 @@
27 27
     <el-drawer :visible.sync="drawer" :direction="direction" :show-close="true" size="80%" style="text-align: center;">
28 28
       <div>
29 29
         <el-row style="text-align: center;height:72.5vh;display: grid;">
30
-          <el-col :span="24">
30
+          <!-- <el-col :span="24">
31 31
             <button type="button" class="btn-link" @click="() => filterCase()" style="color:black;font-size: 24px;" :class="{btnactive:thisbtn==''}">全部动态</button>
32
+          </el-col>-->
33
+          <el-col :span="24">
34
+            <van-picker class="values" :columns="columns" @cancel="drawer = false" @confirm="onConfirm" @change="onChange" />
32 35
           </el-col>
33
-          <el-col :span="24" v-for="cas in casetype" :key="cas.id">
34
-            <button type="button" class="btn-link" @click="() => filterCase(cas)" style="color:black;font-size: 24px" :class="{btnactive:thisbtn==cas.typeName}">{{cas.typeName}}</button>
35
-          </el-col>
36
-          
37 36
         </el-row>
38
-         <button type="button" class="btn rebtn" @click="drawer = flase" style="text-align:center;color:black;font-size: 24px;padding-left: 40px;padding-right: 40px;">返回</button>
37
+        <button type="button" class="btn rebtn" @click="drawer = flase" style="text-align:center;color:black">确定</button>
39 38
       </div>
40 39
     </el-drawer>
41 40
 
@@ -65,6 +64,8 @@ import apis from '../config/api'
65 64
 import CaseCard from '../components/CaseCard'
66 65
 import Navbars from '../components/Navbars'
67 66
 
67
+import 'vant/lib/picker/style';
68
+
68 69
 export default {
69 70
   name: 'dynamic',
70 71
   data () {
@@ -84,7 +85,13 @@ export default {
84 85
       direction: 'rtl',
85 86
 
86 87
       currentTypeName: '全部动态',
87
-      thisbtn: ''
88
+      thisbtn: '',
89
+
90
+      columns: ['全部动态'],
91
+      indexs: [],
92
+
93
+      value: '',
94
+      index: '',
88 95
     }
89 96
   },
90 97
   components: {
@@ -105,12 +112,29 @@ export default {
105 112
     })
106 113
       .then(res => {
107 114
         this.casetype = (res.records || []).filter(x => x.type === 'movement');
115
+        let type = (res.records || []).filter(x => x.type === 'movement');
116
+        type.map((row, index) => {
117
+          this.columns[index + 1] = row.typeName
118
+          this.indexs[index] = row.id
119
+
120
+        });
108 121
       })
109 122
     this.getCaseList()
110 123
   },
111 124
   computed: {
112 125
   },
113 126
   methods: {
127
+    onChange (picker, value, index) {
128
+      console.log(picker);
129
+      this.value = value
130
+      this.index = index
131
+      console.log(`当前值:${value}, 当前索引:${index}`);
132
+    },
133
+
134
+    onConfirm (value, index) {
135
+      Toast(`当前值:${value}, 当前索引:${index}`);
136
+    },
137
+
114 138
     getCaseList (filters = {}) {
115 139
       const params = {
116 140
         ...this.conditions,
@@ -142,38 +166,50 @@ export default {
142 166
       }
143 167
     },
144 168
     filterCase (caseType) {
145
-      this.currentTypeName = caseType ? caseType.typeName : '全部动态'
146
-      this.getCaseList({ pageNum: 1, caseType: caseType ? caseType.id : '' });
147
-      this.drawer = false;
148
-      this.thisbtn = caseType ? caseType.typeName : ''
169
+
170
+      if (this.value) {
171
+
172
+        console.log(this.value, this.indexs, '111111111')
173
+
174
+        this.currentTypeName = this.value
175
+
176
+        this.getCaseList({ pageNum: 1, caseType: this.value == '全部动态' ? '' : this.indexs[this.index - 1] })
177
+        this.currentTypeName = this.value
178
+
179
+        this.drawer = false;
180
+
181
+      } else {
182
+        this.currentTypeName = caseType ? caseType.typeName : '全部动态'
183
+        this.getCaseList({ pageNum: 1, caseType: caseType ? caseType.id : '' });
184
+        this.drawer = false;
185
+        this.thisbtn = caseType ? caseType.typeName : ''
186
+      }
149 187
     },
150 188
   }
151 189
 }
152 190
 </script>
153 191
 
192
+
193
+
194
+
154 195
 <style scoped>
155 196
 .routelink {
156 197
   text-decoration: none;
157 198
 }
158 199
 
200
+.mobtype {
201
+  padding: 0;
202
+  margin-top: 0px;
203
+}
204
+
159 205
 .dynamic {
160 206
   min-height: 90vh;
161 207
 }
162 208
 
163
-/* .casecard {
164
-  width: 100%;
165
-
166
-  padding-bottom: 100%;
167
-  background-size: 100% 100% !important;
168
-  position: relative;
169
-
170
-  margin: 0;
171
-} */
172
-
173 209
 .border-bottom {
174 210
   /* display: none; */
175 211
   border-bottom: 1px solid #bfbfbf;
176
-  margin-top: 10px;
212
+  margin-top: 0px;
177 213
 }
178 214
 .btn1 {
179 215
   font-size: 24px;
@@ -187,10 +223,12 @@ export default {
187 223
 }
188 224
 .mobbtn {
189 225
   color: #e03723;
226
+  background-color: #fafafa;
190 227
   padding: 12px 40px;
228
+
191 229
   border-radius: 0px;
192
- background-color: #fafafa;
193
- border:none;
230
+
231
+  border: none;
194 232
   /* border: 2px solid #bfbfbf; */
195 233
 }
196 234
 
@@ -206,22 +244,12 @@ export default {
206 244
   padding-bottom: 65%;
207 245
   background-size: 100% 100% !important;
208 246
 }
209
-.coverimg{
210
-     width: 100%;
211
-    /* padding-bottom: 37px; */
212
-    /* height: 100%; */
213
-   
214
-    height: 0;
215
-    padding-bottom: 40.3%;
216
-    background-size: 100% 100% !important;
217
-  
218
-  }
219 247
 
220 248
 @media (max-width: 992px) {
249
+  .rebtn {
250
+    width: 120px;
251
+  }
221 252
   .dynamic {
222
-    /* margin-top: 47.8px;
223
-    margin-bottom: -47.8px;
224
-    padding-bottom: 47.8px; */
225 253
     background-color: #fafafa;
226 254
     padding-bottom: 3rem;
227 255
   }
@@ -230,7 +258,7 @@ export default {
230 258
     border-bottom: 1px solid #bfbfbf;
231 259
   }
232 260
   .dyn-main {
233
-    margin-top: 20px;
261
+    margin-top: 10px;
234 262
 
235 263
     padding-left: 1.6vw;
236 264
     padding-right: 1.6vw;
@@ -242,6 +270,9 @@ export default {
242 270
     padding-left: 1.6vw;
243 271
     padding-right: 1.6vw;
244 272
   }
273
+  p {
274
+    margin: 0;
275
+  }
245 276
 }
246 277
 .row {
247 278
   margin-left: 0;
@@ -261,9 +292,9 @@ export default {
261 292
     margin-top: 3rem;
262 293
   }
263 294
   .dynamic {
264
-    margin-top: 116px;
265
-    margin-bottom: -116px;
266
-    padding-bottom: 116px;
295
+    margin-top: 100px;
296
+    margin-bottom: -100px;
297
+    padding-bottom: 100px;
267 298
     background-color: #fafafa;
268 299
   }
269 300
 
@@ -279,6 +310,7 @@ export default {
279 310
     color: #000;
280 311
     background-color: #fff;
281 312
     border: 1px solid #aaaaaa;
313
+    outline: none;
282 314
   }
283 315
   .btn:hover {
284 316
     color: #e03723;
@@ -313,10 +345,24 @@ export default {
313 345
     padding: 10px;
314 346
   }
315 347
 }
348
+.coverimg {
349
+  width: 100%;
350
+  /* padding-bottom: 37px; */
351
+  /* height: 100%; */
352
+
353
+  height: 0;
354
+  padding-bottom: 40.3%;
355
+  background-size: 100% 100% !important;
356
+}
316 357
 .btn-link {
317 358
   outline: none;
318 359
   text-decoration: none;
319 360
 }
361
+.mobtype {
362
+  padding: 0;
363
+  margin-top: 0px;
364
+}
365
+
320 366
 @media (min-width: 992px) and (max-width: 1550px) {
321 367
   .btn1 {
322 368
     font-size: 20px;
@@ -326,6 +372,7 @@ export default {
326 372
     padding: 0;
327 373
     margin-top: 0px;
328 374
   }
375
+
329 376
   .btn {
330 377
     padding: 9px 105px;
331 378
     font-size: 17px;
@@ -336,6 +383,7 @@ export default {
336 383
   color: #e03723 !important;
337 384
 }
338 385
 .rebtn {
386
+  /* width: 120px; */
339 387
   border-radius: 0px;
340 388
   border: 1px solid #aaa;
341 389
   background: none;
@@ -348,7 +396,6 @@ export default {
348 396
 </style>
349 397
 
350 398
 
351
-
352 399
 <style lang="less" scoped>
353 400
 @media (min-width: 992px) {
354 401
   .cards:hover {
@@ -362,12 +409,13 @@ export default {
362 409
 }
363 410
 @media (min-width: 992px) and (max-width: 1500px) {
364 411
   .cards:hover {
412
+    transition: all 0.4s;
365 413
     .casecard {
366
-      transition: all 0.4s;
367 414
       margin-top: -10px;
368 415
       margin-bottom: 10px;
369 416
       box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.12);
370 417
     }
371 418
   }
372 419
 }
373
-</style>
420
+</style>
421
+

+ 28
- 13
src/views/Home.vue Zobrazit soubor

@@ -278,12 +278,13 @@ export default {
278 278
     margin-top: 20px;
279 279
     font-size: 20px;
280 280
     font-weight: bold;
281
-    letter-spacing: 1px;
281
+    letter-spacing: 0px;
282 282
   }
283 283
   h3 {
284 284
     padding-top: 3%;
285 285
     padding-left: 5%;
286 286
     font-size: 2rem;
287
+    font-weight: 300;
287 288
     /* padding: 0px; */
288 289
     width: 100%;
289 290
     height: 19%;
@@ -370,7 +371,7 @@ export default {
370 371
     margin-bottom: 3vw;
371 372
     font-size: 1.8rem;
372 373
     font-weight: bold;
373
-    letter-spacing: 0.3rem;
374
+    letter-spacing: 0px;
374 375
     color: #000;
375 376
   }
376 377
   .dynbtn {
@@ -394,6 +395,7 @@ export default {
394 395
     color: #000;
395 396
     background-color: #fff;
396 397
     border: 1px solid #aaaaaa;
398
+    width: 200px;
397 399
   }
398 400
   .btn:hover {
399 401
     color: #e03723;
@@ -465,7 +467,8 @@ export default {
465 467
   }
466 468
   .ph-logo:nth-child(6n + 1) {
467 469
     margin-top: 37px;
468
-    margin-left: 0.4vw;
470
+    margin-left: 0.5vw;
471
+    margin-right: 0.5vw;
469 472
   }
470 473
   .home-case {
471 474
     padding: 0;
@@ -614,7 +617,7 @@ h3 {
614 617
     margin-bottom: 5.2vw;
615 618
   }
616 619
   .btn-lg {
617
-    width: 100px;
620
+    width: 120px;
618 621
     // padding: 3px;
619 622
     font-size: 1.2rem;
620 623
     background-color: #fff;
@@ -650,6 +653,14 @@ h3 {
650 653
     display: block;
651 654
     color: #fff;
652 655
     width: 100%;
656
+    font-family: 'Microsoft Yahei Light';
657
+    font-size: 2.4rem;
658
+    padding: 0px;
659
+ 
660
+    color: #fff;
661
+  
662
+    line-height: 43px;
663
+
653 664
   }
654 665
   .br-logotop {
655 666
     display: none;
@@ -673,7 +684,7 @@ h3 {
673 684
     }
674 685
 
675 686
     .nav {
676
-      font-size: 2.6rem;
687
+      font-size: 2.2rem;
677 688
       margin-top: 5px;
678 689
       li {
679 690
         margin-left: 2vw;
@@ -691,8 +702,8 @@ h3 {
691 702
     }
692 703
 
693 704
     .logo {
694
-      width: 300px;
695
-      height: 60px;
705
+      width: 280px;
706
+      height: 53px;
696 707
       background: url('../assets/logo.png');
697 708
     }
698 709
     // padding-top: 20px;
@@ -706,7 +717,7 @@ h3 {
706 717
       // box-shadow: 0px 2px 2px  #ccc;
707 718
       box-shadow: 2px 2px rgba(183, 183, 185, 0.2);
708 719
       .nav {
709
-        font-size: 2.4rem;
720
+        font-size: 2.2rem;
710 721
 
711 722
         li {
712 723
           a {
@@ -732,18 +743,21 @@ h3 {
732 743
 
733 744
       .logo {
734 745
         margin-top: -10px;
735
-        width: 300px;
736
-        height: 60px;
746
+        width: 280px;
747
+        height: 56px;
737 748
         background: url('../assets/logo1.png');
738 749
         background-size: 100% 100% !important;
739 750
       }
740 751
     }
741 752
   }
742 753
   .p2 {
743
-    margin-bottom: 38px;
754
+    margin-bottom: 50px;
744 755
   }
745 756
 }
746 757
 @media (min-width: 992px) and (max-width: 1550px) {
758
+  .st4 .casetitle p{
759
+    font-size: 1.7rem
760
+  }
747 761
   h2 {
748 762
     font-size: 3rem;
749 763
   }
@@ -763,10 +777,10 @@ h3 {
763 777
     font-size: 1.7rem;
764 778
   }
765 779
   .p2 {
766
-    margin-bottom: 50px;
780
+    margin-bottom: 17px;
767 781
   }
768 782
   .top-news {
769
-    margin-top: 45px;
783
+    margin-top: 80px;
770 784
     h3 {
771 785
       font-size: 1.7rem;
772 786
       padding: 30px;
@@ -779,6 +793,7 @@ h3 {
779 793
     font-size: 17px;
780 794
     margin-top: 28px;
781 795
     padding: 8.4px 35px;
796
+    width: 160px;
782 797
   }
783 798
   .business {
784 799
     margin-bottom: 60px;