index.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. .activityDet {
  2. width: 100vw;
  3. min-height: 100vh;
  4. background-color: #f2f6fc;
  5. }
  6. .activityDet .header {
  7. position: relative;
  8. width: 100%;
  9. height: 600rpx;
  10. overflow: hidden;
  11. }
  12. .activityDet .header .templateImg {
  13. position: relative;
  14. width: 100%;
  15. height: 100%;
  16. z-index: 2;
  17. }
  18. .activityDet .header .toBox {
  19. position: absolute;
  20. display: flex;
  21. align-items: center;
  22. z-index: 3;
  23. }
  24. .activityDet .header .toBox .text {
  25. min-width: 80rpx;
  26. color: white;
  27. padding: 0rpx 4rpx;
  28. z-index: 0rpx;
  29. border: 2rpx dashed white;
  30. }
  31. .activityDet .header .toBox image {
  32. width: 22rpx;
  33. height: 26rpx;
  34. margin-left: 8rpx;
  35. z-index: 1;
  36. }
  37. .activityDet .header .avatar {
  38. position: absolute;
  39. display: flex;
  40. flex-direction: column;
  41. align-items: center;
  42. justify-content: flex-end;
  43. z-index: 3;
  44. }
  45. .activityDet .header .avatar .tips {
  46. width: 150rpx;
  47. font-size: 24rpx;
  48. padding: 4rpx 20rpx;
  49. border-radius: 50rpx;
  50. color: white;
  51. background-color: rgba(0, 0, 0, 0.4);
  52. }
  53. .activityDet .header .avatarImg {
  54. position: absolute;
  55. display: block;
  56. }
  57. .activityDet .header .progressBox {
  58. position: absolute;
  59. bottom: 0px;
  60. left: 0px;
  61. padding: 20rpx 40rpx;
  62. box-sizing: border-box;
  63. width: 100%;
  64. background-color: rgba(0, 0, 0, 0.5);
  65. z-index: 2;
  66. display: flex;
  67. align-items: center;
  68. color: white;
  69. font-size: 24rpx;
  70. }
  71. .activityDet .header .progressBox .progress {
  72. flex: 1;
  73. margin: 0px 30rpx;
  74. border-radius: 25rpx;
  75. overflow: hidden;
  76. }
  77. .activityDet .btnsBox {
  78. margin-top: 40rpx;
  79. position: relative;
  80. text-align: center;
  81. font-size: 0rpx;
  82. }
  83. .activityDet .btnsBox .recordingBox {
  84. position: relative;
  85. display: inline-block;
  86. margin: 0 auto;
  87. }
  88. .activityDet .btnsBox .recordingBox .readingNow {
  89. position: absolute;
  90. left: 66rpx;
  91. top: 26rpx;
  92. width: 40rpx;
  93. height: 30rpx;
  94. }
  95. .activityDet .btnsBox .send {
  96. width: 313rpx;
  97. height: 88rpx;
  98. }
  99. .activityDet .btnsBox .countDown {
  100. position: absolute;
  101. right: 20rpx;
  102. top: 0px;
  103. bottom: 0px;
  104. margin: auto;
  105. display: flex;
  106. align-items: center;
  107. color: #FD3545;
  108. font-size: 22rpx;
  109. font-weight: bold;
  110. }
  111. .activityDet .btnsBox .countDown .countBox {
  112. padding: 10rpx;
  113. border-radius: 10rpx;
  114. margin: 0rpx 4rpx;
  115. color: white;
  116. background-image: linear-gradient(180deg, #FF7079 0%, #FE3D44 100%);
  117. }
  118. .activityDet .music {
  119. display: flex;
  120. align-items: center;
  121. justify-content: space-between;
  122. margin-top: 40rpx;
  123. padding: 0rpx 20rpx;
  124. font-size: 0rpx;
  125. box-sizing: border-box;
  126. }
  127. .activityDet .music .playAuido {
  128. width: 214rpx;
  129. height: 87rpx;
  130. }
  131. .activityDet .music .share {
  132. width: 500rpx;
  133. height: 87rpx;
  134. line-height: 87rpx;
  135. color: white;
  136. font-size: 30rpx;
  137. background: url('http://reader-wx.ai160.com/images/reader/card/share.png') no-repeat;
  138. background-size: 100% 100%;
  139. }
  140. .activityDet .blessing {
  141. margin-top: 30rpx;
  142. font-size: 36rpx;
  143. }
  144. .activityDet .blessing .content {
  145. height: 38rpx;
  146. width: 600rpx;
  147. text-align: center;
  148. margin: 20rpx auto 0rpx;
  149. }
  150. .activityDet .blessing .content:first-child {
  151. opacity: 0.7;
  152. }
  153. .activityDet .mask {
  154. position: fixed;
  155. left: 0px;
  156. top: 0px;
  157. width: 100vw;
  158. height: 100vh;
  159. background-color: rgba(0, 0, 0, 0.2);
  160. z-index: 999;
  161. }
  162. .activityDet .mask .maskBox {
  163. position: fixed;
  164. top: 0rpx;
  165. right: 0rpx;
  166. bottom: 0rpx;
  167. left: 0rpx;
  168. margin: auto;
  169. padding: 71rpx 30rpx 30rpx;
  170. box-sizing: border-box;
  171. width: 290rpx;
  172. height: 290rpx;
  173. border-radius: 30rpx;
  174. color: white;
  175. background-color: rgba(0, 0, 0, 0.8);
  176. text-align: center;
  177. font-size: 30rpx;
  178. z-index: 10;
  179. }
  180. .activityDet .mask .maskBox .img {
  181. width: 110rpx;
  182. height: 110rpx;
  183. margin-bottom: 20rpx;
  184. animation: identifier 2.6s infinite linear;
  185. }