wx.createUserInfoButton 按钮创建出来不显示
按官方例子写都出不来,你们都没有个demo,就一个文档,还写这么垃圾,
var button = wx.createUserInfoButton({ type: ‘text’, text: ‘获取用户信息’, style: { left: 10, top: 76, width: 200, height: 40, lineHeight: 40, backgroundColor: ‘#ff0000’, color: ‘#ffffff’, textAlign: ‘center’, fontSize: 16, borderRadius: 4 } }) button.onTap((res) = > { console.log(res) })
你们官方例子,好好看下,真受不了,
