vr-shopxo-source/application/index/view/default/public/header.html

97 lines
5.1 KiB
HTML
Raw Normal View History

2018-12-28 10:58:37 +00:00
<!DOCTYPE html>
<html>
<head>
2018-12-29 05:13:09 +00:00
<meta charset="{{:config('shopxo.default_charset', 'utf-8')}}" />
2018-12-28 10:58:37 +00:00
<title>{{$home_seo_site_title}}</title>
2019-05-05 03:29:55 +00:00
<meta name="keywords" content="{{$home_seo_site_keywords}}" />
<meta name="description" content="{{$home_seo_site_description}}" />
2018-12-28 10:58:37 +00:00
<meta name="generator" content="{{:__MY_URL__}}" />
<meta name="application-name" content="{{$home_seo_site_title}}" />
<meta name="msapplication-tooltip" content="{{$home_seo_site_title}}" />
<meta name="msapplication-starturl" content="{{:__MY_URL__}}" />
2019-01-08 09:12:36 +00:00
<link rel="shortcut icon" type="image/x-icon" href="{{:__MY_PUBLIC_URL__}}favicon.ico" />
2018-12-28 10:58:37 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="{{:MyC('home_site_name')}}">
<link rel="apple-touch-icon" href="{{$attachment_host}}{{:MyC('home_site_desktop_icon')}}">
<link rel="apple-touch-icon-precomposed" href="{{$attachment_host}}{{:MyC('home_site_desktop_icon')}}">
2018-12-28 10:58:37 +00:00
2019-01-11 09:35:35 +00:00
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/common/lib/assets/css/amazeui.css?v={{:MyC('home_static_cache_version')}}" />
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/common/lib/amazeui-switch/amazeui.switch.css?v={{:MyC('home_static_cache_version')}}" />
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/common/lib/amazeui-chosen/amazeui.chosen.css?v={{:MyC('home_static_cache_version')}}" />
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/common/lib/cropper/cropper.min.css?v={{:MyC('home_static_cache_version')}}" />
2019-05-23 09:57:23 +00:00
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/common/lib/amazeui-tagsinput/amazeui.tagsinput.css?v={{:MyC('home_static_cache_version')}}" />
2018-12-28 10:58:37 +00:00
2019-01-11 09:35:35 +00:00
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/common/css/common.css?v={{:MyC('home_static_cache_version')}}" />
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/index/{{$default_theme}}/css/common.css?v={{:MyC('home_static_cache_version')}}" />
2019-04-30 08:27:01 +00:00
{{if !empty($plugins_css)}}
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/{{$plugins_css}}?v={{:MyC('home_static_cache_version')}}" />
{{/if}}
2018-12-28 10:58:37 +00:00
{{if !empty($module_css)}}
2019-01-11 09:35:35 +00:00
<link rel="stylesheet" type="text/css" href="{{$Think.__MY_ROOT_PUBLIC__}}static/{{$module_css}}?v={{:MyC('home_static_cache_version')}}" />
2018-12-28 10:58:37 +00:00
{{/if}}
2019-02-15 14:57:26 +00:00
<!-- css钩子 -->
2019-02-17 04:52:06 +00:00
{{if !empty($plugins_css_data) and is_array($plugins_css_data)}}
2019-02-15 14:57:26 +00:00
{{foreach $plugins_css_data as $hook}}
2019-08-13 11:28:44 +00:00
{{if !empty($hook) and is_string($hook)}}
2019-02-15 14:57:26 +00:00
<link rel="stylesheet" type="text/css" href="{{$hook}}?v={{:MyC('home_static_cache_version')}}" />
2019-02-19 10:39:42 +00:00
{{elseif is_array($hook) /}}
{{foreach $hook as $hook_css}}
2019-08-13 11:28:44 +00:00
{{if !empty($hook_css) and is_string($hook_css)}}
2019-02-19 13:53:25 +00:00
<link rel="stylesheet" type="text/css" href="{{$hook_css}}?v={{:MyC('home_static_cache_version')}}" />
{{/if}}
2019-02-19 10:39:42 +00:00
{{/foreach}}
2019-02-15 14:57:26 +00:00
{{/if}}
{{/foreach}}
{{/if}}
2018-12-28 10:58:37 +00:00
<script type="text/javascript">
2019-01-11 09:35:35 +00:00
var __root__ = '{{$Think.__MY_ROOT_PUBLIC__}}';
2018-12-28 10:58:37 +00:00
var __my_url__ = '{{:__MY_URL__}}';
2019-01-11 09:35:35 +00:00
var __public__ = '{{$Think.__MY_ROOT_PUBLIC__}}';
2018-12-28 10:58:37 +00:00
var __default_theme__ = '{{$default_theme}}';
2019-01-03 09:19:26 +00:00
var __modal_login_url__ = '{{:Url("index/user/modallogininfo")}}';
var __attachment_host__ = '{{$attachment_host}}';
2019-04-16 07:57:17 +00:00
var __seo_url_suffix__ = '{{:MyC("home_seo_url_html_suffix", "html", true)}}';
2018-12-28 10:58:37 +00:00
var __user_id__ = {{if empty($user['id'])}}0{{else /}}{{$user.id}}{{/if}};
</script>
2019-02-15 06:06:24 +00:00
<!-- 公共header内钩子 -->
2019-02-17 05:30:52 +00:00
{{if !empty($plugins_common_header_data) and is_array($plugins_common_header_data)}}
{{foreach $plugins_common_header_data as $hook}}
2019-02-15 06:06:24 +00:00
{{if is_string($hook) or is_int($hook)}}
{{$hook|raw}}
{{/if}}
{{/foreach}}
{{/if}}
2018-12-28 10:58:37 +00:00
</head>
2019-06-30 17:07:07 +00:00
<body {{if MyC('common_is_app_inside_close_header') eq 1 and in_array(MiniAppEnv(), config('shopxo.mini_app_type_list'))}}class="mini-app-env"{{/if}}>
2019-02-15 14:57:26 +00:00
<!-- css钩子 -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}}
<div class="plugins-tag">
<span>plugins_css</span>
</div>
{{/if}}
2019-02-15 06:06:24 +00:00
<!-- 公共header内钩子 -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}}
<div class="plugins-tag">
2019-02-17 05:30:52 +00:00
<span>plugins_common_header</span>
2019-02-15 06:06:24 +00:00
</div>
{{/if}}
2018-12-28 10:58:37 +00:00
2019-02-09 01:15:23 +00:00
<!-- 公共顶部钩子 -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}}
2019-02-09 01:15:23 +00:00
<div class="plugins-tag">
2019-02-14 15:23:19 +00:00
<span>plugins_view_common_top</span>
2019-02-09 01:15:23 +00:00
</div>
{{/if}}
2019-02-14 15:23:19 +00:00
{{if !empty($plugins_view_common_top_data) and is_array($plugins_view_common_top_data) and (!isset($is_header) or $is_header eq 1)}}
{{foreach $plugins_view_common_top_data as $hook}}
2019-02-09 01:15:23 +00:00
{{if is_string($hook) or is_int($hook)}}
{{$hook|raw}}
{{/if}}
{{/foreach}}
2018-12-28 10:58:37 +00:00
{{/if}}