提交 3bfa5b4a authored 作者: 王鹏飞's avatar 王鹏飞

chore: 样式优化

上级 a210fb58
...@@ -12,11 +12,3 @@ ...@@ -12,11 +12,3 @@
import AppHeader from './Header.vue' import AppHeader from './Header.vue'
import AppFooter from './Footer.vue' import AppFooter from './Footer.vue'
</script> </script>
<style>
.app-layout {
min-height: 100vh;
background: #f9f8f8 url('https://webapp-pub.ezijing.com/project/saas/bg.png') no-repeat center bottom;
background-size: cover;
}
</style>
...@@ -38,6 +38,7 @@ const list = [ ...@@ -38,6 +38,7 @@ const list = [
border-left: 1px dashed #ffffff; border-left: 1px dashed #ffffff;
} }
dt { dt {
text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16);
span { span {
font-size: 36px; font-size: 36px;
font-weight: bold; font-weight: bold;
......
...@@ -271,21 +271,28 @@ const rows = [ ...@@ -271,21 +271,28 @@ const rows = [
<template> <template>
<div class="home"> <div class="home">
<Total></Total> <div class="home-inner">
<template v-for="(row, index) in rows" :key="index"> <Total></Total>
<section class="row"> <template v-for="(row, index) in rows" :key="index">
<div class="row-cell" v-for="(cell, i) in row" :key="i"> <section class="row">
<Card :data="cell"></Card> <div class="row-cell" v-for="(cell, i) in row" :key="i">
</div> <Card :data="cell"></Card>
</section> </div>
</template> </section>
</template>
</div>
</div> </div>
</template> </template>
<style lang="scss"> <style lang="scss">
.home { .home {
background: #f9f8f8 url('https://webapp-pub.ezijing.com/project/saas/bg.png') no-repeat center bottom;
background-size: cover;
}
.home-inner {
width: 1200px; width: 1200px;
margin: 50px auto 0; margin: 0 auto;
padding-top: 50px;
overflow: hidden; overflow: hidden;
} }
.row { .row {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论