picker.wxss 591 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* templates/picker/picker.wxss */
  2. .picker-container {
  3. position: fixed;
  4. width: 100%;
  5. height: 100%;
  6. top: 0;
  7. left: 0;
  8. background: rgba(0, 0, 0, .2);
  9. z-index: 99;
  10. }
  11. .picker-cancel {
  12. position: absolute;
  13. width: 100%;
  14. height: 100%;
  15. }
  16. .picker-list {
  17. position: absolute;
  18. width: 100%;
  19. bottom: 0;
  20. left: 0;
  21. max-height: 80%;
  22. overflow: scroll;
  23. -webkit-overflow-scrolling: touch;
  24. background: #fff;
  25. z-index: 9;
  26. }
  27. .picker-li {
  28. padding: 30rpx;
  29. font-size: 30rpx;
  30. color: #393939;
  31. text-align: center;
  32. }
  33. .picker-li-active {
  34. background: #FF6465;
  35. color: #fff;
  36. }