1.uniapp项目唤起拨打电话
makeCall() {
uni.makePhoneCall({
phoneNumber: '18822223333',
success: function () {
console.log('拨打电话成功')
},
fail: function () {
console.log('拨打电话失败')
},
})
},
2.按钮复制内容
copy() {
uni.setClipboardData({
data: String(this.email),
success: function () {
console.log('success')
},
})
},
3.设置底部tabbar颜色
"tabBar": {
"height": "150rpx",
"color": "#888888",
"selectedColor": "#595959",
"borderStyle": "white",
"backgroundColor": "#ffffff",
}