This commit is contained in:
lik
2026-05-31 20:12:53 +08:00
parent 87c852b6a9
commit c121ebdb94
8 changed files with 93 additions and 16 deletions

View File

@@ -16,7 +16,7 @@ Page({
{ id: 1, name: '医院电话', icon: 'call', url: 'pages/hospital/contact', type: 'page' },
{ id: 2, name: '科室排行', icon: 'ai-coordinate-system', url: 'pages/hospital/ranking', type: 'page' },
{ id: 3, name: '医保备案', icon: 'system-code', url: '#小程序://异地备案/FfXUvTLmNptZx5E', type: 'wxapp' },
{ id: 4, name: '医疗影像', icon: 'film-1', url: 'https://www.114yygh.com/', type: 'website' }
{ id: 4, name: '医疗影像', icon: 'film-1', url: '', type: '' }
]
},
@@ -65,7 +65,7 @@ Page({
wx.switchTab({ url: '/' + item.url });
break;
case 'website':
wx.navigateTo({ url: '/pages/webview/index?url=' + encodeURIComponent(item.url) });
wx.navigateTo({ url: '/pages/home/webview?url=' + encodeURIComponent(item.url) });
break;
case 'wxapp':
wx.navigateToMiniProgram({ shortLink: item.url, env: 'release' })