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

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

上级 5c1ddde5
...@@ -1103,27 +1103,23 @@ ...@@ -1103,27 +1103,23 @@
"style": { "style": {
"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": {
......
...@@ -54,7 +54,8 @@ ...@@ -54,7 +54,8 @@
export default { export default {
data() { data() {
return { return {
list: [ list: [
// #ifdef APP
{ {
id: 'long-list', id: 'long-list',
url: 'long-list', url: 'long-list',
...@@ -71,7 +72,8 @@ ...@@ -71,7 +72,8 @@
url: 'long-list2' url: 'long-list2'
}, },
] 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.
先完成此消息的编辑!
想要评论请 注册