index.scss 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .lys-date {
  2. position: fixed;
  3. z-index: 999;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. bottom: constant(safe-area-inset-bottom); /* 兼容 iOS < 11.2 */
  8. bottom: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */
  9. background-color: rgba(0, 0, 0, 0.4);
  10. &-con {
  11. position: fixed;
  12. z-index: 998;
  13. bottom: constant(safe-area-inset-bottom); /* 兼容 iOS < 11.2 */
  14. bottom: env(safe-area-inset-bottom); /* 兼容 iOS >= 11.2 */
  15. left: 0;
  16. right: 0;
  17. height: 700rpx;
  18. background-color: #fff;
  19. border-top-left-radius: 20rpx;
  20. border-top-right-radius: 20rpx;
  21. &-title {
  22. display: flex;
  23. align-items: center;
  24. justify-content: center;
  25. padding: 30rpx;
  26. background-color: #fafafa;
  27. margin-bottom: 10rpx;
  28. border-top-left-radius: 20rpx;
  29. border-top-right-radius: 20rpx;
  30. & > view:nth-child(1) {
  31. width: 100rpx;
  32. color: #999999;
  33. }
  34. & > view:nth-child(2) {
  35. flex: 1;
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. flex-direction: column;
  40. font-size: 30rpx;
  41. }
  42. & > view:nth-child(3) {
  43. width: 100rpx;
  44. padding: 10rpx;
  45. display: flex;
  46. align-items: center;
  47. justify-content: center;
  48. border-radius: 10%;
  49. background-color: blue;
  50. color: #fff;
  51. }
  52. }
  53. &-sel {
  54. width: 690rpx;
  55. height: 60rpx;
  56. margin: 0 auto;
  57. padding: 2rpx 6rpx;
  58. border-radius: 6rpx;
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. background-color: #f3f4f8;
  63. & > view {
  64. flex: 1;
  65. display: flex;
  66. align-items: center;
  67. justify-content: center;
  68. }
  69. .sel {
  70. background-color: #fff;
  71. border-radius: 6rpx;
  72. }
  73. }
  74. &-picker {
  75. .picker-view {
  76. height: 450rpx;
  77. }
  78. .item {
  79. line-height: 100rpx;
  80. text-align: center;
  81. }
  82. }
  83. }
  84. }