• This project
    • Loading...
  • Sign in

fe / yohobuy-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 1
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuy-node
  • public
  • js
  • guang
  • right-side.js
  • guang detail
    7be59600
    by 刘传洋
    2016-09-08 09:52:23 +0800  
    Browse Files
right-side.js 239 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
/**
 * 右侧栏文字截取js
 */
var $ = require('yoho-jquery'),
    lazyLoad = require('yoho-jquery-lazyload');

require('yoho-jquery-dotdotdot');

$('.ex-reco-context').dotdotdot({
    wrap: 'letter'
});

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