index.less 4.8 KB

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