index.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. /**index.wxss**/
  2. /* .userinfo {
  3. display: flex;
  4. flex-direction: column;
  5. align-items: center;
  6. }
  7. .userinfo-avatar {
  8. width: 128rpx;
  9. height: 128rpx;
  10. margin: 20rpx;
  11. border-radius: 50%;
  12. }
  13. .userinfo-nickname {
  14. color: #aaa;
  15. }
  16. .usermotto {
  17. margin-top: 200px;
  18. }
  19. */
  20. .search-input-box{
  21. width:690rpx;
  22. height:70rpx;
  23. background:rgba(248,248,248,1);
  24. border-radius:36rpx;
  25. border:1rpx solid rgba(242,242,242,1);
  26. margin-top: 42rpx;
  27. }
  28. .search-input-box image{
  29. width:70rpx;
  30. height:70rpx;
  31. margin-left: 20rpx;
  32. float: left;
  33. }
  34. .search-input-box uni-input {
  35. overflow: visible;
  36. float: left;
  37. }
  38. .search-input-box input{
  39. box-sizing: border-box;
  40. margin-bottom: 1rpx;
  41. outline: none;
  42. padding-left: 10rpx;
  43. border:0;
  44. margin-top: 10rpx;
  45. }
  46. .search-input-box .uni-input-placeholder{
  47. width:196rpx;
  48. height:40rpx;
  49. font-size:28rpx;
  50. font-family:PingFangSC;
  51. font-weight:400;
  52. color:rgba(175,178,191,1);
  53. line-height:40rpx;
  54. }
  55. .banner{
  56. width:690rpx;
  57. height:308rpx;
  58. border-radius:20rpx;
  59. }
  60. .content {
  61. display: flex;
  62. flex-direction: column;
  63. align-items: center;
  64. justify-content: center;
  65. /* background-color: #F8F8F8; */
  66. }
  67. .view-content{
  68. display: flex;
  69. flex-direction: row no-wrap;
  70. height:210rpx;
  71. background:rgba(255,255,255,1);
  72. }
  73. .view-content image{
  74. width:128rpx;
  75. height:128rpx;
  76. overflow: visible;
  77. vertical-align:middle;
  78. }
  79. .view-content p{
  80. text-align:center;
  81. width:96rpx;
  82. height:33rpx;
  83. font-size:24rpx;
  84. font-family:PingFangSC;
  85. font-weight:500;
  86. color:rgba(117,119,128,1);
  87. line-height:33rpx;
  88. }
  89. .view-content div{
  90. display: flex;
  91. flex-direction: column;
  92. width:80rpx;
  93. height:28rpx;
  94. }
  95. .view-content div:first-child{
  96. margin-left: 61rpx;
  97. margin-right: 0rpx;
  98. }
  99. .view-content div:nth-child(2){
  100. margin-left: 122rpx;
  101. margin-right: 122rpx;
  102. }
  103. .view-content div:nth-child(3){
  104. margin-right: 61rpx;
  105. }
  106. .view-content p{
  107. align-self:center;
  108. }
  109. .view-content image{
  110. align-self:center;
  111. }
  112. .school {
  113. align-items:flex-start;
  114. width:750rpx;
  115. /* height:984rpx; */
  116. background:rgba(255,255,255,1);
  117. }
  118. .school image{
  119. width: 170rpx;
  120. height: 54rpx;
  121. margin: 0 auto;
  122. /* text-align: center; */
  123. /* vertical-align: middle; */
  124. display: block;
  125. }
  126. .school-content{
  127. display: flex;
  128. flex-wrap: wrap;
  129. }
  130. .school-content div:first-child{
  131. margin-left: 98rpx;
  132. margin-right: 195rpx;
  133. }
  134. .schol-icon image{
  135. width: 180rpx;
  136. height: 180rpx;
  137. }
  138. .schol-icon span{
  139. width:112rpx;
  140. height:40rpx;
  141. font-size:28rpx;
  142. font-family:PingFangSC;
  143. font-weight:500;
  144. color:rgba(44,44,44,1);
  145. line-height:40rpx;
  146. margin-top: 24rpx;
  147. margin-bottom: 40rpx;
  148. }
  149. .schol-icon{
  150. display: flex;
  151. flex-direction: column;
  152. align-items: flex-end;
  153. text-align: -webkit-center;
  154. }
  155. .major{
  156. width:750rpx;
  157. height:470rpx;
  158. background:rgba(255,255,255,1);
  159. margin-top: 20rpx;
  160. }
  161. .major image{
  162. width: 170rpx;
  163. height: 54rpx;
  164. margin: 0 auto;
  165. display: block;
  166. }
  167. .footer{
  168. display: flex;
  169. position: fixed;
  170. bottom: 0;
  171. width:750rpx;
  172. height:99rpx;
  173. background:rgba(255,255,255,1);
  174. margin-top: 20rpx;
  175. }
  176. .footer div:first-child{
  177. margin-left: 92rpx;
  178. margin-right: 184rpx;
  179. }
  180. .footer div:nth-child(2){
  181. margin-right: 183rpx;
  182. }
  183. .footer div:nth-child(3){
  184. margin-right: 93rpx;
  185. }
  186. .footer image{
  187. width:66rpx;
  188. height:67rpx;
  189. overflow: visible;
  190. }
  191. .footer div:first-child p{
  192. margin-left: 15rpx;
  193. }
  194. .footer div:nth-child(3) p{
  195. margin-left: 15rpx;
  196. }
  197. .footer div{
  198. display: flex;
  199. flex-direction: column;
  200. width:80rpx;
  201. height:28rpx;
  202. font-size:20rpx;
  203. font-family:PingFangSC;
  204. font-weight:500;
  205. color:rgba(175,178,191,1);
  206. line-height:28rpx;
  207. }