index.wxss 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. /**index.wxss**/
  2. /*热门推荐*/
  3. /* @import "/component/hot/hot.wxss"; */
  4. /*热团*/
  5. @import "/component/group/group.wxss";
  6. /*关注*/
  7. /* @import "/component/follow/follow.wxss"; */
  8. /*我的*/
  9. @import "/component/my/my.wxss";
  10. @import "/templates/courses/courses.wxss";
  11. .container {
  12. /* background: rgba(242, 242, 242, 1); */
  13. /* background: #eee; */
  14. height: 100%;
  15. /* overflow: hidden; */
  16. }
  17. .template {
  18. height: 100%;
  19. }
  20. .scroll-view {
  21. height: 100%;
  22. }
  23. .top-tab {
  24. position: fixed;
  25. top: 0;
  26. /* top: 118rpx; */
  27. width: 100%;
  28. height: 80rpx;
  29. background: #12C962;
  30. /* color: #383838; */
  31. box-sizing: border-box;
  32. display: flex;
  33. justify-content: space-between;
  34. align-items: center;
  35. /* margin-bottom: 15rpx; */
  36. z-index: 999;
  37. padding: 0 48rpx 0 48rpx;
  38. }
  39. .activity-img {
  40. width: 100%;
  41. height: 321rpx;
  42. }
  43. .activity-img image {
  44. width: 100%;
  45. height: 100%;
  46. }
  47. .activity-buy {
  48. position: fixed;
  49. right: 17rpx;
  50. bottom: 300rpx;
  51. width: 148rpx;
  52. height: 149rpx;
  53. z-index: 999;
  54. }
  55. .activity-buy image {
  56. width: 100%;
  57. height: 100%;
  58. }
  59. .no_follow {
  60. display: flex;
  61. width: 100%;
  62. height: 98%;
  63. align-items: center;
  64. justify-content: center;
  65. color: rgba(0, 0, 0, .4);
  66. font-size: 34rpx;
  67. flex-direction: column;
  68. }
  69. .no_follow_icon {
  70. width: 274rpx;
  71. height: 258rpx;
  72. }
  73. .tabbar {
  74. /* flex: 1; */
  75. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. width: 100rpx;
  79. height: 58rpx;
  80. line-height: 60rpx;
  81. font-size: 40rpx;
  82. opacity: 0.7;
  83. font-weight: 800;
  84. /* border-radius: 30rpx; */
  85. /* background: #fff; */
  86. border-bottom: none;
  87. color: #fff;
  88. }
  89. .select {
  90. color: #fff;
  91. /* font-size: 40rpx; */
  92. /* font-family: SourceHanSansSC-bold; */
  93. /* background: #61ca54; */
  94. font-size: 40rpx;
  95. border-bottom: 6rpx solid #fff;
  96. opacity: 1;
  97. }
  98. .bottom-tab image {
  99. width: 54rpx;
  100. height: 54rpx;
  101. margin-right: 20rpx;
  102. }
  103. .jurisdiction {
  104. position: absolute;
  105. left: 50%;
  106. top: 50%;
  107. transform: translate(-50%, -50%);
  108. }
  109. /* 部分公用css */
  110. .red-text {
  111. color: #ff3600;
  112. }
  113. /* 作品列表 */
  114. .hotWares {
  115. display: flex;
  116. flex-wrap: wrap;
  117. /* background: #e8e8e8; */
  118. }
  119. .recommdSection .hotWares .worksCard {
  120. position: relative;
  121. overflow: hidden;
  122. width: 100%;
  123. height: 496rpx;
  124. background: #fff;
  125. /* padding: 26rpx; */
  126. /* border-radius: 12rpx; */
  127. /* margin: 0 0 18rpx 16rpx; */
  128. margin: 0 auto 20rpx;
  129. /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
  130. }
  131. .worksCard {
  132. position: relative;
  133. overflow: hidden;
  134. width: 100%;
  135. height: 496rpx;
  136. background: #fff;
  137. margin: 0 auto 20rpx;
  138. }
  139. .worksCard .wareCardImg {
  140. display: block;
  141. width: 704rpx;
  142. height: 290rpx;
  143. margin: 21rpx auto 0;
  144. border-radius: 20rpx;
  145. }
  146. .worksCard .titleSummary {
  147. display: flex;
  148. justify-content: space-between;
  149. margin-top: 12rpx;
  150. }
  151. .worksCard .wareCardTitle {
  152. /* margin: 0 auto; */
  153. width: 80%;
  154. height: 46rpx;
  155. display: block;
  156. /* text-align: left; */
  157. color: #444;
  158. font-size: 32rpx;
  159. /* letter-spacing: 4rpx; */
  160. margin-left: 28rpx;
  161. font-family: MicrosoftYaHei;
  162. }
  163. .worksCard .topData {
  164. height: 92rpx;
  165. margin-top: 22rpx;
  166. display: flex;
  167. flex-direction: row;
  168. /* justify-content: space-between; */
  169. align-items: center;
  170. }
  171. .worksLeft {
  172. display: flex;
  173. flex-direction: row;
  174. flex: 1;
  175. margin-left: 10rpx;
  176. position: relative;
  177. }
  178. .worksLeft .worksInfo .authorName {
  179. color: #393939;
  180. font-size: 30rpx;
  181. margin-top: 8rpx;
  182. }
  183. .worksLeft .worksInfo .time {
  184. color: #393939;
  185. font-size: 30rpx;
  186. }
  187. .worksCard .topData .wareCardPlays {
  188. width: 100rpx;
  189. /* margin-left: 270rpx; */
  190. display: flex;
  191. flex-direction: row-reverse;
  192. align-items: center;
  193. padding-right: 35rpx;
  194. margin-bottom: 6rpx;
  195. margin-left: 4rpx;
  196. }
  197. .worksCard .topData .authorAvatar {
  198. width: 92rpx;
  199. height: 92rpx;
  200. margin: 0 22rpx 0 22rpx;
  201. display: block;
  202. border: 4rpx solid #61CA54;
  203. border-radius: 50%;
  204. }
  205. .worksCard .topData .profession {
  206. width: 60rpx;
  207. height: 30rpx;
  208. background: rgba(97, 202, 84, 1);
  209. border-radius: 15rpx;
  210. font-size: 22rpx;
  211. /* font-family: PingFangSC-Medium; */
  212. font-weight: 800;
  213. color: rgba(255, 255, 255, 1);
  214. line-height: 30rpx;
  215. text-align: center;
  216. position: absolute;
  217. bottom: -7rpx;
  218. left: 42rpx;
  219. }
  220. .topData .numberInfo {
  221. display: flex;
  222. flex-direction: column;
  223. margin-top: -5rpx;
  224. }
  225. .worksCard .wareCardTip {
  226. width: 178rpx;
  227. height: 40rpx;
  228. display: block;
  229. text-align: left;
  230. color: #444;
  231. font-size: 24rpx;
  232. line-height: 44rpx;
  233. }
  234. .worksCard .wareCardPlays .wareCardPlaysImg {
  235. width: 30rpx;
  236. height: 26rpx;
  237. margin-left: 7rpx;
  238. float: right;
  239. }
  240. .worksCard .wareCardPlays text {
  241. /* margin-left: 4rpx; */
  242. color: #848484;
  243. font-size: 24rpx;
  244. text-align: right;
  245. /* width:57%; */
  246. float: right;
  247. line-height: 37rpx;
  248. }
  249. .worksCard .wareCardLikes {
  250. width: 100rpx;
  251. margin-right: 18rpx;
  252. display: flex;
  253. flex-direction: row-reverse;
  254. align-items: center;
  255. }
  256. .worksCard .wareCardLikes .wareCardLikesImg {
  257. width: 22rpx;
  258. height: 26rpx;
  259. margin-left: 7rpx;
  260. }
  261. .worksCard .wareCardLikes text {
  262. /* margin-left: 4rpx; */
  263. color: #848484;
  264. font-size: 24rpx;
  265. }
  266. .index-dialog {
  267. width: 100%;
  268. height: 100%;
  269. position: fixed;
  270. top: 0;
  271. left: 0;
  272. z-index: 3;
  273. background: rgba(0, 0, 0, .3)
  274. }
  275. .index-dialog-wrapper {
  276. width: 392rpx;
  277. height: 240rpx;
  278. background: #fff;
  279. border-radius: 30rpx;
  280. box-shadow: 0 0 10 0 rgba(0, 0, 0, .5);
  281. position: fixed;
  282. top: 281rpx;
  283. left: 0;
  284. right: 0;
  285. margin: 0 auto;
  286. }
  287. .index-dialog-text {
  288. width: 100%;
  289. font-size: 29rpx;
  290. color: #535353;
  291. font-weight: 800;
  292. text-align: center;
  293. margin-top: 59rpx;
  294. }
  295. .index-dialog-btn {
  296. width: 160rpx;
  297. height: 50rpx;
  298. border: 3rpx solid #f75642;
  299. border-radius: 25rpx;
  300. line-height: 50rpx;
  301. text-align: center;
  302. color: #f75642;
  303. font-size: 30rpx;
  304. font-weight: 800;
  305. margin: 41rpx auto;
  306. }
  307. .index-dialog-btn-hide {
  308. width: 100%;
  309. height: 100%;
  310. position: absolute;
  311. background: rgba(0, 0, 0, 0);
  312. top: 0;
  313. }
  314. .comment_section {
  315. position: fixed;
  316. top: 0;
  317. left: 0;
  318. width: 100%;
  319. height: 98%;
  320. z-index: 9999;
  321. background: rgba(0, 0, 0, .3);
  322. overflow: hidden;
  323. }
  324. .change_grade {
  325. width: 100%;
  326. height: 100%;
  327. background: rgba(0, 0, 0, .7);
  328. display: flex;
  329. justify-content: center;
  330. align-items: center;
  331. position: fixed;
  332. top: 0;
  333. left: 0;
  334. z-index: 9999;
  335. }
  336. .change_grade .change_brage_wrapper {
  337. width: 548rpx;
  338. /* height: 453rpx; */
  339. background: #fff;
  340. border-radius: 20rpx;
  341. }
  342. .change_grade .change_brage_wrapper .title {
  343. width: 100%;
  344. text-align: center;
  345. color: rgba(0, 0, 0, .6);
  346. font-size: 40rpx;
  347. margin-top: 33rpx;
  348. margin-bottom: 66rpx;
  349. display: flex;
  350. justify-content: center;
  351. }
  352. .change_grade .change_brage_wrapper .change_row {
  353. width: 100%;
  354. display: flex;
  355. justify-content: space-around;
  356. margin-bottom: 65rpx;
  357. }
  358. .change_grade .change_brage_wrapper .change_row .change_item {
  359. width: 220rpx;
  360. height: 68rpx;
  361. background: #14c962;
  362. border-radius: 100rpx;
  363. display: flex;
  364. align-items: center;
  365. justify-content: center;
  366. font-size: 36rpx;
  367. color: #fff;
  368. }
  369. .change_grade .change_brage_wrapper .change_item_blank{
  370. background: #ffffff !important;
  371. }
  372. .upgrade,
  373. .help-pay {
  374. position: fixed;
  375. left: 0;
  376. top: 0;
  377. width: 100%;
  378. height: 100%;
  379. background: rgba(0, 0, 0, .75);
  380. z-index:9999;
  381. }
  382. .help-pay-main,
  383. .upgrade-main {
  384. position: absolute;
  385. left: 50%;
  386. top: 14%;
  387. transform: translate(-50%, 0);
  388. }
  389. .upgrade-icon {
  390. width: 562rpx;
  391. height: 789rpx;
  392. }
  393. .help-pay-icon {
  394. width: 570rpx;
  395. height: 747rpx;
  396. }
  397. .tips-icon {
  398. width: 570rpx;
  399. height: 390rpx;
  400. }
  401. .help-close {
  402. position: absolute;
  403. left: 50%;
  404. transform: translateX(-50%);
  405. bottom: -100rpx;
  406. width: 65rpx;
  407. height: 65rpx;
  408. }
  409. .pay-price {
  410. position: absolute;
  411. bottom: 65rpx;
  412. left: 88rpx;
  413. color: #FFFFFF;
  414. font-size: 49rpx;
  415. }
  416. .pay-price text {
  417. font-size: 30rpx;
  418. }