提交 ba2be59b 编写于 作者: M mahaifeng

[privacy] 添加隐私弹框示例

上级 cfc3e746
......@@ -79,6 +79,10 @@
goPage(url : string) {
if (url == '/set-tab-bar') {
this.showPop()
}else if (url == '/show-privacy-dialog') {
uni.openDialogPage({
url: '/pages/API/dialog-page/dialog-privacytest',
})
} else {
if (this.hasLeftWin) {
uni.reLaunch({ url })
......
......@@ -158,5 +158,16 @@ function addSetTabBarPage(menuItem : MenuItem) {
group: null,
items: []
} as MenuItem)
menuItem.items.push({
id: 'show-privacy-dialog',
name: '隐私政策',
index: 0,
path: 'show-privacy-dialog',
style: {
navigationBarTitleText: '隐私政策弹框'
},
group: null,
items: []
} as MenuItem)
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册