From 47b4bb2681071a66db58537b36cc66fe611b21f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=B7=83?= <2456895618@qq.com> Date: Tue, 27 Jul 2021 16:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2=E5=88=9D?= =?UTF-8?q?=E6=AD=A5=E5=AE=8C=E6=88=90=EF=BC=8C=E8=A7=A3=E5=86=B3=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=9C=A8=E4=B8=8D=E5=90=8C=E7=94=B5=E8=84=91=E5=86=B2?= =?UTF-8?q?=E7=AA=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/{Index.vue => Layout.vue} | 103 ++++++++++-------- newapp/src/router/routes.js | 2 +- 2 files changed, 59 insertions(+), 46 deletions(-) rename newapp/src/components/{Index.vue => Layout.vue} (72%) diff --git a/newapp/src/components/Index.vue b/newapp/src/components/Layout.vue similarity index 72% rename from newapp/src/components/Index.vue rename to newapp/src/components/Layout.vue index 21e174a..8ccb7fa 100644 --- a/newapp/src/components/Index.vue +++ b/newapp/src/components/Layout.vue @@ -18,75 +18,77 @@ - +
- +
- 新闻时事 - 公司动态 - 大神风采 - 关于我们 + 新闻时事 + 公司动态 + 大神风采 + 关于我们
-
+
- + - + - - + + 文章标题 - + 文章简介
- 点赞数量 - 评论数量 - 阅读数量 - 发布日期 + 点赞数量 + 评论数量 + 阅读数量 + 发布日期
- + + - + - - + + 文章标题 - + 文章简介
- 点赞数量 - 评论数量 - 阅读数量 - 发布日期 + 点赞数量 + 评论数量 + 阅读数量 + 发布日期
+
- -
- + +
+
48小时阅读排行
- +
10天编辑推荐
- +
10天评论排行 - +
- 扫码关注公众号 + 扫码关注公众号
- 扫码加微信群 + 扫码加微信群
- 扫码加QQ群 + 扫码加QQ群
@@ -290,18 +292,19 @@ body { font-size: 14px; } .el-aside { - background-color: #d3dce6; + /* background-color: #d3dce6; */ color: #333; /* text-align: center; */ /* line-height: 200px; */ } .el-main { - background-color: #e9eef3; + /* background-color: #e9eef3; */ color: #333; /* text-align: center; */ /* line-height: 160px; */ min-height: calc(100vh - 120px); + min-width: calc(100vh-120px) } body > .el-container { @@ -324,6 +327,7 @@ body > .el-container { opacity: 0.75; line-height: 200px; margin: 0; + } .el-carousel__item:nth-child(2n) { @@ -343,21 +347,30 @@ img { height: 250px; } -.two { +.jj { padding-top: 10px; height: 270px; + display: flex; + align-items: center; + justify-content:space-between; + flex-wrap:nowrap + } .tp { width: 200px; height: 200px; + } -.code { - float: left; - margin-left: 275px; -} + .num{ display: flex; - align-items: center; + align-items: center; justify-content: center; + text-align: center; + /* font-size: 3px; */ +} +.btn{ + display: flex; + align-items: center; } \ No newline at end of file diff --git a/newapp/src/router/routes.js b/newapp/src/router/routes.js index bcd5f06..f7404d7 100644 --- a/newapp/src/router/routes.js +++ b/newapp/src/router/routes.js @@ -3,7 +3,7 @@ let routes =[ { path:'/', - component:()=>import('../components/Index'), + component:()=>import('../components/Layout'), } ] export default routes \ No newline at end of file -- Gitee