error.page.js 478 Bytes
import yoho from 'yoho';
import $ from 'jquery';
import interceptClick from 'common/intercept-click';

yoho.ready(() => {
    const header = Object.assign({}, interceptClick.defaultTitleMap[1]);

    header.title.des = 'BLK';
    yoho.updateNavigationBar({
        header: header
    });
    yoho.showLoading(false);

    $('.home').on('click', () => {
        if(yoho.isYohoBuy) {
            yoho.goNewBack();
        } else {
            yoho.goBack();
        }
    });
});