Authored by tmq

js

... ... @@ -185,6 +185,10 @@
seajs.use('yohood',function(yohood){
yohood.layout();
});
seajs.use(['jquery', 'channel'], function($, channel) {
channel.common();
channel.brand();
})
</script>
<?php $this->_block('js');?>
<?php $this->_endblock();?>
... ... @@ -206,18 +210,6 @@ seajs.use('yohood',function(yohood){
)(window,document,'script','//cdn.yoho.cn/yas-jssdk/1.0.6/yas.js','_yas');//第一个参数是版本,第二个参数是appkey,第三个是用户ID,第四个是是否获取地理位置传空就是不获取地理位置。
_yas(1*new Date(),'1.0','yohood_web','','geo');
</script>
<script type="text/javascript">
seajs.use('yohood',function(yohood){
yohood.brand();
})
seajs.use('yohood',function(yohood){
yohood.index();
})
seajs.use(['jquery', 'channel'], function($, channel) {
channel.common();
channel.brand();
})
</script>
</body>
</html>
... ...