Authored by 陈峰

swipe

@@ -113,7 +113,7 @@ @@ -113,7 +113,7 @@
113 "uglifyjs-webpack-plugin": "^0.4.6", 113 "uglifyjs-webpack-plugin": "^0.4.6",
114 "url-loader": "^0.5.9", 114 "url-loader": "^0.5.9",
115 "vue": "^2.5.13", 115 "vue": "^2.5.13",
116 - "vue-awesome-swiper": "^2.6.2", 116 + "vue-awesome-swiper": "^3.0.6",
117 "vue-hot-reload-api": "^1.2.0", 117 "vue-hot-reload-api": "^1.2.0",
118 "vue-html-loader": "^1.2.4", 118 "vue-html-loader": "^1.2.4",
119 "vue-infinite-scroll": "^2.0.1", 119 "vue-infinite-scroll": "^2.0.1",
@@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
15 <resource-two-image v-if="twoImages" :value="twoImages"></resource-two-image> 15 <resource-two-image v-if="twoImages" :value="twoImages"></resource-two-image>
16 <resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image> 16 <resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
17 <resource-product-list v-if="products" :value="products"></resource-product-list> 17 <resource-product-list v-if="products" :value="products"></resource-product-list>
  18 + <resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
18 </div> 19 </div>
19 </layout-body> 20 </layout-body>
20 </template> 21 </template>
@@ -87,6 +88,8 @@ export default { @@ -87,6 +88,8 @@ export default {
87 }; 88 };
88 </script> 89 </script>
89 90
90 -<style>  
91 - 91 +<style lang="scss">
  92 +.resources {
  93 + padding-bottom: 20px;
  94 +}
92 </style> 95 </style>
1 import home from './home'; 1 import home from './home';
2 2
3 export default { 3 export default {
4 - home 4 + home,
5 }; 5 };
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 <client> 25 <client>
26 import Vue from 'vue'; 26 import Vue from 'vue';
27 import('swiper/dist/css/swiper.css'); 27 import('swiper/dist/css/swiper.css');
28 -const VueAwesomeSwiper = require('vue-awesome-swiper/ssr'); 28 +const VueAwesomeSwiper = require('vue-awesome-swiper/dist/ssr');
29 29
30 Vue.use(VueAwesomeSwiper); 30 Vue.use(VueAwesomeSwiper);
31 </client> 31 </client>
1 -@font-face {  
2 - font-family: "iconfont";  
3 - src: url("../font/iconfont.eot?vqs6e2");  
4 - src: url("../font/iconfont.eot?vqs6e2#iefix") format("embedded-opentype"), url("../font/iconfont.ttf?vqs6e2") format("truetype"), url("../font/iconfont.woff?vqs6e2") format("woff"), url("../font/iconfont.svg?vqs6e2#iconfont") format("svg");  
5 - font-weight: normal;  
6 - font-style: normal;  
7 -}  
8 -  
9 -.icon {  
10 - /* use !important to prevent issues with browser extensions that change fonts */  
11 - font-family: "iconfont" !important;  
12 - speak: none;  
13 - font-style: normal;  
14 - font-weight: normal;  
15 - font-variant: normal;  
16 - text-transform: none;  
17 - line-height: 1;  
18 - background: url("../font/iconfont.svg");  
19 -  
20 - /* Better Font Rendering =========== */  
21 - -webkit-font-smoothing: antialiased;  
22 - -moz-osx-font-smoothing: grayscale;  
23 -}  
24 -  
25 -.icon-down:before {  
26 - content: "\e602";  
27 -}  
28 -.icon-check:before {  
29 - content: "\e603";  
30 -}  
31 -.icon-love:before {  
32 - content: "\e604";  
33 -}  
34 -.icon-close:before {  
35 - content: "\e605";  
36 -}  
37 -.icon-left:before {  
38 - content: "\e606";  
39 -}  
40 -.icon-right:before {  
41 - content: "\e607";  
42 -}  
43 -.icon-search:before {  
44 - content: "\e608";  
45 -}  
46 -.icon-love-solid:before {  
47 - content: "\e609";  
48 -}  
49 -.icon-focus:before {  
50 - content: "\e60c";  
51 -}  
52 -.icon-focused:before {  
53 - content: "\e60d";  
54 -}  
55 -.icon-share:before {  
56 - content: "\e60e";  
57 -}  
58 -.icon-blk:before {  
59 - content: "\e60f";  
60 -}  
61 -.icon-importedlayers:before {  
62 - content: "\e610";  
63 -}  
64 -.icon-up:before {  
65 - content: "\e617";  
66 -}  
67 -.icon-plus:before {  
68 - content: "\e900";  
69 -}  
70 -.icon-back:before {  
71 - content: "\e901";  
72 -}  
73 -.icon-choose:before {  
74 - content: "\e902";  
75 -}  
76 -.icon-minus:before {  
77 - content: "\e903";  
78 -}  
79 -.icon-brand:before {  
80 - content: "\e904";  
81 -}  
82 -.icon-shopping-bag:before {  
83 - content: "\e905";  
84 -}  
85 -.icon-time-o:before {  
86 - content: "\e906";  
87 -}  
88 -.icon-see2:before {  
89 - content: "\e907";  
90 -}  
91 -.icon-8:before {  
92 - content: "\e908";  
93 -}  
94 -.icon-filter:before {  
95 - content: "\e909";  
96 -}  
97 -.icon-share2:before {  
98 - content: "\e90a";  
99 -}  
100 -.icon-liked:before {  
101 - content: "\e90b";  
102 -}  
103 -.icon-like:before {  
104 - content: "\e90c";  
105 -}  
106 -.icon-82:before {  
107 - content: "\e90d";  
108 -}  
109 -.icon-0:before {  
110 - content: "\e90e";  
111 -}  
112 -.icon-5:before {  
113 - content: "\e90f";  
114 -}  
115 -.icon-kuaisu:before {  
116 - content: "\e910";  
117 -}  
118 -.icon-niandu:before {  
119 - content: "\e911";  
120 -}  
121 -.icon-vip:before {  
122 - content: "\e912";  
123 -}  
124 -.icon-youhui:before {  
125 - content: "\e913";  
126 -}  
127 -.icon-zazhi:before {  
128 - content: "\e914";  
129 -}  
130 -.icon-refund-exchange:before {  
131 - content: "\e915";  
132 -}  
133 -.icon-wait-cargo:before {  
134 - content: "\e916";  
135 -}  
136 -.icon-wait-pay:before {  
137 - content: "\e917";  
138 -}  
139 -.icon-send-cargo:before {  
140 - content: "\e918";  
141 -}  
142 -.icon-msg:before {  
143 - content: "\e919";  
144 -}  
145 -.icon-bold-shopbag:before {  
146 - content: "\e91a";  
147 -}  
148 -.icon-notdef:before {  
149 - content: "\e91b";  
150 -}  
151 -.icon-sort-asc:before {  
152 - content: "\e91c";  
153 -}  
154 -.icon-sort-desc:before {  
155 - content: "\e91d";  
156 -}  
157 -.icon-x:before {  
158 - content: "\e91e";  
159 -}  
160 -.icon-edit-del:before {  
161 - content: "\e91f";  
162 -}  
163 -.icon-close-round:before {  
164 - content: "\e920";  
165 -}  
166 -.icon-help:before {  
167 - content: "\e921";  
168 -}  
169 -.icon-read:before {  
170 - content: "\e922";  
171 -}  
172 -.icon-back2:before {  
173 - content: "\e923";  
174 -}  
175 -.icon-sort-up:before {  
176 - content: "\e924";  
177 -}  
178 -.icon-sort-down:before {  
179 - content: "\e925";  
180 -}  
181 -.icon-timeshare:before {  
182 - content: "\e926";  
183 -}  
184 -.icon-more:before {  
185 - content: "\e927";  
186 -}  
187 -.icon-noselect:before {  
188 - content: "\e928";  
189 -}  
190 -.icon-del:before {  
191 - content: "\e929";  
192 -}  
193 -.icon-message:before {  
194 - content: "\e92a";  
195 -}  
196 -.icon-delete:before {  
197 - content: "\e92b";  
198 -}  
199 -.icon-nav:before {  
200 - content: "\e92c";  
201 -}  
202 -.icon-setting:before {  
203 - content: "\e92d";  
204 -}  
205 -.icon-search2:before {  
206 - content: "\e92e";  
207 -}  
208 -.icon-email:before {  
209 - content: "\e92f";  
210 -}  
211 -.icon-battery:before {  
212 - content: "\e930";  
213 -}  
214 -.icon-key:before {  
215 - content: "\e931";  
216 -}  
217 -.icon-note:before {  
218 - content: "\e932";  
219 -}  
220 -.icon-question:before {  
221 - content: "\e933";  
222 -}  
223 -.icon-time2:before {  
224 - content: "\e934";  
225 -}  
226 -.icon-card:before {  
227 - content: "\e935";  
228 -}  
229 -.icon-bag2:before {  
230 - content: "\e936";  
231 -}  
232 -.icon-logistics:before {  
233 - content: "\e937";  
234 -}  
235 -.icon-money:before {  
236 - content: "\e938";  
237 -}  
238 -.icon-document:before {  
239 - content: "\e939";  
240 -}  
241 -.icon-wifi:before {  
242 - content: "\e93a";  
243 -}  
244 -.icon-email2:before {  
245 - content: "\e93b";  
246 -}  
247 -.icon-focus2:before {  
248 - content: "\e93c";  
249 -}  
250 -.icon-shopbag:before {  
251 - content: "\e93d";  
252 -}  
253 -.icon-search3:before {  
254 - content: "\e93e";  
255 -}  
256 -.icon-position:before {  
257 - content: "\e93f";  
258 -}  
259 -.icon-onlineservice:before {  
260 - content: "\e940";  
261 -}  
262 -.icon-seven:before {  
263 - content: "\e941";  
264 -}  
265 -.icon-real:before {  
266 - content: "\e942";  
267 -}  
268 -.icon-unsupport-seven:before {  
269 - content: "\e943";  
270 -}  
271 -.icon-back-top1:before {  
272 - content: "\e944";  
273 -}  
274 -.icon-see:before {  
275 - content: "\e945";  
276 -}  
277 -.icon-reduce:before {  
278 - content: "\e946";  
279 -}  
280 -.icon-add:before {  
281 - content: "\e947";  
282 -}  
283 -.icon-order:before {  
284 - content: "\e948";  
285 -}  
286 -.icon-store:before {  
287 - content: "\e949";  
288 -}  
289 -.icon-default-tip:before {  
290 - content: "\f35b";  
291 -}  
292 -.icon-error-tip:before {  
293 - content: "\f36e";  
294 -}  
295 -.icon-success-tip:before {  
296 - content: "\f3ff";  
297 -}  
298 -.icon-close-tip:before {  
299 - content: "\f404";  
300 -}  
@@ -2457,6 +2457,10 @@ dom-walk@^0.1.0: @@ -2457,6 +2457,10 @@ dom-walk@^0.1.0:
2457 version "0.1.1" 2457 version "0.1.1"
2458 resolved "http://npm.yoho.cn/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018" 2458 resolved "http://npm.yoho.cn/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018"
2459 2459
  2460 +dom7@^2.0.1:
  2461 + version "2.0.1"
  2462 + resolved "http://npm.yoho.cn/dom7/-/dom7-2.0.1.tgz#a8a2c802cf17c20b051d9414143061472201a233"
  2463 +
2460 domain-browser@^1.1.1: 2464 domain-browser@^1.1.1:
2461 version "1.1.7" 2465 version "1.1.7"
2462 resolved "http://npm.yoho.cn/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" 2466 resolved "http://npm.yoho.cn/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc"
@@ -5665,7 +5669,7 @@ object-assign@^3.0.0: @@ -5665,7 +5669,7 @@ object-assign@^3.0.0:
5665 version "3.0.0" 5669 version "3.0.0"
5666 resolved "http://npm.yoho.cn/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" 5670 resolved "http://npm.yoho.cn/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2"
5667 5671
5668 -object-assign@^4.0.1, object-assign@^4.1.0: 5672 +object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
5669 version "4.1.1" 5673 version "4.1.1"
5670 resolved "http://npm.yoho.cn/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 5674 resolved "http://npm.yoho.cn/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
5671 5675
@@ -8488,9 +8492,11 @@ swap-case@^1.1.0: @@ -8488,9 +8492,11 @@ swap-case@^1.1.0:
8488 lower-case "^1.1.1" 8492 lower-case "^1.1.1"
8489 upper-case "^1.1.1" 8493 upper-case "^1.1.1"
8490 8494
8491 -swiper@^3.4.2:  
8492 - version "3.4.2"  
8493 - resolved "http://npm.yoho.cn/swiper/-/swiper-3.4.2.tgz#39d6b410b1a39833e1f72d3b72999df5f5e38392" 8495 +swiper@^4.0.7:
  8496 + version "4.0.7"
  8497 + resolved "http://npm.yoho.cn/swiper/-/swiper-4.0.7.tgz#89175c2a23d86622eda8344740c24a3701a6b270"
  8498 + dependencies:
  8499 + dom7 "^2.0.1"
8494 8500
8495 synesthesia@^1.0.1: 8501 synesthesia@^1.0.1:
8496 version "1.0.1" 8502 version "1.0.1"
@@ -9040,11 +9046,12 @@ vm-browserify@0.0.4: @@ -9040,11 +9046,12 @@ vm-browserify@0.0.4:
9040 dependencies: 9046 dependencies:
9041 indexof "0.0.1" 9047 indexof "0.0.1"
9042 9048
9043 -vue-awesome-swiper@^2.6.2:  
9044 - version "2.6.7"  
9045 - resolved "http://npm.yoho.cn/vue-awesome-swiper/-/vue-awesome-swiper-2.6.7.tgz#23b12cf107503305c267df3c7c2903fb39896cd0" 9049 +vue-awesome-swiper@^3.0.6:
  9050 + version "3.0.6"
  9051 + resolved "http://npm.yoho.cn/vue-awesome-swiper/-/vue-awesome-swiper-3.0.6.tgz#546aa9a2775471e1dfa6ca9fd7e958aaa99ee1ea"
9046 dependencies: 9052 dependencies:
9047 - swiper "^3.4.2" 9053 + object-assign "^4.1.1"
  9054 + swiper "^4.0.7"
9048 9055
9049 vue-clickoutside@^0.2.0: 9056 vue-clickoutside@^0.2.0:
9050 version "0.2.0" 9057 version "0.2.0"