app.wxss 761 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* 初始化样式 */
  2. page,view,text,swiper,swiper-item,image,navigator{
  3. padding: 0;
  4. margin: 0;
  5. box-sizing: border-box;
  6. }
  7. /* 定义主题颜色 */
  8. page{
  9. --themeColor:#191B26;
  10. --nodateColor:#EFF0F1;
  11. --nodatetxtColor:#373C43;
  12. --envredColor:#FDE3E2;
  13. --envredtxtColor:#F54E45;
  14. --envgreenColor:#D9F5D6;
  15. --envgreentxtColor:#34C724;
  16. --envyellowColor:#FEEAD2;
  17. --envyellowtxtColor:#F58300;
  18. --envblueColor:#E1F2FF;
  19. --envbluetxtColor:#0091FF;
  20. }
  21. .flex_column{
  22. display: flex;
  23. flex-direction: column;
  24. justify-content: center;
  25. align-items: center;
  26. }
  27. .flex_row{
  28. display: flex;
  29. flex-direction: row;
  30. justify-content: center;
  31. align-items: center;
  32. }
  33. .one-line-text {
  34. overflow: hidden;
  35. text-overflow:ellipsis;
  36. white-space: nowrap;
  37. }