shop.page.js
490 Bytes
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 TideShop extends Page {
constructor() {
super();
this.selector = {
$tidePage: $('.activity-tide-page'),
};
this.init();
}
init() {
lazyLoad(this.selector.$tidePage.find('img.lazy'));
share({});
}
}
$(() => {
new TideShop();
});