app.wxss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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-2 {
  39. overflow: hidden;
  40. word-break: break-all;
  41. text-overflow: ellipsis;
  42. display: -webkit-box;
  43. -webkit-box-orient: vertical;
  44. }
  45. .flex-align-center {
  46. display: flex;
  47. align-items: center;
  48. }
  49. .flex-align-start {
  50. display: flex;
  51. align-items: flex-start;
  52. }
  53. .flex-between {
  54. justify-content: space-between;
  55. }
  56. .colorInfo {
  57. color: #999
  58. }
  59. .small {
  60. font-size: 22rpx;
  61. line-height: 20px;
  62. }
  63. .colorError {
  64. color: #e34d59 !important;
  65. }
  66. .label {
  67. color: #999;
  68. margin-right: 5px;
  69. font-size: 24rpx;
  70. }
  71. .stopClick {
  72. pointer-events: none;
  73. }