index.less 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. font-size: 0rpx;
  22. .text {
  23. min-width: 80rpx;
  24. color: white;
  25. padding: 0rpx 4rpx;
  26. z-index: 0rpx;
  27. border-radius: 14rpx;
  28. border: 2rpx solid white;
  29. }
  30. image {
  31. width: 24rpx;
  32. height: 24rpx;
  33. z-index: 1;
  34. }
  35. .editBtn {
  36. text-align: center;
  37. background-color: white;
  38. border-radius: 50%;
  39. margin-left: 6rpx;
  40. padding: 12rpx 12rpx;
  41. }
  42. }
  43. .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. .avatarImg {
  52. position: absolute;
  53. display: block;
  54. }
  55. .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. .progress {
  69. flex: 1;
  70. margin: 0px 30rpx;
  71. border-radius: 25rpx;
  72. overflow: hidden;
  73. }
  74. }
  75. }
  76. .btnsBox {
  77. margin-top: 40rpx;
  78. position: relative;
  79. text-align: center;
  80. font-size: 0rpx;
  81. .recordingBox {
  82. position: relative;
  83. display: inline-block;
  84. margin: 0 auto;
  85. .readingNow {
  86. position: absolute;
  87. left: 66rpx;
  88. top: 26rpx;
  89. width: 40rpx;
  90. height: 30rpx;
  91. }
  92. }
  93. .send {
  94. width: 313rpx;
  95. height: 88rpx;
  96. }
  97. .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. .countBox {
  109. width: 12rpx;
  110. padding: 6rpx 10rpx;
  111. border-radius: 10rpx;
  112. margin: 0rpx 4rpx;
  113. color: white;
  114. background-image: linear-gradient(180deg, #FF7079 0%, #FE3D44 100%);
  115. }
  116. }
  117. }
  118. .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. .playAuido {
  127. width: 214rpx;
  128. height: 87rpx;
  129. }
  130. .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. }
  140. .blessing {
  141. margin-top: 30rpx;
  142. font-size: 36rpx;
  143. .content {
  144. height: 80rpx;
  145. width: 600rpx;
  146. text-align: center;
  147. margin: 0rpx auto;
  148. }
  149. .content:first-child {
  150. font-size: 28rpx;
  151. opacity: .7;
  152. }
  153. }
  154. .mask {
  155. position: fixed;
  156. left: 0px;
  157. top: 0px;
  158. width: 100vw;
  159. height: 100vh;
  160. background-color: rgba(0, 0, 0, 0.2);
  161. z-index: 999;
  162. .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. .img {
  180. width: 110rpx;
  181. height: 110rpx;
  182. margin-bottom: 20rpx;
  183. animation: identifier 2.6s infinite linear;
  184. }
  185. }
  186. }
  187. }