diff --git a/src/pages.json b/src/pages.json index 5cfd52a..64f0c07 100644 --- a/src/pages.json +++ b/src/pages.json @@ -73,23 +73,6 @@ } } }, - { - "path": "pages/throughout2/index", - "type": "page", - "style": { - "navigationBarTitleText": "通屏+下拉刷新+自定义导航栏", - "enablePullDownRefresh": false, - "backgroundColor": "#23c09c", - "app-plus": { - "titleNView": { - "type": "transparent" - } - }, - "mp-weixin": { - "navigationStyle": "custom" - } - } - }, { "path": "pages/index/demo/component-auto-import", "type": "page" @@ -117,6 +100,23 @@ "path": "pages/index/demo/request", "type": "page" }, + { + "path": "pages/index/demo/throughout", + "type": "page", + "style": { + "navigationBarTitleText": "通屏+下拉刷新+自定义导航栏", + "enablePullDownRefresh": false, + "backgroundColor": "#23c09c", + "app-plus": { + "titleNView": { + "type": "transparent" + } + }, + "mp-weixin": { + "navigationStyle": "custom" + } + } + }, { "path": "pages/index/demo/uni-ui-icons", "type": "page" diff --git a/src/pages/throughout2/index.vue b/src/pages/index/demo/throughout.vue similarity index 100% rename from src/pages/throughout2/index.vue rename to src/pages/index/demo/throughout.vue diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 292debc..97853b2 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -60,7 +60,7 @@ const list = ref([ }, { name: '自定义导航栏渐变', - url: 'navbar-plus', + url: 'throughout', }, { name: '请求封装+请求拦截器', diff --git a/src/pages/throughout/index.vue b/src/pages/throughout/index.vue index b4d617f..bad4f22 100644 --- a/src/pages/throughout/index.vue +++ b/src/pages/throughout/index.vue @@ -57,7 +57,11 @@ onPageScroll 实现全端效果一样,另外如果是app端,还可以配置 titleNView。参考 https://uniapp.dcloud.net.cn/tutorial/page.html#onpagescroll 。 - + diff --git a/uni-pages.d.ts b/uni-pages.d.ts index c8f462f..93b0ea6 100644 --- a/uni-pages.d.ts +++ b/uni-pages.d.ts @@ -8,13 +8,13 @@ interface NavigateToOptions { "pages/demo/index" | "pages/my/index" | "pages/throughout/index" | - "pages/throughout2/index" | "pages/index/demo/component-auto-import" | "pages/index/demo/mp-weixin-share" | "pages/index/demo/navbar" | "pages/index/demo/pages-auto-import" | "pages/index/demo/pinia" | "pages/index/demo/request" | + "pages/index/demo/throughout" | "pages/index/demo/uni-ui-icons" | "pages/index/demo/uni-ui" | "pages/index/demo/unocss-icons" |