.t-float-left { float: left; } .t-float-right { float: right; } @keyframes tdesign-fade-out { from { opacity: 1; } to { opacity: 0; } } .hotspot-expanded.relative { position: relative; } .hotspot-expanded::after { content: ''; display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0; transform: scale(1.5); } .t-picker { position: relative; background-color: #ffffff; font-size: 32rpx; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); } .t-picker__toolbar { display: flex; align-items: center; justify-content: space-between; overflow: hidden; height: 96rpx; box-shadow: inset 0 -1rpx 0 0 #e6e6e6; } .t-picker__title { flex: 1; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #000000; font-weight: 500; } .t-picker__cancel, .t-picker__confirm { display: flex; align-items: center; justify-content: center; user-select: none; font-size: 32rpx; height: 100%; padding: 0 32rpx; } .t-picker__cancel { color: #444444; } .t-picker__confirm { color: #0052d9; } .t-picker__main { position: relative; display: flex; } .t-picker__mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0 auto; z-index: 3; background-image: linear-gradient(top, #fff, hsla(0, 0%, 100%, 0.4)), -webkit-linear-gradient(bottom, hsla(0, 0%, 100%, 0.92), hsla(0, 0%, 100%, 0.4)); background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0.92), hsla(0, 0%, 100%, 0.4)), linear-gradient(0deg, hsla(0, 0%, 100%, 0.92), hsla(0, 0%, 100%, 0.4)); background-size: 100% 160rpx; background-repeat: no-repeat; background-position: top, bottom; transform: translateZ(0); backface-visibility: hidden; pointer-events: none; } .t-picker__indicator { width: 100%; height: 80rpx; position: absolute; left: 0; top: 160rpx; z-index: 3; pointer-events: none; } .t-picker__indicator::before { content: ' '; position: absolute; left: 0; top: 0; right: 0; height: 1rpx; border-top: 1rpx solid #e6e6e6; color: #e6e6e6; transform-origin: 0 0; } .t-picker__indicator::after { content: ' '; position: absolute; left: 0; bottom: 0; right: 0; height: 1rpx; transform-origin: 0 100%; color: #e6e6e6; border-bottom: 1rpx solid #e6e6e6; }