|
@@ -2,9 +2,9 @@ |
|
@@ -2,9 +2,9 @@ |
2
|
{{# guang}}
|
2
|
{{# guang}}
|
3
|
<div id="wrapper" >
|
3
|
<div id="wrapper" >
|
4
|
<div id="scroller" class="{{channel}}">
|
4
|
<div id="scroller" class="{{channel}}">
|
5
|
- {{#if isShare}}
|
5
|
+ {{!-- {{#if isShare}} --}}
|
6
|
{{> wei-guang/guang-header}}
|
6
|
{{> wei-guang/guang-header}}
|
7
|
- {{/if}}
|
7
|
+ {{!-- {{/if}} --}}
|
8
|
{{# author}}
|
8
|
{{# author}}
|
9
|
<div class="author" data-id={{id}}>
|
9
|
<div class="author" data-id={{id}}>
|
10
|
<a class="clearfix" href={{url}}>
|
10
|
<a class="clearfix" href={{url}}>
|
|
@@ -214,3 +214,14 @@ |
|
@@ -214,3 +214,14 @@ |
214
|
{{#if isShare}}
|
214
|
{{#if isShare}}
|
215
|
{{> wei-guang/side-nav}}
|
215
|
{{> wei-guang/side-nav}}
|
216
|
{{/if}}
|
216
|
{{/if}}
|
|
|
217
|
+
|
|
|
218
|
+<script type="text/javascript">
|
|
|
219
|
+ var isWechat = /micromessenger/i.test(navigator.userAgent || ''),
|
|
|
220
|
+ isqq = /MQQBrowser/i.test(navigator.userAgent || ''),
|
|
|
221
|
+ isWeibo = navigator.userAgent.toLowerCase().indexOf('weibo') !== -1;
|
|
|
222
|
+
|
|
|
223
|
+ if (isWechat || isqq || isWeibo) {
|
|
|
224
|
+ document.getElementById('guang-header').classList.remove('hide');
|
|
|
225
|
+ document.getElementById('yoho-header').classList.add('hide');
|
|
|
226
|
+ }
|
|
|
227
|
+</script> |