87 lines
1.8 KiB
JSON
87 lines
1.8 KiB
JSON
|
{
|
|||
|
"easycom": {
|
|||
|
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
|
|||
|
},
|
|||
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
|||
|
{
|
|||
|
"path": "pages/index/index",
|
|||
|
//公共导航
|
|||
|
"style": {
|
|||
|
//导航栏标题文字内容
|
|||
|
"navigationBarTitleText": "",
|
|||
|
//是否开启下拉刷新
|
|||
|
"enablePullDownRefresh": true,
|
|||
|
"navigationStyle": "custom",
|
|||
|
"onReachBottomDistance": 50,
|
|||
|
"app-plus": {
|
|||
|
"titleNView": true
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"path": "uview-ui/components/u-avatar-cropper/u-avatar-cropper",
|
|||
|
"style": {
|
|||
|
"navigationBarTitleText": "头像裁剪",
|
|||
|
"navigationBarTextStyle": "black",
|
|||
|
"navigationBarBackgroundColor": "#fff"
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"subPackages": [
|
|||
|
{
|
|||
|
"root": "pages/index",
|
|||
|
"pages": [
|
|||
|
{
|
|||
|
"path": "rich-detail",
|
|||
|
"style": {
|
|||
|
"navigationBarTitleText": "协议内容"
|
|||
|
}
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"root": "pages/pc_web",
|
|||
|
"pages": [
|
|||
|
{
|
|||
|
"path": "index/index",
|
|||
|
"style": {
|
|||
|
"navigationBarTitleText": "pixel.ai制图"
|
|||
|
}
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"root": "pages/mobile_web",
|
|||
|
"pages": [
|
|||
|
{
|
|||
|
"path": "index/index",
|
|||
|
"style": {
|
|||
|
"navigationBarTitleText": "pixel.ai制图"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"path": "workshops/index",
|
|||
|
"style": {
|
|||
|
"navigationBarTitleText": "工作室"
|
|||
|
}
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
],
|
|||
|
"globalStyle": {
|
|||
|
"navigationBarTextStyle": "black",
|
|||
|
"navigationBarTitleText": "",
|
|||
|
"navigationBarBackgroundColor": "#FFFFFF",
|
|||
|
"backgroundColor": "#F8F8F8",
|
|||
|
"navigationStyle": "custom"
|
|||
|
},
|
|||
|
"condition": { //模式配置,仅开发期间生效
|
|||
|
"current": 0, //当前激活的模式(list 的索引项)
|
|||
|
"list": [{
|
|||
|
"name": "", //模式名称
|
|||
|
"path": "", //启动页面,必选
|
|||
|
"query": "" //启动参数,在页面的onLoad函数里面得到
|
|||
|
}]
|
|||
|
}
|
|||
|
}
|