Skip to content

Commit 266194f

Browse files
committed
update: 合并模版条件编译
1 parent 1880756 commit 266194f

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

‎pages/tabBar/template/template.vue‎

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,13 @@
3939
name: '多列选择 picker',
4040
url: 'mpvue-picker'
4141
},
42-
// #ifndef MP
42+
// #ifdef APP-PLUS || H5
4343
{
4444
id: 'navbar',
4545
name: '顶部导航标题栏',
4646
open: false,
4747
pages: [
48-
// #endif
49-
50-
// #ifdef APP-PLUS || H5
48+
5149
{
5250
name: '透明渐变样式',
5351
url: 'nav-transparent'
@@ -67,14 +65,12 @@
6765
name: '导航栏带搜索框',
6866
url:'nav-search-input'
6967
},
70-
// #endif
7168
// #ifdef APP-PLUS
7269
{
7370
name: '导航栏带图片',
7471
url: 'nav-image'
7572
}
7673
// #endif
77-
// #ifndef MP
7874
]
7975
},
8076
// #endif
@@ -149,16 +145,10 @@
149145
name: '列表到详情示例',
150146
url: 'list2detail-list'
151147
},
152-
// #ifdef APP-PLUS
153-
{
154-
name: '问题反馈',
155-
url: '/platforms/app-plus/feedback/feedback'
156-
},
157-
// #endif
158-
{
159-
name: '二维码生成',
160-
url: 'qrcode'
161-
},
148+
// {
149+
// name: '二维码生成',
150+
// url: 'qrcode'
151+
// },
162152
// #ifdef APP-PLUS || MP-WEIXIN || H5
163153
{
164154
id: 'uparse',
@@ -190,7 +180,11 @@
190180
name: '表单验证',
191181
url: 'datachecker'
192182
},
193-
// #ifdef APP-PLUS
183+
// #ifdef APP-PLUS
184+
{
185+
name: '问题反馈',
186+
url: '/platforms/app-plus/feedback/feedback'
187+
},
194188
{
195189
name:'打开外部应用',
196190
url: 'scheme'

0 commit comments

Comments
 (0)