category.page.js
511 Bytes
import 'scss/tide/category.page.scss';
import $ from 'yoho-jquery';
import Page from 'js/yoho-page';
import lazyLoad from 'yoho-jquery-lazyload';
import share from 'js/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();
});