...
|
...
|
@@ -39,16 +39,16 @@ |
|
|
|
|
|
{{#unless devEnv}}
|
|
|
{{#if localCss }}
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/common.css">
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/common.css?t={{startTime}}">
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if isFeature}}
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/feature.css">
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/feature.css?t={{startTime}}">
|
|
|
{{else}}
|
|
|
{{#ifor localCss vue}}
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.css">
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.css?t={{startTime}}">
|
|
|
{{^}}
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/index.css">
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/m-yohobuy-node/{{version}}/index.css?t={{startTime}}">
|
|
|
{{/ifor}}
|
|
|
{{/if}}
|
|
|
{{/unless}}
|
...
|
...
|
@@ -94,8 +94,8 @@ |
|
|
<script src="//{{devHost}}:5001/{{module}}.{{page}}.js"></script>
|
|
|
{{^}}
|
|
|
<script>var STATIC_RESOURCE_PATH = '//cdn.yoho.cn/m-yohobuy-node/assets';</script>
|
|
|
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js"></script>
|
|
|
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script>
|
|
|
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/libs.js?t={{startTime}}"></script>
|
|
|
<script src="//cdn.yoho.cn/m-yohobuy-node/{{version}}/{{module}}.{{page}}.js?t={{startTime}}"></script>
|
|
|
{{/if}}
|
|
|
{{#loadJs}}
|
|
|
<script type="text/javascript" src="{{src}}"></script>
|
...
|
...
|
|