...
|
...
|
@@ -2,9 +2,9 @@ |
|
|
{{# guang}}
|
|
|
<div id="wrapper" >
|
|
|
<div id="scroller" class="{{channel}}">
|
|
|
{{#if isShare}}
|
|
|
{{!-- {{#if isShare}} --}}
|
|
|
{{> wei-guang/guang-header}}
|
|
|
{{/if}}
|
|
|
{{!-- {{/if}} --}}
|
|
|
{{# author}}
|
|
|
<div class="author" data-id={{id}}>
|
|
|
<a class="clearfix" href={{url}}>
|
...
|
...
|
@@ -214,3 +214,14 @@ |
|
|
{{#if isShare}}
|
|
|
{{> wei-guang/side-nav}}
|
|
|
{{/if}}
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
var isWechat = /micromessenger/i.test(navigator.userAgent || ''),
|
|
|
isqq = /MQQBrowser/i.test(navigator.userAgent || ''),
|
|
|
isWeibo = navigator.userAgent.toLowerCase().indexOf('weibo') !== -1;
|
|
|
|
|
|
if (isWechat || isqq || isWeibo) {
|
|
|
document.getElementById('guang-header').classList.remove('hide');
|
|
|
document.getElementById('yoho-header').classList.add('hide');
|
|
|
}
|
|
|
</script> |
...
|
...
|
|