From 2e2618a1e0bde35c53d0bbbd8e625ce4cdccd43a Mon Sep 17 00:00:00 2001 From: xiaoyucoding Date: Sat, 13 Apr 2019 18:47:58 +0800 Subject: [PATCH] style: input --- src/core/view/components/input/index.vue | 52 +----------------------- 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/src/core/view/components/input/index.vue b/src/core/view/components/input/index.vue index 78f81c148..a83d14747 100644 --- a/src/core/view/components/input/index.vue +++ b/src/core/view/components/input/index.vue @@ -342,9 +342,8 @@ export default { left: 0; top: 0; width: 100%; - height: 100%; - line-height: 100%; height: inherit; + line-height: 100%; min-height: 1.4rem; white-space: pre; text-align: inherit; @@ -353,55 +352,6 @@ export default { z-index: 1; } - uni-input ul { - position: fixed; - left: 0; - right: 0; - z-index: 999999; - padding: 0; - background-color: white; - border: 0.5px solid #cccccc; - max-height: 204px; - min-height: 51px; - overflow: auto; - } - - uni-input ul li { - display: block; - padding: 10px; - position: relative; - padding: 10px 0; - border-bottom: 0.5px solid #cccccc; - margin: 0 15px; - } - - uni-input ul li:last-child { - border-bottom: none; - } - - uni-input ul li .title { - font-weight: bold; - font-size: 18px; - margin-right: 50px; - } - - uni-input ul li .content { - font-size: 12px; - color: #cccccc; - margin-right: 50px; - } - - uni-input ul li .del { - position: absolute; - width: 50px; - height: 50px; - line-height: 50px; - top: 50%; - right: 0; - margin-top: -25px; - text-align: center; - } - .input-placeholder { color: gray; height: inherit; -- GitLab