Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello uni-app x
提交
476743b3
H
hello uni-app x
项目概览
DCloud
/
hello uni-app x
通知
6005
Star
91
Fork
164
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
18
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello uni-app x
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
18
Issue
18
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
476743b3
编写于
6月 30, 2023
作者:
Y
yurj26
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: globalStyle.backgroundColor
上级
e6a4794b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
585 addition
and
573 deletion
+585
-573
App.vue
App.vue
+47
-18
pages.json
pages.json
+538
-555
未找到文件。
App.vue
浏览文件 @
476743b3
<
script
>
export
default
{
onLaunch
:
function
()
{
console
.
log
(
'
App Launch
'
)
// const performance: Performance = uni.getPerformance()
// const observer1: PerformanceObserver = performance.createObserver((entryList: PerformanceObserverEntryList) => {
// console.log("observer1:entryList.getEntries()" + JSON.stringify(entryList.getEntries()))
// })
// observer1.observe({ entryTypes: ['render', 'navigation'] } as PerformanceObserverOptions)
},
onShow
:
function
()
{
console
.
log
(
'
App Show
'
)
},
onHide
:
function
()
{
console
.
log
(
'
App Hide
'
)
export
default
{
onLaunch
:
function
()
{
console
.
log
(
'
App Launch
'
)
// const performance: Performance = uni.getPerformance()
// const observer1: PerformanceObserver = performance.createObserver((entryList: PerformanceObserverEntryList) => {
// console.log("observer1:entryList.getEntries()" + JSON.stringify(entryList.getEntries()))
// })
// observer1.observe({ entryTypes: ['render', 'navigation'] } as PerformanceObserverOptions)
},
onShow
:
function
()
{
console
.
log
(
'
App Show
'
)
},
onHide
:
function
()
{
console
.
log
(
'
App Hide
'
)
}
}
}
</
script
>
<
style
>
/*每个页面公共css */
@import
'./common/uni.css'
;
/*每个页面公共css */
@import
'./common/uni.css'
;
/* #ifdef H5 */
@media
screen
and
(
min-width
:
768px
)
{
body
{
overflow-y
:
scroll
;
}
}
/* 顶栏通栏样式 */
/* .uni-top-window {
left: 0;
right: 0;
} */
uni-page-body
{
background-color
:
#F5F5F5
!important
;
min-height
:
100%
!important
;
height
:
auto
!important
;
}
.uni-top-window
uni-tabbar
.uni-tabbar
{
background-color
:
#fff
!important
;
}
.uni-app--showleftwindow
.hideOnPc
{
display
:
none
!important
;
}
/* #endif */
</
style
>
\ No newline at end of file
pages.json
浏览文件 @
476743b3
{
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path"
:
"pages/tabBar/component/component"
,
"style"
:
{
"navigationBarTitleText"
:
"内置组件"
}
},
{
"path"
:
"pages/component/view/view"
,
"style"
:
{
"navigationBarTitleText"
:
"view"
}
},
{
"path"
:
"pages/component/scroll-view/scroll-view"
,
"style"
:
{
"navigationBarTitleText"
:
"scroll-view"
}
},
{
"path"
:
"pages/component/text/text"
,
"style"
:
{
"navigationBarTitleText"
:
"text"
}
},
{
"path"
:
"pages/component/progress/progress"
,
"style"
:
{
"navigationBarTitleText"
:
"progress"
}
},
{
"path"
:
"pages/component/button/button"
,
"style"
:
{
"navigationBarTitleText"
:
"button"
}
},
{
"path"
:
"pages/component/radio/radio"
,
"style"
:
{
"navigationBarTitleText"
:
"radio"
}
},
{
"path"
:
"pages/component/checkbox/checkbox"
,
"style"
:
{
"navigationBarTitleText"
:
"checkbox"
}
},
{
"path"
:
"pages/component/input/input"
,
"style"
:
{
"navigationBarTitleText"
:
"input"
}
},
{
"path"
:
"pages/component/textarea/textarea"
,
"style"
:
{
"navigationBarTitleText"
:
"textarea"
}
},
{
"path"
:
"pages/component/slider/slider"
,
"style"
:
{
"navigationBarTitleText"
:
"slider"
}
},
{
"path"
:
"pages/component/switch/switch"
,
"style"
:
{
"navigationBarTitleText"
:
"switch"
}
},
{
"path"
:
"pages/component/swiper/swiper"
,
"style"
:
{
"navigationBarTitleText"
:
"swiper"
}
},
{
"path"
:
"pages/component/image/image"
,
"style"
:
{
"navigationBarTitleText"
:
"image"
}
},
{
"path"
:
"pages/component/web-view/web-view"
,
"style"
:
{
"navigationBarTitleText"
:
"web-view"
}
},
{
"path"
:
"pages/component/web-view-local/web-view-local"
,
"style"
:
{
"navigationBarTitleText"
:
"web-view-local"
}
},
{
"path"
:
"pages/tabBar/API/API"
,
"style"
:
{
"navigationBarTitleText"
:
"接口"
}
},
{
"path"
:
"pages/API/navigator/navigator"
,
"style"
:
{
"navigationBarTitleText"
:
"页面跳转"
}
},
{
"path"
:
"pages/API/navigator/new-page/new-uvue-page-1"
,
"style"
:
{
"navigationBarTitleText"
:
"新UVUE页面1"
}
},
{
"path"
:
"pages/API/navigator/new-page/new-uvue-page-2"
,
"style"
:
{
"navigationBarTitleText"
:
"新UVUE页面2"
}
},
{
"path"
:
"pages/API/storage/storage"
,
"style"
:
{
"navigationBarTitleText"
:
"数据存储"
}
},
{
"path"
:
"pages/API/action-sheet/action-sheet"
,
"style"
:
{
"navigationBarTitleText"
:
"操作菜单"
}
},
{
"path"
:
"pages/API/modal/modal"
,
"style"
:
{
"navigationBarTitleText"
:
"模态弹窗"
}
},
{
"path"
:
"pages/API/show-loading/show-loading"
,
"style"
:
{
"navigationBarTitleText"
:
"加载提示框"
}
},
{
"path"
:
"pages/API/toast/toast"
,
"style"
:
{
"navigationBarTitleText"
:
"消息提示框"
}
},
{
"path"
:
"pages/API/get-location/get-location"
,
"style"
:
{
"navigationBarTitleText"
:
"获取定位"
}
},
{
"path"
:
"pages/tabBar/CSS/CSS"
,
"style"
:
{
"navigationBarTitleText"
:
"CSS"
}
},
{
"path"
:
"pages/CSS/background/background-color"
,
"style"
:
{
"navigationBarTitleText"
:
"background-color"
}
},
{
"path"
:
"pages/CSS/background/background-image"
,
"style"
:
{
"navigationBarTitleText"
:
"background-image"
}
},
{
"path"
:
"pages/CSS/border/border-color"
,
"style"
:
{
"navigationBarTitleText"
:
"border-color"
}
},
{
"path"
:
"pages/CSS/border/border-radius"
,
"style"
:
{
"navigationBarTitleText"
:
"border-radius"
}
},
{
"path"
:
"pages/CSS/border/border-style"
,
"style"
:
{
"navigationBarTitleText"
:
"border-style"
}
},
{
"path"
:
"pages/CSS/border/border-width"
,
"style"
:
{
"navigationBarTitleText"
:
"border-width"
}
},
{
"path"
:
"pages/CSS/border/border"
,
"style"
:
{
"navigationBarTitleText"
:
"border"
}
},
{
"path"
:
"pages/CSS/box-shadow/box-shadow"
,
"style"
:
{
"navigationBarTitleText"
:
"box-shadow"
}
},
{
"path"
:
"pages/CSS/flex/align-content"
,
"style"
:
{
"navigationBarTitleText"
:
"align-content"
}
},
{
"path"
:
"pages/CSS/flex/align-items"
,
"style"
:
{
"navigationBarTitleText"
:
"align-items"
}
},
{
"path"
:
"pages/CSS/flex/flex-basis"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-basis"
}
},
{
"path"
:
"pages/CSS/flex/flex-direction"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-direction"
}
},
{
"path"
:
"pages/CSS/flex/flex-flow"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-flow"
}
},
{
"path"
:
"pages/CSS/flex/flex-grow"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-grow"
}
},
{
"path"
:
"pages/CSS/flex/flex-shrink"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-shrink"
}
},
{
"path"
:
"pages/CSS/flex/flex"
,
"style"
:
{
"navigationBarTitleText"
:
"flex"
}
},
{
"path"
:
"pages/CSS/flex/justify-content"
,
"style"
:
{
"navigationBarTitleText"
:
"justify-content"
}
},
{
"path"
:
"pages/CSS/layout/height"
,
"style"
:
{
"navigationBarTitleText"
:
"height"
}
},
{
"path"
:
"pages/CSS/layout/max-height"
,
"style"
:
{
"navigationBarTitleText"
:
"max-height"
}
},
{
"path"
:
"pages/CSS/layout/max-width"
,
"style"
:
{
"navigationBarTitleText"
:
"max-width"
}
},
{
"path"
:
"pages/CSS/layout/min-height"
,
"style"
:
{
"navigationBarTitleText"
:
"min-height"
}
},
{
"path"
:
"pages/CSS/layout/min-width"
,
"style"
:
{
"navigationBarTitleText"
:
"min-width"
}
},
{
"path"
:
"pages/CSS/layout/position"
,
"style"
:
{
"navigationBarTitleText"
:
"position"
}
},
{
"path"
:
"pages/CSS/layout/width"
,
"style"
:
{
"navigationBarTitleText"
:
"width"
}
},
{
"path"
:
"pages/CSS/margin/margin-bottom"
,
"style"
:
{
"navigationBarTitleText"
:
"margin-bottom"
}
},
{
"path"
:
"pages/CSS/margin/margin-left"
,
"style"
:
{
"navigationBarTitleText"
:
"margin-left"
}
},
{
"path"
:
"pages/CSS/margin/margin-right"
,
"style"
:
{
"navigationBarTitleText"
:
"margin-right"
}
},
{
"path"
:
"pages/CSS/margin/margin-top"
,
"style"
:
{
"navigationBarTitleText"
:
"margin-top"
}
},
{
"path"
:
"pages/CSS/margin/margin"
,
"style"
:
{
"navigationBarTitleText"
:
"margin"
}
},
{
"path"
:
"pages/CSS/padding/padding-bottom"
,
"style"
:
{
"navigationBarTitleText"
:
"padding-bottom"
}
},
{
"path"
:
"pages/CSS/padding/padding-left"
,
"style"
:
{
"navigationBarTitleText"
:
"padding-left"
}
},
{
"path"
:
"pages/CSS/padding/padding-right"
,
"style"
:
{
"navigationBarTitleText"
:
"padding-right"
}
},
{
"path"
:
"pages/CSS/padding/padding-top"
,
"style"
:
{
"navigationBarTitleText"
:
"padding-top"
}
},
{
"path"
:
"pages/CSS/padding/padding"
,
"style"
:
{
"navigationBarTitleText"
:
"padding"
}
},
{
"path"
:
"pages/CSS/text/color"
,
"style"
:
{
"navigationBarTitleText"
:
"color"
}
},
{
"path"
:
"pages/CSS/text/font-family"
,
"style"
:
{
"navigationBarTitleText"
:
"font-family"
}
},
{
"path"
:
"pages/CSS/text/font-size"
,
"style"
:
{
"navigationBarTitleText"
:
"font-size"
}
},
{
"path"
:
"pages/CSS/text/font-style"
,
"style"
:
{
"navigationBarTitleText"
:
"font-style"
}
},
{
"path"
:
"pages/CSS/text/font-weight"
,
"style"
:
{
"navigationBarTitleText"
:
"font-weight"
}
},
{
"path"
:
"pages/CSS/text/line-height"
,
"style"
:
{
"navigationBarTitleText"
:
"line-height"
}
},
{
"path"
:
"pages/CSS/text/text-align"
,
"style"
:
{
"navigationBarTitleText"
:
"text-align"
}
},
{
"path"
:
"pages/CSS/text/text-decoration-line"
,
"style"
:
{
"navigationBarTitleText"
:
"text-decoration-line"
}
}
,{
"path"
:
"pages/API/request/request"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/upload-file/upload-file"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/download-file/download-file"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/websocket-socketTask/websocket-socketTask"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/websocket-global/websocket-global"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/get-system-info/get-system-info"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/get-device-info/get-device-info"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/get-app-base-info/get-app-base-info"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/get-system-setting/get-system-setting"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/API/get-app-authorize-setting/get-app-authorize-setting"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
],
"globalStyle"
:
{
"pageOrientation"
:
"portrait"
,
"navigationBarTitleText"
:
"Hello uniapp x"
,
"navigationBarTextStyle"
:
"white"
,
"navigationBarBackgroundColor"
:
"#007AFF"
,
"backgroundColor"
:
"#F8F8F8"
,
"backgroundColorTop"
:
"#F4F5F6"
,
"backgroundColorBottom"
:
"#F4F5F6"
,
"h5"
:
{
"maxWidth"
:
1190
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarBackgroundColor"
:
"#F1F1F1"
}
},
"tabBar"
:
{
"color"
:
"#7A7E83"
,
"selectedColor"
:
"#007AFF"
,
"borderStyle"
:
"black"
,
"backgroundColor"
:
"#F8F8F8"
,
"list"
:
[{
"pagePath"
:
"pages/tabBar/component/component"
,
"iconPath"
:
"static/component.png"
,
"selectedIconPath"
:
"static/componentHL.png"
,
"text"
:
"内置组件"
},
{
"pagePath"
:
"pages/tabBar/API/API"
,
"iconPath"
:
"static/api.png"
,
"selectedIconPath"
:
"static/apiHL.png"
,
"text"
:
"接口"
},
{
"pagePath"
:
"pages/tabBar/CSS/CSS"
,
"iconPath"
:
"static/extui.png"
,
"selectedIconPath"
:
"static/extuiHL.png"
,
"text"
:
"CSS"
}
]
},
"uniIdRouter"
:
{},
"condition"
:
{
//模式配置,仅开发期间生效
"current"
:
0
,
//当前激活的模式(list
的索引项)
"list"
:
[{
"name"
:
""
,
//模式名称
"path"
:
""
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
}]
}
{
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path"
:
"pages/tabBar/component/component"
,
"style"
:
{
"navigationBarTitleText"
:
"内置组件"
,
"backgroundColor"
:
"#F8F8F8"
}
},
{
"path"
:
"pages/component/view/view"
,
"style"
:
{
"navigationBarTitleText"
:
"view"
}
},
{
"path"
:
"pages/component/scroll-view/scroll-view"
,
"style"
:
{
"navigationBarTitleText"
:
"scroll-view"
}
},
{
"path"
:
"pages/component/text/text"
,
"style"
:
{
"navigationBarTitleText"
:
"text"
}
},
{
"path"
:
"pages/component/progress/progress"
,
"style"
:
{
"navigationBarTitleText"
:
"progress"
}
},
{
"path"
:
"pages/component/button/button"
,
"style"
:
{
"navigationBarTitleText"
:
"button"
}
},
{
"path"
:
"pages/component/radio/radio"
,
"style"
:
{
"navigationBarTitleText"
:
"radio"
}
},
{
"path"
:
"pages/component/checkbox/checkbox"
,
"style"
:
{
"navigationBarTitleText"
:
"checkbox"
}
},
{
"path"
:
"pages/component/input/input"
,
"style"
:
{
"navigationBarTitleText"
:
"input"
}
},
{
"path"
:
"pages/component/textarea/textarea"
,
"style"
:
{
"navigationBarTitleText"
:
"textarea"
}
},
{
"path"
:
"pages/component/slider/slider"
,
"style"
:
{
"navigationBarTitleText"
:
"slider"
}
},
{
"path"
:
"pages/component/switch/switch"
,
"style"
:
{
"navigationBarTitleText"
:
"switch"
}
},
{
"path"
:
"pages/component/swiper/swiper"
,
"style"
:
{
"navigationBarTitleText"
:
"swiper"
}
},
{
"path"
:
"pages/component/image/image"
,
"style"
:
{
"navigationBarTitleText"
:
"image"
}
},
{
"path"
:
"pages/component/web-view/web-view"
,
"style"
:
{
"navigationBarTitleText"
:
"web-view"
}
},
{
"path"
:
"pages/component/web-view-local/web-view-local"
,
"style"
:
{
"navigationBarTitleText"
:
"web-view-local"
}
},
{
"path"
:
"pages/tabBar/API/API"
,
"style"
:
{
"navigationBarTitleText"
:
"接口"
,
"backgroundColor"
:
"#F8F8F8"
}
},
{
"path"
:
"pages/API/navigator/navigator"
,
"style"
:
{
"navigationBarTitleText"
:
"页面跳转"
}
},
{
"path"
:
"pages/API/navigator/new-page/new-uvue-page-1"
,
"style"
:
{
"navigationBarTitleText"
:
"新UVUE页面1"
}
},
{
"path"
:
"pages/API/navigator/new-page/new-uvue-page-2"
,
"style"
:
{
"navigationBarTitleText"
:
"新UVUE页面2"
}
},
{
"path"
:
"pages/API/storage/storage"
,
"style"
:
{
"navigationBarTitleText"
:
"数据存储"
}
},
{
"path"
:
"pages/API/action-sheet/action-sheet"
,
"style"
:
{
"navigationBarTitleText"
:
"操作菜单"
}
},
{
"path"
:
"pages/API/modal/modal"
,
"style"
:
{
"navigationBarTitleText"
:
"模态弹窗"
}
},
{
"path"
:
"pages/API/show-loading/show-loading"
,
"style"
:
{
"navigationBarTitleText"
:
"加载提示框"
}
},
{
"path"
:
"pages/API/toast/toast"
,
"style"
:
{
"navigationBarTitleText"
:
"消息提示框"
}
},
{
"path"
:
"pages/API/get-location/get-location"
,
"style"
:
{
"navigationBarTitleText"
:
"获取定位"
}
},
{
"path"
:
"pages/tabBar/CSS/CSS"
,
"style"
:
{
"navigationBarTitleText"
:
"CSS"
,
"backgroundColor"
:
"#F8F8F8"
}
},
{
"path"
:
"pages/CSS/background/background-color"
,
"style"
:
{
"navigationBarTitleText"
:
"background-color"
}
},
{
"path"
:
"pages/CSS/background/background-image"
,
"style"
:
{
"navigationBarTitleText"
:
"background-image"
}
},
{
"path"
:
"pages/CSS/border/border-color"
,
"style"
:
{
"navigationBarTitleText"
:
"border-color"
}
},
{
"path"
:
"pages/CSS/border/border-radius"
,
"style"
:
{
"navigationBarTitleText"
:
"border-radius"
}
},
{
"path"
:
"pages/CSS/border/border-style"
,
"style"
:
{
"navigationBarTitleText"
:
"border-style"
}
},
{
"path"
:
"pages/CSS/border/border-width"
,
"style"
:
{
"navigationBarTitleText"
:
"border-width"
}
},
{
"path"
:
"pages/CSS/border/border"
,
"style"
:
{
"navigationBarTitleText"
:
"border"
}
},
{
"path"
:
"pages/CSS/box-shadow/box-shadow"
,
"style"
:
{
"navigationBarTitleText"
:
"box-shadow"
}
},
{
"path"
:
"pages/CSS/flex/align-content"
,
"style"
:
{
"navigationBarTitleText"
:
"align-content"
}
},
{
"path"
:
"pages/CSS/flex/align-items"
,
"style"
:
{
"navigationBarTitleText"
:
"align-items"
}
},
{
"path"
:
"pages/CSS/flex/flex-basis"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-basis"
}
},
{
"path"
:
"pages/CSS/flex/flex-direction"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-direction"
}
},
{
"path"
:
"pages/CSS/flex/flex-flow"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-flow"
}
},
{
"path"
:
"pages/CSS/flex/flex-grow"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-grow"
}
},
{
"path"
:
"pages/CSS/flex/flex-shrink"
,
"style"
:
{
"navigationBarTitleText"
:
"flex-shrink"
}
},
{
"path"
:
"pages/CSS/flex/flex"
,
"style"
:
{
"navigationBarTitleText"
:
"flex"
}
},
{
"path"
:
"pages/CSS/flex/justify-content"
,
"style"
:
{
"navigationBarTitleText"
:
"justify-content"
}
},
{
"path"
:
"pages/CSS/layout/height"
,
"style"
:
{
"navigationBarTitleText"
:
"height"
}
},
{
"path"
:
"pages/CSS/layout/max-height"
,
"style"
:
{
"navigationBarTitleText"
:
"max-height"
}
},
{
"path"
:
"pages/CSS/layout/max-width"
,
"style"
:
{
"navigationBarTitleText"
:
"max-width"
}
},
{
"path"
:
"pages/CSS/layout/min-height"
,
"style"
:
{
"navigationBarTitleText"
:
"min-height"
}
},
{
"path"
:
"pages/CSS/layout/min-width"
,
"style"
:
{
"navigationBarTitleText"
:
"min-width"
}
},
{
"path"
:
"pages/CSS/layout/position"
,
"style"
:
{
"navigationBarTitleText"
:
"position"
}
},
{
"path"
:
"pages/CSS/layout/width"
,
"style"
:
{
"navigationBarTitleText"
:
"width"
}
},
{
"path"
:
"pages/CSS/margin/margin-bottom"
,
"style"
:
{
"navigationBarTitleText"
:
"margin-bottom"
}
},
{
"path"
:
"pages/CSS/margin/margin-left"
,
"style"
:
{
"navigationBarTitleText"
:
"margin-left"
}
},
{
"path"
:
"pages/CSS/margin/margin-right"
,
"style"
:
{
"navigationBarTitleText"
:
"margin-right"
}
},
{
"path"
:
"pages/CSS/margin/margin-top"
,
"style"
:
{
"navigationBarTitleText"
:
"margin-top"
}
},
{
"path"
:
"pages/CSS/margin/margin"
,
"style"
:
{
"navigationBarTitleText"
:
"margin"
}
},
{
"path"
:
"pages/CSS/padding/padding-bottom"
,
"style"
:
{
"navigationBarTitleText"
:
"padding-bottom"
}
},
{
"path"
:
"pages/CSS/padding/padding-left"
,
"style"
:
{
"navigationBarTitleText"
:
"padding-left"
}
},
{
"path"
:
"pages/CSS/padding/padding-right"
,
"style"
:
{
"navigationBarTitleText"
:
"padding-right"
}
},
{
"path"
:
"pages/CSS/padding/padding-top"
,
"style"
:
{
"navigationBarTitleText"
:
"padding-top"
}
},
{
"path"
:
"pages/CSS/padding/padding"
,
"style"
:
{
"navigationBarTitleText"
:
"padding"
}
},
{
"path"
:
"pages/CSS/text/color"
,
"style"
:
{
"navigationBarTitleText"
:
"color"
}
},
{
"path"
:
"pages/CSS/text/font-family"
,
"style"
:
{
"navigationBarTitleText"
:
"font-family"
}
},
{
"path"
:
"pages/CSS/text/font-size"
,
"style"
:
{
"navigationBarTitleText"
:
"font-size"
}
},
{
"path"
:
"pages/CSS/text/font-style"
,
"style"
:
{
"navigationBarTitleText"
:
"font-style"
}
},
{
"path"
:
"pages/CSS/text/font-weight"
,
"style"
:
{
"navigationBarTitleText"
:
"font-weight"
}
},
{
"path"
:
"pages/CSS/text/line-height"
,
"style"
:
{
"navigationBarTitleText"
:
"line-height"
}
},
{
"path"
:
"pages/CSS/text/text-align"
,
"style"
:
{
"navigationBarTitleText"
:
"text-align"
}
},
{
"path"
:
"pages/CSS/text/text-decoration-line"
,
"style"
:
{
"navigationBarTitleText"
:
"text-decoration-line"
}
},
{
"path"
:
"pages/API/request/request"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/upload-file/upload-file"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/download-file/download-file"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/websocket-socketTask/websocket-socketTask"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/websocket-global/websocket-global"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/get-system-info/get-system-info"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/get-device-info/get-device-info"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/get-app-base-info/get-app-base-info"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/get-system-setting/get-system-setting"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/get-app-authorize-setting/get-app-authorize-setting"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
],
"globalStyle"
:
{
"pageOrientation"
:
"portrait"
,
"navigationBarTitleText"
:
"Hello uniapp x"
,
"navigationBarTextStyle"
:
"white"
,
"navigationBarBackgroundColor"
:
"#007AFF"
,
"backgroundColor"
:
"#efeff4"
,
"backgroundColorTop"
:
"#F4F5F6"
,
"backgroundColorBottom"
:
"#F4F5F6"
,
"h5"
:
{
"maxWidth"
:
1190
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarBackgroundColor"
:
"#F1F1F1"
}
},
"tabBar"
:
{
"color"
:
"#7A7E83"
,
"selectedColor"
:
"#007AFF"
,
"borderStyle"
:
"black"
,
"backgroundColor"
:
"#F8F8F8"
,
"list"
:
[{
"pagePath"
:
"pages/tabBar/component/component"
,
"iconPath"
:
"static/component.png"
,
"selectedIconPath"
:
"static/componentHL.png"
,
"text"
:
"内置组件"
},
{
"pagePath"
:
"pages/tabBar/API/API"
,
"iconPath"
:
"static/api.png"
,
"selectedIconPath"
:
"static/apiHL.png"
,
"text"
:
"接口"
},
{
"pagePath"
:
"pages/tabBar/CSS/CSS"
,
"iconPath"
:
"static/extui.png"
,
"selectedIconPath"
:
"static/extuiHL.png"
,
"text"
:
"CSS"
}
]
},
"uniIdRouter"
:
{},
"condition"
:
{
//模式配置,仅开发期间生效
"current"
:
0
,
//当前激活的模式(list
的索引项)
"list"
:
[{
"name"
:
""
,
//模式名称
"path"
:
""
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
}]
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录