index.wxss 8.6 KB

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