Showing
1 changed file
with
7 additions
and
2 deletions
@@ -6,7 +6,8 @@ | @@ -6,7 +6,8 @@ | ||
6 | var $ = require('yoho.jquery'); | 6 | var $ = require('yoho.jquery'); |
7 | 7 | ||
8 | require('./footer'); | 8 | require('./footer'); |
9 | -require('./simple-header'); | 9 | + |
10 | + | ||
10 | 11 | ||
11 | 12 | ||
12 | function cookie(name) { | 13 | function cookie(name) { |
@@ -131,5 +132,9 @@ window.getUser = getUser; | @@ -131,5 +132,9 @@ window.getUser = getUser; | ||
131 | window.getUid = getUid; | 132 | window.getUid = getUid; |
132 | 133 | ||
133 | window.getShoppingKey = getShoppingKey; | 134 | window.getShoppingKey = getShoppingKey; |
135 | +if($('.simple-header').hasClass('simple-header')){ | ||
136 | + require('./simple-header'); | ||
137 | +}else{ | ||
138 | + require('./header'); | ||
139 | +} | ||
134 | 140 | ||
135 | -require('./header'); |
-
Please register or login to post a comment