The content of this article is about how to change the style of the button button in the WeChat applet. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. help.
Button button
<button class='getCodeView firstListLineStyle' disabled='{{disabled}}' </button>
Button button style
.getCodeView { width: 100%; margin-right: 20rpx; height: 60rpx; line-height: 60rpx; background: #fff; color:#1e82d2; padding-right:0rpx; }
Modify button button When disabled is true, the style of gray font and light gray background will appear
button[disabled]:not([type]) { background-color: #fff; color: #1e82d2 ; }
Modify button Button style with virtual edges
button::after { border: none; }
The above is the detailed content of How to change the style of button buttons in WeChat applet. For more information, please follow other related articles on the PHP Chinese website!