index.wxss 6.3 KB

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