From efd16441ffa9db085aef364b8abcbc6f17818dee Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Mon, 3 May 2021 00:56:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=B1=9E=E6=80=A7=E5=80=BC?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=AA=E4=BD=8D=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home.vue | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index 903920e..5903d55 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -296,12 +296,12 @@ export default { display: flex; align-items: center; position: sticky; - top: 0.5rem; + top: .5rem; z-index: 100; width: 100%; max-width: 40rem; height: 2.8rem; - border-radius: 0.25rem; + border-radius: .25rem; background-color: #FFF; overflow: hidden; @@ -327,7 +327,7 @@ export default { .btn-clear { width: 2rem; - opacity: 0.5; + opacity: .5; transition: opacity @transitionTime; &:hover { @@ -355,13 +355,13 @@ export default { font-size: 1rem; > label { - margin: 1em 0.5em; + margin: 1em .5em; margin-top: 0; padding: 1em; width: 45%; min-width: 18em; - border-bottom: solid 0.15rem transparent; - border-radius: 0.25em; + border-bottom: solid .15rem transparent; + border-radius: .25em; background-color: #FFF; text-align: left; font-weight: normal; @@ -396,12 +396,12 @@ export default { } .fn-icon { - margin-right: 0.4em; + margin-right: .4em; } .desc { - margin-left: 0.5em; - font-size: 0.8em; + margin-left: .5em; + font-size: .8em; color: #CCC; } } @@ -415,7 +415,7 @@ export default { z-index: 100; top: 0; margin-bottom: 1rem; - border-radius: 0.25rem; + border-radius: .25rem; line-height: @height; overflow: hidden; @@ -430,7 +430,7 @@ export default { width: 4.5rem; input { - padding: 0 0.75rem; + padding: 0 .75rem; } } } @@ -442,8 +442,8 @@ export default { } .link-tree { - padding: 0.5rem; - border-radius: 0.25rem; + padding: .5rem; + border-radius: .25rem; font-size: 14px; /deep/ .el-tree-node__content { @@ -460,8 +460,8 @@ export default { } .link { - margin-top: 0.2rem; - opacity: 0.5; + margin-top: .2rem; + opacity: .5; } } }