| | |
| | | 开关 |
| | | ==================== */ |
| | | |
| | | switch, |
| | | /* switch, |
| | | checkbox, |
| | | radio { |
| | | position: relative; |
| | | } |
| | | |
| | | */ |
| | | switch::after, |
| | | switch::before { |
| | | font-family: "cuIcon"; |
| | |
| | | left: auto; |
| | | } |
| | | |
| | | switch[checked]::after, |
| | | /* switch[checked]::after, |
| | | switch.checked::after { |
| | | transform: scale(1, 1); |
| | | } |
| | | } */ |
| | | |
| | | switch[checked]::before, |
| | | switch.checked::before { |
| | |
| | | } |
| | | |
| | | /* #ifndef MP-ALIPAY */ |
| | | radio::before, |
| | | /* radio::before, |
| | | checkbox::before { |
| | | font-family: "cuIcon"; |
| | | content: "\e645"; |
| | |
| | | transform: scale(1, 1); |
| | | transition: all 0.3s ease-in-out 0s; |
| | | z-index: 9; |
| | | } |
| | | } */ |
| | | |
| | | radio .wx-radio-input, |
| | | /* radio .wx-radio-input, |
| | | checkbox .wx-checkbox-input, |
| | | radio .uni-radio-input, |
| | | checkbox .uni-checkbox-input { |
| | |
| | | checkbox.round .wx-checkbox-input, |
| | | checkbox.round .uni-checkbox-input { |
| | | border-radius: 100upx; |
| | | } |
| | | } */ |
| | | |
| | | /* #endif */ |
| | | |
| | |
| | | |
| | | switch .wx-switch-input::before, |
| | | radio.radio::before, |
| | | checkbox .wx-checkbox-input::before, |
| | | /* checkbox .wx-checkbox-input::before, */ |
| | | radio .wx-radio-input::before, |
| | | switch .uni-switch-input::before, |
| | | radio.radio::before, |
| | | checkbox .uni-checkbox-input::before, |
| | | /* checkbox .uni-checkbox-input::before, */ |
| | | radio .uni-radio-input::before { |
| | | display: none; |
| | | } |