不懂为什么要把按钮加上min-height,把所有按钮的height属性都给覆盖掉了,导致按钮异常的大,界面异常的难看,还没法去掉min-height,优先级竟然也比app.wxss设置的高
只能通过以下代码来屏蔽了
app.wxss
button::after {
border : none ;
display : none ;
}
button:not([size= 'mini' ]) {
min-height : inherit !important ;
width : auto !important ;
font-weight : normal ;
}
|