修改安装打包配置文件page.json

This commit is contained in:
2024-12-23 11:18:07 +08:00
parent b35b2ed530
commit 35af3b0652

View File

@@ -4,6 +4,14 @@
"^tn-(.*)": "@/tuniao-ui/components/tn-$1/tn-$1.vue" "^tn-(.*)": "@/tuniao-ui/components/tn-$1/tn-$1.vue"
}, },
"pages": [ //pages数组中第一项表示应用启动页参考https://uniapp.dcloud.io/collocation/pages "pages": [ //pages数组中第一项表示应用启动页参考https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "斯耀短剧",
"enablePullDownRefresh": true,
"navigationStyle": "custom"
}
},
{ {
"path": "pages/task/index", "path": "pages/task/index",
"style": { "style": {
@@ -13,15 +21,6 @@
} }
}, },
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "斯耀短剧",
"enablePullDownRefresh": true,
"navigationStyle": "custom"
}
},
{ {
"path": "pages/task/prizeList", "path": "pages/task/prizeList",
"style": { "style": {
@@ -747,39 +746,34 @@
}, },
{ {
"path": "blogger/blogger", "path": "blogger/blogger",
"style" : "style": {
{
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "blogger/details", "path": "blogger/details",
"style" : "style": {
{
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "topic/topic", "path": "topic/topic",
"style" : "style": {
{
"navigationBarTitleText": "话题" "navigationBarTitleText": "话题"
} }
}, },
{ {
"path": "topic/reserve", "path": "topic/reserve",
"style" : "style": {
{
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "tools/tools", "path": "tools/tools",
"style" : "style": {
{
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
@@ -802,7 +796,18 @@
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"borderStyle": "black", "borderStyle": "black",
"list": [ "list": [{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/index@2x.png",
"selectedIconPath": "static/tabbar/index_@2x.png",
"text": "小剧场"
},
{
"pagePath": "pages/video/video",
"iconPath": "static/tabbar/learn@2x.png",
"selectedIconPath": "static/tabbar/learn_@2x.png",
"text": "推荐"
},
{ {
"pagePath": "pages/task/index", "pagePath": "pages/task/index",
"iconPath": "static/tabbar/task@2x.png", "iconPath": "static/tabbar/task@2x.png",
@@ -810,30 +815,17 @@
"text": "任务" "text": "任务"
}, },
{ {
"pagePath": "pages/index/index", "pagePath": "pages/chasingDrama/chasingDrama",
"iconPath": "static/tabbar/index@2x.png", "iconPath": "static/tabbar/zhuiju.png",
"selectedIconPath": "static/tabbar/index_@2x.png", "selectedIconPath": "static/tabbar/zhuiju_.png",
"text": "剧" "text": "剧"
},
{
"pagePath": "pages/me/index",
"iconPath": "static/tabbar/me@2x.png",
"selectedIconPath": "static/tabbar/me_@2x.png",
"text": "我的"
} }
// {
// "pagePath": "pages/video/video",
// "iconPath": "static/tabbar/learn@2x.png",
// "selectedIconPath": "static/tabbar/learn_@2x.png",
// "text": "推荐"
// },
// {
// "pagePath": "pages/chasingDrama/chasingDrama",
// "iconPath": "static/tabbar/zhuiju.png",
// "selectedIconPath": "static/tabbar/zhuiju_.png",
// "text": "追剧"
// },
// {
// "pagePath": "pages/me/index",
// "iconPath": "static/tabbar/me@2x.png",
// "selectedIconPath": "static/tabbar/me_@2x.png",
// "text": "我的"
// }
] ]
}, },
"condition": { //模式配置,仅开发期间生效 "condition": { //模式配置,仅开发期间生效