index.wxss 6.7 KB

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