提交 dabf8c77 编写于 作者: 雪洛's avatar 雪洛

feat: web端屏蔽嵌套滚动示例

上级 5c1ddde5
...@@ -1104,26 +1104,22 @@ ...@@ -1104,26 +1104,22 @@
"navigationBarTitleText": "半屏弹窗" "navigationBarTitleText": "半屏弹窗"
} }
}, },
// #ifdef APP
{ {
"path": "pages/template/long-list/long-list", "path": "pages/template/long-list/long-list",
"style": { "style": {
"navigationBarTitleText": "顶部搜索框随时下移长列表" "navigationBarTitleText": "顶部搜索框随时下移长列表",
// #ifdef APP
,
"enablePullDownRefresh": true "enablePullDownRefresh": true
// #endif
} }
}, },
{ {
"path": "pages/template/long-list2/long-list2", "path": "pages/template/long-list2/long-list2",
"style": { "style": {
"navigationBarTitleText": "顶部banner长列表" "navigationBarTitleText": "顶部banner长列表",
// #ifdef APP
,
"enablePullDownRefresh": true "enablePullDownRefresh": true
// #endif
} }
}, },
// #endif
{ {
"path": "pages/template/pull-zoom-image/pull-zoom-image", "path": "pages/template/pull-zoom-image/pull-zoom-image",
"style": { "style": {
......
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
data() { data() {
return { return {
list: [ list: [
// #ifdef APP
{ {
id: 'long-list', id: 'long-list',
url: 'long-list', url: 'long-list',
...@@ -72,6 +73,7 @@ ...@@ -72,6 +73,7 @@
}, },
] as Page[], ] as Page[],
}, },
// #endif
{ {
id: 'list-news', id: 'list-news',
url: 'list-news', url: 'list-news',
......
...@@ -261,10 +261,6 @@ ...@@ -261,10 +261,6 @@
background-color: #007AFF; background-color: #007AFF;
} }
.swiper-list {
flex: 1;
}
.swiper-view { .swiper-view {
flex: 1; flex: 1;
} }
......
...@@ -265,10 +265,6 @@ ...@@ -265,10 +265,6 @@
background-color: #007AFF; background-color: #007AFF;
} }
.swiper-list {
flex: 1;
}
.swiper-view { .swiper-view {
flex: 1; flex: 1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册