You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
979 B

2 months ago
  1. page {
  2. background-color: #fff;
  3. font-size: 32rpx;
  4. font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
  5. }
  6. view {
  7. box-sizing: border-box;
  8. }
  9. .oneRowText {
  10. white-space: nowrap;
  11. overflow: hidden;
  12. text-overflow: ellipsis;
  13. }
  14. .towRowText {
  15. display: -webkit-box;
  16. overflow: hidden;
  17. white-space: normal;
  18. text-overflow: ellipsis;
  19. word-wrap: break-word;
  20. -webkit-line-clamp: 2;
  21. -webkit-box-orient: vertical
  22. }
  23. .flex {
  24. display: flex;
  25. align-items: center;
  26. }
  27. .flex-b {
  28. display: flex;
  29. justify-content: space-between;
  30. align-items: center;
  31. }
  32. .flex-c {
  33. display: flex;
  34. justify-content: center;
  35. align-items: center;
  36. }
  37. .padding {
  38. padding: 0 20px;
  39. }
  40. .h1 {
  41. font-size: 32rpx;
  42. position: relative;
  43. color: #333;
  44. padding-left: 24rpx;
  45. font-weight: 700;
  46. &::before {
  47. content: '';
  48. position: absolute;
  49. width: 5rpx;
  50. height: 31rpx;
  51. background: #DE3A26;
  52. border-radius: 3rpx;
  53. left: 0;
  54. top: 50%;
  55. transform: translateY(-50%);
  56. }
  57. }