footer_nav.html 4.5 KB
Newer Older
D
devil_gong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
<!-- 底部导航上面钩子 -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
    <div class="plugins-tag">
        <span>plugins_view_common_footer_top</span>
    </div>
{{/if}}
{{if !empty($plugins_view_common_footer_top_data) and is_array($plugins_view_common_footer_top_data)}}
    {{foreach $plugins_view_common_footer_top_data as $hook}}
        {{if is_string($hook) or is_int($hook)}}
            {{$hook|raw}}
        {{/if}}
    {{/foreach}}
{{/if}}
G
gongfuxiang 已提交
14

D
devil_gong 已提交
15
{{if !IsMobile() or (IsMobile() and MyC('common_is_mobile_concise_model') neq 1)}}
G
gongfuxiang 已提交
16
	<!-- 底部导航 -->
D
devil_gong 已提交
17
	<footer data-am-widget="footer" class="am-footer am-footer-default" data-am-footer="{}">
D
1.5  
devil_gong 已提交
18
		<div class="am-container">
G
gongfuxiang 已提交
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
			<!-- 底部导航 -->
			{{if !empty($nav_footer)}}
				<ul data-am-widget="gallery" class="am-gallery am-avg-sm-2 am-avg-md-4 am-avg-lg-4 am-gallery-overlay am-no-layout am-u-md-8 footer-nav-list" data-am-gallery="{}">
					{{foreach $nav_footer as $k=>$v}}
						{{if $k lt 4}}
							<li>
								<div class="am-gallery-item">
									<p class="footer-nav-title am-text-truncate">{{$v.name}}</p>
									{{if !empty($v['items'])}}
										{{foreach $v.items as $vs}}
											<p class="am-text-truncate">
												<a href="{{$vs.url}}" {{if $vs['is_new_window_open'] eq 1}}target="_blank"{{/if}}>{{$vs.name}}</a>
											</p>
										{{/foreach}}
									{{/if}}
								</div>
							</li>
						{{/if}}
					{{/foreach}}
				</ul>
			{{/if}}

			<!-- 商店信息 -->
			<ul class="footer-about am-u-md-4">
				{{if !empty($common_customer_store_tel)}}
					<li class="tel">
						<i class="am-icon-volume-control-phone"></i>
						<a href="tel:{{$common_customer_store_tel}}">{{$common_customer_store_tel}}</a>
					</li>
				{{/if}}
				{{if !empty($common_customer_store_address)}}
					<li class="address">
						<i class="am-icon-map-marker"></i>
						<span>{{$common_customer_store_address}}</span>
					</li>
				{{/if}}
				{{if !empty($common_customer_store_email)}}
					<li class="email">
						<i class="am-icon-envelope"></i>
						<span>{{$common_customer_store_email}}</span>
					</li>
				{{/if}}
				{{if !empty($common_customer_store_qrcode)}}
					<li class="qrcode">
D
devil_gong 已提交
63
						<img src="{{$common_customer_store_qrcode}}" alt="{{:MyC('home_seo_site_title')}}" />
G
gongfuxiang 已提交
64 65 66 67
					</li>
				{{/if}}
			</ul>
		</div>
D
Devil 已提交
68 69

		<!-- 页脚信息 -->
G
gongfuxiang 已提交
70 71
		<div class="am-footer-miscs">
			<div class="am-container">
D
devil 已提交
72
				<!-- 友情链接 -->
D
Devil 已提交
73
				{{if !empty($link_list) and $module_name.$controller_name.$action_name eq 'indexindexindex' and (!IsMobile() or (IsMobile() and MyC('home_index_friendship_link_status') eq 1))}}
D
Devil 已提交
74
					<div class="friendship-list">
D
devil 已提交
75
						<ul class="am-cf am-margin-bottom-sm">
D
devil 已提交
76
							<li class="am-fl am-text-center title">友情链接</li>
D
devil 已提交
77 78 79 80 81 82 83 84 85
							{{foreach $link_list as $v}}
								<li class="am-fl am-text-center">
									<a href="{{$v.url}}" {{if $v['is_new_window_open'] eq 1}} target="_blank"{{/if}} title="{{$v.describe}}">{{$v.name}}</a>
								</li>
							{{/foreach}}
						</ul>
					</div>
				{{/if}}

G
gongfuxiang 已提交
86 87 88 89 90
				<p class="powered">
					Powered by <a href="http://shopxo.net/" title="ShopXO电商系统" target="_blank">
						<span class="b">Shop</span><span class="o">XO</span>
					</a> {{$Think.APPLICATION_VERSION}}
				</p>
D
Devil 已提交
91 92
				{{if !empty($home_site_icp)}}
					<p>
D
devil 已提交
93
						<a href="https://beian.miit.gov.cn/" target="_blank">
D
Devil 已提交
94 95 96 97 98 99 100 101 102 103 104 105 106
							<img src="{{$attachment_host}}/static/common/images/beian-icp-icon.png" width="20" height="20" alt="ICP备案" />
							{{$home_site_icp}}
						</a>
					</p>
				{{/if}}
				{{if !empty($home_site_security_record_name)}}
					<p>
						<a {{if empty($home_site_security_record_url)}}href="javascript:;"{{else /}}href="{{$home_site_security_record_url}}" target="_blank"{{/if}}>
							<img src="{{$attachment_host}}/static/common/images/beian-gongan-icon.png" width="20" height="20" alt="公安备案" />
							{{$home_site_security_record_name}}
						</a>
					</p>
				{{/if}}
G
gongfuxiang 已提交
107
			</div>
D
1.5  
devil_gong 已提交
108
		</div>
G
gongfuxiang 已提交
109 110
	</footer>
{{else /}}
D
devil_gong 已提交
111 112 113 114 115 116 117 118 119 120
	<footer class="am-footer am-footer am-footer-default mobile-concise-model">
		<!-- 页脚信息 -->
		<div class="am-footer-miscs">
			<p class="powered">
				Powered by <a href="http://shopxo.net/" title="ShopXO电商系统" target="_blank">
					<span class="b">Shop</span><span class="o">XO</span>
				</a> {{$Think.APPLICATION_VERSION}}
			</p>
		</div>
	</footer>
D
devil 已提交
121 122 123
{{/if}}

<!-- 快捷导航 -->
D
Devil 已提交
124 125 126
{{if MyC('home_navigation_main_quick_status') eq 1}}
	{{include file="public/quick" /}}
{{/if}}