/* 初始化样式 */ page{ position: relative; z-index: 1; } page,view,text,swiper,swiper-item,image,navigator{ padding: 0; margin: 0; box-sizing: border-box; } /* 定义主题颜色 */ page{ --themeColor:#191B26; --nodateColor:#EFF0F1; --nodatetxtColor:#373C43; --envredColor:#FDE3E2; --envredtxtColor:#F54E45; --envgreenColor:#D9F5D6; --envgreentxtColor:#34C724; --envyellowColor:#FEEAD2; --envyellowtxtColor:#F58300; --envblueColor:#E1F2FF; --envbluetxtColor:#0091FF; } .flex_column{ display: flex; flex-direction: column; justify-content: center; align-items: center; } .flex_row{ display: flex; flex-direction: row; justify-content: center; align-items: center; } .one-line-text { overflow: hidden; text-overflow:ellipsis; white-space: nowrap; }