index.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. .page-school-index{
  2. background:url(https://business.coffunity.cn/upload/school.png);
  3. background-size: cover;
  4. background-color:#cfab7b;
  5. width:100vw;
  6. min-height:100vh;
  7. display:flex;
  8. flex-direction: column;
  9. position:relative;
  10. overflow: hidden;
  11. .user-header{
  12. margin-top:0px;
  13. margin-left:20px;
  14. border-radius: 10px;
  15. width:150px;
  16. overflow: hidden;
  17. }
  18. .school-item{
  19. position:fixed;
  20. bottom:10px;
  21. left:10px;
  22. right:10px;
  23. display: flex;
  24. flex-direction: column;
  25. .process{
  26. height:20px;
  27. display:flex;
  28. flex-direction: row;
  29. .heart{
  30. font-size:12px;
  31. color:#FFF;
  32. }
  33. .process-txt{
  34. width:100%;
  35. border-radius: 10px;
  36. margin-left:10px;
  37. z-index:-1;
  38. position:relative;
  39. .bg{
  40. width:100%;
  41. height:100%;
  42. background:#FFF;
  43. opacity: 0.3;
  44. position:absolute;
  45. border-radius: 10px;
  46. }
  47. .bar{
  48. border:1px solid $teacher-main-color;
  49. height:80%;
  50. margin:3px;
  51. border-radius: 10px;
  52. overflow: hidden;
  53. .p{
  54. background:$teacher-main-color;
  55. height:100%;
  56. }
  57. }
  58. }
  59. }
  60. .content{
  61. width:100%;
  62. height:260px;
  63. margin-bottom: 60px;
  64. border-radius: 10px;
  65. margin-top:10px;
  66. overflow: hidden;
  67. border:3px solid #643b17;
  68. position:relative;
  69. z-index:900;
  70. .bg{
  71. width:100%;
  72. height:100%;
  73. background:#FFF;
  74. opacity: 0.8;
  75. position:absolute;
  76. z-index:-1;
  77. }
  78. .user{
  79. border-bottom: 3px solid #643b17;
  80. width:100%;
  81. display:flex;
  82. flex-direction: row;
  83. height:60px;
  84. z-index:910;
  85. .left{
  86. display:flex;
  87. flex-direction: row;
  88. height:100%;
  89. width:75%;
  90. .header{
  91. width:30%;
  92. height:100%;
  93. display:flex;
  94. flex-direction: row;
  95. justify-content: center;
  96. align-items: center;
  97. .img{
  98. width:40px;
  99. height:40px;
  100. border-radius: 10px;
  101. }
  102. }
  103. .info{
  104. font-size:12px;
  105. height:100%;
  106. width:100%;
  107. display:flex;
  108. flex-direction: column;
  109. justify-content: flex-start;
  110. align-items:center;
  111. margin-left:10px;
  112. padding-top:5px;
  113. color:#653b18;
  114. .text{
  115. height:20px;
  116. width:100%;
  117. line-height: 20px;
  118. text-align:left;
  119. }
  120. }
  121. }
  122. .right{
  123. display:flex;
  124. justify-content: center;
  125. align-items: center;
  126. .btn{
  127. background:#CCC;
  128. padding:0px;
  129. margin:0px;
  130. height:30px;
  131. line-height: 30px;
  132. font-size:12px;
  133. padding-left:10px;
  134. padding-right: 10px;
  135. border-radius: 5px;
  136. }
  137. .active{
  138. background:#653b18;
  139. color:#FFF;
  140. .uni-icons{
  141. color:#FFF;
  142. margin-right: 5px;
  143. }
  144. }
  145. }
  146. }
  147. .donate{
  148. height:70%;
  149. width:100%;
  150. display:flex;
  151. justify-content: center;
  152. align-items: center;
  153. z-index:920;
  154. .mid{
  155. display:flex;
  156. justify-content: center;
  157. align-items: center;
  158. height:100%;
  159. color:#000;
  160. font-size:14px;
  161. }
  162. }
  163. .heart_total{
  164. justify-content:left;
  165. margin-left: 20px;
  166. margin-top: 10px;
  167. height:26px;
  168. align-items: center;
  169. font-size:12px;
  170. color:#653b18;
  171. font-weight: bold;
  172. }
  173. .item-list{
  174. height:180px;
  175. overflow: hidden;
  176. overflow-y: auto;
  177. .items{
  178. margin-left:10px;
  179. margin-right:10px;
  180. .item{
  181. width:100%;
  182. display:flex;
  183. flex-direction: row;
  184. height:30px;
  185. justify-content: center;
  186. align-items: center;
  187. font-size:12px;
  188. color:#653b18;
  189. .date{
  190. display:flex;
  191. width:30%;
  192. justify-content: center;
  193. align-items: center;
  194. }
  195. .name{
  196. diaplay:flex;
  197. width:50%;
  198. justify-content: flex-start;
  199. align-items: center;
  200. }
  201. .qty{
  202. display: flex;
  203. width:20%;
  204. justify-content: center;
  205. align-items: center;
  206. }
  207. }
  208. }
  209. }
  210. }
  211. }
  212. }