style:首页样式修改
Showing
1 changed file
with
15 additions
and
16 deletions
| ... | @@ -87,7 +87,7 @@ | ... | @@ -87,7 +87,7 @@ |
| 87 | </div> | 87 | </div> |
| 88 | <div id="loginTime"></div> | 88 | <div id="loginTime"></div> |
| 89 | </el-card> | 89 | </el-card> |
| 90 | <el-card class="marginTop10" shadow="hover"> | 90 | <el-card class="marginTop10" shadow="hover" style="height:60%"> |
| 91 | <div slot="header" class="flexst"> | 91 | <div slot="header" class="flexst"> |
| 92 | <h5 class="title">动态信息</h5> | 92 | <h5 class="title">动态信息</h5> |
| 93 | <i class="el-icon-s-unfold pointer"></i> | 93 | <i class="el-icon-s-unfold pointer"></i> |
| ... | @@ -104,12 +104,12 @@ | ... | @@ -104,12 +104,12 @@ |
| 104 | </div> | 104 | </div> |
| 105 | </template> | 105 | </template> |
| 106 | <script> | 106 | <script> |
| 107 | import * as G2 from '@antv/g2' | 107 | import * as G2 from '@antv/g2' |
| 108 | import vueSeamlessScroll from "vue-seamless-scroll" | 108 | import vueSeamlessScroll from "vue-seamless-scroll" |
| 109 | import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js"; | 109 | import { getHomeNoticeList, getHomeTodoList, getHomeDoneList, getHomeFrequentProjects } from "@/api/user.js"; |
| 110 | import { setReadStatus } from '@/api/system' | 110 | import { setReadStatus } from '@/api/system' |
| 111 | import addDialog from "./components/addProject.vue"; | 111 | import addDialog from "./components/addProject.vue"; |
| 112 | export default { | 112 | export default { |
| 113 | name: 'home', | 113 | name: 'home', |
| 114 | components: { vueSeamlessScroll, addDialog }, | 114 | components: { vueSeamlessScroll, addDialog }, |
| 115 | data () { | 115 | data () { |
| ... | @@ -345,18 +345,17 @@ export default { | ... | @@ -345,18 +345,17 @@ export default { |
| 345 | this.$alertMes(item.noticeTitle, item.noticeContent) | 345 | this.$alertMes(item.noticeTitle, item.noticeContent) |
| 346 | } | 346 | } |
| 347 | } | 347 | } |
| 348 | } | 348 | } |
| 349 | </script> | 349 | </script> |
| 350 | <style scoped lang="scss"> | 350 | <style scoped lang="scss"> |
| 351 | @import "~@/styles/mixin.scss"; | 351 | @import "~@/styles/mixin.scss"; |
| 352 | @import "./index.scss"; | 352 | @import "./index.scss"; |
| 353 | 353 | /deep/.el-card__header { | |
| 354 | /deep/.el-card__header { | 354 | padding: 8px 15px; |
| 355 | padding: 8px 15px | 355 | } |
| 356 | } | ||
| 357 | 356 | ||
| 358 | /deep/.el-card__body { | 357 | /deep/.el-card__body { |
| 359 | padding: 3px 10px 5px 10px; | 358 | padding: 3px 10px 5px 10px; |
| 360 | overflow: hidden; | 359 | overflow: hidden; |
| 361 | } | 360 | } |
| 362 | </style> | 361 | </style> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment