标题栏input搜索框点击
onNavigationBarSearchInputClicked: async function(e) {
// this.$api.msg('点击了搜索框');
uni.navigateTo({
url: ''
});
},
点击导航栏 buttons 时触发
onNavigationBarButtonTap(e) {
const index = e.index;
if (index === 0) {
this.$api.msg('点击了扫描');
} else if (index === 1) {
this.moreShow = !this.moreShow;
}
}