更新微信 8.0.32 后,createGameClubButton 创建的游戏圈按钮真机上不显示文字,基础库 2.30.2。
wx.createGameClubButton({
type: 'text',
text: btn.conf.text,
style: {
left: pos.x,
top: pos.y,
width: size.width,
height: size.height,
lineHeight: size.height,
backgroundColor: btn.conf.backgroundColor,
color: btn.conf.color,
textAlign: 'center',
fontSize: btn.conf.fontSize,
borderRadius: btn.conf.borderRadius
});