// 弹性盒子 水平垂直居中 .alineCenter{ display : flex; justify-content: center; align-items: center; } // 弹性盒子 多元素垂直居中 .verticalCenter{ display: flex; flex-flow: column; align-items: center; } // 弹性盒子 单行元素水平居中 .levelCenter{ display: flex; align-items: center; } // 设置下边线 .undeLine(@backgroundColor,@bottom){ content: ""; width: 100%; height: 2upx; background-color: @backgroundColor; position: absolute; left: 0; bottom: @bottom; }