Showing
1 changed file
with
6 additions
and
1 deletions
1 | -let $ = require('yoho-jquery'); | 1 | +let $ = require('yoho-jquery'), |
2 | + yoho = require('yoho-app'); | ||
2 | 3 | ||
3 | // $('body').height($(window).height()); | 4 | // $('body').height($(window).height()); |
4 | // $('.app-update').height($(window).height()).width($(window).width()); | 5 | // $('.app-update').height($(window).height()).width($(window).width()); |
5 | 6 | ||
7 | +if (yoho.isApp) { | ||
8 | + $('button').hide(); | ||
9 | +} | ||
10 | + | ||
6 | $('button').on('click', function() { | 11 | $('button').on('click', function() { |
7 | window.location = 'http://www.yohoshow.com/about/index/yohobuyqr'; | 12 | window.location = 'http://www.yohoshow.com/about/index/yohobuyqr'; |
8 | }); | 13 | }); |
-
Please register or login to post a comment