app.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. @import './static/font-icon.wxss';
  2. @import "colorui/main.wxss";
  3. @import "colorui/icon.wxss";
  4. page {
  5. /* 颜色 */
  6. --primary: #095DE0;
  7. --assist: #3874F6;
  8. --success: #52C41A;
  9. --warning: #FA8C16;
  10. --error: #FF3B30;
  11. --bgColor: #085CDF;
  12. /* 字体 */
  13. --FCN: PingFangSC-Regular-, PingFangSC-Regular;
  14. --FEN: Arial-Regular, Arial;
  15. --Fnumber: HelveticaNeue-, HelveticaNeue;
  16. /* 基础默认样式 */
  17. font-family: var(--FCN);
  18. background-color: #F4F5F7;
  19. padding-bottom: 0 !important;
  20. }
  21. navigator {
  22. background: none;
  23. }
  24. /* 解决view不换行 */
  25. .multi-line {
  26. word-break: break-all;
  27. white-space: pre-wrap;
  28. }
  29. /* 文本行数限制 */
  30. .line-1 {
  31. overflow: hidden;
  32. white-space: nowrap;
  33. text-overflow: ellipsis;
  34. }
  35. .line-2 {
  36. -webkit-line-clamp: 2;
  37. }
  38. .line-3 {
  39. -webkit-line-clamp: 3;
  40. }
  41. .line-2,
  42. .line-3 {
  43. overflow: hidden;
  44. word-break: break-all;
  45. text-overflow: ellipsis;
  46. display: -webkit-box;
  47. -webkit-box-orient: vertical;
  48. }
  49. .flex-align-center {
  50. display: flex;
  51. align-items: center;
  52. }
  53. .flex-align-start {
  54. display: flex;
  55. align-items: flex-start;
  56. }
  57. .flex-between {
  58. justify-content: space-between;
  59. }
  60. .colorInfo {
  61. color: #999
  62. }
  63. .small {
  64. font-size: 22rpx;
  65. line-height: 20px;
  66. }
  67. .colorError {
  68. color: #e34d59 !important;
  69. }
  70. .label {
  71. color: #999;
  72. margin-right: 5px;
  73. font-size: 24rpx;
  74. }
  75. .stopClick {
  76. pointer-events: none;
  77. }