/* components/timePicker/timePicker.wxss */ .picker-item{ line-height: 100rpx; display: flex; justify-content: center; align-items: center; } /* 自定义时间 */ .picker-container { display: flex; flex-direction: column; /* justify-content: center; */ align-items: center; width: 100%; overflow: hidden; position: fixed; bottom: -640rpx; left: 0; /* height: 0; */ transition: height 0.5s; z-index: 2000; background: white; border-top: 1px solid #EFEFF4; } .sensorType-screen{ width: 100vw; /* height:400rpx; */ position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #000; opacity: 0; overflow: hidden; z-index: 1999; color: #fff; } .sensorTypePicker{ width: 690rpx; height: 240rpx; /* padding: 45px 0; */ } .picker-item{ line-height: 100rpx; display: flex; justify-content: center; align-items: center; font-size: 32rpx; /* overflow: hidden; */ } .box{ padding: 0 20rpx; } /* 至 */ .to{ width:100%; display: flex; justify-content: center;align-items: center; color:rgb(138,138,138); /* font-size:30rpx; */ } /* 确定 */ .sure{ width:100%; height:90rpx; border-top: 2rpx solid #EFEFF4; display: flex;justify-content: center;align-items: center; color: rgb(36,123,255); font-size:16px; } .btn-box{ width: 100%; display: flex; justify-content: space-between; align-items: center; border-bottom: 2rpx solid #eee; } .pick_btn{ padding: 14rpx 30rpx; color: #ccc; /* background-color: #159; */ } .show_picker{ /* height: 320px; */ } .hide_picker{ /* height: 0; */ }