fixes bug to weixin share header show error
Showing
2 changed files
with
4 additions
and
6 deletions
@@ -359,10 +359,10 @@ class AbstractAction extends Controller_Abstract | @@ -359,10 +359,10 @@ class AbstractAction extends Controller_Abstract | ||
359 | { | 359 | { |
360 | $header = array(); | 360 | $header = array(); |
361 | 361 | ||
362 | - // 判断是否是微信浏览器浏览 | ||
363 | - if (strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') === false) { | ||
364 | - $header['isShow'] = true; | ||
365 | - } | 362 | +// // 判断是否是微信浏览器浏览 |
363 | +// if (strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') === false) { | ||
364 | +// $header['isShow'] = true; | ||
365 | +// } | ||
366 | 366 | ||
367 | if ($backUrl) { | 367 | if ($backUrl) { |
368 | $header['navBack'] = true; | 368 | $header['navBack'] = true; |
1 | {{#pageHeader}} | 1 | {{#pageHeader}} |
2 | -{{# isShow}} | ||
3 | <header class="yoho-header{{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}"> | 2 | <header class="yoho-header{{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}"> |
4 | {{#if navBack}} | 3 | {{#if navBack}} |
5 | <a href="javascript:history.go(-1);" class="nav-back"></a> | 4 | <a href="javascript:history.go(-1);" class="nav-back"></a> |
@@ -11,5 +10,4 @@ | @@ -11,5 +10,4 @@ | ||
11 | <p class="nav-title">{{.}}</p> | 10 | <p class="nav-title">{{.}}</p> |
12 | {{/navTitle}} | 11 | {{/navTitle}} |
13 | </header> | 12 | </header> |
14 | -{{/ isShow}} | ||
15 | {{/pageHeader}} | 13 | {{/pageHeader}} |
-
Please register or login to post a comment