@import "../../base/fn.less"; .weui-cell_switch{ padding-top: (@weuiCellHeight - @weuiSwitchHeight) / 2; padding-bottom: (@weuiCellHeight - @weuiSwitchHeight) / 2; }