263 lines
12 KiB
HTML
Executable File
263 lines
12 KiB
HTML
Executable File
{{include file="public/header" /}}
|
|
|
|
<!-- header top nav -->
|
|
{{include file="public/header_top_nav" /}}
|
|
|
|
<!-- search -->
|
|
{{include file="public/nav_search" /}}
|
|
|
|
<!-- header nav -->
|
|
{{include file="public/header_nav" /}}
|
|
|
|
<!-- goods category -->
|
|
{{include file="public/goods_category" /}}
|
|
|
|
<!-- 搜索页面顶部钩子 -->
|
|
{{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_search_top</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_top_data) and is_array($plugins_view_search_top_data)}}
|
|
{{foreach $plugins_view_search_top_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
|
|
<!-- content -->
|
|
<div class="am-container" data-category-id="{{$params.category_id}}">
|
|
<!-- 搜索页面顶部内部结构里面钩子 -->
|
|
{{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_search_inside_top</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_inside_top_data) and is_array($plugins_view_search_inside_top_data)}}
|
|
{{foreach $plugins_view_search_inside_top_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
|
|
<div class="search-container am-u-sm-12 am-u-md-12 am-padding-left-0 am-padding-right-0">
|
|
<div class="theme-popover">
|
|
<ul class="select">
|
|
<p class="title-tips">
|
|
<span>筛选出</span>
|
|
<strong>...</strong>
|
|
<span>条数据</span>
|
|
</p>
|
|
<li class="select-result">
|
|
<dl>
|
|
<dt>已选</dt>
|
|
<dd class="select-no"></dd>
|
|
<p class="screening-remove-submit">清除</p>
|
|
</dl>
|
|
</li>
|
|
<li class="select-list">
|
|
<dl id="screening-brand-dl">
|
|
<dt class="am-badge am-round">品牌</dt>
|
|
<div class="dd-conent" data-selected-tag="screening-brand">
|
|
<dd class="select-all selected"><a href="javascript:;">不限</a></dd>
|
|
{{if !empty($brand_list)}}
|
|
{{foreach $brand_list as $brand}}
|
|
<dd><a href="javascript:;" data-value="{{$brand.id}}" data-field="brand_id">{{$brand.name}}</a></dd>
|
|
{{/foreach}}
|
|
{{else /}}
|
|
<span class="not-tips">没有相关品牌</span>
|
|
{{/if}}
|
|
</div>
|
|
</dl>
|
|
</li>
|
|
<li class="select-list">
|
|
<dl id="screening-category-dl">
|
|
<dt class="am-badge am-round">分类</dt>
|
|
<div class="dd-conent" data-selected-tag="screening-category">
|
|
<dd class="select-all selected"><a href="javascript:;">不限</a></dd>
|
|
{{if !empty($category_list)}}
|
|
{{foreach $category_list as $category}}
|
|
<dd><a href="javascript:;" data-value="{{$category.id}}" data-field="category_id">{{$category.name}}</a></dd>
|
|
{{/foreach}}
|
|
{{else /}}
|
|
<span class="not-tips">没有相关分类</span>
|
|
{{/if}}
|
|
</div>
|
|
</dl>
|
|
</li>
|
|
<li class="select-list">
|
|
<dl id="screening-price-dl">
|
|
<dt class="am-badge am-round">价格</dt>
|
|
<div class="dd-conent" data-selected-tag="screening-price">
|
|
<dd class="select-all selected"><a href="javascript:;">不限</a></dd>
|
|
{{if !empty($screening_price_list)}}
|
|
{{foreach $screening_price_list as $screening_price}}
|
|
<dd><a href="javascript:;" data-value="{{$screening_price.id}}" data-field="screening_price_id">{{$screening_price.name}}</a></dd>
|
|
{{/foreach}}
|
|
{{else /}}
|
|
<span class="not-tips">没有相关价格</span>
|
|
{{/if}}
|
|
</div>
|
|
</dl>
|
|
</li>
|
|
|
|
<!-- 搜索页面筛选条件内尾部钩子 -->
|
|
{{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_search_screen_inside_end</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_screen_inside_end_data) and is_array($plugins_view_search_screen_inside_end_data)}}
|
|
{{foreach $plugins_view_search_screen_inside_end_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
</ul>
|
|
</div>
|
|
|
|
<!-- 搜索页面搜索导航条顶部钩子 -->
|
|
{{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_search_nav_top</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_nav_top_data) and is_array($plugins_view_search_nav_top_data)}}
|
|
{{foreach $plugins_view_search_nav_top_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
|
|
<div class="search-content search-nav">
|
|
<ul class="sort-nav" data-am-sticky="{animation: 'slide-top'}">
|
|
<!-- 搜索页面搜索导航条内前面钩子 -->
|
|
{{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_search_nav_inside_begin</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_nav_inside_begin_data) and is_array($plugins_view_search_nav_inside_begin_data)}}
|
|
{{foreach $plugins_view_search_nav_inside_begin_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
|
|
<li class="active" data-field="default" data-type="desc">
|
|
<a href="javascript:;" title="综合">
|
|
<span>综合</span>
|
|
</a>
|
|
</li>
|
|
<li data-field="sales_count" data-type="desc">
|
|
<a href="javascript:;" title="销量">
|
|
<span>销量</span>
|
|
<i class="am-icon-long-arrow-down"></i>
|
|
</a>
|
|
</li>
|
|
<li data-field="min_price" data-type="desc">
|
|
<a href="javascript:;" title="价格">
|
|
<span>价格</span>
|
|
<i class="am-icon-long-arrow-down"></i>
|
|
</a>
|
|
</li>
|
|
|
|
<!-- 搜索页面搜索导航条内尾部钩子 -->
|
|
{{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_search_nav_inside_end</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_nav_inside_end_data) and is_array($plugins_view_search_nav_inside_end_data)}}
|
|
{{foreach $plugins_view_search_nav_inside_end_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
</ul>
|
|
</div>
|
|
|
|
<!-- 搜索页面数据容器顶部钩子 -->
|
|
{{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_search_data_top</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_data_top_data) and is_array($plugins_view_search_data_top_data)}}
|
|
{{foreach $plugins_view_search_data_top_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
|
|
<!-- 数据容器 -->
|
|
<ul class="am-avg-sm-2 am-avg-md-3 am-avg-lg-5 search-list"></ul>
|
|
|
|
<!-- 搜索页面数据容器底部钩子 -->
|
|
{{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_search_data_bottom</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_data_bottom_data) and is_array($plugins_view_search_data_bottom_data)}}
|
|
{{foreach $plugins_view_search_data_bottom_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
|
|
<!-- 加载数据 -->
|
|
<div class="loding-view">
|
|
<i class="am-icon-spinner am-icon-pulse"></i>
|
|
<span>加载中...</span>
|
|
</div>
|
|
|
|
<!-- 没有数据 -->
|
|
<div class="table-no" style="display:none;"><i class="am-icon-warning"></i> 没有相关数据</div>
|
|
|
|
<!-- 分页 -->
|
|
<button type="button" class="am-btn am-btn-default am-btn-block search-pages-submit" data-url="{{:MyUrl('index/search/goodslist')}}" style="display:none;">加载更多 <i class="am-icon-angle-double-down"></i></button>
|
|
</div>
|
|
|
|
<!-- 搜索页面顶部内部结构里面钩子 -->
|
|
{{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_search_inside_bottom</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_inside_bottom_data) and is_array($plugins_view_search_inside_bottom_data)}}
|
|
{{foreach $plugins_view_search_inside_bottom_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
</div>
|
|
|
|
<!-- 搜索页面底部钩子 -->
|
|
{{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_search_bottom</span>
|
|
</div>
|
|
{{/if}}
|
|
{{if !empty($plugins_view_search_bottom_data) and is_array($plugins_view_search_bottom_data)}}
|
|
{{foreach $plugins_view_search_bottom_data as $hook}}
|
|
{{if is_string($hook) or is_int($hook)}}
|
|
{{$hook|raw}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
|
|
<!-- 罩层 -->
|
|
<div class="theme-popover-mask" style="display:none;"></div>
|
|
|
|
|
|
{{include file="public/footer" /}} |