Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Codet
mini-vote
提交
844d8a0e
M
mini-vote
项目概览
Codet
/
mini-vote
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mini-vote
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
844d8a0e
编写于
9月 11, 2020
作者:
N
nenyah
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(search-bar): update style
上级
a9e7ee7b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
82 addition
and
14 deletion
+82
-14
src/common/base64.store.scss
src/common/base64.store.scss
+5
-1
src/components/search-bar/search-bar.vue
src/components/search-bar/search-bar.vue
+77
-13
未找到文件。
src/common/base64.store.scss
浏览文件 @
844d8a0e
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
src/components/search-bar/search-bar.vue
浏览文件 @
844d8a0e
...
...
@@ -3,20 +3,21 @@
* @Author: Steven
* @Date: 2020-09-08 09:23:10
* @LastEditors: Steven
* @LastEditTime: 2020-09-1
0 09:10:02
* @LastEditTime: 2020-09-1
1 15:36:20
-->
<
template
>
<view
class=
"flex bg-white opacity-25 p-2 my-2"
>
<view
class=
"flex w-full py-2 border-b-2 border-r-0 border-l-0 border-t-0 border-solid border-gray-200 "
>
<input
class=
"px-4 block w-full"
type=
"text"
placeholder=
"搜索编号/参与项目"
placeholder-class=
"text-gray-900"
/>
<view
class=
"fa fa-search text-orange-500"
></view>
<view
class=
"flex search-box border-img my-2"
>
<view
class=
"w-full"
style=
"padding:0;"
>
<view
class=
"input-group flex"
>
<input
type=
"text"
class=
"keyword form-control pl-2"
placeholder=
"搜索编号、参与项目"
/>
<view
class=
"flex items-center"
style=
"background:#3945ad;"
>
<view
class=
"fa fa-search text-orange-500 pr-2"
></view>
</view>
</view>
</view>
</view>
</
template
>
...
...
@@ -32,4 +33,67 @@ export default Vue.extend({
})
</
script
>
<
style
></
style
>
<
style
lang=
"scss"
scoped
>
.search-box
{
position
:
relative
;
overflow
:
hidden
;
.input-group
{
position
:
relative
;
width
:
100%
;
}
.
input-group
:
:
after
{
content
:
""
;
position
:
absolute
;
left
:
0
;
bottom
:
10px
;
width
:
100%
;
height
:
1px
;
border
:
1px
solid
#6b76d1
;
z-index
:
10
;
}
.keyword
{
width
:
100%
;
height
:
50px
;
line-height
:
50px
;
color
:
#b6bdf3
;
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
background
:
#3945ad
;
outline
:
none
;
box-shadow
:
none
;
border
:
none
;
}
.
keyword
:
:
placeholder
{
color
:
#b6bdf3
;
}
}
.border-img
{
position
:
relative
;
}
.
border-img
:
:
before
{
content
:
""
;
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
10px
;
height
:
10px
;
background
:
$input-bg1-base64-code
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
z-index
:
10
;
}
.
border-img
:
:
after
{
content
:
""
;
position
:
absolute
;
right
:
0
;
bottom
:
0
;
width
:
10px
;
height
:
10px
;
background
:
$input-bg2-base64-code
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
z-index
:
10
;
}
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录