index.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. font-size: 0rpx;
  24. }
  25. .activityDet .header .toBox .text {
  26. min-width: 80rpx;
  27. color: white;
  28. padding: 0rpx 4rpx;
  29. z-index: 0rpx;
  30. border-radius: 14rpx;
  31. border: 2rpx solid white;
  32. }
  33. .activityDet .header .toBox image {
  34. width: 24rpx;
  35. height: 24rpx;
  36. z-index: 1;
  37. }
  38. .activityDet .header .toBox .editBtn {
  39. text-align: center;
  40. background-color: white;
  41. border-radius: 50%;
  42. margin-left: 6rpx;
  43. padding: 12rpx 12rpx;
  44. }
  45. .activityDet .header .avatar {
  46. position: absolute;
  47. display: flex;
  48. flex-direction: column;
  49. align-items: center;
  50. justify-content: flex-end;
  51. z-index: 3;
  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. width: 12rpx;
  113. padding: 6rpx 10rpx;
  114. border-radius: 10rpx;
  115. margin: 0rpx 4rpx;
  116. color: white;
  117. background-image: linear-gradient(180deg, #FF7079 0%, #FE3D44 100%);
  118. }
  119. .activityDet .music {
  120. display: flex;
  121. align-items: center;
  122. justify-content: space-between;
  123. margin-top: 40rpx;
  124. padding: 0rpx 20rpx;
  125. font-size: 0rpx;
  126. box-sizing: border-box;
  127. }
  128. .activityDet .music .playAuido {
  129. width: 214rpx;
  130. height: 87rpx;
  131. }
  132. .activityDet .music .share {
  133. width: 500rpx;
  134. height: 87rpx;
  135. line-height: 87rpx;
  136. color: white;
  137. font-size: 30rpx;
  138. background: url('http://reader-wx.ai160.com/images/reader/card/share.png') no-repeat;
  139. background-size: 100% 100%;
  140. }
  141. .activityDet .blessing {
  142. margin-top: 30rpx;
  143. font-size: 36rpx;
  144. }
  145. .activityDet .blessing .content {
  146. height: 80rpx;
  147. width: 600rpx;
  148. text-align: center;
  149. margin: 0rpx auto;
  150. }
  151. .activityDet .blessing .content:first-child {
  152. font-size: 28rpx;
  153. opacity: 0.7;
  154. }
  155. .activityDet .mask {
  156. position: fixed;
  157. left: 0px;
  158. top: 0px;
  159. width: 100vw;
  160. height: 100vh;
  161. background-color: rgba(0, 0, 0, 0.2);
  162. z-index: 999;
  163. }
  164. .activityDet .mask .maskBox {
  165. position: fixed;
  166. top: 0rpx;
  167. right: 0rpx;
  168. bottom: 0rpx;
  169. left: 0rpx;
  170. margin: auto;
  171. padding: 71rpx 30rpx 30rpx;
  172. box-sizing: border-box;
  173. width: 290rpx;
  174. height: 290rpx;
  175. border-radius: 30rpx;
  176. color: white;
  177. background-color: rgba(0, 0, 0, 0.8);
  178. text-align: center;
  179. font-size: 30rpx;
  180. z-index: 10;
  181. }
  182. .activityDet .mask .maskBox .img {
  183. width: 110rpx;
  184. height: 110rpx;
  185. margin-bottom: 20rpx;
  186. animation: identifier 2.6s infinite linear;
  187. }