select.scss 671 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .cl-select {
  2. position: relative;
  3. width: 100%;
  4. padding-left: 20rpx;
  5. padding-right: 60rpx;
  6. font-size: 26rpx;
  7. box-sizing: border-box;
  8. picker {
  9. height: 70rpx;
  10. line-height: 70rpx;
  11. }
  12. &__inner {
  13. height: 70rpx;
  14. line-height: 70rpx;
  15. }
  16. &__value {
  17. display: inline-block;
  18. height: 70rpx;
  19. width: 100%;
  20. }
  21. &__icon {
  22. position: absolute;
  23. right: 18rpx;
  24. top: 0;
  25. }
  26. &__placeholder {
  27. color: #999;
  28. }
  29. &.is-disabled {
  30. color: #c0c4cc;
  31. .cl-select__placeholder {
  32. color: #c0c4cc;
  33. }
  34. &.is-border {
  35. background-color: #f5f7fa;
  36. }
  37. }
  38. &.is-border {
  39. border: 1rpx solid #dcdfe6;
  40. border-radius: 8rpx;
  41. }
  42. }
  43. .cl-select-region {
  44. width: 100%;
  45. }