import 'tide/category.page.css'; import $ from 'yoho-jquery'; import Page from 'yoho-page'; import lazyLoad from 'yoho-jquery-lazyload'; import share from 'common/share'; class TideCategory extends Page { constructor() { super(); this.selector = { $tidePage: $('.activity-tide-page'), }; this.init(); } init() { lazyLoad(this.selector.$tidePage.find('img.lazy')); share({}); } } $(() => { new TideCategory(); });