关键字

feat/task1-c-wallet
gongfuxiang 2018-10-21 00:41:38 +08:00
parent 4e5fa3660c
commit c08a34eb03
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@
<input id="search-input" name="keywords" type="text" placeholder="{{:L('common_so_tips')}}" value="<if condition="!empty($params['keywords'])">{{$params.keywords}}</if>" autocomplete="off" />
<input id="ai-topsearch" class="submit am-btn" placeholder="{{:L('common_so_tips')}}" index="1" type="submit" value="{{:L('common_so_text')}}" />
<notempty name="home_search_keywords">
<ul class="search-hot-keywords am-hide-sm-only">
<ul class="search-hot-keywords">
<foreach name="home_search_keywords" item="v">
<li><a href="{{:U('Home/Search/Index', ['keywords'=>$v])}}" target="_blank">{{$v}}</a></li>
</foreach>

View File

@ -87,7 +87,7 @@ color: #555555;background:none;border-color:transparent;cursor: default;}
#search-input { padding-left: 8px; }
#ai-topsearch { width:20%;height:32px;border:none;float:right;background: #d2364c none repeat scroll 0% 0%;
color: #F5F5F2;font-size: 14px;cursor:pointer;border-radius:0px 0px; }
.search-hot-keywords { margin-top: 5px; height: 16px; overflow: hidden; }
.search-hot-keywords { margin-top: 5px; height: 16px; overflow: hidden; display: none; }
.search-hot-keywords li { float: left; }
.search-hot-keywords li:not(:last-child) { margin-right: 10px; }
@ -163,6 +163,7 @@ color: #F5F5F2;font-size: 14px;cursor:pointer;border-radius:0px 0px; }
.shopMain{margin:0px 0px 0px 5px;}
.shopCon li{width:20%;padding:10px;}
.tip{display:block;}
.search-hot-keywords { display: block; }
/*分类*/