pyh-rdtpicker.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. .pickerMask {
  2. position: fixed;
  3. z-index: 998;
  4. top: 0;
  5. right: 0;
  6. left: 0;
  7. bottom: 0;
  8. background: rgba(0, 0, 0, 0.6);
  9. }
  10. .r-dtpicker {
  11. position: fixed;
  12. bottom: 0;
  13. left: 0;
  14. width: 100%;
  15. /*height: 600upx;*/
  16. -webkit-transition: all 0.3s ease;
  17. transition: all 0.3s ease;
  18. -webkit-transform: translateY(100%);
  19. transform: translateY(100%);
  20. z-index: 998;
  21. }
  22. .r-dtpicker-show {
  23. -webkit-transform: translateY(0);
  24. transform: translateY(0);
  25. }
  26. .rdtBtn {
  27. display: -webkit-box;
  28. display: -webkit-flex;
  29. display: flex;
  30. padding: 20rpx 15rpx;
  31. background-color: #fff;
  32. position: relative;
  33. text-align: center;
  34. font-size: 32rpx;
  35. }
  36. .rdtBtn:after {
  37. content: ' ';
  38. position: absolute;
  39. left: 0;
  40. bottom: 0;
  41. right: 0;
  42. height: 1rpx;
  43. border-bottom: 1rpx solid #e5e5e5;
  44. color: #e5e5e5;
  45. -webkit-transform-origin: 0 100%;
  46. transform-origin: 0 100%;
  47. -webkit-transform: scaleY(0.5);
  48. transform: scaleY(0.5);
  49. }
  50. .rdtBtn view{
  51. display: block;
  52. -webkit-box-flex: 1;
  53. -webkit-flex: 1;
  54. flex: 1;
  55. color: #1aad19;
  56. }
  57. .rdtBtn view:first-child {
  58. text-align: left;
  59. color: #888;
  60. }
  61. .rdtBtn view:last-child {
  62. text-align: right;
  63. }
  64. .picker-item {
  65. text-align: center;
  66. line-height: 40rpx;
  67. font-size: 24rpx;
  68. }
  69. .mpvue-picker-view {
  70. position: relative;
  71. bottom: 0;
  72. left: 0;
  73. width: 100%;
  74. height: 400rpx;
  75. background-color: rgba(255, 255, 255, 1);
  76. }
  77. .rangeBox{
  78. background: #fff;
  79. display: -webkit-box;
  80. display: -webkit-flex;
  81. display: flex;
  82. -webkit-box-pack: center;
  83. -webkit-justify-content: center;
  84. justify-content: center;
  85. padding: 15rpx 0;
  86. font-size: 26rpx;
  87. -webkit-box-align: center;
  88. -webkit-align-items: center;
  89. align-items: center;
  90. }
  91. .rangeBox input{
  92. width: 180rpx;
  93. margin: 0 10rpx;
  94. text-align: center;
  95. -webkit-box-align: center;
  96. -webkit-align-items: center;
  97. align-items: center;
  98. display: -webkit-box;
  99. display: -webkit-flex;
  100. display: flex;
  101. min-height: auto;
  102. border-bottom: 1rpx solid #000;
  103. }