From 320a7a6983607b48a81516b669887a2fdeea5b94 Mon Sep 17 00:00:00 2001 From: hulinneil <1289739946@qq.com> Date: Thu, 15 Nov 2018 10:56:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=80=92=E8=AE=A1=E6=97=B6?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=8F=8A=E7=A4=BA=E4=BE=8B=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E9=87=8D=E7=BD=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hello-uniapp/components/graceCountd.vue | 10 +- .../pages/template/countdown/countdown.vue | 103 +++++++++++------- 2 files changed, 72 insertions(+), 41 deletions(-) diff --git a/examples/hello-uniapp/components/graceCountd.vue b/examples/hello-uniapp/components/graceCountd.vue index 767dd23c3..26e1224aa 100755 --- a/examples/hello-uniapp/components/graceCountd.vue +++ b/examples/hello-uniapp/components/graceCountd.vue @@ -7,7 +7,7 @@ {{s}} - \ No newline at end of file + view { + display: flex; + width: 100%; + flex-wrap: wrap; + justify-content: center; + } + + .uni-countdown { + padding: 2rpx 0; + flex-wrap: nowrap; + justify-content: center; + } + + .uni-countdown-splitor { + width: auto !important; + justify-content: center; + line-height: 44upx; + padding: 0 5upx; + } + + .uni-countdown-numbers { + line-height: 44upx; + width: auto !important; + padding: 0 10upx; + justify-content: center; + height: 44upx; + border-radius: 8upx; + margin: 0 5upx; + border: 1px solid #000000; + font-size: 22upx; + } + -- GitLab