Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
ebe5d27d
U
uni-app
项目概览
DCloud
/
uni-app
2 个月 前同步成功
通知
716
Star
38705
Fork
3642
代码
文件
提交
分支
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,发现更多精彩内容 >>
提交
ebe5d27d
编写于
11月 14, 2018
作者:
蓝色的小猫咪
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修正data声明,统一样式
上级
fae31d25
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
17 addition
and
13 deletion
+17
-13
examples/hello-uniapp/common/uni.css
examples/hello-uniapp/common/uni.css
+12
-1
examples/hello-uniapp/pages/template/steps/steps.vue
examples/hello-uniapp/pages/template/steps/steps.vue
+5
-12
未找到文件。
examples/hello-uniapp/common/uni.css
浏览文件 @
ebe5d27d
...
...
@@ -861,4 +861,15 @@ radio-group label, checkbox-group label{
.uni-tab-bar-loading
{
padding
:
20
upx
0
;
}
\ No newline at end of file
}
/* steps */
.uni-steps
{
padding
:
20
upx
30
upx
;
flex-grow
:
1
;
display
:
flex
;
flex-wrap
:
wrap
;}
.uni-steps
view
{
display
:
flex
;
flex-wrap
:
wrap
;
float
:
none
;}
.uni-steps
.step
{
width
:
31.3%
;
margin
:
0
1%
;
flex-wrap
:
nowrap
;}
.uni-steps
.step-circle
{
width
:
50
upx
;
height
:
50
upx
;
border-radius
:
50
upx
;
background
:
#F1F1F3
;
justify-content
:
center
;
line-height
:
50
upx
;
flex-shrink
:
0
;
margin-right
:
15
upx
;
color
:
#666
;
font-size
:
28
upx
;}
.uni-steps
.step-content
{
width
:
100%
;
height
:
22
upx
;
border-bottom
:
1px
solid
#F1F2F3
;}
.uni-steps
.step-title
{
line-height
:
50
upx
;
height
:
50
upx
;
background
:
#FFFFFF
;
width
:
auto
;
overflow
:
hidden
;
padding-right
:
8
upx
;}
.uni-steps
.current
.step-circle
{
background
:
#00B26A
;
color
:
#FFFFFF
;}
.uni-steps
.current
.step-content
{
border-color
:
#00B26A
;}
.uni-steps
.current
.step-title
{
color
:
#00B26A
;}
\ No newline at end of file
examples/hello-uniapp/pages/template/steps/steps.vue
浏览文件 @
ebe5d27d
...
...
@@ -27,21 +27,14 @@
</view>
</
template
>
<
script
>
export
default
{
data
:{
title
:
"
步骤
"
export
default
{
data
()
{
return
{
title
:
"
步骤
"
}
}
}
</
script
>
<
style
>
page
{
background
:
#FFFFFF
;}
.uni-steps
{
padding
:
20
upx
30
upx
;
flex-grow
:
1
;
display
:
flex
;
flex-wrap
:
wrap
;}
.uni-steps
view
{
display
:
flex
;
flex-wrap
:
wrap
;
float
:
none
;}
.uni-steps
.step
{
width
:
31.3%
;
margin
:
0
1%
;
flex-wrap
:
nowrap
;}
.uni-steps
.step-circle
{
width
:
50
upx
;
height
:
50
upx
;
border-radius
:
50
upx
;
background
:
#F1F1F3
;
justify-content
:
center
;
line-height
:
50
upx
;
flex-shrink
:
0
;
margin-right
:
15
upx
;
color
:
#666
;
font-size
:
28
upx
;}
.uni-steps
.step-content
{
width
:
100%
;
height
:
22
upx
;
border-bottom
:
1px
solid
#F1F2F3
;}
.uni-steps
.step-title
{
line-height
:
50
upx
;
height
:
50
upx
;
background
:
#FFFFFF
;
width
:
auto
;
overflow
:
hidden
;
padding-right
:
8
upx
;}
.uni-steps
.current
.step-circle
{
background
:
#00B26A
;
color
:
#FFFFFF
;}
.uni-steps
.current
.step-content
{
border-color
:
#00B26A
;}
.uni-steps
.current
.step-title
{
color
:
#00B26A
;}
</
style
>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录