index.wxss 7.3 KB

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