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-bottom: 2rpx solid white;
  30. }
  31. .activityDet .header .toBox image {
  32. width: 22rpx;
  33. height: 24rpx;
  34. z-index: 1;
  35. }
  36. .activityDet .header .toBox .editBtn {
  37. text-align: center;
  38. background-color: white;
  39. border-radius: 50%;
  40. margin-left: 6rpx;
  41. padding: 2rpx 12rpx;
  42. }
  43. .activityDet .header .avatar {
  44. position: absolute;
  45. display: flex;
  46. flex-direction: column;
  47. align-items: center;
  48. justify-content: flex-end;
  49. z-index: 3;
  50. }
  51. .activityDet .header .avatarImg {
  52. position: absolute;
  53. display: block;
  54. }
  55. .activityDet .header .progressBox {
  56. position: absolute;
  57. bottom: 0px;
  58. left: 0px;
  59. padding: 20rpx 40rpx;
  60. box-sizing: border-box;
  61. width: 100%;
  62. background-color: rgba(0, 0, 0, 0.5);
  63. z-index: 2;
  64. display: flex;
  65. align-items: center;
  66. color: white;
  67. font-size: 24rpx;
  68. }
  69. .activityDet .header .progressBox .progress {
  70. flex: 1;
  71. margin: 0px 30rpx;
  72. border-radius: 25rpx;
  73. overflow: hidden;
  74. }
  75. .activityDet .btnsBox {
  76. margin-top: 40rpx;
  77. position: relative;
  78. text-align: center;
  79. font-size: 0rpx;
  80. }
  81. .activityDet .btnsBox .recordingBox {
  82. position: relative;
  83. display: inline-block;
  84. margin: 0 auto;
  85. }
  86. .activityDet .btnsBox .recordingBox .readingNow {
  87. position: absolute;
  88. left: 66rpx;
  89. top: 26rpx;
  90. width: 40rpx;
  91. height: 30rpx;
  92. }
  93. .activityDet .btnsBox .send {
  94. width: 313rpx;
  95. height: 88rpx;
  96. }
  97. .activityDet .btnsBox .countDown {
  98. position: absolute;
  99. right: 20rpx;
  100. top: 0px;
  101. bottom: 0px;
  102. margin: auto;
  103. display: flex;
  104. align-items: center;
  105. color: #FD3545;
  106. font-size: 22rpx;
  107. font-weight: bold;
  108. }
  109. .activityDet .btnsBox .countDown .countBox {
  110. width: 12rpx;
  111. padding: 6rpx 10rpx;
  112. border-radius: 10rpx;
  113. margin: 0rpx 4rpx;
  114. color: white;
  115. background-image: linear-gradient(180deg, #FF7079 0%, #FE3D44 100%);
  116. }
  117. .activityDet .music {
  118. display: flex;
  119. align-items: center;
  120. justify-content: space-between;
  121. margin-top: 40rpx;
  122. padding: 0rpx 20rpx;
  123. font-size: 0rpx;
  124. box-sizing: border-box;
  125. }
  126. .activityDet .music .playAuido {
  127. width: 214rpx;
  128. height: 87rpx;
  129. }
  130. .activityDet .music .share {
  131. width: 500rpx;
  132. height: 87rpx;
  133. line-height: 87rpx;
  134. color: white;
  135. font-size: 30rpx;
  136. background: url('http://reader-wx.ai160.com/images/reader/card/share.png') no-repeat;
  137. background-size: 100% 100%;
  138. }
  139. .activityDet .blessing {
  140. margin-top: 30rpx;
  141. font-size: 32rpx;
  142. }
  143. .activityDet .blessing .content {
  144. height: 66rpx;
  145. width: 600rpx;
  146. text-align: center;
  147. margin: 0rpx auto;
  148. }
  149. .activityDet .blessing .content:first-child {
  150. font-size: 28rpx;
  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. }