tab_home.wxss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. .bg1 {
  2. display: flex;
  3. flex-direction: column;
  4. margin-top: -400rpx;
  5. height: 1200rpx;
  6. border-radius: 100rpx;
  7. border-bottom-right-radius: 0;
  8. background-color: #4169E1;
  9. z-index: 2;
  10. }
  11. .bg1 .scroll-view {
  12. white-space: nowrap;
  13. height: 400rpx;
  14. margin: 70rpx 0 50rpx 0;
  15. }
  16. .bg1 .scroll-view .view-box {
  17. margin: 0 50rpx;
  18. }
  19. .bg1 .scroll-view .view-box .scroll-view-item {
  20. position: relative;
  21. display: inline-block;
  22. vertical-align: top;
  23. margin: 0 50rpx 0 0rpx;
  24. width: 380rpx;
  25. height: 400rpx;
  26. border-radius: 30rpx;
  27. background-color: #FFF;
  28. }
  29. .bg1 .scroll-view .view-box .scroll-view-item .card-info {
  30. position: relative;
  31. display: flex;
  32. align-items: center;
  33. padding: 20rpx;
  34. }
  35. .bg1 .scroll-view .view-box .scroll-view-item .card-info .title {
  36. font-size: 30rpx;
  37. line-height: 40rpx;
  38. margin-left: 20rpx;
  39. }
  40. .bg1 .scroll-view .view-box .scroll-view-item .chart-box {
  41. width: 100%;
  42. height: 300rpx;
  43. }
  44. .data-list {
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: space-between;
  48. margin: 0 30rpx 20rpx 30rpx;
  49. }
  50. .data-list .data-item {
  51. display: flex;
  52. flex-direction: column;
  53. justify-content: space-around;
  54. margin: 10rpx 0;
  55. padding: 6rpx 0;
  56. height: 120rpx;
  57. border-bottom: 4rpx solid #f3f4f9;
  58. border-top: 4rpx solid #f3f4f9;
  59. }
  60. .data-list .data-item .item-title {
  61. font-size: 38rpx;
  62. font-family: YSfont;
  63. color: #303133;
  64. }
  65. .data-list .data-item .item-subtitle {
  66. font-size: 30rpx;
  67. font-weight: bold;
  68. color: #909399;
  69. overflow: hidden;
  70. text-overflow: ellipsis;
  71. white-space: nowrap;
  72. }
  73. .data-list .data-item .item-detail {
  74. margin-left: 40rpx;
  75. line-height: 30rpx;
  76. font-size: 36rpx;
  77. font-family: YSfont;
  78. color: #909399;
  79. }
  80. .stat-card {
  81. display: flex;
  82. justify-content: space-around;
  83. margin: 2% 0;
  84. width: 100%;
  85. height: 220rpx;
  86. background-color: #ff8caf;
  87. border-radius: 12rpx;
  88. }
  89. .stat-card .card-column {
  90. display: flex;
  91. flex-direction: column;
  92. justify-content: space-around;
  93. margin: 20rpx 0 20rpx 20rpx;
  94. }
  95. .stat-card ._title {
  96. font-size: 54rpx;
  97. font-family: YSfont;
  98. color: #FFF;
  99. }
  100. .stat-card ._subtitle {
  101. font-size: 34rpx;
  102. font-family: YSfont;
  103. color: #FFF;
  104. }
  105. .stat-card ._unit {
  106. margin-left: 20rpx;
  107. font-size: 30rpx;
  108. font-family: YSfont;
  109. opacity: 0.7;
  110. color: #FFF;
  111. }
  112. .stat-card .card-image {
  113. position: relative;
  114. top: -40rpx;
  115. right: -40rpx;
  116. height: 300rpx;
  117. width: 300rpx;
  118. background-size: cover;
  119. background-repeat: no-repeat;
  120. z-index: 2;
  121. }
  122. .scroll-view-bottom {
  123. white-space: nowrap;
  124. padding-bottom: 40rpx;
  125. }
  126. .scroll-view-bottom .scroll-item {
  127. margin: 0 20rpx;
  128. display: inline-block;
  129. vertical-align: top;
  130. background-color: #FFF;
  131. border-radius: 12rpx;
  132. height: 320rpx;
  133. width: 280rpx;
  134. overflow: hidden;
  135. z-index: 55;
  136. }
  137. .scroll-view-bottom .scroll-item .t-icon {
  138. width: 120rpx;
  139. height: 120rpx;
  140. }
  141. .circle-line1 {
  142. position: absolute;
  143. width: 352rpx;
  144. height: 352rpx;
  145. margin-top: 440rpx;
  146. margin-left: -70rpx;
  147. border: 4rpx solid transparent;
  148. border-radius: 100%;
  149. background-clip: padding-box, border-box;
  150. background-origin: padding-box, border-box;
  151. background-image: linear-gradient(to right, #4169E1, #4169E1), linear-gradient(90deg, #FFF -50%, rgba(255, 255, 255, 0));
  152. }
  153. .circle-line2 {
  154. position: absolute;
  155. width: 232rpx;
  156. height: 232rpx;
  157. margin-top: 500rpx;
  158. margin-left: -10rpx;
  159. border: 4rpx solid transparent;
  160. border-radius: 100%;
  161. background-clip: padding-box, border-box;
  162. background-origin: padding-box, border-box;
  163. background-image: linear-gradient(to right, #4169E1, #4169E1), linear-gradient(0deg, #FFF -75%, rgba(255, 255, 255, 0));
  164. z-index: 2;
  165. }
  166. .circle-line3 {
  167. position: absolute;
  168. width: 176rpx;
  169. height: 176rpx;
  170. margin-top: 530rpx;
  171. margin-left: 20rpx;
  172. border: 2rpx solid transparent;
  173. border-radius: 100%;
  174. background-clip: padding-box, border-box;
  175. background-origin: padding-box, border-box;
  176. background-image: linear-gradient(to right, #4169E1, #4169E1), linear-gradient(-90deg, #FFF -100%, rgba(255, 255, 255, 0));
  177. z-index: 3;
  178. }
  179. .image-box {
  180. display: flex;
  181. flex-direction: column;
  182. height: 100%;
  183. align-items: center;
  184. margin-bottom: 30rpx;
  185. }
  186. .detail-image-none {
  187. margin-top: -50rpx;
  188. width: 100%;
  189. height: 450rpx;
  190. background-size: cover;
  191. background-repeat: no-repeat;
  192. z-index: 50;
  193. }
  194. .bg2 {
  195. margin-top: -1065rpx;
  196. height: 1200rpx;
  197. border-radius: 100rpx;
  198. border-bottom-left-radius: 0;
  199. background-color: #FFF;
  200. z-index: 1;
  201. }
  202. .bg2 .notice {
  203. margin: 1095rpx 50rpx 20rpx 50rpx;
  204. width: 650rpx;
  205. }
  206. .YS-title {
  207. font-size: 38rpx;
  208. }
  209. .row-margin {
  210. display: flex;
  211. align-items: center;
  212. margin: 10rpx 20rpx;
  213. }
  214. .tag {
  215. margin-left: 20rpx;
  216. }
  217. .class-box {
  218. display: flex;
  219. align-items: center;
  220. justify-content: space-between;
  221. width: 100%;
  222. height: 140rpx;
  223. background-color: #FFF;
  224. border-radius: 12rpx;
  225. }
  226. .class-box .info-column {
  227. height: 80rpx;
  228. display: flex;
  229. flex-direction: column;
  230. align-items: center;
  231. justify-content: space-around;
  232. }
  233. .icon-box {
  234. display: flex;
  235. align-items: center;
  236. justify-content: center;
  237. width: 80rpx;
  238. height: 80rpx;
  239. border-radius: 12rpx;
  240. z-index: 9;
  241. }
  242. .icon-box .t-icon {
  243. width: 50rpx;
  244. height: 50rpx;
  245. }
  246. .clock-block {
  247. display: flex;
  248. flex-direction: column;
  249. width: 180rpx;
  250. height: 120rpx;
  251. justify-content: space-around;
  252. align-items: center;
  253. }
  254. .state {
  255. display: flex;
  256. align-items: center;
  257. margin-left: auto;
  258. border-radius: 12rpx;
  259. background-color: #23b46c;
  260. padding: 24rpx 12rpx;
  261. }
  262. .state .t-icon {
  263. width: 32rpx;
  264. height: 32rpx;
  265. }
  266. .state .state-text {
  267. color: #FFF;
  268. font-size: 24rpx;
  269. font-weight: bold;
  270. -webkit-transform: skew(-10deg);
  271. transform: skew(-10deg);
  272. }
  273. .scroll-view-bottom {
  274. white-space: nowrap;
  275. padding-bottom: 20rpx;
  276. }
  277. .clock-image {
  278. margin-top: -160rpx;
  279. margin-left: 20rpx;
  280. height: 160rpx;
  281. width: 160rpx;
  282. background-size: 100%;
  283. background-repeat: no-repeat;
  284. opacity: 0.25;
  285. z-index: 1;
  286. }
  287. .box-container {
  288. margin: 0 20rpx;
  289. display: inline-block;
  290. vertical-align: top;
  291. width: 84%;
  292. }
  293. .box-container .clounm-container {
  294. height: 180rpx;
  295. width: 100%;
  296. margin-bottom: 20rpx;
  297. border-radius: 12rpx;
  298. background-color: #FFF;
  299. overflow: hidden;
  300. }
  301. .box-container .clounm-container .item-box {
  302. display: flex;
  303. width: 100%;
  304. height: 100%;
  305. }
  306. .box-container .clounm-container .item-box .thumb {
  307. width: 180rpx;
  308. height: 180rpx;
  309. border-radius: 12rpx;
  310. background-size: cover;
  311. background-repeat: no-repeat;
  312. z-index: 50;
  313. }
  314. .box-container .clounm-container .item-box .info-box {
  315. display: flex;
  316. flex-direction: column;
  317. margin: 20rpx 20rpx 20rpx 30rpx;
  318. justify-content: space-between;
  319. width: 400rpx;
  320. }
  321. .box-container .clounm-container .item-box .info-box .tag-fill {
  322. background-color: #d8deff;
  323. width: -webkit-fit-content;
  324. width: fit-content;
  325. }
  326. .box-container .clounm-container .item-box .info-box .tag-fill .t-icon {
  327. width: 30rpx;
  328. height: 30rpx;
  329. margin-right: 5rpx;
  330. }
  331. .box-container .clounm-container .item-box .info-box .tag-fill .tag-text {
  332. color: #4169E1;
  333. }
  334. .box-container .clounm-container .item-box .info-box .desc {
  335. line-height: 26rpx;
  336. font-size: 26rpx;
  337. color: #909399;
  338. white-space: nowrap;
  339. overflow: hidden;
  340. text-overflow: ellipsis;
  341. }