index.scss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. .project-item {
  2. display: flex;
  3. align-items: center;
  4. width: 100vw;
  5. background-color: #ffffff;
  6. border-bottom: 1px solid#F4F4F4;
  7. box-sizing: border-box;
  8. .chart {
  9. margin: 0 30rpx;
  10. width: 100rpx;
  11. flex-shrink: 0;
  12. .odds,
  13. .percentage {
  14. width: 100%;
  15. text-align: center;
  16. font-size: 16rpx;
  17. font-family: PingFang SC-Regular, PingFang SC;
  18. color: #666666;
  19. margin-top: 4rpx;
  20. }
  21. .odds {
  22. margin-top: -6rpx;
  23. }
  24. }
  25. .main {
  26. flex: 1;
  27. box-sizing: border-box;
  28. padding: 20rpx 0;
  29. .label {
  30. display: flex;
  31. height: 42rpx;
  32. .title {
  33. flex: 1;
  34. width: 0;
  35. font-size: 30rpx;
  36. font-family: PingFang SC-Regular, PingFang SC;
  37. color: #333333;
  38. margin-right: 20rpx;
  39. }
  40. .state {
  41. flex-shrink: 0;
  42. width: 132rpx;
  43. height: 40rpx;
  44. line-height: 40rpx;
  45. background: #52C41A;
  46. border-radius: 20rpx 0px 0px 20rpx;
  47. font-size: 24rpx;
  48. font-family: PingFang SC-Regular, PingFang SC;
  49. color: #FFFFFF;
  50. text-align: center;
  51. }
  52. }
  53. .replenish {
  54. display: flex;
  55. min-height: 34rpx;
  56. font-size: 24rpx;
  57. font-family: PingFang SC-Regular, PingFang SC;
  58. color: #333333;
  59. margin-top: 8rpx;
  60. word-break: break-all;
  61. white-space: pre-wrap;
  62. }
  63. }
  64. }
  65. .line-1 {
  66. overflow: hidden;
  67. white-space: nowrap;
  68. text-overflow: ellipsis;
  69. }