index.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /**index.wxss**/
  2. page{
  3. background: #F4F7F9;
  4. }
  5. .top{
  6. padding: 0 12px;
  7. display: flex;
  8. flex-wrap: wrap;
  9. justify-content: space-between;
  10. }
  11. .logo{
  12. /* height:200rpx; */
  13. background:linear-gradient(90deg,rgba(75,153,255,1) 0%,rgba(91,61,255,1) 100%);
  14. border-radius:6px;
  15. position: relative;
  16. padding: 58rpx 58rpx 0rpx 170rpx;
  17. width: 100%;
  18. height: 220rpx;
  19. }
  20. .logo view{
  21. font-family: cursive;
  22. font-weight: bold;
  23. font-size: 46rpx;
  24. color: #fff;
  25. }
  26. .logo text{
  27. color: #fff;
  28. font-size: 24rpx;
  29. }
  30. .logo image{
  31. width: 120rpx;
  32. max-height: 120rpx;
  33. position: absolute;
  34. left: 15px;
  35. top: 0;
  36. bottom: 0;
  37. margin: auto;
  38. }
  39. .part{
  40. width: 100%;
  41. background: #fff;
  42. margin-top: 8px;
  43. box-shadow:0px 4px 12px 0px rgba(0,0,0,0.08);
  44. border-radius:4px;
  45. position: relative;
  46. text-align: left;
  47. padding: 15px;
  48. }
  49. .part image{
  50. /* width: 100rpx; */
  51. width:64rpx;
  52. max-height: 100%;
  53. position: absolute;
  54. right: 15px;
  55. top:0;
  56. bottom: 0;
  57. margin: auto;
  58. }
  59. .part view{
  60. color: #333333;
  61. font-size: 34rpx;
  62. font-family: 'Microsoft YaHei';
  63. font-weight: 500;
  64. }
  65. .part text{
  66. color: #999999;
  67. font-size: 24rpx;
  68. }
  69. .news{
  70. width: 100%;
  71. padding: 10px 12px;
  72. background: #fff;
  73. margin-top: 12px;
  74. box-shadow:0px 4px 12px 0px rgba(0,0,0,0.08);
  75. border-radius:4px;
  76. white-space: nowrap;
  77. overflow: hidden;
  78. }
  79. .news text{
  80. padding-left: 20px;
  81. }
  82. .marquee_container image{
  83. width: 53px;
  84. max-height: 30px;
  85. position: absolute;
  86. left: 10px;
  87. top: 15px;
  88. }
  89. .bottom{
  90. background: #fff;
  91. margin-top: 12px;
  92. }
  93. .tab{
  94. border-bottom: 1px solid #F2F3F4;
  95. display: flex;
  96. }
  97. .tab text{
  98. display:block;
  99. width: 33.33%;
  100. line-height: 44px;
  101. text-align: center;
  102. color: #999999;
  103. font-size: 14px;
  104. }
  105. .tab .active{
  106. color: #3566FF;
  107. border-bottom: 2px solid #3566FF;
  108. transition: all .3s linear;
  109. }
  110. .list{
  111. border-bottom: 1px solid #F2F3F4;
  112. padding: 15px;
  113. }
  114. .list text{
  115. color: #999;
  116. font-size: 24rpx;
  117. }
  118. /*首页跑马灯效果*/
  119. @keyframes around {
  120. from {
  121. margin-left: 90%;
  122. }
  123. to {
  124. /* var接受传入的变量 */
  125. margin-left: var(--marqueeWidth--);
  126. }
  127. }
  128. .zd{
  129. width: 80px;
  130. height: 100%;
  131. position: absolute;
  132. left: 0;
  133. top: 0;
  134. background: #fff;
  135. }
  136. .marquee_container{
  137. width: 100%;
  138. background: #fff;
  139. margin-top: 12px;
  140. box-shadow:0px 4px 12px 0px rgba(0,0,0,0.08);
  141. border-radius:4px;
  142. padding: 10px 12px;
  143. position: relative;
  144. overflow: hidden;
  145. }
  146. .marquee_container:hover{
  147. /* 不起作用 */
  148. animation-play-state: paused;
  149. }
  150. .marquee_text{
  151. color:#333;
  152. font-size: 28rpx;
  153. display: inline-block;
  154. white-space: nowrap;
  155. animation-name: around;
  156. animation-duration: 10s; /*过渡时间*/
  157. animation-iteration-count: infinite;
  158. animation-timing-function:linear;
  159. }
  160. .marquee_text navigator{
  161. margin-right: 200px;
  162. }
  163. .friendlyLink{
  164. padding:15px;
  165. /* margin:15px; */
  166. }