Authored by zhangxiaoru

直播列表优化

<div class="yoho-live yoho-page">
{{! 导航条}}
{{#unless isApp}}
<div class="home-header clearfix yoho-header">
<div class="home-header clearfix yoho-header" id="home-header">
<a href="javascript:history.go(-1);" class="iconfont nav-back buriedpoint" data-bp-id="page_header_back_0"></a>
<p class="nav-title">直播列表</p>
</div>
... ... @@ -127,3 +127,10 @@
</div>
{{/record}}
</div>
<script type="text/javascript">
var isWechat = /micromessenger/i.test(navigator.userAgent || '');
if (isWechat) {
document.getElementById('home-header').classList.add('hide');
}
</script>
... ...
... ... @@ -2,6 +2,8 @@ var $ = require('yoho-jquery'),
lazyLoad = require('yoho-jquery-lazyload');
var Swiper = require('yoho-swiper');
require('../common');
lazyLoad($('img'));
$('.swiper-container').each(function() {
... ...
... ... @@ -20,6 +20,8 @@ var _ChannelVary = {
lifestyle: 4
};
require('./common/share');
function cookie(name) {
var cookies = document.cookie,
cookieVal;
... ...