小程序
小游戏
企业微信
微信支付
扫描小程序码分享
小程序open-type="getUserInfo" 的button默认样式怎样取消?
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
<button class="regbtn" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">授权</button> .regbtn { width: 66%; margin: 6% 0 0 17%; height: 80rpx; background-color: #FCCF00; border-radius: 30px; display: flex; align-items: center; justify-content: center; color: #40404C; } button::after { border: none; }
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
button样式自己重新定义,覆盖原来的就可以了
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
<button class="regbtn" open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">授权</button> .regbtn { width: 66%; margin: 6% 0 0 17%; height: 80rpx; background-color: #FCCF00; border-radius: 30px; display: flex; align-items: center; justify-content: center; color: #40404C; } button::after { border: none; }
被min-height限制了。这个代表最低高度,你的20rpx低于这个高度
button样式自己重新定义,覆盖原来的就可以了