dk-table.wxss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* components/dk-table/dk-table.wxss */
  2. .top-data {
  3. background: linear-gradient(180deg, #D9F2F8 0%, #FAFEFF 100%);
  4. border-radius: 15rpx 15rpx 0px 0px;
  5. display: flex;
  6. padding: 34rpx 0;
  7. }
  8. .top-data>view:nth-child(n) {
  9. text-align: center;
  10. }
  11. .top-data>view:nth-child(n)>view:nth-child(1) {
  12. margin-bottom: 10rpx;
  13. font-family: 'PingFang HK';
  14. font-style: normal;
  15. font-weight: 600;
  16. font-size: 20px;
  17. color: #1B365D;
  18. }
  19. .top-data>view:nth-child(n)>view:nth-child(2) {
  20. font-family: 'PingFang SC';
  21. font-style: normal;
  22. font-weight: 400;
  23. font-size: 12px;
  24. color: #95A8CB;
  25. }
  26. .top-data>view:nth-child(n+2) {
  27. border-left: 1px solid #ABC6CC;
  28. }
  29. .header {
  30. display: flex;
  31. width: calc(100% - 38rpx);
  32. background: #fff;
  33. padding: 0 19rpx;
  34. }
  35. .header>view:nth-child(n) {
  36. font-family: 'PingFang SC';
  37. font-style: normal;
  38. font-weight: 400;
  39. font-size: 10px;
  40. line-height: 40px;
  41. color: #00A7B5;
  42. }
  43. .cell {
  44. font-family: 'PingFang HK';
  45. font-style: normal;
  46. font-weight: 400;
  47. font-size: 13px;
  48. color: #1B365D;
  49. padding: 15rpx 10rpx;
  50. display: flex;
  51. justify-content: center;
  52. align-items: center;
  53. }