app.wxss 805 B

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