update.page.js
340 Bytes
let $ = require('yoho-jquery'),
yoho = require('js/yoho-app');
// $('body').height($(window).height());
// $('.app-update').height($(window).height()).width($(window).width());
if (yoho.isApp) {
$('button').hide();
}
$('button').on('click', function() {
window.location = 'http://www.yohoshow.com/about/index/yohobuyqr';
});