dialog.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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-dialog__wrapper .t-dialog {
  29. overflow: hidden;
  30. width: 644rpx;
  31. border-radius: 16rpx;
  32. background-color: #fff;
  33. }
  34. .t-dialog__wrapper .t-dialog__content {
  35. padding: 64rpx 48rpx;
  36. min-height: 176rpx;
  37. max-height: 776rpx;
  38. box-sizing: border-box;
  39. display: flex;
  40. flex-direction: column;
  41. justify-content: center;
  42. font-size: 32rpx;
  43. line-height: 1.5;
  44. }
  45. .t-dialog__wrapper .t-dialog__header {
  46. text-align: center;
  47. font-weight: bold;
  48. font-size: 32rpx;
  49. line-height: 1.5;
  50. color: #000000;
  51. }
  52. .t-dialog__wrapper .t-dialog__body {
  53. overflow-y: scroll;
  54. text-align: center;
  55. -webkit-overflow-scrolling: touch;
  56. font-size: 32rpx;
  57. color: #888888;
  58. margin-top: 32rpx;
  59. }
  60. .t-dialog__wrapper .t-dialog__body--without-title {
  61. margin-top: 0;
  62. }
  63. .t-dialog__wrapper .t-dialog__body-text {
  64. word-wrap: break-word;
  65. }
  66. .t-dialog__wrapper .t-dialog__body--left {
  67. text-align: left;
  68. }
  69. .t-dialog__wrapper .t-dialog__body--right {
  70. text-align: right;
  71. }
  72. .t-dialog__wrapper .t-dialog__footer {
  73. display: flex;
  74. }
  75. .t-dialog__wrapper .t-dialog__footer-button-host {
  76. width: 100%;
  77. }
  78. .t-dialog__wrapper .t-dialog__footer--column {
  79. flex-flow: column-reverse;
  80. }
  81. .t-dialog__wrapper .t-dialog__footer--column .t-dialog__button {
  82. width: 100%;
  83. }
  84. .t-dialog__wrapper .t-dialog__button {
  85. display: flex;
  86. align-items: center;
  87. justify-content: center;
  88. flex: 1;
  89. font-size: 32rpx;
  90. padding: 0 48rpx;
  91. background-color: #fff;
  92. width: 644rpx;
  93. height: 112rpx;
  94. line-height: 112rpx;
  95. border-radius: 0;
  96. border: 0;
  97. }
  98. .t-dialog__wrapper .t-dialog__button:before {
  99. content: ' ';
  100. position: absolute;
  101. box-sizing: border-box;
  102. top: 0;
  103. left: 0;
  104. border-top: 1px solid #e7e7e7;
  105. border-left: 1px solid #e7e7e7;
  106. transform: scale(0.5);
  107. transform-origin: 0 0;
  108. width: 200%;
  109. height: 200%;
  110. }
  111. .t-dialog__wrapper .t-dialog__button-half {
  112. width: 322rpx;
  113. }
  114. .t-dialog__wrapper .t-dialog__button-confirm {
  115. color: #0052d9;
  116. font-weight: bold;
  117. }
  118. .t-dialog__wrapper .t-dialog__button-cancel {
  119. color: #000000;
  120. font-weight: normal;
  121. }
  122. .t-dialog__wrapper .t-dialog__button-bounce-enter {
  123. transform: translate3d(-50%, -50%, 0) scale(0.7);
  124. opacity: 0;
  125. }
  126. .t-dialog__wrapper .t-dialog__button-bounce-leave-active {
  127. transform: translate3d(-50%, -50%, 0) scale(0.9);
  128. opacity: 0;
  129. }
  130. .t-dialog__wrapper .t-dialog__button::after {
  131. border-radius: 0;
  132. border-color: rgba(0, 0, 0, 0.05);
  133. }
  134. .t-dialog__wrapper .t-dialog__text + .t-dialog__input {
  135. margin-top: 48rpx;
  136. }
  137. .t-dialog__wrapper .t-dialog__input {
  138. width: 100%;
  139. background-color: #f0f0f0;
  140. font-size: 32rpx;
  141. color: #000000;
  142. border-radius: 16rpx / 2;
  143. height: 96rpx;
  144. line-height: 1.5;
  145. padding: 24rpx;
  146. margin-top: 24rpx;
  147. box-sizing: border-box;
  148. text-align: left;
  149. }
  150. .t-dialog__wrapper .t-dialog__input-placeholder {
  151. color: #bbbbbb;
  152. }