Aar0n
let 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 的怎么弄
__JS__('wx').createUserInfoButton({}) 可以这样写 前面的button呢