File tree Expand file tree Collapse file tree 7 files changed +332
-195
lines changed Expand file tree Collapse file tree 7 files changed +332
-195
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export default {
1515// 引入初始化样式
1616@import ' @/style/main.scss' ;
1717@import ' @/style/base.scss' ;
18+ @import ' @/style/mobile.scss' ;
1819#app {
1920 background : #eee ;
2021 height : 100vh ;
Original file line number Diff line number Diff line change @@ -32,3 +32,6 @@ $color-table-tbody:#595959;
3232$color-table-thead :#262626 ;
3333// dashboard
3434$height-car :68px ;
35+ // mobile
36+ $padding-xs : 5px ;
37+ $margin-xs : 5px ;
Original file line number Diff line number Diff line change @@ -1204,6 +1204,14 @@ $mainHight: 100vh;
12041204 top : 0 ;
12051205 box-sizing : border-box ;
12061206 z-index : 999 ;
1207+ >.el-row {
1208+ padding : 0 ;
1209+ .el-col-lg-14 {
1210+ height : 60px ;
1211+ }
1212+ }
1213+
1214+
12071215}
12081216
12091217
@@ -1387,14 +1395,14 @@ $mainHight: 100vh;
13871395
13881396 .car-left {
13891397 height : $height-car ;
1390- width : 70% ;
1391- float : left ;
1398+ // width: 70%;
1399+ // float: left;
13921400 }
13931401
13941402 .car-right {
13951403 height : $height-car ;
1396- width : 29% ;
1397- float : left ;
1404+ // width: 29%;
1405+ // float: left;
13981406
13991407 .flow ,
14001408 .user-number ,
Original file line number Diff line number Diff line change 1+
2+ @import ' @/style/basics.scss' ;
3+ @media screen and (min-width : 320px )and (max-width : 750px ){
4+ .el-header {
5+ padding : 0 $padding-xs ;
6+ }
7+ .layout-cont {
8+ .main-cont {
9+ .breadcrumb {
10+ padding : 0 $padding-xs ;
11+ }
12+ }
13+ }
14+ .layout-cont {
15+ .right-box {
16+ margin-right : $margin-xs ;
17+ }
18+ }
19+ .search-component {
20+ width : 30px ;
21+ }
22+ .screenfull {
23+ width : 26px ;
24+ text-align : center ;
25+ }
26+ .el-main {
27+ .admin-box {
28+ margin-left : 0 ;
29+ margin-right : 0 ;
30+ }
31+ .big.admin-box {
32+ padding : 0 0 15px 0 ;
33+ }
34+ .big {
35+ .bottom {
36+ .chart-player {
37+ height : auto !important ;
38+ margin-bottom : 15px ;
39+ }
40+ .todoapp {
41+ background-color : #fff ;
42+ padding-bottom : 10px ;
43+ }
44+ }
45+ }
46+ }
47+
48+ .card .car-left ,
49+ .card .car-right {
50+ width : 100% ;
51+ height : 100% ;
52+ }
53+ .card {
54+ padding-left : $padding-xs ;
55+ padding-right : $padding-xs ;
56+
57+ }
58+ .card {
59+ .text {
60+ width : 100% ;
61+ h4 {
62+ white-space : break- spaces;
63+ }
64+ }
65+ }
66+ .shadow {
67+ margin-left : 5px ;
68+ margin-right : 5px ;
69+ .grid-content {
70+ margin-bottom : 10px ;
71+ padding : 0 ;
72+ }
73+ }
74+ .el-dialog {
75+ width : 90% ;
76+ }
77+ .el-transfer {
78+ .el-transfer-panel {
79+ width : 40% ;
80+ display : inline-block ;
81+ }
82+ .el-transfer__buttons {
83+ padding : 0 5px ;
84+ display : inline-block ;
85+ }
86+
87+ }
88+
89+ }
You can’t perform that action at this time.
0 commit comments