• This project
    • Loading...
  • Sign in

fe / YOHOBUYPC · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 2
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • YOHOBUYPC
  • template
  • www.yohobuy.com
  • partials
  • layout
  • use.phtml
  • 头部部分函数
    201049da
    by wangqing
    2015-12-02 15:25:36 +0800  
    Browse Files
use.phtml 475 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<script>
    seajs.use('js/common');
    seajs.use('js/header',function(header) {
        if(header) {
            header.init();
        }
    });
</script>

{{!-- 首页 --}}
{{#if boysHomePage}}
    <script>
        /*seajs.use('js/home/entrey', function(h) {
            h.set('boys');
        });*/
        seajs.use('js/home/home');
    </script>
{{/if}}

{{!-- 搜索 --}}
{{#if searchListPage}}
    <script>
        seajs.use('js/product/list');
    </script>
{{/if}}