線上服務(wù)咨詢
Article/文章
記錄成長點(diǎn)滴 分享您我感悟
微信小程序中如何改變button按鈕的樣式
本篇文章給大家?guī)淼膬?nèi)容是關(guān)于微信小程序中如何改變button按鈕的樣式,有一定的參考價(jià)值,有需要的朋友可以參考一下,希望對你有所幫助。
Button按鈕
<button class='getCodeView firstListLineStyle' disabled='{{disabled}}' </button>
Button按鈕樣式
.getCodeView { width: 100%; margin-right: 20rpx; height: 60rpx; line-height: 60rpx; background: #fff; color:#1e82d2; padding-right:0rpx; }
修改button按鈕disabled為true時(shí) 會出現(xiàn)灰色字體 淺灰色背景的樣式
button[disabled]:not([type]) { back沈陽軟件定制ground-color: #fff; color: #1e82d2 ; }
修改button按鈕帶有虛邊的樣式
button::after { border: none; }
以上就是微信小程序中如何改變button按鈕的樣式的詳細(xì)內(nèi)容,更多請關(guān)注沈陽網(wǎng)站建設(shè)其它相關(guān)文章!
微信小程序