fighting_room.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. @import "../../utils/animate.wxss";
  2. @import "../../utils/base_bg.wxss";
  3. .header {
  4. display: flex;
  5. justify-content: space-between;
  6. align-items: center;
  7. padding: 60rpx;
  8. font-size: 32rpx;
  9. }
  10. .header view{
  11. text-align: center;
  12. }
  13. .header image {
  14. width: 120rpx;
  15. height: 120rpx;
  16. border-radius: 50%;
  17. border: 6rpx solid #fff;
  18. }
  19. .header .countdown {
  20. font-size: 70rpx;
  21. color: #fff;
  22. font-weight: bold;
  23. }
  24. .animated {
  25. animation-duration: 2s;
  26. animation-fill-mode: forwards;
  27. }
  28. .lightSpeedIn-left {
  29. animation-name: lightSpeedIn-left;
  30. animation-timing-function: ease-out;
  31. }
  32. @keyframes lightSpeedIn-left {
  33. from {
  34. transform: translate3d(-600%, 0, 0) skewX(-15deg);
  35. opacity: 0;
  36. }
  37. 60% {
  38. transform: skewX(15deg);
  39. opacity: 1;
  40. }
  41. 80% {
  42. transform: skewX(-5deg);
  43. opacity: 1;
  44. }
  45. to {
  46. transform: none;
  47. opacity: 1;
  48. }
  49. }
  50. .lightSpeedIn-right {
  51. animation-name: lightSpeedIn-right;
  52. animation-timing-function: ease-out;
  53. }
  54. @keyframes lightSpeedIn-right {
  55. from {
  56. transform: translate3d(600%, 0, 0) skewX(15deg);
  57. opacity: 0;
  58. }
  59. 60% {
  60. transform: skewX(-15deg);
  61. opacity: 1;
  62. }
  63. 80% {
  64. transform: skewX(5deg);
  65. opacity: 1;
  66. }
  67. to {
  68. transform: none;
  69. opacity: 1;
  70. }
  71. }
  72. .body {
  73. text-align: center;
  74. }
  75. .body .title {
  76. width: 80%;
  77. margin: 80rpx auto;
  78. }
  79. .body .content {
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: center;
  83. overflow: hidden;
  84. }
  85. .answer {
  86. display: flex;
  87. justify-content: space-between;
  88. color: #3883fa;
  89. background: #fff;
  90. border-radius: 20rpx;
  91. height: 100rpx;
  92. line-height: 100rpx;
  93. margin: 40rpx 0;
  94. position: relative;
  95. }
  96. .answer view {
  97. text-align: center;
  98. }
  99. .right {
  100. /*选择正确的答案颜色*/
  101. background: #3ede58;
  102. color: #fff;
  103. }
  104. .error {
  105. /*选择错误的答案颜色*/
  106. background: #e53117;
  107. color: #fff;
  108. }
  109. .invisible {
  110. display: none;
  111. }
  112. .sign {
  113. display: inline-block;
  114. font-weight: bold;
  115. font-size: 50rpx;
  116. position: absolute;
  117. height: 100rpx;
  118. line-height: 100rpx;
  119. left: 5%;
  120. }
  121. .process {
  122. width: 28rpx;
  123. height: 560rpx;
  124. border-radius: 17rpx;
  125. border: 6rpx solid #89d693;
  126. background: #15120b;
  127. transform: rotate(-180deg);
  128. margin: 0 30rpx;
  129. }
  130. .process_son {
  131. width: 28rpx;
  132. border-radius: 14rpx;
  133. background: #3ede58;
  134. }
  135. .summarize {
  136. position: absolute;
  137. top: 0rpx;
  138. z-index: 1000;
  139. width: 100%;
  140. text-align: center;
  141. }
  142. .body_summarize {
  143. margin-top: 200rpx;
  144. }
  145. .exp {
  146. display: flex;
  147. justify-content: center;
  148. font-size: 40rpx;
  149. margin: 100rpx 0;
  150. }
  151. .body_summarize button {
  152. font-weight: bold;
  153. width: 60%;
  154. margin-top: 40rpx;
  155. color: #fff;
  156. height: 92rpx;
  157. line-height: 80rpx;
  158. background: transparent;
  159. border: 6rpx solid #fff;
  160. }
  161. .animated_zoomIn {
  162. animation-duration: 1.5s;
  163. }