feat: 整理通屏页二级页面

This commit is contained in:
Burt 2024-01-08 21:28:03 +08:00
parent 3afb34bce5
commit d05dae4cbf
5 changed files with 24 additions and 20 deletions

View File

@ -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"

View File

@ -60,7 +60,7 @@ const list = ref([
},
{
name: '自定义导航栏渐变',
url: 'navbar-plus',
url: 'throughout',
},
{
name: '请求封装+请求拦截器',

View File

@ -57,7 +57,11 @@
onPageScroll 实现全端效果一样另外如果是app端还可以配置 titleNView参考
https://uniapp.dcloud.net.cn/tutorial/page.html#onpagescroll
</view>
<navigator url="/pages/throughout2/index" open-type="navigate" hover-class="navigator-hover">
<navigator
url="/pages/index/demo/throughout"
open-type="navigate"
hover-class="navigator-hover"
>
<button>去二级详情页</button>
</navigator>
<view class="bg-white">

2
uni-pages.d.ts vendored
View File

@ -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" |