From c73f74e995bb24458949da7de8344955c1eb21f0 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Fri, 24 Jun 2022 09:27:45 +0800 Subject: [PATCH] 2 --- src/assets/scss/pages/yantai-index.scss | 38 ++++++++++++++++++++++++- src/views/pages/yantai-index.vue | 19 ++++++++++++- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/src/assets/scss/pages/yantai-index.scss b/src/assets/scss/pages/yantai-index.scss index 80ec6e7ea..eadf41cdd 100644 --- a/src/assets/scss/pages/yantai-index.scss +++ b/src/assets/scss/pages/yantai-index.scss @@ -56,8 +56,44 @@ .list { display: flex; justify-content: space-around; - width: 70%; + align-items: center; + width: 100%; margin: 0 auto; + .menu { + .menu-list { + position: absolute; + top: 115px; + width: 100%; + left: 0; + + .menu-item { + position: relative; + left: 70px; + margin-bottom: 30px; + width: 150px; + height: 60px; + line-height: 60px; + color: #fff; + font-size: 20px; + background: linelinear-gradient(left, rgba(#00a, 0.5), rgba(#00a, 0)); + border-radius: 60px; + text-align: center; + box-shadow: -3px 3px 5px 1px inset rgba(#fff, 0.3); + + &:nth-child(2), + &:nth-child(6) { + margin-left: 15px; + } + &:nth-child(3), + &:nth-child(5) { + margin-left: 15px * 2; + } + &:nth-child(4) { + margin-left: 15px * 3; + } + } + } + } .item { position: relative; diff --git a/src/views/pages/yantai-index.vue b/src/views/pages/yantai-index.vue index 2485b9399..2124be7df 100644 --- a/src/views/pages/yantai-index.vue +++ b/src/views/pages/yantai-index.vue @@ -2,12 +2,29 @@
- +
烟台市智慧社区平台
+ + +
+ +
+