123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- .setting {
- width: 148px;
- height: 70vh;
- max-height: 70vh;
- overflow: hidden;
- border-radius: 8px;
- --van-switch-background-color: #fff;
- --van-switch-on-background-color: linear-gradient(180deg, #39f3d0 0%, #2dc7aa 100%);
- --van-switch-border: 0.1px solid #2dc7aa;
- :global {
- .van-tabs {
- height: 100%;
- }
- .van-tabs__content {
- height: calc(100% - 0.58667rem);
- overflow-y: auto;
- }
- .van-tab__pane {
- height: 100%;
- > div {
- height: 100%;
- }
- }
- }
- :global(.van-switch) {
- background: url('./icons/off.svg') no-repeat center;
- background-size: cover;
- border-radius: 0;
- background-color: transparent !important;
- border: none !important;
- width: 24px;
- height: 12px;
- :global(.van-switch__node) {
- display: none;
- }
- }
- :global(.van-switch--on) {
- background-image: url('./icons/on.svg');
- background-size: cover;
- }
- :global {
- .van-tabs__content > .van-tab__pane > div {
- // min-height: 120px;
- overflow: hidden;
- box-sizing: border-box;
- }
- }
- }
- .sliderWrap {
- height: 30px;
- display: flex;
- align-items: center;
- :global {
- .cell__title {
- font-size: 0.16rem;
- color: #666;
- font-weight: 400;
- width: 30%;
- }
- .van-slider {
- flex: 1;
- margin-right: 10px;
- }
- }
- }
- .slider {
- width: 24px;
- color: #fff;
- font-size: 6px;
- line-height: 12px;
- text-align: center;
- background-color: var(--van-primary-color);
- border-radius: 20px;
- }
- .noticebar {
- margin: 0 7px;
- margin-top: 3px;
- height: 17px;
- border-radius: 5px;
- }
- .columnBox {
- display: flex;
- flex-direction: column;
- }
- .groupBox {
- flex: 1;
- padding: 4px 12px;
- overflow: hidden;
- overflow-y: auto;
- // height: 110px;
- height: 100%;
- box-sizing: border-box;
- :global {
- .van-cell {
- padding: 0;
- line-height: 11px;
- }
- .van-cell__title {
- font-size: 6px;
- color: #666;
- font-weight: 400;
- }
- .van-divider {
- margin: 3px 0;
- }
- }
- }
- .btnsbar {
- margin: 4px auto;
- margin-bottom: 8px;
- box-sizing: border-box;
- bottom: 0;
- display: flex;
- width: 100%;
- justify-content: center;
- .btn {
- width: 40%;
- height: 16px;
- background: #fff6e8;
- border-radius: 4px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 6px;
- color: #904C24;
- margin: 0 2px;
- .iconBtn {
- width: 10px;
- height: 10px;
- margin-right: 2px;
- }
- }
- }
- .radioGroup {
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- padding: 2px;
- border-radius: 4px;
- background: var(--primary-color);
- margin-left: auto;
- :global {
- .van-radio__icon {
- display: none;
- }
- .van-radio__label {
- margin: 0;
- font-size: 6px;
- color: #fff;
- line-height: normal;
- white-space: nowrap;
- }
- .van-radio {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 2px;
- padding: 1px;
- }
- .van-radio[aria-checked='true'] {
- background: #fff;
- .van-radio__label {
- color: var(--primary-color);
- }
- }
- }
- }
- :global {
- .van-switch {
- background: url('./icons/off.svg') no-repeat center;
- background-size: cover;
- border-radius: 0;
- background-color: transparent !important;
- border: none !important;
- width: 24px;
- height: 12px;
- :global(.van-switch__node) {
- display: none;
- }
- }
- .van-switch.van-switch--on {
- background-image: url('./icons/on.svg');
- background-size: cover;
- }
- }
- .columnItem {
- display: flex;
- align-items: center;
- justify-content: space-between;
- position: relative;
- z-index: 9;
- background: #fff;
- .columnBtn {
- word-break: keep-all;
- margin-left: 6px;
- padding: 2px 6px;
- border-radius: 8px;
- background-color: var(--van-primary-color);
- color: #fff;
- font-size: 6px;
- cursor: pointer;
- }
- }
|