view,page{ box-sizing: border-box; } page{ overflow: hidden; } page,flat-list,refresh-view,v-header,layout-shop-screen,tab,empty{ width: 100%; height: 100%; } .flex,.flexRow,.jSpaceBetween,.flex-1,.flex-all-1,.flex-shrink-0,.row,.aCenter,.jCenter,.center,.jEnd,.aEnd{ display: flex; flex-direction: column; } .use-flex-view { display: flex; flex-direction: column; box-sizing: border-box; font-family: PingFang SC; font-weight: 500; } .screen_all{ width: 100%; height: 100%; } .flex-1{ flex-grow: 1; } .flex-all-1{ flex: 1; } .flex-shrink-0{ flex-shrink: 0; } .row,.flexRow{ flex-direction: row; } .aCenter,.center{ align-items: center; } .jCenter,.center{ justify-content: center; } .jEnd{ justify-content: flex-end; } .aEnd{ align-items: flex-end; } .jSpaceBetween{ justify-content: space-between; } .relative{ position: relative; } .absolute{ position: absolute; } .fixed{ position: fixed; } .wrap{ flex-wrap: wrap; } .clear-button{ background-color: transparent!important; border: none !important; height: auto !important; padding: 0 !important; } .clear-button:after{ display: none; } .line-1{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; } .line-2 { display: -webkit-box; display: -moz-box; white-space: pre-wrap; word-wrap: break-word; overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp:2; /*显示行数*/ } .skeleton-background{ background-color: #f5f5f5; } .overflow{ overflow: hidden; }