...
|
...
|
@@ -55,48 +55,34 @@ |
|
|
|
|
|
{{#if devEnv}}
|
|
|
{{#if localCss }}
|
|
|
<link rel="preload" as="style" href="//{{devHost}}:{{port}}/common.css?t={{startTime}}">
|
|
|
<link rel="stylesheet" media="all" href="//{{devHost}}:{{port}}/common.css?t={{startTime}}">
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if isFeature}}
|
|
|
<link rel="preload" as="style" href="//{{devHost}}:{{port}}/feature.css?t={{startTime}}">
|
|
|
<link rel="stylesheet" media="all" href="//{{devHost}}:{{port}}/feature.css?t={{startTime}}">
|
|
|
{{else}}
|
|
|
{{#ifor localCss vue}}
|
|
|
<link rel="preload" as="style" href="//{{devHost}}:{{port}}/{{module}}.{{page}}.css?t={{startTime}}">
|
|
|
<link rel="stylesheet" media="all" href="//{{devHost}}:{{port}}/{{module}}.{{page}}.css?t={{startTime}}">
|
|
|
{{^}}
|
|
|
<link rel="preload" as="style" href="//{{devHost}}:{{port}}/index.css?t={{startTime}}">
|
|
|
<link rel="stylesheet" media="all" href="//{{devHost}}:{{port}}/index.css?t={{startTime}}">
|
|
|
{{/ifor}}
|
|
|
{{/if}}
|
|
|
{{else}}
|
|
|
{{#if localCss }}
|
|
|
<link rel="preload" as="style" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/common.css?t={{startTime}}">
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/common.css?t={{startTime}}">
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if isFeature}}
|
|
|
<link rel="preload" as="style" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/feature.css?t={{startTime}}">
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/feature.css?t={{startTime}}">
|
|
|
{{else}}
|
|
|
{{#ifor localCss vue}}
|
|
|
<link rel="preload" as="style" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/{{module}}.{{page}}.css?t={{startTime}}">
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/{{module}}.{{page}}.css?t={{startTime}}">
|
|
|
{{^}}
|
|
|
<link rel="preload" as="style" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/index.css?t={{startTime}}">
|
|
|
<link rel="stylesheet" media="all" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/index.css?t={{startTime}}">
|
|
|
{{/ifor}}
|
|
|
{{/if}}
|
|
|
{{/if}}
|
|
|
{{#if devEnv}}
|
|
|
<link rel="preload" as="script" href="//{{devHost}}:{{port}}/libs.js?t={{startTime}}"/>
|
|
|
<link rel="preload" as="script" href="//{{devHost}}:{{port}}/{{module}}.{{page}}.js?t={{startTime}}"/>
|
|
|
{{else}}
|
|
|
<link rel="preload" as="script" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/libs.js?t={{startTime}}"/>
|
|
|
<link rel="preload" as="script" href="//cdn.yoho.cn/yohobuywap-node/{{version}}/{{module}}.{{page}}.js?t={{startTime}}"/>
|
|
|
{{/if}}
|
|
|
|
|
|
<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
|
|
|
<link rel="apple-touch-startup-image" href="https://cdn.yoho.cn/h5/forios/startup/startup-orange-6p.png" media="screen and (min-device-width: 1126px) and (max-device-width: 1242px)">
|
|
|
<link rel="apple-touch-startup-image" href="https://cdn.yoho.cn/h5/forios/startup/startup-orange-x.png" media="screen and (min-device-width: 751px) and (max-device-width: 1125px)">
|
...
|
...
|
@@ -125,10 +111,10 @@ |
|
|
<input type="hidden" id="no-download" value="no-download">
|
|
|
{{/if}}
|
|
|
{{#wechatShare}}
|
|
|
<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.3.2.js" crossorigin="anonymous"></script>
|
|
|
<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
|
|
|
{{/wechatShare}}
|
|
|
{{#loadJsBefore}}
|
|
|
<script src="{{src}}" crossorigin="anonymous"></script>
|
|
|
<script src="{{src}}"></script>
|
|
|
{{/loadJsBefore}}
|
|
|
{{#if devEnv}}
|
|
|
<script>
|
...
|
...
|
@@ -145,7 +131,9 @@ |
|
|
<script src="//cdn.yoho.cn/yohobuywap-node/{{version}}/libs.js?t={{startTime}}" crossorigin="anonymous"></script>
|
|
|
<script src="//cdn.yoho.cn/yohobuywap-node/{{version}}/{{module}}.{{page}}.js?t={{startTime}}" crossorigin="anonymous"></script>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#loadJs}}
|
|
|
<script src="{{src}}"></script>
|
|
|
{{/loadJs}}
|
|
|
{{#unless devEnv}}
|
|
|
{{> analysis}}
|
|
|
{{/unless}}
|
...
|
...
|
|