You need to sign in or sign up before continuing.
提交 0671e709 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

chore(custom-refresher): 调整平台兼容性

上级 616d566b
...@@ -1940,254 +1940,256 @@ ...@@ -1940,254 +1940,256 @@
} }
], ],
"subPackages": [ "subPackages": [
{ {
"root": "pages/API/get-file-system-manager", "root": "pages/API/get-file-system-manager",
"pages": [ "pages": [
// #ifdef APP-ANDROID || APP-IOS || MP-WEIXIN || APP-HARMONY // #ifdef APP-ANDROID || APP-IOS || MP-WEIXIN || APP-HARMONY
{ {
"path": "get-file-system-manager", "path": "get-file-system-manager",
"group": "1,11,0", "group": "1,8,0",
"style": { "style": {
"navigationBarTitleText": "uni.getFileSystemManager | 获取文件管理器" "navigationBarTitleText": "uni.getFileSystemManager | 获取文件管理器"
} }
} }
// #endif // #endif
] ]
}, },
{ {
"root": "pages/API/create-inner-audio-context", "root": "pages/API/create-inner-audio-context",
"pages": [ "pages": [
// #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN || APP-HARMONY // #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN || APP-HARMONY
{ {
"path": "create-inner-audio-context", "path": "create-inner-audio-context",
"group": "1,7,11", "group": "1,7,11",
"style": { "style": {
"navigationBarTitleText": "uni.createInnerAudioContext | 音频" "navigationBarTitleText": "uni.createInnerAudioContext | 音频播放"
} }
}, },
// #endif // #endif
// #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN || APP-HARMONY // #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN || APP-HARMONY
{ {
"path": "inner-audio-format", "path": "inner-audio-format",
"style": { "style": {
"navigationBarTitleText": "inner-audio-format" "navigationBarTitleText": "inner-audio-format"
} }
}, },
// #endif // #endif
// #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN || APP-HARMONY // #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN || APP-HARMONY
{ {
"path": "inner-audio-path", "path": "inner-audio-path",
"style": { "style": {
"navigationBarTitleText": "inner-audio-path" "navigationBarTitleText": "inner-audio-path"
} }
}, },
// #endif // #endif
// #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN || APP-HARMONY // #ifdef APP-ANDROID || APP-IOS || WEB || MP-WEIXIN || APP-HARMONY
{ {
"path": "inner-audio-mult", "path": "inner-audio-mult",
"style": { "style": {
"navigationBarTitleText": "inner-audio-mult" "navigationBarTitleText": "inner-audio-mult"
} }
} }
// #endif // #endif
] ]
}, },
{ {
"root": "pages/template", "root": "pages/template",
"pages": [ "pages": [
{ {
"path": "list-news/list-news", "path": "list-news/list-news",
"style": { "style": {
"navigationBarTitleText": "列表到详情示例(吸顶)" "navigationBarTitleText": "列表到详情示例(吸顶)"
} }
}, },
{ {
"path": "list-news/detail/detail", "path": "list-news/detail/detail",
"style": { "style": {
"navigationBarTitleText": "详情示例" "navigationBarTitleText": "详情示例"
} }
}, },
{ {
"path": "drop-card/drop-card", "path": "drop-card/drop-card",
"style": { "style": {
"navigationBarTitleText": "drop-card" "navigationBarTitleText": "drop-card"
} }
}, },
{ {
"path": "swiper-list/swiper-list", "path": "swiper-list/swiper-list",
"style": { "style": {
"navigationBarTitleText": "swiper-list" "navigationBarTitleText": "swiper-list"
} }
}, },
{ {
"path": "swiper-list2/swiper-list2", "path": "swiper-list2/swiper-list2",
"style": { "style": {
"navigationBarTitleText": "swiper-list2" "navigationBarTitleText": "swiper-list2"
} }
}, },
{ {
"path": "slider-100/slider-100", "path": "slider-100/slider-100",
"style": { "style": {
"navigationBarTitleText": "slider x 100" "navigationBarTitleText": "slider x 100"
} }
}, },
{ {
"path": "swiper-vertical-video/swiper-vertical-video", "path": "swiper-vertical-video/swiper-vertical-video",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"backgroundColorContent": "#000000" "backgroundColorContent": "#000000"
} }
}, },
// #ifdef APP // #ifdef APP
{ {
"path": "scroll-sticky/scroll-sticky", "path": "scroll-sticky/scroll-sticky",
"style": { "style": {
"navigationBarTitleText": "scroll-view自定义滚动吸顶" "navigationBarTitleText": "scroll-view自定义滚动吸顶"
} }
}, },
// #endif // #endif
{ {
"path": "scroll-fold-nav/scroll-fold-nav", "path": "scroll-fold-nav/scroll-fold-nav",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ // #ifdef APP
"path": "custom-refresher/custom-refresher", {
"style": { "path": "custom-refresher/custom-refresher",
"navigationBarTitleText": "自定义下拉刷新" "style": {
} "navigationBarTitleText": "自定义下拉刷新"
}, }
{ },
"path": "half-screen/half-screen", // #endif
"style": { {
"navigationBarTitleText": "半屏弹窗" "path": "half-screen/half-screen",
} "style": {
}, "navigationBarTitleText": "半屏弹窗"
{ }
"path": "long-list/long-list", },
"style": { {
"navigationBarTitleText": "Android顶部搜索框随时下移长列表", "path": "long-list/long-list",
"enablePullDownRefresh": true "style": {
} "navigationBarTitleText": "Android顶部搜索框随时下移长列表",
}, "enablePullDownRefresh": true
{ }
"path": "long-list2/long-list2", },
"style": { {
"navigationBarTitleText": "顶部banner长列表嵌套滚动示例", "path": "long-list2/long-list2",
"enablePullDownRefresh": true "style": {
} "navigationBarTitleText": "顶部banner长列表嵌套滚动示例",
}, "enablePullDownRefresh": true
// #ifdef APP }
{ },
"path": "long-list-nested/long-list-nested", // #ifdef APP
"style": { {
"navigationBarTitleText": "顶部banner长列表嵌套滚动示例", "path": "long-list-nested/long-list-nested",
"enablePullDownRefresh": true "style": {
} "navigationBarTitleText": "顶部banner长列表嵌套滚动示例",
}, "enablePullDownRefresh": true
// #endif }
{ },
"path": "long-waterflow-nested/long-waterflow-nested", // #endif
"style": { {
"navigationBarTitleText": "顶部banner瀑布流长列表嵌套滚动示例", "path": "long-waterflow-nested/long-waterflow-nested",
"enablePullDownRefresh": true "style": {
} "navigationBarTitleText": "顶部banner瀑布流长列表嵌套滚动示例",
}, "enablePullDownRefresh": true
{ }
"path": "pull-zoom-image/pull-zoom-image", },
"style": { {
"navigationStyle": "custom" "path": "pull-zoom-image/pull-zoom-image",
} "style": {
}, "navigationStyle": "custom"
{ }
"path": "navbar-lite/navbar-lite", },
"style": { {
"navigationBarTitleText": "自定义导航栏", "path": "navbar-lite/navbar-lite",
"navigationStyle": "custom" "style": {
} "navigationBarTitleText": "自定义导航栏",
}, "navigationStyle": "custom"
{ }
"path": "custom-tab-bar/custom-tab-bar", },
"style": { {
"navigationBarTitleText": "自定义TabBar" "path": "custom-tab-bar/custom-tab-bar",
} "style": {
}, "navigationBarTitleText": "自定义TabBar"
// #ifdef APP }
{ },
"path": "calendar/calendar", // #ifdef APP
"style": { {
"navigationBarTitleText": "日历" "path": "calendar/calendar",
} "style": {
}, "navigationBarTitleText": "日历"
// #endif }
// #ifdef APP-ANDROID || APP-IOS || WEB || APP-HARMONY },
{ // #endif
"path": "schema/schema", // #ifdef APP-ANDROID || APP-IOS || WEB || APP-HARMONY
"style": { {
"navigationBarTitleText": "打开schema示例" "path": "schema/schema",
} "style": {
}, "navigationBarTitleText": "打开schema示例"
// #endif }
{ },
"path": "custom-long-list/custom-long-list", // #endif
"style": { {
"navigationBarTitleText": "自定义虚拟长列表", "path": "custom-long-list/custom-long-list",
"enablePullDownRefresh": false "style": {
} "navigationBarTitleText": "自定义虚拟长列表",
}, "enablePullDownRefresh": false
{ }
"path": "test-background-color-content/test-background-color-content", },
"style": { {
"navigationBarTitleText": "", "path": "test-background-color-content/test-background-color-content",
"backgroundColorContent": "#fffae8" "style": {
} "navigationBarTitleText": "",
}, "backgroundColorContent": "#fffae8"
// #ifdef WEB }
{ },
"path": "browser-element/browser-element", // #ifdef WEB
"style": { {
"navigationBarTitleText": "如何使用浏览器 element" "path": "browser-element/browser-element",
} "style": {
}, "navigationBarTitleText": "如何使用浏览器 element"
// #endif }
// #ifdef MP-WEIXIN },
{ // #endif
"path": "vant/vant", // #ifdef MP-WEIXIN
"style": { {
"navigationBarTitleText": "微信自定义组件示例", "path": "vant/vant",
"usingComponents": { "style": {
"vant-button": "/wxcomponents/vant/button/index", "navigationBarTitleText": "微信自定义组件示例",
"vant-icon": "/wxcomponents/vant/icon/index", "usingComponents": {
"vant-info": "/wxcomponents/vant/info/index", "vant-button": "/wxcomponents/vant/button/index",
"vant-loading": "/wxcomponents/vant/loading/index" "vant-icon": "/wxcomponents/vant/icon/index",
} "vant-info": "/wxcomponents/vant/info/index",
} "vant-loading": "/wxcomponents/vant/loading/index"
}, }
{ }
"path": "WXS/WXS", },
"style": { {
"navigationBarTitleText": "WXS" "path": "WXS/WXS",
} "style": {
}, "navigationBarTitleText": "WXS"
// #endif }
{ },
"path": "issue-14765/issue-14765", // #endif
"style": { {
"navigationBarTitleText": "issue-14765" "path": "issue-14765/issue-14765",
} "style": {
}, "navigationBarTitleText": "issue-14765"
// #ifdef APP-ANDROID || APP-IOS }
{ },
"path": "test-uts-button/test-uts-button", // #ifdef APP-ANDROID || APP-IOS
"style": { {
"navigationBarTitleText": "" "path": "test-uts-button/test-uts-button",
} "style": {
} "navigationBarTitleText": ""
// #endif }
] }
}, // #endif
]
},
{ {
"root": "pages/CSS", "root": "pages/CSS",
"pages": [ "pages": [
......
...@@ -253,7 +253,6 @@ const pages = [ ...@@ -253,7 +253,6 @@ const pages = [
'/pages/template/swiper-list2/swiper-list2', '/pages/template/swiper-list2/swiper-list2',
'/pages/template/swiper-vertical-video/swiper-vertical-video', '/pages/template/swiper-vertical-video/swiper-vertical-video',
'/pages/template/scroll-fold-nav/scroll-fold-nav', '/pages/template/scroll-fold-nav/scroll-fold-nav',
'/pages/template/custom-refresher/custom-refresher',
'/pages/template/half-screen/half-screen', '/pages/template/half-screen/half-screen',
// 动态内容 // 动态内容
// '/pages/template/long-list/long-list', // '/pages/template/long-list/long-list',
...@@ -300,6 +299,7 @@ if(!isMP) { ...@@ -300,6 +299,7 @@ if(!isMP) {
if (!isAppWebview) { if (!isAppWebview) {
if (isApp) { if (isApp) {
pages.push( pages.push(
'/pages/template/custom-refresher/custom-refresher',
'/pages/template/long-list-nested/long-list-nested', '/pages/template/long-list-nested/long-list-nested',
'/pages/API/get-file-system-manager/get-file-system-manager', '/pages/API/get-file-system-manager/get-file-system-manager',
'/pages/API/get-system-setting/get-system-setting', '/pages/API/get-system-setting/get-system-setting',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册