Commit 57e9e2cf by chenwq

样式

1 parent fe99f62e
Showing 1 changed file with 25 additions and 24 deletions
...@@ -59,31 +59,32 @@ export default { ...@@ -59,31 +59,32 @@ export default {
#app { #app {
padding: 0px 20px 20px 40px; padding: 0px 20px 20px 40px;
// overflow-y: auto; // overflow-y: auto;
margin-right: 20px;
height: 100%; height: 100%;
} }
.el-switch__label--left { .el-switch__label--left {
position: relative; position: relative;
margin-left: -20px; margin-left: -20px;
left: 45px; left: 45px;
color: #fff; color: #fff;
z-index: -1111; z-index: -1111;
} }
.el-switch__core{ .el-switch__core {
width: 50px !important; width: 50px !important;
} }
.el-switch__label--right { .el-switch__label--right {
position: relative; position: relative;
right: 46px; right: 46px;
color: #fff; color: #fff;
z-index: -1111; z-index: -1111;
} }
.el-switch__label--right.is-active { .el-switch__label--right.is-active {
z-index: 1111; z-index: 1111;
color: #fff !important; color: #fff !important;
} }
.el-switch__label--left.is-active { .el-switch__label--left.is-active {
z-index: 1111; z-index: 1111;
color: #999999 !important; color: #999999 !important;
} }
</style> </style>
> >
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!