From da11abea9c81b4b009933c68921532100b86691d Mon Sep 17 00:00:00 2001 From: hamono <487496627@qq.com> Date: Sun, 26 Jan 2020 19:09:10 +0800 Subject: [PATCH 1/5] body.top --- src/views/Body/Top/Upwait/style.scss | 12 ++-- src/views/Body/Top/index.tsx | 38 ++++++----- src/views/Body/Top/style.scss | 65 ++++++------------- src/views/Body/style.scss | 2 +- src/views/Header/Top/Left/BaiNian/index.tsx | 6 +- src/views/Header/Top/Left/index.tsx | 12 ++-- .../Header/Top/Right/OpenGitHub/index.tsx | 10 +++ .../Header/Top/Right/OpenGitHub/style.scss | 15 +++++ src/views/Header/Top/Right/index.tsx | 16 +++-- src/views/Header/Top/Right/style.scss | 2 +- src/views/Up/Center/index.tsx | 32 ++++----- src/views/Up/Left/index.tsx | 6 +- src/views/Up/Right/index.tsx | 12 ++-- src/views/Up/style.scss | 2 +- 14 files changed, 120 insertions(+), 110 deletions(-) create mode 100644 src/views/Header/Top/Right/OpenGitHub/index.tsx create mode 100644 src/views/Header/Top/Right/OpenGitHub/style.scss diff --git a/src/views/Body/Top/Upwait/style.scss b/src/views/Body/Top/Upwait/style.scss index ad289bf..75e43d5 100644 --- a/src/views/Body/Top/Upwait/style.scss +++ b/src/views/Body/Top/Upwait/style.scss @@ -1,10 +1,9 @@ .h4{ - width:170px; - height:95px; + width:206px; + height:115px; position: absolute; margin-left: 0px; - margin-top: 70px; - background-color: white; + margin-top: 90px; display: flex; flex-direction: column; justify-content: space-between; @@ -21,6 +20,7 @@ position: absolute; margin-left: 0px; margin-top: 0px; + background-color: rgba($color: #000000, $alpha: 0.5); } .content{ margin-top: 5px; @@ -33,7 +33,7 @@ } .box{ position: absolute; - width: 170px; - height: 95px; + width: 206px; + height: 115px; overflow: hidden; } \ No newline at end of file diff --git a/src/views/Body/Top/index.tsx b/src/views/Body/Top/index.tsx index a20943e..34aae12 100644 --- a/src/views/Body/Top/index.tsx +++ b/src/views/Body/Top/index.tsx @@ -10,31 +10,31 @@ export default function Top() {
就设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