Commit 4b8bb6db by 姜雷

修改首页样式

parent 3ed2c383
...@@ -108,3 +108,42 @@ export default { ...@@ -108,3 +108,42 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss">
.Dashboard {
.Dashboard-DataCard {
background-color: #fff;
border-radius: 8px;
margin-right: 8px;
&:last-child {
margin-right: 0;
}
}
.Dashboard-SearchBar {
display: flex;
padding: 10px 0 20px;
}
.Dashboard-CampusData {
display: flex;
padding: 0 15px;
.Dashboard-title {
position: relative;
}
.Dashboard-title::before {
content: '';
position: absolute;
bottom: -12px;
left: 0;
width: 32px;
height: 4px;
background-color: #4e82fb;
}
.Dashboard-CampusItem {
flex: 1;
&:nth-child(2) {
flex: 1.4;
}
}
}
}
</style>
...@@ -133,28 +133,6 @@ export default { ...@@ -133,28 +133,6 @@ export default {
} }
} }
.Dashboard-CampusData {
display: flex;
padding: 0 15px;
.Dashboard-title {
position: relative;
}
.Dashboard-title::before {
content: '';
position: absolute;
bottom: -12px;
left: 0;
width: 32px;
height: 4px;
background-color: #4e82fb;
}
.Dashboard-CampusItem {
flex: 1;
&:nth-child(2) {
flex: 1.4;
}
}
}
.Dashboard-OperatorData { .Dashboard-OperatorData {
// flex: 1; // flex: 1;
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment