bonusTips.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /* pages/components/bonusTips/bonusTips.wxss */
  2. .bg_container {
  3. position: fixed;
  4. left: 0;
  5. right: 0;
  6. top: 0;
  7. bottom: 0;
  8. max-width: 750rpx;
  9. margin: auto;
  10. z-index: 1000;
  11. }
  12. .bg {
  13. position: relative;
  14. z-index: 1;
  15. width: 100%;
  16. height: 100%;
  17. background: rgba(0, 0, 0, .6);
  18. }
  19. .content {
  20. position: absolute;
  21. z-index: 2;
  22. left: 50%;
  23. top: 50%;
  24. margin-left: -245rpx;
  25. margin-top: -315rpx;
  26. width: 490rpx;
  27. height: 630rpx;
  28. padding-top:228rpx;
  29. box-sizing: border-box;
  30. opacity: 0;
  31. transform: translate3d(0, -1000rpx, 0);
  32. }
  33. .content.animation {
  34. animation: bonus_move .7s ease-in-out .5s forwards;
  35. }
  36. .common_bg {
  37. position: absolute;
  38. z-index: 2;
  39. left: 0;
  40. top: 0;
  41. width: 100%;
  42. height: 100%;
  43. }
  44. .common_position {
  45. position: relative;
  46. z-index: 3;
  47. }
  48. .bonus_dialog_title {
  49. font-weight: bold;
  50. font-size: 36rpx;
  51. color: #FFDB6B;
  52. text-align: center;
  53. line-height: 50rpx;
  54. }
  55. .bonus_dialog_subtitle {
  56. margin-top: 5rpx;
  57. line-height: 42rpx;
  58. font-size: 30rpx;
  59. color: #FFDB6B;
  60. text-align: center;
  61. }
  62. .bonus_bg {
  63. width: 352rpx;
  64. height: 132rpx;
  65. margin: 35rpx auto 20rpx;
  66. }
  67. .see_bonus, .bonus_total {
  68. display: flex;
  69. align-items: center;
  70. justify-content: center;
  71. width: 100%;
  72. height: 100%;
  73. color: #E73636;
  74. font-weight: bold;
  75. }
  76. .bonus_total {
  77. font-size: 60rpx;
  78. }
  79. .see_bonus {
  80. font-size: 30rpx;
  81. }
  82. .enter_bg {
  83. width: 340rpx;
  84. height: 76rpx;
  85. margin: auto;
  86. }
  87. .f30 {
  88. font-size: 30rpx;
  89. }
  90. .ml5 {
  91. margin-left: 5rpx;
  92. }
  93. .close_tips {
  94. position: absolute;
  95. right: -26rpx;
  96. top: -32rpx;
  97. z-index: 5;
  98. width: 64rpx;
  99. height: 64rpx;
  100. }
  101. @keyframes bonus_move {
  102. 0% {
  103. opacity: 0;
  104. transform: translate3d(0, -1000rpx, 0);
  105. }
  106. 100% {
  107. opacity: 1;
  108. transform: translate3d(0, 0, 0);
  109. }
  110. }
  111. .one_line_hidden {
  112. white-space: nowrap;
  113. text-overflow: ellipsis;
  114. overflow: hidden;
  115. }