onNavigationBarButtonTap:function(e){
uni.showToast({ title: '点击le' });
if (e.index === 0) {
this.showSinglePicker();
}
},
onNavigationBarSearchInputClicked(){
uni.showToast({ title: '点击搜索' });
},
"app-plus": {
"titleNView": {
"type": "transparent",
"searchInput": {
"backgroundColor": "rgba(231, 231, 231,.7)",
"borderRadius": "14px",
"placeholder": "请输入地址 如:大钟寺",
"disabled": true,
"placeholderColor": "#606266"
},
"buttons": [{
"text": "长春",
"fontSize": "14px",
"color": "#303133",
"float": "left",
"select": true,
"width": "auto",
"background": "rgba(0,0,0,0)"
},
{
"fontSrc": "/static/yticon.ttf",
"text": "\ue744",
"fontSize": "27px",
"color": "#303133",
"background": "rgba(0,0,0,0)",
"redDot": true
}
]
}
}
3 个回复
曲文强 (作者) - 啊啊啊啊
本人小白求解决
4***@qq.com - 小前端
遇到同样的问题 楼主解决了吗
7***@qq.com
this是undefined