Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
8bc69e99
提交
8bc69e99
编写于
12月 24, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
搜索框样式
上级
b307db46
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
35 行增加
和
79 行删除
+35
-79
.DS_Store
src/.DS_Store
+0
-0
left-arrow-black.png
src/images/sousuo/left-arrow-black.png
+0
-0
result.vue
src/views/result.vue
+17
-63
search-index.vue
src/views/search-index.vue
+18
-16
未找到文件。
src/.DS_Store
浏览文件 @
8bc69e99
无法预览此类型文件
src/images/sousuo/left-arrow-black.png
0 → 100755
浏览文件 @
8bc69e99
181 字节
src/views/result.vue
浏览文件 @
8bc69e99
...
...
@@ -9,7 +9,7 @@
<form
@
submit
.
prevent=
"search"
>
<!--
<mt-search
v-model=
"searchText"
></mt-search>
-->
<div
class=
"search-container"
>
<img
class=
"search-container-img"
@
click=
"back"
src=
"../images/sousuo/
right-throw
.png"
/>
<img
class=
"search-container-img"
@
click=
"back"
src=
"../images/sousuo/
left-arrow-black
.png"
/>
<div
>
<span
class=
"search-container-img2"
><img
class=
"search-container-img"
src=
"../images/sousuo/search-black.png"
/></span>
<input
class=
"search-container-input"
type=
"search"
v-model=
"searchText"
maxlength=
"100"
>
...
...
@@ -352,55 +352,6 @@ export default {
},
}
</
script
>
<
style
>
/* .mint-search {
position: fixed;
top: 0px;
z-index: 3 !important;
height: 66px;
width: 100%;
border-bottom: 1px solid #E7E7E7 !important;
} */
.mint-search
{
position
:
fixed
;
top
:
0px
;
z-index
:
3
;
height
:
66px
;
width
:
100%
;
/* margin: 0 20px; */
border-bottom
:
1px
solid
#E7E7E7
!important
;
/* background-color: #fff; */
}
.mint-searchbar
{
position
:
relative
;
-webkit-box-align
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
background
:
#fff
;
box-sizing
:
border-box
;
display
:
-webkit-box
;
display
:
-ms-flexbox
;
display
:
flex
;
margin
:
0
10px
;
padding
:
30px
10px
8px
;
z-index
:
3
;
}
.mint-searchbar-cancel
{
margin-left
:
10px
;
font-size
:
14px
;
color
:
#999
;
text-decoration
:
none
;
}
.mint-searchbar-inner
{
background
:
#F5F6F6
;
/* border-radius: 15px; */
}
.mint-searchbar-core
{
color
:
#555555
;
background
:
#F5F6F6
;
}
</
style
>
<
style
lang=
"scss"
scoped
>
@import
'../style/mixin.scss'
;
// .search-form {
...
...
@@ -457,24 +408,25 @@ export default {
.search-container
{
display
:
flex
;
position
:
fixed
;
flex-direction
:
row
;
text-align
:
center
;
top
:
0
;
left
:
0
;
z-index
:
3
;
width
:
100%
;
flex-direction
:
row
;
text-align
:
center
;
padding
:
px2rem
(
10px
)
0
;
background
:
#fff
;
border-bottom
:
1px
solid
#E7E7E7
;
&
-img
{
padding
:
px2rem
(
2
2px
)
0
0
px2rem
(
10
px
);
width
:
px2rem
(
18
px
);
height
:
px2rem
(
18
px
);
padding
:
px2rem
(
2
1px
)
0
0
px2rem
(
16
px
);
width
:
px2rem
(
20
px
);
height
:
px2rem
(
20
px
);
// transform: rotate(180deg);
}
&
-img2
{
position
:
absolute
;
top
:
px2rem
(
10
px
);
left
:
px2rem
(
30
px
);
top
:
px2rem
(
9
.5
px
);
left
:
px2rem
(
24
px
);
z-index
:
2
;
img
{
width
:
px2rem
(
22px
);
...
...
@@ -483,8 +435,8 @@ export default {
}
&
-img3
{
position
:
absolute
;
top
:
px2rem
(
10
px
);
left
:
px2rem
(
2
80
px
);
top
:
px2rem
(
9
px
);
left
:
px2rem
(
2
74
px
);
z-index
:
2
;
img
{
width
:
px2rem
(
22px
);
...
...
@@ -497,17 +449,19 @@ export default {
left
:
px2rem
(
0px
);
width
:
px2rem
(
280px
);
height
:
px2rem
(
26px
);
margin-left
:
px2rem
(
10px
);
padding-left
:
px2rem
(
22px
);
padding-right
:
px2rem
(
32px
);
margin-left
:
px2rem
(
0px
);
// padding-left: px2rem(26px);
// padding-right: px2rem(28px);
padding
:
px2rem
(
1px
)
px2rem
(
28px
)
0
px2rem
(
26px
);
border-radius
:
px2rem
(
4px
);
background
:
rgba
(
246
,
246
,
246
,
1
);
font-size
:
px2rem
(
13px
);
color
:
#666
;
-webkit-appearance
:
none
;
}
&
-cancle
{
position
:
relative
;
top
:
px2rem
(
2
px
);
top
:
px2rem
(
1
px
);
left
:
0
;
height
:
px2rem
(
14px
);
line-height
:
px2rem
(
14px
);
...
...
src/views/search-index.vue
浏览文件 @
8bc69e99
...
...
@@ -5,7 +5,7 @@
<form
@
submit
.
prevent=
"search"
>
<!--
<mt-search
v-model=
"searchText"
></mt-search>
-->
<div
class=
"search-container"
>
<img
class=
"search-container-img"
@
click=
"back"
src=
"../images/sousuo/
right-throw
.png"
/>
<img
class=
"search-container-img"
@
click=
"back"
src=
"../images/sousuo/
left-arrow-black
.png"
/>
<div
>
<span
class=
"search-container-img2"
><img
class=
"search-container-img"
src=
"../images/sousuo/search-black.png"
/></span>
<input
class=
"search-container-input"
type=
"search"
v-model=
"searchText"
maxlength=
"100"
>
...
...
@@ -20,8 +20,6 @@
<!--
<div
class=
"mt-100"
></div>
-->
<HistoryLabels/>
<HotLabels/>
dev 环境
<img
src=
"https://test1-file.yunqueyi.com/image/HJ_B001_YD_002_A.jpg"
@
click=
"gotoPage"
>
</div>
</
template
>
...
...
@@ -237,23 +235,25 @@ export default {
.search-container
{
display
:
flex
;
position
:
relative
;
flex-direction
:
row
;
text-align
:
center
;
top
:
0
;
left
:
0
;
z-index
:
3
;
width
:
100%
;
flex-direction
:
row
;
text-align
:
center
;
padding
:
px2rem
(
10px
)
0
;
background
:
#fff
;
border-bottom
:
1px
solid
#E7E7E7
;
&
-img
{
padding
:
px2rem
(
2
2px
)
0
0
px2rem
(
10
px
);
width
:
px2rem
(
18
px
);
height
:
px2rem
(
18
px
);
padding
:
px2rem
(
2
1px
)
0
0
px2rem
(
16
px
);
width
:
px2rem
(
20
px
);
height
:
px2rem
(
20
px
);
// transform: rotate(180deg);
}
&
-img2
{
position
:
absolute
;
top
:
px2rem
(
10
px
);
left
:
px2rem
(
30
px
);
top
:
px2rem
(
9
.5
px
);
left
:
px2rem
(
24
px
);
z-index
:
2
;
img
{
width
:
px2rem
(
22px
);
...
...
@@ -262,8 +262,8 @@ export default {
}
&
-img3
{
position
:
absolute
;
top
:
px2rem
(
10
px
);
left
:
px2rem
(
2
80
px
);
top
:
px2rem
(
9
px
);
left
:
px2rem
(
2
74
px
);
z-index
:
2
;
img
{
width
:
px2rem
(
22px
);
...
...
@@ -276,17 +276,19 @@ export default {
left
:
px2rem
(
0px
);
width
:
px2rem
(
280px
);
height
:
px2rem
(
26px
);
margin-left
:
px2rem
(
10px
);
padding-left
:
px2rem
(
22px
);
padding-right
:
px2rem
(
32px
);
margin-left
:
px2rem
(
0px
);
// padding-left: px2rem(26px);
// padding-right: px2rem(28px);
padding
:
px2rem
(
1px
)
px2rem
(
28px
)
0
px2rem
(
26px
);
border-radius
:
px2rem
(
4px
);
background
:
rgba
(
246
,
246
,
246
,
1
);
font-size
:
px2rem
(
13px
);
color
:
#666
;
-webkit-appearance
:
none
;
}
&
-cancle
{
position
:
relative
;
top
:
px2rem
(
2
px
);
top
:
px2rem
(
1
px
);
left
:
0
;
height
:
px2rem
(
14px
);
line-height
:
px2rem
(
14px
);
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录