index.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. .home {
  2. width: 100vw;
  3. height: 100vh;
  4. background-color: rgb(247, 247, 247);
  5. position: relative;
  6. /* z-index: -1; */
  7. .bg-box {
  8. position: absolute;
  9. top: 0;
  10. left: 0;
  11. width: 100vw;
  12. height: 654rpx;
  13. z-index: 1;
  14. background: linear-gradient(
  15. 136deg,
  16. rgba(239, 83, 14, 0.63) 13%,
  17. rgba(239, 83, 14, 0.27) 54%
  18. );
  19. }
  20. .header-top {
  21. margin-left: 32rpx;
  22. position: relative;
  23. z-index: 2;
  24. @include flex(flex-start, null, 12rpx);
  25. .shop-title {
  26. font-size: 36rpx;
  27. color: #000;
  28. }
  29. .shop-state {
  30. width: 148rpx;
  31. height: 48rpx;
  32. border-radius: 24rpx;
  33. background-color: #fff;
  34. box-sizing: border-box;
  35. padding: 0 16rpx;
  36. @include flex(space-between, null, 6rpx);
  37. text {
  38. font-size: 24rpx;
  39. }
  40. }
  41. }
  42. .main {
  43. position: relative;
  44. z-index: 2;
  45. border-radius: 36rpx 36rpx 0 0;
  46. margin-top: 30rpx;
  47. padding: 28rpx 0;
  48. box-sizing: border-box;
  49. width: 100%;
  50. height: 479rpx;
  51. background: rgba(255, 255, 255, 0.8);
  52. .main-tool {
  53. width: 100%;
  54. margin-top: 28rpx;
  55. .tool-list {
  56. @include flex(center);
  57. .tool-item {
  58. flex: 1;
  59. @include flex(center,column,10rpx);
  60. .item-img{
  61. width: 100rpx;
  62. height: 100rpx;
  63. border-radius: 50%;
  64. @include flex(center);
  65. image{
  66. width: 50rpx;
  67. height: 50rpx;
  68. display: block;
  69. }
  70. }
  71. .item-text{
  72. font-size: 28rpx;
  73. color: #666666;
  74. }
  75. }
  76. }
  77. .tube-list{
  78. @include flex(center);
  79. flex-wrap: wrap;
  80. margin-top: 40rpx;
  81. .tube-item{
  82. width: 25%;
  83. @include flex(center,column,10rpx);
  84. margin-top: 20rpx;
  85. image{
  86. width: 40rpx;
  87. height: 40rpx;
  88. }
  89. text{
  90. font-size: 24rpx;
  91. color: #666666;
  92. }
  93. }
  94. }
  95. }
  96. }
  97. // .header-content {
  98. // position: relative;
  99. // z-index: 2;
  100. // width: 694rpx;
  101. // height: 294rpx;
  102. // margin: 60rpx auto 40rpx;
  103. // background: rgba(255, 255, 255, 0.5);
  104. // border-radius: 32rpx;
  105. // }
  106. // .main-tool {
  107. // position: relative;
  108. // z-index: 2;
  109. // .tool-list {
  110. // padding: 40rpx 60rpx 50rpx;
  111. // background-color: #fff;
  112. // height: 208rpx;
  113. // width: 100%;
  114. // border-radius: 28px 28px 0px 0px;
  115. // box-sizing: border-box;
  116. // @include flex(space-between, null, 60rpx);
  117. // .tool-item {
  118. // @include flex(center, column, 10rpx);
  119. // image {
  120. // width: 48rpx;
  121. // height: 48rpx;
  122. // }
  123. // text {
  124. // color: #666666;
  125. // font-size: 28rpx;
  126. // }
  127. // }
  128. // }
  129. // }
  130. .summarize-box {
  131. padding: 0 32rpx;
  132. box-sizing: border-box;
  133. @include flex(space-between);
  134. margin: 32rpx 0;
  135. .summarize-left {
  136. font-size: 36rpx;
  137. color: #3d3d3d;
  138. }
  139. .summarize-right {
  140. @include flex(center, null);
  141. font-size: 28rpx;
  142. color: #999999;
  143. }
  144. }
  145. .statistics-list {
  146. @include flex(space-between, null, 18rpx);
  147. flex-wrap: wrap;
  148. padding: 0 12rpx;
  149. box-sizing: border-box;
  150. .statistics-item {
  151. width: 354rpx;
  152. height: 286rpx;
  153. padding: 32rpx;
  154. box-sizing: border-box;
  155. background-color: #fff;
  156. border-radius: 28rpx;
  157. .statistics-trans {
  158. color: #666666;
  159. font-size: 28rpx;
  160. margin-bottom: 24rpx;
  161. }
  162. .statistics-price {
  163. @include flex(space-between);
  164. .price {
  165. color: #333333;
  166. font-size: 36rpx;
  167. }
  168. .text {
  169. margin-right: 10rpx;
  170. color: #666666;
  171. font-size: 24rpx;
  172. }
  173. }
  174. .proportion {
  175. @include flex(flex-end);
  176. margin: 20rpx 0 12rpx;
  177. .proportion-box {
  178. @include flex(center, null, 5rpx);
  179. text {
  180. font-size: 28rpx;
  181. }
  182. image {
  183. width: 20rpx;
  184. height: 28rpx;
  185. display: block;
  186. }
  187. }
  188. }
  189. .chart-img {
  190. width: 100%;
  191. height: 80rpx;
  192. image {
  193. width: 100%;
  194. height: 100%;
  195. }
  196. }
  197. .empty {
  198. position: relative;
  199. width: 100%;
  200. height: 135rpx;
  201. .left {
  202. position: absolute;
  203. right: 25rpx;
  204. top: 20rpx;
  205. width: 28rpx;
  206. height: 5rpx;
  207. background-color: #666666;
  208. }
  209. .bottom {
  210. width: 100%;
  211. position: absolute;
  212. left: 0;
  213. bottom: 0;
  214. height: 5rpx;
  215. background-color: #666666;
  216. }
  217. }
  218. }
  219. }
  220. }