123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- /* components/w-picker/index.wxss */
- .van-picker {
- --main-color: #1cacf1 !important;
- }
- .van-picker__toolbar,
- .toolbar-top {
- margin: 0 14rpx !important;
- padding: 0 14rpx !important;
- border-bottom: 2rpx solid #f2f2f2;
- height: auto !important;
- line-height: normal !important;
- }
- .van-picker__cancel,
- .van-picker__confirm,
- .toolbar-cancel {
- font-size: 32rpx !important;
- padding: 28rpx 0 !important;
- color: #777777 !important;
- }
- .van-picker__confirm {
- color: var(--main-color) !important;
- }
- .toolbar-top {
- --main-color: #1cacf1 !important;
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin: 0 14rpx !important;
- padding: 0 14rpx !important;
- border-bottom: 2rpx solid #f2f2f2;
- height: auto !important;
- line-height: normal !important;
- .toolbar-confirm {
- color: var(--main-color) !important;
- }
- }
- .van-picker-column__item--selected {
- font-weight: 600;
- font-size: 32rpx;
- color: var(--main-color) !important;
- }
- .van-picker-column {
- position: relative;
- z-index: 1;
- }
- .van-picker__frame {
- z-index: 0 !important;
- left: 0 !important;
- right: 0 !important;
- &::after {
- background: #f6f6f6;
- border-radius: 8px;
- }
- }
- .van-picker__columns {
- width: calc(100% - 32px) !important;
- margin: 0 auto;
- }
|