Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
______--______
ShopXO
提交
cf411547
ShopXO
项目概览
______--______
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cf411547
编写于
5月 05, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
兼容ie
上级
4fd692e3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
4 deletion
+7
-4
application/index/view/default/public/nav_search.html
application/index/view/default/public/nav_search.html
+4
-2
public/static/index/default/css/common.css
public/static/index/default/css/common.css
+2
-1
public/static/index/default/css/index.css
public/static/index/default/css/index.css
+1
-1
未找到文件。
application/index/view/default/public/nav_search.html
浏览文件 @
cf411547
...
...
@@ -13,8 +13,10 @@
<div
class=
"search-bar"
>
<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=
"搜索"
/>
<div
class=
"search-group"
>
<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=
"搜索"
/>
</div>
{{if !empty($home_search_keywords)}}
<ul
class=
"search-hot-keywords"
>
{{foreach $home_search_keywords as $v}}
...
...
public/static/index/default/css/common.css
浏览文件 @
cf411547
...
...
@@ -73,7 +73,8 @@ input.add,input.min{width:15px}
/*搜索框*/
.search-bar
{
height
:
30px
;
width
:
calc
(
100%
-
200px
);
display
:
-webkit-inline-box
;}
.search-bar
form
{
border
:
2px
solid
#d2364c
;
width
:
100%
;
position
:
relative
;}
.search-bar
form
{
width
:
100%
;
}
.search-bar
form
.search-group
{
border
:
2px
solid
#d2364c
;
width
:
100%
;
position
:
relative
;}
.search-bar
input
{
height
:
26px
;
width
:
79%
;
outline
:
none
;
font-size
:
12px
;
border
:
none
}
#search-input
{
padding-left
:
8px
;
}
#ai-topsearch
{
width
:
27%
;
height
:
26px
;
border
:
none
;
background
:
#d2364c
none
repeat
scroll
0%
0%
;
...
...
public/static/index/default/css/index.css
浏览文件 @
cf411547
...
...
@@ -64,7 +64,7 @@ text-align: center;float:none}
/*小标签*/
.list
.word
{
padding
:
5px
10px
;
overflow
:
hidden
;}
.word
.outer
{
margin
:
5px
;
width
:
50px
;
height
:
50px
;
text-align
:
center
;
color
:
#2f2f2f
;
background-color
:
#fff
;
border-radius
:
50px
;
display
:
-webkit-inline-box
;
}
.word
.outer
{
margin
:
5px
;
width
:
50px
;
height
:
50px
;
text-align
:
center
;
color
:
#2f2f2f
;
background-color
:
#fff
;
border-radius
:
50px
;
display
:
inline-block
;
}
.word
.outer
.inner
{
display
:
table-cell
;
vertical-align
:
middle
;
width
:
50px
;
height
:
50px
;}
.word
.outer
.text
{
font-weight
:
400
;
display
:
inline-block
;
max-width
:
35px
;
margin
:
0
auto
;}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录