升级遗漏标签

This commit is contained in:
devil_gong 2019-01-11 16:34:41 +08:00
parent 4b25081fa5
commit 67beecb942
2 changed files with 4 additions and 4 deletions

View File

@ -41,9 +41,9 @@
<!-- 商城公告 -->
{{if MyC('home_site_state') == 1 and (!isset($is_header) or $is_header eq 1)}}
<notempty name="common_shop_notice">
{{if !empty($common_shop_notice)}}
<div class="am-alert am-alert-warning am-radius common-shop-notice" data-am-alert>
<div class="am-container">{{$common_shop_notice}}</div>
</div>
</notempty>
{{/if}}
{{/if}}

View File

@ -15,13 +15,13 @@
<form action="{{:MyUrl('index/search/index')}}" method="POST">
<input id="search-input" name="keywords" type="text" placeholder="其实搜索很简单^_^ !" value="{{if !empty($params['keywords'])}}{{$params.keywords}}{{/if}}" autocomplete="off" />
<input id="ai-topsearch" class="submit am-btn" placeholder="其实搜索很简单^_^ !" index="1" type="submit" value="搜索" />
<notempty name="home_search_keywords">
{{if !empty($home_search_keywords)}}
<ul class="search-hot-keywords">
{{foreach $home_search_keywords as $v}}
<li><a href="{{:MyUrl('index/search/index', ['keywords'=>$v])}}" target="_blank">{{$v}}</a></li>
{{/foreach}}
</ul>
</notempty>
{{/if}}
</form>
</div>
</div>