page { font-size: $uni-font-size-base; line-height: 1; background-color: #f7f8fa; -webkit-overflow-scrolling: touch; /* 使ios列表滑动流畅*/ } page, view, input, text, form, navigator, rich-text, picker, scroll-view, cover-view, open-data { box-sizing: border-box; } rich-text, open-data, form { display: block; } cover-view { line-height: 1.5; white-space: normal; } ::webkit-scrollbar { display: none; } button::after { border: 0; } /* 清除浮动 */ .clearfix:after { content: '.'; display: block; height: 0; clear: both; visibility: hidden; } .flex-row-start-start { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; } .flex-row-start-center { display: flex; flex-direction: row; align-items: flex-start; justify-content: center; } .flex-row-start-end { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-end; } .flex-row-start-space { display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; } .flex-row-center-start { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; } .flex-row-center-center { display: flex; flex-direction: row; align-items: center; justify-content: center; } .flex-row-center-end { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; } .flex-row-center-space { display: flex; flex-direction: row; align-items: center; justify-content: space-between; } .flex-row-end-start { display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; } .flex-row-end-center { display: flex; flex-direction: row; align-items: flex-end; justify-content: center; } .flex-row-end-end { display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-end; } .flex-row-end-space { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; } .flex-col-start-start { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; } .flex-col-start-center { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; } .flex-col-start-end { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; } .flex-col-start-space { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; } .flex-col-center-start { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; } .flex-col-center-center { display: flex; flex-direction: column; align-items: center; justify-content: center; } .flex-col-center-end { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; } .flex-col-center-space { display: flex; flex-direction: column; align-items: center; justify-content: space-between; } .flex-col-end-start { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; } .flex-col-end-center { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; } .flex-col-end-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; } .flex-col-end-space { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; } .flex-base { flex-grow: 0; flex-shrink: 0; }