player.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. .container.data-v-0391012f {
  2. width: 100%;
  3. height: 100vh;
  4. background-color: #F5F5F5;
  5. display: flex;
  6. flex-direction: column;
  7. align-items: center;
  8. justify-content: space-between;
  9. padding: 40rpx 30rpx 80rpx;
  10. padding-top: calc(30px + 40rpx);
  11. box-sizing: border-box;
  12. box-sizing: border-box;
  13. }
  14. .header.data-v-0391012f {
  15. width: 100%;
  16. display: flex;
  17. align-items: center;
  18. justify-content: space-between;
  19. padding: 20rpx 0;
  20. }
  21. .back-btn.data-v-0391012f {
  22. width: 60rpx;
  23. height: 60rpx;
  24. display: flex;
  25. align-items: center;
  26. justify-content: center;
  27. }
  28. .back-icon.data-v-0391012f {
  29. font-size: 36rpx;
  30. color: #666666;
  31. }
  32. .share-btn.data-v-0391012f {
  33. width: 60rpx;
  34. height: 60rpx;
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. }
  39. .share-icon.data-v-0391012f {
  40. font-size: 36rpx;
  41. color: #666666;
  42. }
  43. .book-info-section.data-v-0391012f {
  44. display: flex;
  45. flex-direction: column;
  46. align-items: center;
  47. flex: 1;
  48. justify-content: center;
  49. }
  50. .book-cover.data-v-0391012f {
  51. width: 400rpx;
  52. height: 560rpx;
  53. border-radius: 8rpx;
  54. margin-bottom: 40rpx;
  55. box-shadow: 0 8rpx 24rpx rgba(0,0,0,0.15);
  56. background-color: #F5F5F5;
  57. }
  58. .book-title.data-v-0391012f {
  59. font-size: 40rpx;
  60. font-weight: bold;
  61. color: #333333;
  62. margin-bottom: 20rpx;
  63. text-align: center;
  64. }
  65. .book-author.data-v-0391012f {
  66. font-size: 28rpx;
  67. color: #999999;
  68. margin-bottom: 20rpx;
  69. text-align: center;
  70. }
  71. .chapter-title.data-v-0391012f {
  72. font-size: 26rpx;
  73. color: #666666;
  74. margin-bottom: 20rpx;
  75. text-align: center;
  76. }
  77. .add-to-shelf-btn.data-v-0391012f {
  78. width: 300rpx;
  79. height: 80rpx;
  80. background-color: #F5F5F5;
  81. color: #333333;
  82. font-size: 28rpx;
  83. border: none;
  84. border-radius: 40rpx;
  85. display: flex;
  86. align-items: center;
  87. justify-content: center;
  88. }
  89. .add-to-shelf-btn.data-v-0391012f::after {
  90. border: none;
  91. }
  92. .player-section.data-v-0391012f {
  93. width: 100%;
  94. padding-bottom: env(safe-area-inset-bottom);
  95. }
  96. .progress-section.data-v-0391012f {
  97. margin-bottom: 60rpx;
  98. width: 100%;
  99. }
  100. .progress-bar-wrapper.data-v-0391012f {
  101. width: 100%;
  102. height: 60rpx;
  103. display: flex;
  104. align-items: center;
  105. position: relative;
  106. margin-bottom: 20rpx;
  107. }
  108. .time-label.data-v-0391012f {
  109. display: flex;
  110. justify-content: center;
  111. }
  112. .time-text.data-v-0391012f {
  113. background-color: #4FC3F7;
  114. color: #FFFFFF;
  115. font-size: 24rpx;
  116. padding: 8rpx 20rpx;
  117. border-radius: 20rpx;
  118. }
  119. .progress-bar.data-v-0391012f {
  120. width: 100%;
  121. height: 4rpx;
  122. background-color: #E0E0E0;
  123. border-radius: 2rpx;
  124. position: relative;
  125. }
  126. .progress-filled.data-v-0391012f {
  127. height: 100%;
  128. background-color: #4FC3F7;
  129. border-radius: 2rpx;
  130. transition: width 0.3s ease;
  131. }
  132. .progress-dot.data-v-0391012f {
  133. position: absolute;
  134. top: 50%;
  135. transform: translate(-50%, -50%);
  136. width: 24rpx;
  137. height: 24rpx;
  138. background-color: #4FC3F7;
  139. border-radius: 50%;
  140. box-shadow: 0 2rpx 4rpx rgba(0,0,0,0.2);
  141. }
  142. .controls-section.data-v-0391012f {
  143. display: flex;
  144. justify-content: space-around;
  145. align-items: center;
  146. padding: 0 40rpx;
  147. }
  148. .control-btn.data-v-0391012f {
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. }
  153. .control-text.data-v-0391012f {
  154. font-size: 28rpx;
  155. color: #999999;
  156. }
  157. .control-icon.data-v-0391012f {
  158. font-size: 40rpx;
  159. color: #333333;
  160. }
  161. .play-btn.data-v-0391012f {
  162. width: 120rpx;
  163. height: 120rpx;
  164. background-color: #4FC3F7;
  165. border-radius: 50%;
  166. box-shadow: 0 4rpx 12rpx rgba(79, 195, 247, 0.4);
  167. }
  168. .play-icon.data-v-0391012f {
  169. font-size: 60rpx;
  170. color: #FFFFFF;
  171. margin-left: 6rpx;
  172. }