index.wxss 6.3 KB

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