123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- .header-settting {
- position: relative;
- }
- .noticebar{
- border-radius: 8px;
- }
- .closeBtn {
- position: absolute;
- right: -12px;
- top: -12px;
- width: 28px;
- height: 28px;
- border-radius: 50%;
- overflow: hidden;
- z-index: 10;
- img {
- width: 100%;
- height: 100%;
- display: block;
- }
- &:active {
- opacity: .8;
- }
- }
- .content {
- position: relative;
- overflow: hidden;
- border-radius: 18px;
- width: 300px;
- height: 86vh;
- background-color: #fff;
- max-height: 310px;
- --van-tabs-line-height: 50px;
- --van-tab-active-text-color: var(--van-primary-color);
- :global {
- .van-tab__panel {
- position: relative;
- height: calc(86vh - 50px);
- max-height: calc(310px - 50px);
- overflow-y: auto;
- padding: 0 20px 10px 20px;
- &::-webkit-scrollbar {
- width: 0;
- display: none;
- }
- }
- .van-tabs__nav--line {
- padding-bottom: 0;
- }
- .van-tabs__line {
- bottom: 0;
- }
- .van-cell {
- padding-left: 0;
- padding-right: 0;
- overflow: visible;
- &:after {
- left: 0;
- right: 0;
- border-color: #F0F0F0;
- }
- }
- .van-cell__value{
- overflow: visible;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- }
- .van-switch {
- background-color: transparent !important;
- background-image: url('../image/off.svg');
- background-repeat: no-repeat;
- background-size: 100% 100%;
- background-position: center;
- border-radius: 0;
- &.van-switch--on {
- background-image: url('../image/on.svg');
- }
- .van-switch__node {
- display: none;
- }
- }
- .van-notice-bar__content {
- font-size: 12px;
- }
- }
- }
- .reactionTime {
- :global {
- .van-cell__title {
- width: 60%;
- }
- .van-cell__value {
- text-align: right;
- }
- }
- }
- .radioGroup {
- display: flex;
- align-items: center;
- border-radius: 4px;
- background: var(--van-primary-color);
- padding: 4px;
- :global {
- .van-radio {
- display: flex;
- align-items: center;
- justify-content: center;
- margin: 0 3px;
- border-radius: 4px;
- padding: 0 6px;
- }
- .van-radio__icon {
- display: none;
- }
- .van-radio__label {
- margin: 0 auto;
- font-size: 10px;
- color: #fff;
- font-weight: bold;
- white-space: nowrap;
- text-align: center;
- }
- .van-radio[aria-checked='true'] {
- background: #fff;
- .van-radio__label {
- color: var(--van-primary-color);
- font-weight: bold;
- }
- }
- }
- }
- .sliderWrap {
- :global {
- .var-cell__extra {
- flex: 2;
- }
- }
- }
- .slider {
- width: 60%;
- margin-right: 20px;
- .sliderBtn {
- width: 40px;
- color: #fff;
- font-size: 12px;
- line-height: 20px;
- text-align: center;
- background-color: var(--van-primary-color);
- border-radius: 20px;
- }
- }
- .btnsbar {
- position: absolute;
- bottom: 12px;
- left: 0;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-evenly;
- .btn {
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- width: 30%;
- height: 30px;
- padding: 0 6px;
- border-radius: 6px;
- font-size: 10px;
- background: #fff6e8;
- color: #6c442d;
- border: none;
- white-space: nowrap;
- & > img {
- width: 20px;
- }
- &:active{
- opacity: .8;
- }
- }
- }
|