action-sheet.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. .t-float-left {
  2. float: left;
  3. }
  4. .t-float-right {
  5. float: right;
  6. }
  7. @keyframes tdesign-fade-out {
  8. from {
  9. opacity: 1;
  10. }
  11. to {
  12. opacity: 0;
  13. }
  14. }
  15. .hotspot-expanded.relative {
  16. position: relative;
  17. }
  18. .hotspot-expanded::after {
  19. content: '';
  20. display: block;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. right: 0;
  25. bottom: 0;
  26. transform: scale(1.5);
  27. }
  28. .t-action-sheet .flex-center {
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. }
  33. .t-action-sheet .ellipsis {
  34. word-wrap: normal;
  35. white-space: nowrap;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. }
  39. .t-action-sheet__grid {
  40. padding: 48rpx 0 16rpx 0;
  41. }
  42. .t-action-sheet__grid-item {
  43. margin-bottom: 32rpx;
  44. }
  45. .t-action-sheet__list {
  46. background-color: #fff;
  47. border-bottom: 1rpx solid #f6f6f6;
  48. }
  49. .t-action-sheet__list:last-child {
  50. border-bottom: none;
  51. }
  52. .t-action-sheet__list-item {
  53. height: 96rpx;
  54. display: flex;
  55. align-items: center;
  56. justify-content: center;
  57. }
  58. .t-action-sheet__list-item.t-is-disabled {
  59. color: rgba(0, 0, 0, 0.26);
  60. }
  61. .t-action-sheet__list-item-text {
  62. font-size: 32rpx;
  63. word-wrap: normal;
  64. white-space: nowrap;
  65. overflow: hidden;
  66. text-overflow: ellipsis;
  67. }
  68. .t-action-sheet__list-item-icon {
  69. margin-right: 16rpx;
  70. }
  71. .t-action-sheet__swiper-wrap {
  72. position: relative;
  73. background-color: #fff;
  74. }
  75. .t-action-sheet__square {
  76. height: 148rpx;
  77. margin-bottom: 32rpx;
  78. }
  79. .t-action-sheet__square-image {
  80. width: 72rpx;
  81. height: 72rpx;
  82. padding: 10rpx;
  83. }
  84. .t-action-sheet__square-text {
  85. width: 100%;
  86. margin-top: 10rpx;
  87. font-size: 28rpx;
  88. color: rgba(0, 0, 0, 0.9);
  89. text-align: center;
  90. word-wrap: normal;
  91. white-space: nowrap;
  92. overflow: hidden;
  93. text-overflow: ellipsis;
  94. }
  95. .t-action-sheet__footer {
  96. background-color: #fff;
  97. }
  98. .t-action-sheet__gap-list {
  99. height: 16rpx;
  100. background-color: #f3f3f3;
  101. }
  102. .t-action-sheet__gap-grid {
  103. height: 1rpx;
  104. background-color: #f3f3f3;
  105. }
  106. .t-action-sheet__cancel {
  107. display: flex;
  108. align-items: center;
  109. justify-content: center;
  110. height: 96rpx;
  111. }
  112. .t-action-sheet__dots {
  113. position: absolute;
  114. left: 50%;
  115. bottom: 32rpx;
  116. transform: translateX(-50%);
  117. display: flex;
  118. flex-direction: row;
  119. }
  120. .t-action-sheet__dots-item {
  121. width: 16rpx;
  122. height: 16rpx;
  123. background-color: #dcdcdc;
  124. border-radius: 50%;
  125. margin: 0 16rpx;
  126. transition: all 0.4s ease-in;
  127. }
  128. .t-action-sheet__dots-item.t-is-active {
  129. background-color: #0052d9;
  130. }
  131. .t-action-sheet__safe {
  132. padding-bottom: constant(safe-area-inset-bottom);
  133. padding-bottom: env(safe-area-inset-bottom);
  134. }