index.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. @keyframes text-animate-right {
  2. 33% {
  3. margin-left: -5px;
  4. }
  5. 66% {
  6. margin-left: 5px;
  7. }
  8. 100% {
  9. margin-left: 0px;
  10. }
  11. }
  12. @keyframes text-animate-midd {
  13. 0% {
  14. margin-left: 22px;
  15. }
  16. 100% {
  17. margin-left: 0px;
  18. }
  19. }
  20. @keyframes text-animate-left {
  21. 33% {
  22. margin-left: 5px;
  23. }
  24. 66% {
  25. margin-left: -5px;
  26. }
  27. 100% {
  28. margin-left: 0px;
  29. }
  30. }
  31. .text-move-right {
  32. animation-name: text-animate-right;
  33. animation-duration: 500ms;
  34. }
  35. .text-move-left {
  36. animation-name: text-animate-left;
  37. animation-duration: 500ms;
  38. }
  39. .text-move-midd {
  40. animation-name: text-animate-midd;
  41. animation-duration: 500ms;
  42. }
  43. .ant-swipe {
  44. width: 100%;
  45. height: 100%;
  46. overflow: hidden;
  47. }
  48. .ant-swipe-action {
  49. height: 100%;
  50. position: relative;
  51. }
  52. .ant-swipe-action-movable {
  53. width: 100%;
  54. height: 100%;
  55. }
  56. .ant-swipe-action-movable-content {
  57. height: 100%;
  58. position: relative;
  59. }
  60. .ant-swipe-action-movable-content-view {
  61. height: 100%;
  62. }
  63. .ant-swipe-action-movable-content-view-modal {
  64. width: 100%;
  65. height: 100%;
  66. background: transparent;
  67. position: absolute;
  68. left: 0;
  69. top: 0;
  70. z-index: 9;
  71. }
  72. .ant-swipe-action-movable-content-right {
  73. height: 100%;
  74. color: #ffffff;
  75. }
  76. .ant-swipe-action-movable-content-right-text {
  77. height: 100%;
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. transition: all 120ms cubic-bezier(0.2, 0.2, 0.8, 1);
  82. }
  83. .ant-swipe-action-movable-content-right-text .right-text {
  84. text-align: center;
  85. white-space: nowrap;
  86. }
  87. .ant-swipe-action-movable-content-left {
  88. position: absolute;
  89. right: 0;
  90. top: 0;
  91. color: #ffffff;
  92. display: flex;
  93. flex-direction: row;
  94. justify-content: flex-end;
  95. }
  96. .ant-swipe-action-movable-content-left-text1 {
  97. height: 100%;
  98. display: flex;
  99. align-items: center;
  100. justify-content: flex-end;
  101. transition: all 120ms cubic-bezier(0.2, 0.2, 0.8, 1);
  102. }
  103. .ant-swipe-action-movable-content-left-text1 .right-text {
  104. text-align: center;
  105. white-space: nowrap;
  106. }
  107. .ant-swipe-action-is-right-swipe {
  108. display: flex;
  109. flex-direction: row;
  110. justify-content: flex-end;
  111. }