index.wxss 6.3 KB

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