Skip to content

Commit e39a19c

Browse files
authored
Merge pull request #10 from pdsuwwz/feature/chart-echarts-style
Chart echarts style
2 parents 60a27b3 + 8fac021 commit e39a19c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/modules/ChartsTest/components/layout/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default {
8686
display: flex;
8787
flex-wrap: wrap;
8888
.wrap-flex-item {
89-
width: 350px;
89+
width: 378px;
9090
height: 300px;
9191
box-sizing: border-box;
9292
border: 1px solid rgb(238, 238, 238);
@@ -95,7 +95,7 @@ export default {
9595
transition: all .2s;
9696
box-shadow: 0px 0px 0px transparent;
9797
padding: 20px 12px;
98-
background-image: linear-gradient(180deg, rgb(253, 252, 251) 0%, rgb(210, 210, 210) 100%);
98+
background-image: #fff;
9999
&:hover {
100100
border: 1px solid #ccc;
101101
box-shadow: 0px 0px 5px rgb(236, 236, 236);

src/modules/ChartsTest/pages/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ export default {
5757
//@import url(); 引入公共css类
5858
.charts-wrap {
5959
box-sizing: border-box;
60-
padding: 16px 24px;
60+
padding: 16px;
61+
background-color: #fff;
62+
border-radius: 5px;
63+
box-shadow: 0px 0px 5px rgba(0, 0, 0, .3);
6164
}
6265
</style>

0 commit comments

Comments
 (0)