From b0f94ada239ef8b566cc3491aece866f5586cf1a Mon Sep 17 00:00:00 2001 From: zhouyuejun <505127606@qq.com> Date: Thu, 21 Feb 2019 14:58:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A3=E5=BA=A6=E8=AE=A1=E5=88=92=E5=92=8C?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=95=B0=E6=8D=AE=E9=A1=B5=E9=9D=A2=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E8=B0=83=E6=95=B4=E7=BE=8E=E8=A7=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../historical-data.component.html | 18 +++++++------- .../historical-data.component.scss | 14 ++++++----- src/app/pages/main/main.component.html | 14 +++++------ src/app/pages/main/main.component.scss | 12 ++++++---- .../seasonal-plan.component.html | 24 ++++++++++--------- .../seasonal-plan.component.scss | 11 ++++++--- 6 files changed, 53 insertions(+), 40 deletions(-) diff --git a/src/app/pages/historical-data/historical-data.component.html b/src/app/pages/historical-data/historical-data.component.html index 30d9c99..33c6582 100644 --- a/src/app/pages/historical-data/historical-data.component.html +++ b/src/app/pages/historical-data/historical-data.component.html @@ -1,8 +1,8 @@
-
+
-
+
- - -
-
- - +
+ + +
+
+ + +
diff --git a/src/app/pages/historical-data/historical-data.component.scss b/src/app/pages/historical-data/historical-data.component.scss index 6b4dd3a..eae0469 100644 --- a/src/app/pages/historical-data/historical-data.component.scss +++ b/src/app/pages/historical-data/historical-data.component.scss @@ -14,11 +14,13 @@ position: relative; padding: 0 15px; .first-condition { + .line-operator-left{ + width: 100%; + } .line-operator-right { - // position: absolute; - // top: 0; - // right: 0; - text-align: right; + // text-align: right; + display: inline-block; + float: right; padding: 0; .btn-info { background-color: rgb(122, 156, 204); @@ -182,9 +184,9 @@ } } -@media screen and (max-width: 991px) { +@media screen and (max-width: 1276px) { .line-operator-right { - text-align: left !important; + float: none !important; } } diff --git a/src/app/pages/main/main.component.html b/src/app/pages/main/main.component.html index 32fb33e..9130d6f 100644 --- a/src/app/pages/main/main.component.html +++ b/src/app/pages/main/main.component.html @@ -1,8 +1,8 @@
-
+
-
+
查找定位 - -
-
- - + +
+ + +
diff --git a/src/app/pages/main/main.component.scss b/src/app/pages/main/main.component.scss index 00b2761..56de5fb 100644 --- a/src/app/pages/main/main.component.scss +++ b/src/app/pages/main/main.component.scss @@ -14,11 +14,13 @@ position: relative; padding: 0 15px; .first-condition { + .line-operator-left{ + width: 100%; + } .line-operator-right { - // position: absolute; - // top: 0; - // right: 0; - text-align: right; + // text-align: right; + display: inline-block; + float: right; padding: 0; .btn-info { background-color: rgb(122, 156, 204); @@ -184,7 +186,7 @@ @media screen and (max-width: 991px) { .line-operator-right { - text-align: left !important; + float: none !important; } } diff --git a/src/app/pages/seasonal-plan/seasonal-plan.component.html b/src/app/pages/seasonal-plan/seasonal-plan.component.html index 7212008..984951f 100644 --- a/src/app/pages/seasonal-plan/seasonal-plan.component.html +++ b/src/app/pages/seasonal-plan/seasonal-plan.component.html @@ -1,8 +1,8 @@
-
+
-
+
- - -
-
- - +
+ + +
+
+ + +
-
+