From 618470ad349e9e36774443c012b8ce9ae9bd73cc Mon Sep 17 00:00:00 2001 From: zyronon Date: Sat, 28 Aug 2021 02:46:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Test3.vue | 68 +++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 40 deletions(-) diff --git a/src/pages/Test3.vue b/src/pages/Test3.vue index 75f0158..5a027f2 100644 --- a/src/pages/Test3.vue +++ b/src/pages/Test3.vue @@ -1,25 +1,15 @@ @@ -43,7 +33,7 @@ export default { }, get() { - console.log( this.$refs.input) + console.log(this.$refs.input) }, call() { @@ -74,37 +64,35 @@ export default { top: 0; background: #fff; overflow: auto; - font-size: 2rem; - @emoji-width: 4rem; - - .emoji { - width: @emoji-width; - height: @emoji-width; - } .content { padding-top: 6rem; - - .auto-input { + .top { width: 100%; - overflow-y: scroll; - padding: 0 .5rem; - outline: none; } - .auto-input::-webkit-scrollbar { - width: 0 !important - } + .desc { + display: flex; + padding: 1rem; - .auto-input:empty::before { - /*content: "留下你的精彩评论吧";*/ - content: attr(placeholder); - color: #999999; + .left { + font-size: 1.8rem; + + .title { + font-size: 1.4rem; + color: @second-text-color; + } + + } + + .code { + width: 12rem; + } } - .auto-input:focus::before { - content: none; + .bottom { + width: 100%; } } }