• This project
    • Loading...
  • Sign in

fe / YOHOBUYWAP · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • YOHOBUYWAP
  • static
  • js
  • category
  • brand.js
  • brand
    fcf622ac
    by 梁志锋
    2015-10-21 10:37:57 +0800  
    Browse Files
brand.js 369 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/**
 * 分类
 * @author: xuqi<qi.xu@yoho.cn>
 * @date: 2015/10/14
 */

var $ = require('yoho.zepto'),
    Swiper = require('yoho.iswiper'),
    lazyLoad = require('yoho.zeptolazyload');

var swiper;

swiper = new Swiper('.swiper-container', {
    lazyLoading: true,
    loop: true,
    autoplay: 3000,
    pagination: '.swiper-pagination'
});

lazyLoad($('img.lazy'));