From ebe5d27d1543f3b7791afe62ebdc4133cda845bc Mon Sep 17 00:00:00 2001 From: shenhai <5213606@qq.com> Date: Wed, 14 Nov 2018 15:12:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3data=E5=A3=B0=E6=98=8E?= =?UTF-8?q?=EF=BC=8C=E7=BB=9F=E4=B8=80=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/hello-uniapp/common/uni.css | 13 ++++++++++++- .../hello-uniapp/pages/template/steps/steps.vue | 17 +++++------------ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/examples/hello-uniapp/common/uni.css b/examples/hello-uniapp/common/uni.css index b20ccf594..0ecd8a231 100644 --- a/examples/hello-uniapp/common/uni.css +++ b/examples/hello-uniapp/common/uni.css @@ -861,4 +861,15 @@ radio-group label, checkbox-group label{ .uni-tab-bar-loading{ padding:20upx 0; -} \ No newline at end of file +} + +/* steps */ +.uni-steps{padding:20upx 30upx; 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:50upx; height:50upx; border-radius:50upx; background:#F1F1F3; justify-content:center; line-height:50upx; flex-shrink:0; margin-right:15upx; color:#666; font-size:28upx;} +.uni-steps .step-content{width:100%; height:22upx; border-bottom:1px solid #F1F2F3;} +.uni-steps .step-title{line-height:50upx; height:50upx; background:#FFFFFF; width:auto; overflow:hidden; padding-right:8upx;} +.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 diff --git a/examples/hello-uniapp/pages/template/steps/steps.vue b/examples/hello-uniapp/pages/template/steps/steps.vue index 692b94c0f..db5a4cca8 100755 --- a/examples/hello-uniapp/pages/template/steps/steps.vue +++ b/examples/hello-uniapp/pages/template/steps/steps.vue @@ -27,21 +27,14 @@ \ No newline at end of file -- GitLab