Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
a0e8809f
U
uni-app
项目概览
DCloud
/
uni-app
通知
698
Star
38702
Fork
3641
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
7
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
7
Issue
7
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a0e8809f
编写于
3月 06, 2024
作者:
Y
yurj26
1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(button): 修改plain时的边框宽度
上级
3007e991
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
48 addition
and
31 deletion
+48
-31
src/core/view/components/button/index.vue
src/core/view/components/button/index.vue
+48
-31
未找到文件。
src/core/view/components/button/index.vue
浏览文件 @
a0e8809f
...
...
@@ -178,7 +178,6 @@ export default {
line-height
:
2.55555556
;
border-radius
:
5px
;
-webkit-tap-highlight-color
:
transparent
;
overflow
:
hidden
;
color
:
#000000
;
background-color
:
#f8f8f8
;
cursor
:
pointer
;
...
...
@@ -262,47 +261,28 @@ export default {
uni-button
[
type
=
"primary"
][
plain
]
{
color
:
#007aff
;
border
:
1px
solid
#007aff
;
background-color
:
transparent
;
}
uni-button
[
type
=
"primary"
][
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
0.2
);
border-color
:
rgba
(
0
,
0
,
0
,
0.2
);
}
uni-button
[
type
=
"primary"
][
plain
]
:after
{
border-
width
:
0
;
border-
color
:
#007aff
;
}
uni-button
[
type
=
"default"
][
plain
]
{
color
:
#353535
;
border
:
1px
solid
#353535
;
background-color
:
transparent
;
}
uni-button
[
type
=
"default"
][
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
0.2
);
border-color
:
rgba
(
0
,
0
,
0
,
0.2
);
}
uni-button
[
type
=
"default"
][
plain
]
:after
{
border-width
:
0
;
}
uni-button
[
plain
]
{
color
:
#353535
;
border
:
1px
solid
#353535
;
background-color
:
transparent
;
}
uni-button
[
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
0.2
);
border-color
:
rgba
(
0
,
0
,
0
,
0.2
);
}
uni-button
[
plain
]
:after
{
border-width
:
0
;
border-color
:
#353535
;
}
uni-button
[
plain
][
native
]
.uni-button-cover-view-inner
{
...
...
@@ -311,17 +291,32 @@ export default {
uni-button
[
type
=
"warn"
][
plain
]
{
color
:
#e64340
;
border
:
1px
solid
#e64340
;
background-color
:
transparent
;
}
uni-button
[
type
=
"warn"
][
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
0.2
);
border-color
:
rgba
(
0
,
0
,
0
,
0.2
);
}
uni-button
[
type
=
"warn"
][
plain
]
:after
{
border-width
:
0
;
border-color
:
#e64340
;
}
uni-button
[
plain
]
{
color
:
#353535
;
background-color
:
transparent
;
}
uni-button
[
plain
][
disabled
]
{
color
:
rgba
(
0
,
0
,
0
,
0.2
);
}
uni-button
[
plain
]
:after
{
border-color
:
#353535
;
}
uni-button
[
plain
][
disabled
]
:after
{
border-color
:
rgba
(
0
,
0
,
0
,
0.2
);
}
uni-button
[
size
=
"mini"
]
{
...
...
@@ -395,10 +390,13 @@ export default {
.button-hover
[
plain
]
{
color
:
rgba
(
53
,
53
,
53
,
0.6
);
border-color
:
rgba
(
53
,
53
,
53
,
0.6
);
background-color
:
transparent
;
}
.button-hover
[
plain
]
:after
{
border-color
:
rgba
(
53
,
53
,
53
,
0.6
);
}
.button-hover
[
type
=
"primary"
]
{
color
:
rgba
(
255
,
255
,
255
,
0.6
);
background-color
:
#0062cc
;
...
...
@@ -406,10 +404,13 @@ export default {
.button-hover
[
type
=
"primary"
][
plain
]
{
color
:
rgba
(
0
,
122
,
255
,
0.6
);
border-color
:
rgba
(
0
,
122
,
255
,
0.6
);
background-color
:
transparent
;
}
.button-hover
[
type
=
"primary"
][
plain
]
:after
{
border-color
:
rgba
(
0
,
122
,
255
,
0.6
);
}
.button-hover
[
type
=
"default"
]
{
color
:
rgba
(
0
,
0
,
0
,
0.6
);
background-color
:
#dedede
;
...
...
@@ -417,10 +418,13 @@ export default {
.button-hover
[
type
=
"default"
][
plain
]
{
color
:
rgba
(
53
,
53
,
53
,
0.6
);
border-color
:
rgba
(
53
,
53
,
53
,
0.6
);
background-color
:
transparent
;
}
.button-hover
[
type
=
"default"
][
plain
]
:after
{
border-color
:
rgba
(
53
,
53
,
53
,
0.6
);
}
.button-hover
[
type
=
"warn"
]
{
color
:
rgba
(
255
,
255
,
255
,
0.6
);
background-color
:
#ce3c39
;
...
...
@@ -428,10 +432,13 @@ export default {
.button-hover
[
type
=
"warn"
][
plain
]
{
color
:
rgba
(
230
,
67
,
64
,
0.6
);
border-color
:
rgba
(
230
,
67
,
64
,
0.6
);
background-color
:
transparent
;
}
.button-hover
[
type
=
"warn"
][
plain
]
:after
{
border-color
:
rgba
(
230
,
67
,
64
,
0.6
);
}
@media
(
prefers-color-scheme
:
dark
)
{
uni-button
,
uni-button
[
type
=
'default'
]
{
...
...
@@ -458,7 +465,10 @@ export default {
uni-button
[
type
=
'default'
][
plain
]
{
color
:
#d6d6d6
;
border
:
1px
solid
#d6d6d6
;
}
uni-button
[
type
=
'default'
][
plain
]
:after
{
border-color
:
#d6d6d6
;
}
.button-hover
[
type
=
'default'
][
plain
]
{
...
...
@@ -467,9 +477,16 @@ export default {
background-color
:
rgba
(
50
,
50
,
50
,
0.2
);
}
.button-hover
[
type
=
'default'
][
plain
]
:after
{
border-color
:
rgba
(
150
,
150
,
150
,
0.6
);
}
uni-button
[
type
=
'default'
][
plain
][
disabled
]
{
border-color
:
hsla
(
0
,
0%
,
100%
,
0.2
);
color
:
hsla
(
0
,
0%
,
100%
,
0.2
);
}
uni-button
[
type
=
'default'
][
plain
][
disabled
]
:after
{
border-color
:
hsla
(
0
,
0%
,
100%
,
0.2
);
}
}
</
style
>
LXH_1129
@qq_42428342
mentioned in commit
7cc85ad8
·
3月 26, 2024
mentioned in commit
7cc85ad8
mentioned in commit 7cc85ad8fff9ed8e2ec829e9ddfdf9fa2a301a14
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录