ToastW3.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. .page-total{
  2. position: fixed;
  3. left: 0;
  4. top: 0;
  5. display: flex;
  6. justify-content: center;
  7. align-items: center;
  8. width: 100%;
  9. height: 100%;
  10. background-color: rgba(0,0,0,0.5);
  11. z-index: 99999;
  12. // position: fixed; /* 固定定位,覆盖整个视口 */
  13. // top: 0;
  14. // left: 0;
  15. // width: 100%;
  16. // height: 100%;
  17. // background: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
  18. // display: flex; /* 使用 Flexbox 居中 */
  19. // justify-content: center; /* 水平居中 */
  20. // align-items: center; /* 垂直居中 */
  21. // z-index: 1000; /* 确保它处于最前面 */
  22. }
  23. .box{
  24. display: flex;
  25. justify-content: center;
  26. width: 100%;
  27. }
  28. /* 文件重命名 */
  29. .dialog-box{
  30. background-color: #ffffff;
  31. width:auto;height:auto;
  32. padding:10rpx 50rpx;
  33. border-radius: 8rpx;
  34. overflow: hidden;
  35. position: relative;
  36. display: flex;flex-direction: row;justify-content: center;align-items: center;
  37. .title{
  38. display: flex;
  39. justify-content: center;
  40. align-items: center;
  41. width: 100%;
  42. font-size: 28rpx;
  43. color: #000000;
  44. }
  45. }
  46. .a-fadein,
  47. .a-fadeinT,
  48. .a-fadeinR,
  49. .a-fadeinB,
  50. .a-fadeinL,
  51. .a-bouncein,
  52. .a-bounceinT,
  53. .a-bounceinR,
  54. .a-bounceinB,
  55. .a-bounceinL,
  56. .a-rotatein,
  57. .a-rotateinLT,
  58. .a-rotateinLB,
  59. .a-rotateinRT,
  60. .a-rotateinRB,
  61. .a-flipin,
  62. .a-flipinX,
  63. .a-flipinY {
  64. -webkit-animation: .3s ease-out backwards;
  65. -moz-animation: .3s ease-out backwards;
  66. -ms-animation: .3s ease-out backwards;
  67. -moz-transform: translate3d(0,0,0);
  68. -ms-transform: translate3d(0,0,0);
  69. -o-transform: translate3d(0,0,0);
  70. transform: translate3d(0,0,0);
  71. }
  72. .a-fadeout,
  73. .a-fadeoutT,
  74. .a-fadeoutR,
  75. .a-fadeoutB,
  76. .a-fadeoutL,
  77. .a-bounceout,
  78. .a-bounceoutT,
  79. .a-bounceoutR,
  80. .a-bounceoutB,
  81. .a-bounceoutL,
  82. .a-rotateout,
  83. .a-rotateoutLT,
  84. .a-rotateoutLB,
  85. .a-rotateoutRT,
  86. .a-rotateoutRB,
  87. .a-flipoutX,
  88. .a-flipoutY {
  89. -webkit-animation: .3s ease-in forwards;
  90. -moz-animation: .3s ease-in forwards;
  91. -ms-animation: .3s ease-in forwards;
  92. animation: .3s ease-in forwards;
  93. -moz-transform: translate3d(0,0,0);
  94. -ms-transform: translate3d(0,0,0);
  95. -o-transform: translate3d(0,0,0);
  96. transform: translate3d(0,0,0);
  97. }
  98. /* 淡入 */
  99. .a-fadein {
  100. -webkit-animation-name: fadein;
  101. -moz-animation-name: fadein;
  102. -ms-animation-name: fadein;
  103. animation-name: fadein;
  104. }
  105. /* 淡出 */
  106. .a-fadeout {
  107. -webkit-animation-name: fadeout;
  108. -moz-animation-name: fadeout;
  109. -ms-animation-name: fadeout;
  110. animation-name: fadeout;
  111. }
  112. /* 弹入 */
  113. .a-bouncein {
  114. -webkit-animation-name: bouncein;
  115. -moz-animation-name: bouncein;
  116. -ms-animation-name: bouncein;
  117. animation-name: bouncein;
  118. }
  119. /* 弹出 */
  120. .a-bounceout {
  121. -webkit-animation-name: bounceout;
  122. -moz-animation-name: bounceout;
  123. -ms-animation-name: bounceout;
  124. animation-name: bounceout;
  125. }
  126. /* 淡入 */
  127. @keyframes fadein {
  128. 0% {
  129. opacity: 0;
  130. }
  131. 100% {
  132. opacity: 1;
  133. }
  134. }
  135. /* 淡出 */
  136. @keyframes fadeout {
  137. 0% {
  138. opacity: 1;
  139. }
  140. 100% {
  141. opacity: 0;
  142. }
  143. }
  144. /* 弹入 */
  145. @keyframes bouncein {
  146. 0% {
  147. opacity: 0;
  148. transform: scale(0.3);
  149. }
  150. 100% {
  151. opacity: 1;
  152. transform: scale(1);
  153. }
  154. }
  155. /* 弹出 */
  156. @keyframes bounceout {
  157. 0% {
  158. opacity: 1;
  159. transform: scale(1);
  160. }
  161. 100% {
  162. opacity: 0;
  163. transform: scale(0.3);
  164. }
  165. }