Authored by 陈峰

swipe

... ... @@ -113,7 +113,7 @@
"uglifyjs-webpack-plugin": "^0.4.6",
"url-loader": "^0.5.9",
"vue": "^2.5.13",
"vue-awesome-swiper": "^2.6.2",
"vue-awesome-swiper": "^3.0.6",
"vue-hot-reload-api": "^1.2.0",
"vue-html-loader": "^1.2.4",
"vue-infinite-scroll": "^2.0.1",
... ...
... ... @@ -15,6 +15,7 @@
<resource-two-image v-if="twoImages" :value="twoImages"></resource-two-image>
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
<resource-product-list v-if="products" :value="products"></resource-product-list>
<resource-single-image v-if="singleImages" :value="singleImages"></resource-single-image>
</div>
</layout-body>
</template>
... ... @@ -87,6 +88,8 @@ export default {
};
</script>
<style>
<style lang="scss">
.resources {
padding-bottom: 20px;
}
</style>
... ...
import home from './home';
export default {
home
home,
};
... ...
... ... @@ -25,7 +25,7 @@
<client>
import Vue from 'vue';
import('swiper/dist/css/swiper.css');
const VueAwesomeSwiper = require('vue-awesome-swiper/ssr');
const VueAwesomeSwiper = require('vue-awesome-swiper/dist/ssr');
Vue.use(VueAwesomeSwiper);
</client>
... ...
@font-face {
font-family: "iconfont";
src: url("../font/iconfont.eot?vqs6e2");
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");
font-weight: normal;
font-style: normal;
}
.icon {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: "iconfont" !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
background: url("../font/iconfont.svg");
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-down:before {
content: "\e602";
}
.icon-check:before {
content: "\e603";
}
.icon-love:before {
content: "\e604";
}
.icon-close:before {
content: "\e605";
}
.icon-left:before {
content: "\e606";
}
.icon-right:before {
content: "\e607";
}
.icon-search:before {
content: "\e608";
}
.icon-love-solid:before {
content: "\e609";
}
.icon-focus:before {
content: "\e60c";
}
.icon-focused:before {
content: "\e60d";
}
.icon-share:before {
content: "\e60e";
}
.icon-blk:before {
content: "\e60f";
}
.icon-importedlayers:before {
content: "\e610";
}
.icon-up:before {
content: "\e617";
}
.icon-plus:before {
content: "\e900";
}
.icon-back:before {
content: "\e901";
}
.icon-choose:before {
content: "\e902";
}
.icon-minus:before {
content: "\e903";
}
.icon-brand:before {
content: "\e904";
}
.icon-shopping-bag:before {
content: "\e905";
}
.icon-time-o:before {
content: "\e906";
}
.icon-see2:before {
content: "\e907";
}
.icon-8:before {
content: "\e908";
}
.icon-filter:before {
content: "\e909";
}
.icon-share2:before {
content: "\e90a";
}
.icon-liked:before {
content: "\e90b";
}
.icon-like:before {
content: "\e90c";
}
.icon-82:before {
content: "\e90d";
}
.icon-0:before {
content: "\e90e";
}
.icon-5:before {
content: "\e90f";
}
.icon-kuaisu:before {
content: "\e910";
}
.icon-niandu:before {
content: "\e911";
}
.icon-vip:before {
content: "\e912";
}
.icon-youhui:before {
content: "\e913";
}
.icon-zazhi:before {
content: "\e914";
}
.icon-refund-exchange:before {
content: "\e915";
}
.icon-wait-cargo:before {
content: "\e916";
}
.icon-wait-pay:before {
content: "\e917";
}
.icon-send-cargo:before {
content: "\e918";
}
.icon-msg:before {
content: "\e919";
}
.icon-bold-shopbag:before {
content: "\e91a";
}
.icon-notdef:before {
content: "\e91b";
}
.icon-sort-asc:before {
content: "\e91c";
}
.icon-sort-desc:before {
content: "\e91d";
}
.icon-x:before {
content: "\e91e";
}
.icon-edit-del:before {
content: "\e91f";
}
.icon-close-round:before {
content: "\e920";
}
.icon-help:before {
content: "\e921";
}
.icon-read:before {
content: "\e922";
}
.icon-back2:before {
content: "\e923";
}
.icon-sort-up:before {
content: "\e924";
}
.icon-sort-down:before {
content: "\e925";
}
.icon-timeshare:before {
content: "\e926";
}
.icon-more:before {
content: "\e927";
}
.icon-noselect:before {
content: "\e928";
}
.icon-del:before {
content: "\e929";
}
.icon-message:before {
content: "\e92a";
}
.icon-delete:before {
content: "\e92b";
}
.icon-nav:before {
content: "\e92c";
}
.icon-setting:before {
content: "\e92d";
}
.icon-search2:before {
content: "\e92e";
}
.icon-email:before {
content: "\e92f";
}
.icon-battery:before {
content: "\e930";
}
.icon-key:before {
content: "\e931";
}
.icon-note:before {
content: "\e932";
}
.icon-question:before {
content: "\e933";
}
.icon-time2:before {
content: "\e934";
}
.icon-card:before {
content: "\e935";
}
.icon-bag2:before {
content: "\e936";
}
.icon-logistics:before {
content: "\e937";
}
.icon-money:before {
content: "\e938";
}
.icon-document:before {
content: "\e939";
}
.icon-wifi:before {
content: "\e93a";
}
.icon-email2:before {
content: "\e93b";
}
.icon-focus2:before {
content: "\e93c";
}
.icon-shopbag:before {
content: "\e93d";
}
.icon-search3:before {
content: "\e93e";
}
.icon-position:before {
content: "\e93f";
}
.icon-onlineservice:before {
content: "\e940";
}
.icon-seven:before {
content: "\e941";
}
.icon-real:before {
content: "\e942";
}
.icon-unsupport-seven:before {
content: "\e943";
}
.icon-back-top1:before {
content: "\e944";
}
.icon-see:before {
content: "\e945";
}
.icon-reduce:before {
content: "\e946";
}
.icon-add:before {
content: "\e947";
}
.icon-order:before {
content: "\e948";
}
.icon-store:before {
content: "\e949";
}
.icon-default-tip:before {
content: "\f35b";
}
.icon-error-tip:before {
content: "\f36e";
}
.icon-success-tip:before {
content: "\f3ff";
}
.icon-close-tip:before {
content: "\f404";
}
... ... @@ -2457,6 +2457,10 @@ dom-walk@^0.1.0:
version "0.1.1"
resolved "http://npm.yoho.cn/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018"
dom7@^2.0.1:
version "2.0.1"
resolved "http://npm.yoho.cn/dom7/-/dom7-2.0.1.tgz#a8a2c802cf17c20b051d9414143061472201a233"
domain-browser@^1.1.1:
version "1.1.7"
resolved "http://npm.yoho.cn/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc"
... ... @@ -5665,7 +5669,7 @@ object-assign@^3.0.0:
version "3.0.0"
resolved "http://npm.yoho.cn/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2"
object-assign@^4.0.1, object-assign@^4.1.0:
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
resolved "http://npm.yoho.cn/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
... ... @@ -8488,9 +8492,11 @@ swap-case@^1.1.0:
lower-case "^1.1.1"
upper-case "^1.1.1"
swiper@^3.4.2:
version "3.4.2"
resolved "http://npm.yoho.cn/swiper/-/swiper-3.4.2.tgz#39d6b410b1a39833e1f72d3b72999df5f5e38392"
swiper@^4.0.7:
version "4.0.7"
resolved "http://npm.yoho.cn/swiper/-/swiper-4.0.7.tgz#89175c2a23d86622eda8344740c24a3701a6b270"
dependencies:
dom7 "^2.0.1"
synesthesia@^1.0.1:
version "1.0.1"
... ... @@ -9040,11 +9046,12 @@ vm-browserify@0.0.4:
dependencies:
indexof "0.0.1"
vue-awesome-swiper@^2.6.2:
version "2.6.7"
resolved "http://npm.yoho.cn/vue-awesome-swiper/-/vue-awesome-swiper-2.6.7.tgz#23b12cf107503305c267df3c7c2903fb39896cd0"
vue-awesome-swiper@^3.0.6:
version "3.0.6"
resolved "http://npm.yoho.cn/vue-awesome-swiper/-/vue-awesome-swiper-3.0.6.tgz#546aa9a2775471e1dfa6ca9fd7e958aaa99ee1ea"
dependencies:
swiper "^3.4.2"
object-assign "^4.1.1"
swiper "^4.0.7"
vue-clickoutside@^0.2.0:
version "0.2.0"
... ...