.block { display: block; } .flex-block { display: flex block; } .none { display: none; } .inline-block { display: inline-block; } .flex { display: flex; } .ai-c { align-items: center; } .ai-e { align-items: flex-end; } .jc-sb { justify-content: space-between; } .jc-c { justify-content: center; } .wrap { flex-wrap: wrap; } .shrink { flex-shrink: 0; } .x-scroll { overflow-x: scroll; } .fixed { position: fixed; } .absolute { position: absolute; } .relative { position: relative; } .p-l { padding-left: 0.115rem; } .p-r { padding-right: 0.12rem; } .border-box { box-sizing: border-box; } /* 把css当成js来写 */ /* css基本上都有 */ /* .border-top(@fx: top) { border-@fx: 1px solid #e8e8e8; } */ .p18 { padding: 0 .36rem; } .ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .border-top { border-top: 1px solid #e8e8e8; } .border-bottom { border-bottom: 1px solid #e8e8e8; } .border-left { border-left: 1px solid #e8e8e8; } .border-right { border-right: 1px solid #e8e8e8; } .hidden { overflow: hidden; }