details.scss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. .detailsbox{
  2. height: 100vh;
  3. margin-top: 75rpx;
  4. background: #FDFAF3;
  5. }
  6. .title{
  7. position:fixed;
  8. top: 0;
  9. left: 0;
  10. width: 100%;
  11. z-index: 10;
  12. background: #F7EFDF;
  13. .titles{
  14. text-align: center;
  15. color: #1A1A1A;
  16. font-size: 36rpx;
  17. font-family: Georgia, 'Times New Roman', Times, serif;
  18. font-weight: bold;
  19. padding-top: 10rpx;
  20. padding-bottom: 10rpx;
  21. }
  22. .back{
  23. position: absolute;
  24. left: 30rpx;
  25. width: 80rpx;
  26. height: 35rpx;
  27. image{
  28. width: 18rpx;
  29. height: 100%;
  30. }
  31. }
  32. }
  33. .cover{
  34. width: 100%;
  35. // height:624rpx;
  36. position: relative;
  37. background: #fff;
  38. // padding-top: 64rpx;
  39. .images{
  40. width: 80%;
  41. // height:500rpx;
  42. position:relative;
  43. margin:0 auto;
  44. .mark{
  45. position: absolute;
  46. box-shadow: 0px 4px 4px 0px #00000040;
  47. color: #B26F59;
  48. background-color: rgba(250,239,214,.85);
  49. padding:10rpx;
  50. border-radius: 10rpx;
  51. font-size: 24rpx;
  52. }
  53. }
  54. image{
  55. width: 100%;
  56. // max-height: 100%;
  57. }
  58. .button{
  59. position: absolute;
  60. bottom: 50rpx;
  61. right: 40rpx;
  62. image{
  63. display: block;
  64. width: 80rpx;
  65. height: 80rpx;
  66. margin-bottom: 10rpx;
  67. }
  68. }
  69. .voiceimg{
  70. position: absolute;
  71. bottom: 34rpx;
  72. left: 20rpx;
  73. font-size: 20rpx;
  74. color: #B26F59;
  75. image{
  76. width:80rpx;
  77. height:80rpx;
  78. display: block;
  79. }
  80. }
  81. }
  82. .info{
  83. width: calc(100% - 80rpx);
  84. overflow-y: auto;
  85. // margin-top: -40rpx;
  86. background: #FDFAF3;
  87. border-top-left-radius: 40rpx;
  88. border-top-right-radius: 40rpx;
  89. padding:80rpx 40rpx;
  90. padding-bottom: 304rpx;
  91. .info_title{
  92. font-size: 40rpx;
  93. font-family:Georgia, 'Times New Roman', Times, serif;
  94. font-weight: bold;
  95. display: flex;
  96. align-items: center;
  97. justify-content: center;
  98. border-bottom:1px solid rgba(149,64,36,.3);
  99. padding-bottom: 30rpx;
  100. text{
  101. flex:1;
  102. }
  103. span{
  104. background:#954024;
  105. font-size: 26rpx;
  106. color: #fff;
  107. font-weight: normal;
  108. font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  109. // width: 148rpx;
  110. height: 64rpx;
  111. border-radius: 80rpx;
  112. line-height: 64rpx;
  113. text-align: center;
  114. padding:0 20rpx;
  115. image{
  116. width: 40rpx;
  117. height: 40rpx;
  118. vertical-align: sub;
  119. margin-right: 8rpx;
  120. }
  121. }
  122. .nocollect{
  123. border:1px solid #954024;
  124. background-color: rgba(149,64,36,0.15);
  125. color: #954024;
  126. }
  127. }
  128. .time{
  129. font-size: 28rpx;
  130. color: #666666;
  131. }
  132. .intro{
  133. font-size: 36rpx;
  134. font-family:Georgia, 'Times New Roman', Times, serif;
  135. font-weight: bold;
  136. padding-top: 40rpx;
  137. padding-bottom: 20rpx;
  138. }
  139. .info1{
  140. font-size: 28rpx;
  141. }
  142. .text{
  143. font-size: 28rpx;
  144. line-height: 50rpx;
  145. text-indent: 2em;
  146. }
  147. .audio{
  148. position: fixed;
  149. bottom: 0;
  150. left: 0;
  151. width: 100%;
  152. height:304rpx;
  153. background: #F5EAD2;
  154. .progress{
  155. padding:0 50rpx;
  156. padding-top: 50rpx;
  157. .bigbar{
  158. width: 100%;
  159. height: 8rpx;
  160. background: #FFF2CB;
  161. box-shadow: 0px 1px 2.799999952316284px 0px #00000040 inset;
  162. position: relative;
  163. .bar{
  164. position: absolute;
  165. background: #ccc;
  166. top:0;
  167. left: 0;
  168. height: 8rpx;
  169. }
  170. .knob{
  171. position: absolute;
  172. top:-14rpx;
  173. width: 28rpx;
  174. height: 28rpx;
  175. background: linear-gradient(130.98deg, #000000 -364.38%, #FFFFFF 95.02%);
  176. border-radius: 20rpx;
  177. }
  178. }
  179. }
  180. .button{
  181. display: flex;
  182. align-items: center;
  183. justify-content: center;
  184. .prev{
  185. width:102rpx;
  186. height: 102rpx;
  187. image{
  188. width: 100%;
  189. height: 100%;
  190. }
  191. }
  192. .play{
  193. width: 184rpx;
  194. height: 184rpx;
  195. image{
  196. width: 100%;
  197. height: 100%;
  198. }
  199. }
  200. }
  201. }
  202. }
  203. /* 播放器 */
  204. .audioPlayer{
  205. width: 95%;
  206. // height: 208rpx;
  207. box-sizing: border-box;
  208. box-shadow: 0px 0px 12px 0px #00000033;
  209. padding: 20rpx 30rpx;
  210. background: #ffffff;
  211. display: flex;
  212. position: relative;
  213. border-radius: 20rpx;
  214. padding-top: 50rpx;
  215. position: fixed;
  216. bottom: 30rpx;
  217. left: 2.5%;
  218. .close{
  219. position: absolute;
  220. top:20rpx;
  221. right: 20rpx;
  222. image{
  223. width: 40rpx;
  224. height: 40rpx;
  225. }
  226. }
  227. .bottom{
  228. margin-right: 10rpx;
  229. .playPouse{
  230. image{
  231. width: 128rpx;
  232. height: 128rpx;
  233. }
  234. }
  235. }
  236. .audioControls{
  237. width: 100%;
  238. font-size: 28rpx;
  239. .controls{
  240. .time{
  241. width: 100%;
  242. display: flex;
  243. justify-content: space-between;
  244. }
  245. .sliders{
  246. margin:0;
  247. .wx-slider-handle-wrapper {
  248. height: 8rpx;
  249. border-radius: 20rpx;
  250. box-shadow: 0px 1px 2.799999952316284px 0px #0000000F inset;
  251. }
  252. .wx-slider-track {
  253. height: 8rpx;
  254. }
  255. }
  256. }
  257. }
  258. }
  259. .img_dialog{
  260. width: 100%;
  261. height: 100%;
  262. position: fixed;
  263. top:0;
  264. left: 0;
  265. z-index: 999;
  266. background-color: rgba(0,0,0,1);
  267. .img_cont{
  268. position: absoulte;
  269. top:50px;
  270. left:0;
  271. display: flex;
  272. align-items: center;
  273. justify-content: center;
  274. image{
  275. max-width: 100%;
  276. max-height: 100%;
  277. }
  278. }
  279. }
  280. .swiper .wx-swiper-dots.wx-swiper-dots-horizontal{
  281. position: absolute;
  282. bottom: 85rpx;
  283. }
  284. .swiper .wx-swiper-dots .wx-swiper-dot{width:16rpx;height:16rpx;border-radius:10rpx;background-color: #000;}
  285. .swiper .wx-swiper-dots .wx-swiper-dot.wx-swiper-dot-active{background-color:rgb(207, 205, 205);opacity: 1;}