| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- @import './form-common.scss';
- .picker-popup {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 999;
- .picker-mask {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- }
- .picker-content {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- background-color: #FFFFFF;
- border-top-left-radius: 24rpx;
- border-top-right-radius: 24rpx;
- overflow: hidden;
- padding-bottom: env(safe-area-inset-bottom);
- .picker-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 100rpx;
- padding: 0 40rpx;
- border-bottom: 1rpx solid #F0F4FC;
- .btn-cancel {
- font-size: 30rpx;
- color: #999999;
- }
- .title {
- font-size: 32rpx;
- color: #333333;
- font-weight: 600;
- }
- .btn-confirm {
- font-size: 30rpx;
- color: #1F6CFF;
- }
- }
- .range-tabs-header {
- display: flex;
- border-bottom: 1rpx solid #F0F4FC;
- .tab-item {
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 30rpx 0;
- position: relative;
- .tab-label {
- font-size: 26rpx;
- color: #666666;
- margin-bottom: 8rpx;
- }
- .tab-val {
- font-size: 32rpx;
- color: #CCCCCC;
- font-weight: 500;
- }
- &.active {
- .tab-label {
- color: #333333;
- font-weight: bold;
- }
- .tab-val {
- color: #1F6CFF;
- }
- &::after {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- right: 0;
- border: 2rpx solid #1F6CFF;
- pointer-events: none;
- }
- }
- }
- }
- .picker-view {
- width: 100%;
- height: 400rpx;
- }
- .picker-item {
- line-height: 100rpx;
- text-align: center;
- font-size: 32rpx;
- color: #333333;
- }
- .picker-bottom-btn-area {
- padding: 30rpx 40rpx;
- padding-bottom: calc(env(safe-area-inset-bottom) + 30rpx);
- background-color: #FFFFFF;
- border-top: 1rpx solid #F0F4FC;
- .btn-bottom {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: 80rpx;
- background: linear-gradient(135deg, #1F6CFF 0%, #0052D9 100%);
- color: #FFFFFF;
- font-size: 28rpx;
- font-weight: 600;
- border-radius: 40rpx;
- transition: all 0.3s;
- box-shadow: 0 12rpx 24rpx rgba(31, 108, 255, 0.25);
- &:active {
- opacity: 0.8;
- transform: scale(0.98);
- box-shadow: 0 6rpx 12rpx rgba(31, 108, 255, 0.2);
- }
- }
- }
- }
- }
|