Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello uni-app x
提交
34e27b2c
H
hello uni-app x
项目概览
DCloud
/
hello uni-app x
通知
6006
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看板
提交
34e27b2c
编写于
7月 01, 2024
作者:
DCloud-WZF
💬
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
wip: 通过 json 文件生成部分 tabBar 页面目录
上级
22d5663f
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
2945 addition
and
117 deletion
+2945
-117
pages/tabBar/API.uvue
pages/tabBar/API.uvue
+131
-46
pages/tabBar/CSS.uvue
pages/tabBar/CSS.uvue
+106
-20
pages/tabBar/component.uvue
pages/tabBar/component.uvue
+136
-51
target-pages.json
target-pages.json
+2572
-0
未找到文件。
pages/tabBar/API.uvue
浏览文件 @
34e27b2c
<template>
<!-- #ifdef APP -->
<scroll-view style="flex: 1;
background-color: #f8f8f8;
" enable-back-to-top="true">
<scroll-view style="flex: 1;
background-color: #f8f8f8
" enable-back-to-top="true">
<!-- #endif -->
<view class="uni-container">
<view class="uni-header-logo">
...
...
@@ -24,6 +24,32 @@
</uni-collapse-item>
</template>
</uni-collapse>
<text>---------------</text>
<uni-collapse>
<template v-for="menuItem in menu" :key="menuItem.id">
<uni-collapse-item :title="menuItem.name" class="item">
<view v-for="page in menuItem.pages" :key="page.path" class="uni-navigate-item" hover-class="is--active"
@click="goPage(`/${page.path}`)">
<text class="uni-navigate-text">{{
page.style["navigationBarTitleText"]
}}</text>
<image :src="arrowRightIcon" class="uni-icon-size"></image>
</view>
<uni-collapse style="width: 100%" v-for="childMenu in menuItem.children" :key="childMenu.id">
<uni-collapse-item :title="childMenu.name" class="item" style="margin-bottom: 0">
<view class="uni-navigate-item" hover-class="is--active" v-for="childPage in childMenu.pages"
:key="childPage.path" @click="goPage(`/${childPage.path}`)">
<text class="uni-navigate-text">{{
childPage.style["navigationBarTitleText"]
}}</text>
<image :src="arrowRightIcon" class="uni-icon-size"></image>
</view>
</uni-collapse-item>
</uni-collapse>
</uni-collapse-item>
</template>
</uni-collapse>
</view>
<!-- #ifdef APP -->
</scroll-view>
...
...
@@ -36,6 +62,61 @@
</template>
<script lang="uts">
import { pages } from '@/target-pages.json'
type PagesJsonPageGroup = {
id : string,
name : string
}
type PagesJsonPage = {
path : string,
style : UTSJSONObject,
group ?: PagesJsonPageGroup[] | null
}
type MenuItem = {
id : string,
name : string,
children : MenuItem[],
pages : PagesJsonPage[]
}
const menu : MenuItem[] = []
const menuKeyMap = new Map<string, number>()
// #ifdef APP-ANDROID
const apiPages = JSON.parse<PagesJsonPage[]>(JSON.stringify(pages))!.filter((page : PagesJsonPage) : boolean => page.path.startsWith('pages/API') && page.group !== null)
// #endif
// #ifdef WEB || APP-IOS
const apiPages = (pages as unknown as PagesJsonPage[]).filter(page => page.path.startsWith('pages/API') && page.group)
// #endif
apiPages.forEach(page => {
let currentArr : MenuItem[] = menu
let currentMenu : MenuItem | null = null
if (page.group !== null) {
page.group!.forEach((item, index) => {
const { id, name } = item
const ids = id.split('.')
const _id = ids[ids.length - 1]
if (!menuKeyMap.has(id)) {
menuKeyMap.set(id, currentArr.length)
currentArr.push({
id: _id,
name,
children: [] as MenuItem[],
pages: [] as PagesJsonPage[]
} as MenuItem)
}
currentMenu = currentArr[menuKeyMap.get(id)!]
if (index < page.group!.length - 1) {
currentArr = currentArr[menuKeyMap.get(id)!].children as MenuItem[]
}
})
}
if (currentMenu !== null) {
(currentMenu as MenuItem).pages.push(page)
}
})
console.log('menu', menu)
type Page = {
name : string
url : string
...
...
@@ -52,6 +133,7 @@
export default {
data() {
return {
menu: menu as MenuItem[],
list: [
{
id: 'global',
...
...
@@ -206,13 +288,13 @@
name: 'showToast轻提示框',
url: 'toast',
api: ["showToast"]
}
// #ifdef APP
,
{
name: '主题切换',
url: 'theme-change',
api: ["setAppTheme",
"onOsThemeChange","offOsThemeChange","onAppThemeChange","offAppThemeChange"]
}
}
// #ifdef APP
,
{
name: '主题切换',
url: 'theme-change',
api: ["setAppTheme",
"onOsThemeChange", "offOsThemeChange", "onAppThemeChange", "offAppThemeChange"]
}
// #endif
] as Page[],
},
...
...
@@ -292,14 +374,14 @@
{
name: "打电话",
url: "make-phone-call",
},
{
name: "剪贴板",
url: "clipboard",
},
{
name: "监听罗盘数据",
url: "on-compass-change",
},
{
name: "剪贴板",
url: "clipboard",
},
{
name: "监听罗盘数据",
url: "on-compass-change",
},
// #endif
/*
...
...
@@ -423,18 +505,18 @@
{
name: '获取当前位置',
url: 'get-location',
},
// #ifdef WEB
{
name: "使用地图查看位置",
url: "open-location",
},
{
name: "使用地图选择位置",
url: "choose-location",
},
},
// #ifdef WEB
{
name: "使用地图查看位置",
url: "open-location",
},
{
name: "使用地图选择位置",
url: "choose-location",
},
// #endif
/*
/*
{
name: "地图搜索",
url: "map-search",
...
...
@@ -500,24 +582,24 @@
url: 'facial-recognition-verify',
}
] as Page[],
},
{
id: 'ad',
name: '广告',
pages: [
{
name: '激励视频广告',
url: 'rewarded-video-ad',
}
/* {
id: "full-screen-video-ad",
url: "full-screen-video-ad",
name: "全屏视频广告",
enable: false,
pages: [] as Page[]
}, */
] as Page[],
},
},
{
id: 'ad',
name: '广告',
pages: [
{
name: '激励视频广告',
url: 'rewarded-video-ad',
}
/* {
id: "full-screen-video-ad",
url: "full-screen-video-ad",
name: "全屏视频广告",
enable: false,
pages: [] as Page[]
}, */
] as Page[],
},
// #endif
{
id: "payment",
...
...
@@ -534,7 +616,7 @@
url: "request-payment-uni-pay",
}
] as Page[],
},
},
// #ifdef APP-ANDROID
{
id: 'permission-listener',
...
...
@@ -593,6 +675,9 @@
url,
})
},
goPage(url : string) {
uni.navigateTo({ url })
},
showPop: function () {
(this.$refs["pop"] as UniElement).style.setProperty("display", "flex")
},
...
...
pages/tabBar/CSS.uvue
浏览文件 @
34e27b2c
<template>
<!-- #ifdef APP -->
<scroll-view style="flex: 1;
background-color: #f8f8f8;
" enable-back-to-top="true">
<scroll-view style="flex: 1;
background-color: #f8f8f8
" enable-back-to-top="true">
<!-- #endif -->
<view class="uni-container">
<view class="uni-header-logo">
...
...
@@ -14,7 +14,7 @@
<uni-collapse>
<template v-for="item in list" :key="item.id">
<uni-collapse-item :title="item.name" class="item">
<view class="uni-navigate-item" :hover-class="page.enable == false
?'':
'is--active'"
<view class="uni-navigate-item" :hover-class="page.enable == false
? '' :
'is--active'"
v-for="(page, key) in item.pages" :key="key" @click="goDetailPage(page)">
<text class="uni-navigate-text"
:class="page.enable == false ? 'text-disabled' : ''">{{ page.name }}</text>
...
...
@@ -23,6 +23,32 @@
</uni-collapse-item>
</template>
</uni-collapse>
<text>---------------</text>
<uni-collapse>
<template v-for="menuItem in menu" :key="menuItem.id">
<uni-collapse-item :title="menuItem.name" class="item">
<view v-for="page in menuItem.pages" :key="page.path" class="uni-navigate-item" hover-class="is--active"
@click="goPage(`/${page.path}`)">
<text class="uni-navigate-text">{{
page.style["navigationBarTitleText"]
}}</text>
<image :src="arrowRightIcon" class="uni-icon-size"></image>
</view>
<uni-collapse style="width: 100%" v-for="childMenu in menuItem.children" :key="childMenu.id">
<uni-collapse-item :title="childMenu.name" class="item" style="margin-bottom: 0">
<view class="uni-navigate-item" hover-class="is--active" v-for="childPage in childMenu.pages"
:key="childPage.path" @click="goPage(`/${childPage.path}`)">
<text class="uni-navigate-text">{{
childPage.style["navigationBarTitleText"]
}}</text>
<image :src="arrowRightIcon" class="uni-icon-size"></image>
</view>
</uni-collapse-item>
</uni-collapse>
</uni-collapse-item>
</template>
</uni-collapse>
</view>
<!-- #ifdef APP -->
</scroll-view>
...
...
@@ -30,6 +56,62 @@
</template>
<script lang="uts">
import { pages } from '@/target-pages.json'
type PagesJsonPageGroup = {
id : string,
name : string
}
type PagesJsonPage = {
path : string,
style : UTSJSONObject,
group ?: PagesJsonPageGroup[] | null
}
type MenuItem = {
id : string,
name : string,
children : MenuItem[],
pages : PagesJsonPage[]
}
const menu : MenuItem[] = []
const menuKeyMap = new Map<string, number>()
// #ifdef APP-ANDROID
const cssPages = JSON.parse<PagesJsonPage[]>(JSON.stringify(pages))!.filter((page : PagesJsonPage) : boolean => page.path.startsWith('pages/CSS') && page.group !== null)
// #endif
// #ifdef WEB || APP-IOS
const cssPages = (pages as unknown as PagesJsonPage[]).filter(page => page.path.startsWith('pages/CSS') && page.group)
// #endif
cssPages.forEach(page => {
let currentArr : MenuItem[] = menu
let currentMenu : MenuItem | null = null
if (page.group !== null) {
page.group!.forEach((item, index) => {
const { id, name } = item
const ids = id.split('.')
const _id = ids[ids.length - 1]
if (!menuKeyMap.has(id)) {
menuKeyMap.set(id, currentArr.length)
currentArr.push({
id: _id,
name,
children: [] as MenuItem[],
pages: [] as PagesJsonPage[]
} as MenuItem)
}
currentMenu = currentArr[menuKeyMap.get(id)!]
if (index < page.group!.length - 1) {
currentArr = currentArr[menuKeyMap.get(id)!].children as MenuItem[]
}
})
}
if (currentMenu !== null) {
(currentMenu as MenuItem).pages.push(page)
}
})
console.log('menu', menu)
type Page = {
name : string
enable ?: boolean
...
...
@@ -45,6 +127,7 @@
export default {
data() {
return {
menu: menu as MenuItem[],
list: [
{
id: 'background',
...
...
@@ -103,10 +186,10 @@
{
name: 'border属性复合示例',
url: '/pages/CSS/border/complex-border/complex-border',
},
{
name: 'border动态修改样式',
url: '/pages/CSS/border/dynamic-border'
},
{
name: 'border动态修改样式',
url: '/pages/CSS/border/dynamic-border'
},
] as Page[],
},
...
...
@@ -277,10 +360,10 @@
{
name: 'overflow',
url: '/pages/CSS/overflow/overflow',
},
{
name: 'overflow-visible-event',
url: '/pages/CSS/overflow/overflow-visible-event'
},
{
name: 'overflow-visible-event',
url: '/pages/CSS/overflow/overflow-visible-event'
}
] as Page[],
},
...
...
@@ -357,16 +440,16 @@
url: '/pages/CSS/transition/transition',
},
] as Page[],
},
{
id: 'pointer-events',
name: 'pointer-events',
pages: [
{
name: 'pointer-events',
url: '/pages/CSS/pointer-events/pointer-events',
},
] as Page[],
},
{
id: 'pointer-events',
name: 'pointer-events',
pages: [
{
name: 'pointer-events',
url: '/pages/CSS/pointer-events/pointer-events',
},
] as Page[],
},
{
id: 'variable',
...
...
@@ -398,6 +481,9 @@
url,
})
},
goPage(url : string) {
uni.navigateTo({ url })
},
},
}
</script>
...
...
pages/tabBar/component.uvue
浏览文件 @
34e27b2c
<template>
<!-- #ifdef APP -->
<scroll-view style="flex: 1; background-color: #f8f8f8
;
" enable-back-to-top="true">
<scroll-view style="flex: 1; background-color: #f8f8f8" enable-back-to-top="true">
<!-- #endif -->
<view class="uni-container">
<view class="uni-header-logo">
...
...
@@ -22,6 +22,32 @@
</view>
</uni-collapse-item>
</template>
</uni-collapse>
<text>---------------</text>
<uni-collapse>
<template v-for="menuItem in menu" :key="menuItem.id">
<uni-collapse-item :title="menuItem.name" class="item">
<view v-for="page in menuItem.pages" :key="page.path" class="uni-navigate-item" hover-class="is--active"
@click="goPage(`/${page.path}`)">
<text class="uni-navigate-text">{{
page.style["navigationBarTitleText"]
}}</text>
<image :src="arrowRightIcon" class="uni-icon-size"></image>
</view>
<uni-collapse style="width: 100%" v-for="childMenu in menuItem.children" :key="childMenu.id">
<uni-collapse-item :title="childMenu.name" class="item" style="margin-bottom: 0">
<view class="uni-navigate-item" hover-class="is--active" v-for="childPage in childMenu.pages"
:key="childPage.path" @click="goPage(`/${childPage.path}`)">
<text class="uni-navigate-text">{{
childPage.style["navigationBarTitleText"]
}}</text>
<image :src="arrowRightIcon" class="uni-icon-size"></image>
</view>
</uni-collapse-item>
</uni-collapse>
</uni-collapse-item>
</template>
</uni-collapse>
<!-- #ifdef UNI-APP-X && APP -->
...
...
@@ -34,6 +60,61 @@
</template>
<script lang="uts">
import { pages } from '@/target-pages.json'
type PagesJsonPageGroup = {
id : string,
name : string
}
type PagesJsonPage = {
path : string,
style : UTSJSONObject,
group ?: PagesJsonPageGroup[] | null
}
type MenuItem = {
id : string,
name : string,
children : MenuItem[],
pages : PagesJsonPage[]
}
const menu : MenuItem[] = []
const menuKeyMap = new Map<string, number>()
// #ifdef APP-ANDROID
const componentPages = JSON.parse<PagesJsonPage[]>(JSON.stringify(pages))!.filter((page : PagesJsonPage) : boolean => page.path.startsWith('pages/component') && page.group !== null)
// #endif
// #ifdef WEB || APP-IOS
const componentPages = (pages as unknown as PagesJsonPage[]).filter(page => page.path.startsWith('pages/component') && page.group)
// #endif
componentPages.forEach(page => {
let currentArr : MenuItem[] = menu
let currentMenu : MenuItem | null = null
if (page.group !== null) {
page.group!.forEach((item, index) => {
const { id, name } = item
const ids = id.split('.')
const _id = ids[ids.length - 1]
if (!menuKeyMap.has(id)) {
menuKeyMap.set(id, currentArr.length)
currentArr.push({
id: _id,
name,
children: [] as MenuItem[],
pages: [] as PagesJsonPage[]
} as MenuItem)
}
currentMenu = currentArr[menuKeyMap.get(id)!]
if (index < page.group!.length - 1) {
currentArr = currentArr[menuKeyMap.get(id)!].children as MenuItem[]
}
})
}
if (currentMenu !== null) {
(currentMenu as MenuItem).pages.push(page)
}
})
console.log('menu', menu)
// #ifdef UNI-APP-X && APP
import checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update'
// #endif
...
...
@@ -53,6 +134,7 @@
export default {
data() {
return {
menu: menu as MenuItem[],
list: [
{
id: 'view',
...
...
@@ -66,14 +148,14 @@
},
{
name: 'swiper',
},
// #ifdef WEB
{
name: 'movable-view'
},
{
name: 'cover-view'
},
},
// #ifdef WEB
{
name: 'movable-view'
},
{
name: 'cover-view'
},
// #endif
{
name: 'list-view',
...
...
@@ -83,14 +165,14 @@
},
{
name: 'sticky-section',
},
},
// #ifdef APP
{
name: 'nested-scroll-header',
},
{
name: 'nested-scroll-body',
},
},
// #endif
] as Page[],
},
...
...
@@ -125,17 +207,17 @@
},
{
name: 'input',
},
// #ifdef WEB
{
name: 'editor',
},
{
name: 'label',
},
{
name: 'picker',
},
},
// #ifdef WEB
{
name: 'editor',
},
{
name: 'label',
},
{
name: 'picker',
},
// #endif
{
name: 'picker-view',
...
...
@@ -182,8 +264,8 @@
enable: false,
}, */
] as Page[],
},
// #ifdef WEB
},
// #ifdef WEB
{
id: 'map',
name: '地图',
...
...
@@ -193,22 +275,22 @@
}
] as Page[]
},
// #endif
// #ifdef APP || WEB
{
id: 'canvas',
name: '画布',
pages: [
{
name: 'canvas',
url: '/pages/component/canvas/canvas',
},
{
name: 'ball',
url: '/pages/component/canvas/ball',
}
] as Page[]
},
// #endif
// #ifdef APP || WEB
{
id: 'canvas',
name: '画布',
pages: [
{
name: 'canvas',
url: '/pages/component/canvas/canvas',
},
{
name: 'ball',
url: '/pages/component/canvas/ball',
}
] as Page[]
},
// #endif
{
id: 'web-view',
...
...
@@ -257,22 +339,22 @@
pages: [
{
name: '通用属性',
url: '/pages/component/
general-attribute/general-attribute
',
url: '/pages/component/
public-properties/public-properties
',
enable: true,
},
{
name: '通用事件',
url: '/pages/component/
general-event/general-event
',
url: '/pages/component/
public-events/public-events
',
enable: true,
},
{
name: 'touch事件',
url: '/pages/component/
general-event/touch-event
',
url: '/pages/component/
public-events/touch-events
',
enable: true,
},
{
name: 'Transition事件',
url: '/pages/component/
general-event/transition-event
',
url: '/pages/component/
public-events/transition-events
',
enable: true,
},
] as Page[],
...
...
@@ -298,9 +380,12 @@
uni.navigateTo({
url,
})
}
},
goPage(url : string) {
uni.navigateTo({ url })
},
// #ifdef UNI-APP-X && APP
,
upgradePopupShow() {
upgradePopupShow() {
console.log('upgradePopup show');
if (!this.pageHiden) {
uni.hideTabBar()?.catch(_ => { })
...
...
@@ -316,16 +401,16 @@
// #ifdef UNI-APP-X && APP
checkUpdate(this.$refs['upgradePopup'] as UniUpgradeCenterAppComponentPublicInstance)
// #endif
},
onLoad() {
// console.log("component page onLoad")
},
onLoad() {
// console.log("component page onLoad")
},
onShow() {
// console.log("component page onShow")
// console.log("component page onShow")
this.pageHiden = false
},
onHide() {
// console.log("component page onHide")
// console.log("component page onHide")
this.pageHiden = true
},
beforeUnmount() {
...
...
target-pages.json
0 → 100644
浏览文件 @
34e27b2c
{
"pages"
:
[
{
"path"
:
"pages/tabBar/component"
,
"style"
:
{
"navigationBarTitleText"
:
"内置组件"
,
"backgroundColor"
:
"#F8F8F8"
}
},
{
"path"
:
"pages/component/view/view"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
}
],
"style"
:
{
"navigationBarTitleText"
:
"view"
}
},
{
"path"
:
"pages/component/scroll-view/scroll-view"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
}
],
"style"
:
{
"navigationBarTitleText"
:
"scroll-view"
}
},
{
"path"
:
"pages/component/scroll-view/scroll-view-refresher"
,
"style"
:
{
"navigationBarTitleText"
:
"scroll-view-refresher"
}
},
{
"path"
:
"pages/component/scroll-view/scroll-view-props"
,
"style"
:
{
"navigationBarTitleText"
:
"非下拉刷新的scroll-view属性示例"
}
},
{
"path"
:
"pages/component/scroll-view/scroll-view-refresher-props"
,
"style"
:
{
"navigationBarTitleText"
:
"下拉刷新的scroll-view属性示例"
}
},
{
"path"
:
"pages/component/scroll-view/scroll-view-custom-refresher-props"
,
"style"
:
{
"navigationBarTitleText"
:
"自定义下拉刷新的scroll-view属性示例"
}
},
{
"path"
:
"pages/component/swiper/swiper"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
}
],
"style"
:
{
"navigationBarTitleText"
:
"swiper"
}
},
{
"path"
:
"pages/component/list-view/list-view"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
}
],
"style"
:
{
"navigationBarTitleText"
:
"list-view"
}
},
{
"path"
:
"pages/component/list-view/list-view-refresh"
,
"style"
:
{
"navigationBarTitleText"
:
"list-view-refresh"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/component/list-view/list-view-multiplex"
,
"style"
:
{
"navigationBarTitleText"
:
"list-view-multiplex"
}
},
{
"path"
:
"pages/component/list-view/list-view-multiplex-input"
,
"style"
:
{
"navigationBarTitleText"
:
"list-view复用input"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/component/list-view/list-view-multiplex-video"
,
"style"
:
{
"navigationBarTitleText"
:
"list-view-multiplex-video"
}
},
{
"path"
:
"pages/component/list-view/list-view-children-in-slot"
,
"style"
:
{
"navigationBarTitleText"
:
"list-view-children-in-slot"
}
},
{
"path"
:
"pages/component/sticky-section/sticky-section"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
},
{
"id"
:
"component.view-container.sticky"
,
"name"
:
"sticky"
}
],
"style"
:
{
"navigationBarTitleText"
:
"sticky-section"
}
},
{
"path"
:
"pages/component/sticky-header/sticky-header"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
},
{
"id"
:
"component.view-container.sticky"
,
"name"
:
"sticky"
}
],
"style"
:
{
"navigationBarTitleText"
:
"sticky-header"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/component/text/text"
,
"group"
:
[
{
"id"
:
"component.basic-content"
,
"name"
:
"基础内容"
}
],
"style"
:
{
"navigationBarTitleText"
:
"text"
}
},
{
"path"
:
"pages/component/text/text-props"
,
"style"
:
{
"navigationBarTitleText"
:
"text-props"
}
},
{
"path"
:
"pages/component/rich-text/rich-text"
,
"group"
:
[
{
"id"
:
"component.basic-content"
,
"name"
:
"基础内容"
}
],
"style"
:
{
"navigationBarTitleText"
:
"rich-text"
}
},
{
"path"
:
"pages/component/rich-text/rich-text-tags"
,
"style"
:
{
"navigationBarTitleText"
:
"rich-text-tags"
}
},
{
"path"
:
"pages/component/rich-text/rich-text-complex"
,
"style"
:
{
"navigationBarTitleText"
:
"rich-text-complex"
}
},
{
"path"
:
"pages/component/progress/progress"
,
"group"
:
[
{
"id"
:
"component.basic-content"
,
"name"
:
"基础内容"
}
],
"style"
:
{
"navigationBarTitleText"
:
"progress"
}
},
{
"path"
:
"pages/component/form/form"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"form"
}
},
{
"path"
:
"pages/component/button/button"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"button"
}
},
{
"path"
:
"pages/component/button/buttonstatus"
,
"style"
:
{
"navigationBarTitleText"
:
"buttonstatus"
}
},
{
"path"
:
"pages/component/radio/radio"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"radio"
}
},
{
"path"
:
"pages/component/checkbox/checkbox"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"checkbox"
}
},
{
"path"
:
"pages/component/input/input"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"input"
}
},
{
"path"
:
"pages/component/textarea/textarea"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"textarea"
}
},
{
"path"
:
"pages/component/slider/slider"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"slider"
}
},
{
"path"
:
"pages/component/slider/slider-in-swiper"
,
"style"
:
{
"navigationBarTitleText"
:
"slider-in-swiper"
}
},
{
"path"
:
"pages/component/picker-view/picker-view"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"picker-view"
}
},
{
"path"
:
"pages/component/slider-100/slider-100"
,
"style"
:
{
"navigationBarTitleText"
:
"slider x 100"
}
},
{
"path"
:
"pages/component/switch/switch"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"switch"
}
},
{
"path"
:
"pages/component/image/image"
,
"group"
:
[
{
"id"
:
"component.media"
,
"name"
:
"媒体组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"image"
}
},
{
"path"
:
"pages/component/image/image-format"
,
"style"
:
{
"navigationBarTitleText"
:
"image-format"
}
},
{
"path"
:
"pages/component/image/image-mode"
,
"style"
:
{
"navigationBarTitleText"
:
"image-mode"
}
},
{
"path"
:
"pages/component/image/image-path"
,
"style"
:
{
"navigationBarTitleText"
:
"image-path"
}
},
{
"path"
:
"pages/component/image/image-large"
,
"style"
:
{
"navigationBarTitleText"
:
"大图测试"
}
},
{
"path"
:
"pages/component/video/video"
,
"group"
:
[
{
"id"
:
"component.media"
,
"name"
:
"媒体组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"video"
}
},
{
"path"
:
"pages/component/video/video-format"
,
"style"
:
{
"navigationBarTitleText"
:
"video-format"
}
},
{
"path"
:
"pages/component/navigator/navigator"
,
"group"
:
[
{
"id"
:
"component.navigation"
,
"name"
:
"navigation"
}
],
"style"
:
{
"navigationBarTitleText"
:
"navigator"
}
},
{
"path"
:
"pages/component/navigator/navigate"
,
"style"
:
{
"navigationBarTitleText"
:
"navigatePage"
}
},
{
"path"
:
"pages/component/navigator/redirect"
,
"style"
:
{
"navigationBarTitleText"
:
"redirectPage"
}
},
{
"path"
:
"pages/component/web-view/web-view"
,
"group"
:
[
{
"id"
:
"component.web-view"
,
"name"
:
"网页"
}
],
"style"
:
{
"navigationBarTitleText"
:
"web-view"
}
},
{
"path"
:
"pages/component/web-view/web-view-local"
,
"style"
:
{
"navigationBarTitleText"
:
"web-view-local"
}
},
{
"path"
:
"pages/component/unicloud-db/unicloud-db/contacts/list"
,
"group"
:
[
{
"id"
:
"component.unicloud"
,
"name"
:
"unicloud"
}
],
"style"
:
{
"navigationBarTitleText"
:
"联系人"
,
"enablePullDownRefresh"
:
true
}
},
{
"path"
:
"pages/component/unicloud-db/unicloud-db/contacts/add"
,
"style"
:
{
"navigationBarTitleText"
:
"新增联系人"
}
},
{
"path"
:
"pages/component/unicloud-db/unicloud-db/contacts/edit"
,
"style"
:
{
"navigationBarTitleText"
:
"编辑联系人"
}
},
{
"path"
:
"pages/component/unicloud-db/unicloud-db/contacts/detail"
,
"style"
:
{
"navigationBarTitleText"
:
""
}
},
{
"path"
:
"pages/component/unicloud-db/unicloud-db/mixin-datacom/mixin-datacom"
,
"group"
:
[
{
"id"
:
"component.unicloud"
,
"name"
:
"unicloud"
}
],
"style"
:
{
"navigationBarTitleText"
:
"mixinDatacom"
}
},
{
"path"
:
"pages/component/public-properties/public-properties"
,
"group"
:
[
{
"id"
:
"component.public-properties-events"
,
"name"
:
"公共属性和事件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"public-properties"
}
},
{
"path"
:
"pages/component/public-events/public-events"
,
"group"
:
[
{
"id"
:
"component.public-properties-events"
,
"name"
:
"公共属性和事件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"public-events"
}
},
{
"path"
:
"pages/component/public-events/transition-events"
,
"group"
:
[
{
"id"
:
"component.public-properties-events"
,
"name"
:
"公共属性和事件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"transitionend事件"
}
},
{
"path"
:
"pages/component/public-events/touch-events"
,
"group"
:
[
{
"id"
:
"component.public-properties-events"
,
"name"
:
"公共属性和事件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"touch-events"
}
},
//
#ifndef
WEB
{
"path"
:
"pages/component/nested-scroll-header/nested-scroll-header"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
},
{
"id"
:
"component.view-container.nested-scroll"
,
"name"
:
"nested-scroll"
}
],
"style"
:
{
"navigationBarTitleText"
:
"nested-scroll-header"
}
},
//
#endif
//
#ifndef
WEB
{
"path"
:
"pages/component/nested-scroll-body/nested-scroll-body"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
},
{
"id"
:
"component.view-container.nested-scroll"
,
"name"
:
"nested-scroll"
}
],
"style"
:
{
"navigationBarTitleText"
:
"nested-scroll-body"
}
},
//
#endif
{
"path"
:
"pages/component/swiper/swiper-list-view"
,
"style"
:
{
"navigationBarTitleText"
:
"swiper嵌套list-view"
,
"enablePullDownRefresh"
:
false
}
},
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/component/movable-view/movable-view"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
}
],
"style"
:
{
"navigationBarTitleText"
:
"movable-view"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/component/label/label"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"label"
}
},
//
#endif
//
#ifndef
APP-IOS
{
"path"
:
"pages/component/picker/picker"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"picker"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/component/map/map"
,
"group"
:
[
{
"id"
:
"component.map"
,
"name"
:
"地图"
}
],
"style"
:
{
"navigationBarTitleText"
:
"map"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/component/cover-view/cover-view"
,
"group"
:
[
{
"id"
:
"component.view-container"
,
"name"
:
"视图容器"
}
],
"style"
:
{
"navigationBarTitleText"
:
"cover-view"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/component/editor/editor"
,
"group"
:
[
{
"id"
:
"component.form-component"
,
"name"
:
"表单组件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"editor"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/API/open-location/open-location"
,
"group"
:
[
{
"id"
:
"api.location"
,
"name"
:
"位置"
}
],
"style"
:
{
"navigationBarTitleText"
:
"open-location"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/API/choose-location/choose-location"
,
"group"
:
[
{
"id"
:
"api.location"
,
"name"
:
"位置"
}
],
"style"
:
{
"navigationBarTitleText"
:
"choose-location"
}
},
//
#endif
{
"path"
:
"pages/component/list-view/issue-2199"
,
"style"
:
{
"navigationBarTitleText"
:
"issue-2199"
,
"enablePullDownRefresh"
:
false
}
},
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/component/canvas/canvas"
,
"group"
:
[
{
"id"
:
"component.canvas"
,
"name"
:
"画布"
}
],
"style"
:
{
"navigationBarTitleText"
:
"canvas"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/component/canvas/canvas/ball"
,
"group"
:
[
{
"id"
:
"component.canvas"
,
"name"
:
"画布"
}
],
"style"
:
{
"navigationBarTitleText"
:
"ball"
}
},
//
#endif
{
"path"
:
"pages/tabBar/API"
,
"style"
:
{
"navigationBarTitleText"
:
"接口"
,
"backgroundColor"
:
"#F8F8F8"
}
},
{
"path"
:
"pages/API/get-app/get-app"
,
"group"
:
[
{
"id"
:
"api.global"
,
"name"
:
"全局"
}
],
"style"
:
{
"navigationBarTitleText"
:
"getApp"
}
},
//
#ifndef
APP-IOS
||
WEB
{
"path"
:
"pages/API/exit/exit"
,
"group"
:
[
{
"id"
:
"api.base"
,
"name"
:
"基础"
}
],
"style"
:
{
"navigationBarTitleText"
:
"exit"
}
},
//
#endif
//
#ifndef
APP-IOS
||
WEB
{
"path"
:
"pages/API/install-apk/install-apk"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"install-apk"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
{
"path"
:
"pages/API/get-current-pages/get-current-pages"
,
"group"
:
[
{
"id"
:
"api.global"
,
"name"
:
"全局"
}
],
"style"
:
{
"navigationBarTitleText"
:
"getCurrentPages"
,
"enablePullDownRefresh"
:
true
}
},
{
"path"
:
"pages/API/get-current-pages/set-page-style-disable-pull-down-refresh"
,
"style"
:
{
"navigationBarTitleText"
:
"setPageStyle pull default false"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/get-launch-options-sync/get-launch-options-sync"
,
"group"
:
[
{
"id"
:
"api.base"
,
"name"
:
"基础"
}
],
"style"
:
{
"navigationBarTitleText"
:
"getLaunchOptionsSync"
}
},
{
"path"
:
"pages/API/navigator/navigator"
,
"group"
:
[
{
"id"
:
"api.page"
,
"name"
:
"页面和路由"
}
],
"style"
:
{
"navigationBarTitleText"
:
"页面跳转"
}
},
{
"path"
:
"pages/API/set-navigation-bar-color/set-navigation-bar-color"
,
"group"
:
[
{
"id"
:
"api.page"
,
"name"
:
"页面和路由"
}
],
"style"
:
{
"navigationBarTitleText"
:
"设置导航条颜色"
}
},
{
"path"
:
"pages/API/set-navigation-bar-title/set-navigation-bar-title"
,
"group"
:
[
{
"id"
:
"api.page"
,
"name"
:
"页面和路由"
}
],
"style"
:
{
"navigationBarTitleText"
:
"设置导航条标题"
}
},
{
"path"
:
"pages/API/set-page-backgroundColorContent/set-page-backgroundColorContent"
,
"group"
:
[
{
"id"
:
"api.page"
,
"name"
:
"页面和路由"
}
],
"style"
:
{
"navigationBarTitleText"
:
"设置页面容器背景色"
}
},
{
"path"
:
"pages/API/navigator/new-page/new-page-1"
,
"style"
:
{
"navigationBarTitleText"
:
"新页面-1"
}
},
{
"path"
:
"pages/API/navigator/new-page/new-page-3"
,
"style"
:
{
"navigationBarTitleText"
:
"新页面-3"
}
},
{
"path"
:
"pages/API/navigator/new-page/onLoad"
,
"style"
:
{
"navigationBarTitleText"
:
"onLoad 生命周期测试"
}
},
{
"path"
:
"pages/API/pull-down-refresh/pull-down-refresh"
,
"group"
:
[
{
"id"
:
"api.page"
,
"name"
:
"页面和路由"
}
],
"style"
:
{
"navigationBarTitleText"
:
"页面级下拉刷新"
,
"enablePullDownRefresh"
:
true
}
},
{
"path"
:
"pages/API/get-element-by-id/get-element-by-id"
,
"group"
:
[
{
"id"
:
"api.dom"
,
"name"
:
"Dom 节点"
}
],
"style"
:
{
"navigationBarTitleText"
:
"获取节点"
}
},
{
"path"
:
"pages/API/get-element-by-id/get-element-by-id-multiple-root-node"
,
"style"
:
{
"navigationBarTitleText"
:
"获取节点-多根节点"
}
},
{
"path"
:
"pages/API/create-selector-query/create-selector-query"
,
"group"
:
[
{
"id"
:
"api.dom"
,
"name"
:
"Dom 节点"
}
],
"style"
:
{
"navigationBarTitleText"
:
"查询节点信息的对象"
}
},
{
"path"
:
"pages/API/storage/storage"
,
"group"
:
[
{
"id"
:
"api.storage"
,
"name"
:
"数据存储"
}
],
"style"
:
{
"navigationBarTitleText"
:
"数据存储"
}
},
//
#ifndef
WEB
{
"path"
:
"pages/API/get-file-system-manager/get-file-system-manager"
,
"group"
:
[
{
"id"
:
"api.file"
,
"name"
:
"文件"
}
],
"style"
:
{
"navigationBarTitleText"
:
"文件管理"
}
},
//
#endif
//
#ifndef
WEB
{
"path"
:
"pages/API/env/env"
,
"group"
:
[
{
"id"
:
"api.base"
,
"name"
:
"基础"
}
],
"style"
:
{
"navigationBarTitleText"
:
"env"
}
},
//
#endif
{
"path"
:
"pages/API/show-action-sheet/show-action-sheet"
,
"group"
:
[
{
"id"
:
"api.ui"
,
"name"
:
"界面"
}
],
"style"
:
{
"navigationBarTitleText"
:
"操作菜单"
}
},
{
"path"
:
"pages/API/show-modal/show-modal"
,
"group"
:
[
{
"id"
:
"api.ui"
,
"name"
:
"界面"
}
],
"style"
:
{
"navigationBarTitleText"
:
"模态弹窗"
}
},
{
"path"
:
"pages/API/show-loading/show-loading"
,
"group"
:
[
{
"id"
:
"api.ui"
,
"name"
:
"界面"
}
],
"style"
:
{
"navigationBarTitleText"
:
"加载提示框"
}
},
{
"path"
:
"pages/API/show-toast/show-toast"
,
"group"
:
[
{
"id"
:
"api.ui"
,
"name"
:
"界面"
}
],
"style"
:
{
"navigationBarTitleText"
:
"消息提示框"
}
},
{
"path"
:
"pages/API/load-font-face/load-font-face"
,
"group"
:
[
{
"id"
:
"api.ui"
,
"name"
:
"界面"
}
],
"style"
:
{
"navigationBarTitleText"
:
"动态加载字体"
}
},
{
"path"
:
"pages/API/load-font-face/load-font-face-child"
,
"style"
:
{
"navigationBarTitleText"
:
"动态加载字体-子页面"
}
},
//
#ifndef
APP-IOS
{
"path"
:
"pages/API/get-location/get-location"
,
"group"
:
[
{
"id"
:
"api.location"
,
"name"
:
"位置"
}
],
"style"
:
{
"navigationBarTitleText"
:
"获取定位"
}
},
//
#endif
{
"path"
:
"pages/API/interceptor/interceptor"
,
"group"
:
[
{
"id"
:
"api.base"
,
"name"
:
"基础"
}
],
"style"
:
{
"navigationBarTitleText"
:
"拦截器"
}
},
{
"path"
:
"pages/API/interceptor/page1"
,
"style"
:
{
"navigationBarTitleText"
:
"拦截器测试页面 1"
}
},
{
"path"
:
"pages/API/interceptor/page2"
,
"style"
:
{
"navigationBarTitleText"
:
"拦截器测试页面 2"
}
},
{
"path"
:
"pages/API/request/request"
,
"group"
:
[
{
"id"
:
"api.network"
,
"name"
:
"网络"
}
],
"style"
:
{
"navigationBarTitleText"
:
"request"
}
},
{
"path"
:
"pages/API/upload-file/upload-file"
,
"group"
:
[
{
"id"
:
"api.network"
,
"name"
:
"网络"
}
],
"style"
:
{
"navigationBarTitleText"
:
"upload-file"
}
},
{
"path"
:
"pages/API/download-file/download-file"
,
"group"
:
[
{
"id"
:
"api.network"
,
"name"
:
"网络"
}
],
"style"
:
{
"navigationBarTitleText"
:
"download-file"
}
},
{
"path"
:
"pages/API/websocket/socketTask"
,
"style"
:
{
"navigationBarTitleText"
:
"socketTask"
}
},
{
"path"
:
"pages/API/websocket/websocket"
,
"group"
:
[
{
"id"
:
"api.network"
,
"name"
:
"网络"
}
],
"style"
:
{
"navigationBarTitleText"
:
"websocket"
}
},
{
"path"
:
"pages/API/unicloud/unicloud/cloud-function"
,
"group"
:
[
{
"id"
:
"api.unicloud"
,
"name"
:
"uniCloud客户端API"
}
],
"style"
:
{
"navigationBarTitleText"
:
"云函数"
}
},
{
"path"
:
"pages/API/unicloud/unicloud/cloud-object"
,
"group"
:
[
{
"id"
:
"api.unicloud"
,
"name"
:
"uniCloud客户端API"
}
],
"style"
:
{
"navigationBarTitleText"
:
"云对象"
}
},
{
"path"
:
"pages/API/get-system-info/get-system-info"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"get-system-info"
}
},
{
"path"
:
"pages/API/get-device-info/get-device-info"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"get-device-info"
}
},
{
"path"
:
"pages/API/get-app-base-info/get-app-base-info"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"get-app-base-info"
}
},
//
#ifndef
WEB
{
"path"
:
"pages/API/get-system-setting/get-system-setting"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"get-system-setting"
}
},
//
#endif
{
"path"
:
"pages/API/element-takesnapshot/element-takesnapshot"
,
"style"
:
{
"navigationBarTitleText"
:
"takeSnapshot"
,
"enablePullDownRefresh"
:
false
}
},
//
#ifndef
WEB
{
"path"
:
"pages/API/get-app-authorize-setting/get-app-authorize-setting"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"get-app-authorize-setting"
}
},
//
#endif
{
"path"
:
"pages/API/preview-image/preview-image"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"图片预览"
}
},
{
"path"
:
"pages/API/choose-image/choose-image"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"拍摄图片或从相册中选择图片"
}
},
{
"path"
:
"pages/API/get-image-info/get-image-info"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"获取图片信息"
}
},
{
"path"
:
"pages/API/compress-image/compress-image"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"压缩图片"
}
},
{
"path"
:
"pages/API/choose-video/choose-video"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"拍摄视频或从相册中选择视频"
}
},
//
#ifndef
WEB
{
"path"
:
"pages/API/save-image-to-photos-album/save-image-to-photos-album"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"保存图片到相册"
}
},
//
#endif
//
#ifndef
WEB
{
"path"
:
"pages/API/save-video-to-photos-album/save-video-to-photos-album"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"保存视频到相册"
}
},
//
#endif
{
"path"
:
"pages/API/get-video-info/get-video-info"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"获取视频信息"
}
},
{
"path"
:
"pages/API/compress-video/compress-video"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"压缩视频"
}
},
{
"path"
:
"pages/API/get-network-type/get-network-type"
,
"group"
:
[
{
"id"
:
"api.network"
,
"name"
:
"网络"
}
],
"style"
:
{
"navigationBarTitleText"
:
"get-network-type"
}
},
{
"path"
:
"pages/API/page-scroll-to/page-scroll-to"
,
"group"
:
[
{
"id"
:
"api.page"
,
"name"
:
"页面和路由"
}
],
"style"
:
{
"navigationBarTitleText"
:
"pageScrollTo"
}
},
{
"path"
:
"pages/API/event-bus/event-bus"
,
"group"
:
[
{
"id"
:
"api.base"
,
"name"
:
"基础"
}
],
"style"
:
{
"navigationBarTitleText"
:
"event-bus"
}
},
{
"path"
:
"pages/API/unicloud/unicloud/cloud-storage"
,
"group"
:
[
{
"id"
:
"api.unicloud"
,
"name"
:
"uniCloud客户端API"
}
],
"style"
:
{
"navigationBarTitleText"
:
"cloud storage"
}
},
{
"path"
:
"pages/API/unicloud/unicloud/database"
,
"group"
:
[
{
"id"
:
"api.unicloud"
,
"name"
:
"uniCloud客户端API"
}
],
"style"
:
{
"navigationBarTitleText"
:
"database"
}
},
{
"path"
:
"pages/API/get-battery-info/get-battery-info"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"电量"
}
},
{
"path"
:
"pages/API/get-window-info/get-window-info"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"get-window-info"
}
},
{
"path"
:
"pages/API/element-draw/element-draw"
,
"style"
:
{
"navigationBarTitleText"
:
"getDrawableContext"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/API/facial-recognition-verify/facial-recognition-verify"
,
"style"
:
{
"navigationBarTitleText"
:
"实人认证"
,
"enablePullDownRefresh"
:
false
}
},
//
#ifndef
WEB
{
"path"
:
"pages/API/get-univerify-manager/get-univerify-manager"
,
"group"
:
[
{
"id"
:
"api.loginVerify"
,
"name"
:
"登录和验证"
}
],
"style"
:
{
"navigationBarTitleText"
:
"uni-verify"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
{
"path"
:
"pages/API/rpx2px/rpx2px"
,
"group"
:
[
{
"id"
:
"api.ui"
,
"name"
:
"界面"
}
],
"style"
:
{
"navigationBarTitleText"
:
"rpx2px"
,
"enablePullDownRefresh"
:
false
}
},
//
#ifndef
APP-ANDROID
||
WEB
{
"path"
:
"pages/API/create-request-permission-listener/create-request-permission-listener"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"权限申请监听"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
//
#ifndef
WEB
{
"path"
:
"pages/API/request-payment/request-payment"
,
"group"
:
[
{
"id"
:
"api.payment"
,
"name"
:
"支付"
}
],
"style"
:
{
"navigationBarTitleText"
:
"支付"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
{
"path"
:
"pages/API/rewarded-video-ad/rewarded-video-ad"
,
"style"
:
{
"navigationBarTitleText"
:
"激励视频广告"
,
"enablePullDownRefresh"
:
false
}
},
//
#ifndef
WEB
{
"path"
:
"pages/API/request-payment/request-payment/request-payment-uni-pay"
,
"group"
:
[
{
"id"
:
"api.payment"
,
"name"
:
"支付"
}
],
"style"
:
{
"navigationBarTitleText"
:
"uni-pay示例"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
//
#ifndef
WEB
{
"path"
:
"pages/API/request-payment/request-payment/order-detail"
,
"style"
:
{
"navigationBarTitleText"
:
"订单详情示例"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
{
"path"
:
"pages/API/resize-observer/resize-observer"
,
"group"
:
[
{
"id"
:
"api.dom"
,
"name"
:
"UniResizeObserver"
}
],
"style"
:
{
"navigationBarTitleText"
:
"resize observer"
}
},
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/API/make-phone-call/make-phone-call"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"make-phone-call"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/API/create-inner-audio-context/create-inner-audio-context"
,
"group"
:
[
{
"id"
:
"api.media"
,
"name"
:
"媒体"
}
],
"style"
:
{
"navigationBarTitleText"
:
"inner-audio"
}
},
//
#endif
{
"path"
:
"pages/API/inner-audio/inner-audio-format"
,
"style"
:
{
"navigationBarTitleText"
:
"inner-audio-format"
}
},
{
"path"
:
"pages/API/inner-audio/inner-audio-path"
,
"style"
:
{
"navigationBarTitleText"
:
"inner-audio-path"
}
},
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/API/clipboard/clipboard"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"clipboard"
}
},
//
#endif
//
#ifndef
APP-ANDROID
||
APP-IOS
{
"path"
:
"pages/API/on-compass-change/on-compass-change"
,
"group"
:
[
{
"id"
:
"api.device"
,
"name"
:
"设备"
}
],
"style"
:
{
"navigationBarTitleText"
:
"on-compass-change"
}
},
//
#endif
//
#ifndef
WEB
{
"path"
:
"pages/API/theme-change/theme-change"
,
"group"
:
[
{
"id"
:
"api.ui"
,
"name"
:
"界面"
}
],
"style"
:
{
"navigationBarTitleText"
:
"主题切换"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
{
"path"
:
"pages/tabBar/CSS"
,
"style"
:
{
"navigationBarTitleText"
:
"CSS"
,
"backgroundColor"
:
"#F8F8F8"
}
},
{
"path"
:
"pages/CSS/background/background-color"
,
"group"
:
[
{
"id"
:
"css.properties.background"
,
"name"
:
"background"
}
],
"style"
:
{
"navigationBarTitleText"
:
"background-color"
}
},
{
"path"
:
"pages/CSS/background/background-image"
,
"group"
:
[
{
"id"
:
"css.properties.background"
,
"name"
:
"background"
}
],
"style"
:
{
"navigationBarTitleText"
:
"background-image"
}
},
{
"path"
:
"pages/CSS/border/border-bottom"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border-bottom"
}
},
{
"path"
:
"pages/CSS/border/border-color"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border-color"
}
},
{
"path"
:
"pages/CSS/border/border-left"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border-left"
}
},
{
"path"
:
"pages/CSS/border/border-radius"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border-radius"
}
},
{
"path"
:
"pages/CSS/border/border-right"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border-right"
}
},
{
"path"
:
"pages/CSS/border/border-style"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border-style"
}
},
{
"path"
:
"pages/CSS/border/border-top"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border-top"
}
},
{
"path"
:
"pages/CSS/border/border-width"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border-width"
}
},
{
"path"
:
"pages/CSS/border/border"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border"
}
},
{
"path"
:
"pages/CSS/border/complex-border/complex-border"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border属性组合示例"
}
},
{
"path"
:
"pages/CSS/border/dynamic-border"
,
"group"
:
[
{
"id"
:
"css.properties.border"
,
"name"
:
"border"
}
],
"style"
:
{
"navigationBarTitleText"
:
"border动态修改"
}
},
{
"path"
:
"pages/CSS/box-shadow/box-shadow"
,
"group"
:
[
{
"id"
:
"box-shadow"
,
"name"
:
"box-shadow"
}
],
"style"
:
{
"navigationBarTitleText"
:
"box-shadow"
}
},
{
"path"
:
"pages/CSS/display/flex"
,
"group"
:
[
{
"id"
:
"display"
,
"name"
:
"display"
}
],
"style"
:
{
"navigationBarTitleText"
:
"display:flex"
}
},
{
"path"
:
"pages/CSS/display/none"
,
"group"
:
[
{
"id"
:
"display"
,
"name"
:
"display"
}
],
"style"
:
{
"navigationBarTitleText"
:
"display:none"
}
},
{
"path"
:
"pages/CSS/flex/align-content"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"align-content"
}
},
{
"path"
:
"pages/CSS/flex/align-items"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"align-items"
}
},
{
"path"
:
"pages/CSS/flex/flex-basis"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"flex-basis"
}
},
{
"path"
:
"pages/CSS/flex/flex-direction"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"flex-direction"
}
},
{
"path"
:
"pages/CSS/flex/flex-flow"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"flex-flow"
}
},
{
"path"
:
"pages/CSS/flex/flex-grow"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"flex-grow"
}
},
{
"path"
:
"pages/CSS/flex/flex-shrink"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"flex-shrink"
}
},
{
"path"
:
"pages/CSS/flex/flex"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"flex"
}
},
{
"path"
:
"pages/CSS/flex/justify-content"
,
"group"
:
[
{
"id"
:
"css.properties.flex"
,
"name"
:
"flex"
}
],
"style"
:
{
"navigationBarTitleText"
:
"justify-content"
}
},
{
"path"
:
"pages/CSS/layout/height"
,
"group"
:
[
{
"id"
:
"css.properties.height"
,
"name"
:
"height"
}
],
"style"
:
{
"navigationBarTitleText"
:
"height"
}
},
{
"path"
:
"pages/CSS/layout/max-height"
,
"group"
:
[
{
"id"
:
"css.properties.height"
,
"name"
:
"height"
}
],
"style"
:
{
"navigationBarTitleText"
:
"max-height"
}
},
{
"path"
:
"pages/CSS/layout/max-width"
,
"group"
:
[
{
"id"
:
"css.properties.width"
,
"name"
:
"width"
}
],
"style"
:
{
"navigationBarTitleText"
:
"max-width"
}
},
{
"path"
:
"pages/CSS/layout/min-height"
,
"group"
:
[
{
"id"
:
"css.properties.height"
,
"name"
:
"height"
}
],
"style"
:
{
"navigationBarTitleText"
:
"min-height"
}
},
{
"path"
:
"pages/CSS/layout/min-width"
,
"group"
:
[
{
"id"
:
"css.properties.width"
,
"name"
:
"width"
}
],
"style"
:
{
"navigationBarTitleText"
:
"min-width"
}
},
{
"path"
:
"pages/CSS/layout/position"
,
"group"
:
[
{
"id"
:
"css.properties.position"
,
"name"
:
"position"
}
],
"style"
:
{
"navigationBarTitleText"
:
"position"
}
},
{
"path"
:
"pages/CSS/layout/width"
,
"group"
:
[
{
"id"
:
"css.properties.width"
,
"name"
:
"width"
}
],
"style"
:
{
"navigationBarTitleText"
:
"width"
}
},
{
"path"
:
"pages/CSS/layout/z-index"
,
"group"
:
[
{
"id"
:
"z-index"
,
"name"
:
"z-index"
}
],
"style"
:
{
"navigationBarTitleText"
:
"z-index"
}
},
{
"path"
:
"pages/CSS/layout/visibility"
,
"group"
:
[
{
"id"
:
"visibility"
,
"name"
:
"visibility"
}
],
"style"
:
{
"navigationBarTitleText"
:
"visibility"
}
},
{
"path"
:
"pages/CSS/margin/margin-bottom"
,
"group"
:
[
{
"id"
:
"css.properties.margin"
,
"name"
:
"margin"
}
],
"style"
:
{
"navigationBarTitleText"
:
"margin-bottom"
}
},
{
"path"
:
"pages/CSS/margin/margin-left"
,
"group"
:
[
{
"id"
:
"css.properties.margin"
,
"name"
:
"margin"
}
],
"style"
:
{
"navigationBarTitleText"
:
"margin-left"
}
},
{
"path"
:
"pages/CSS/margin/margin-right"
,
"group"
:
[
{
"id"
:
"css.properties.margin"
,
"name"
:
"margin"
}
],
"style"
:
{
"navigationBarTitleText"
:
"margin-right"
}
},
{
"path"
:
"pages/CSS/margin/margin-top"
,
"group"
:
[
{
"id"
:
"css.properties.margin"
,
"name"
:
"margin"
}
],
"style"
:
{
"navigationBarTitleText"
:
"margin-top"
}
},
{
"path"
:
"pages/CSS/margin/margin"
,
"group"
:
[
{
"id"
:
"css.properties.margin"
,
"name"
:
"margin"
}
],
"style"
:
{
"navigationBarTitleText"
:
"margin"
}
},
{
"path"
:
"pages/CSS/overflow/overflow"
,
"group"
:
[
{
"id"
:
"overflow"
,
"name"
:
"overflow"
}
],
"style"
:
{
"navigationBarTitleText"
:
"overflow"
}
},
{
"path"
:
"pages/CSS/padding/padding-bottom"
,
"group"
:
[
{
"id"
:
"css.properties.padding"
,
"name"
:
"padding"
}
],
"style"
:
{
"navigationBarTitleText"
:
"padding-bottom"
}
},
{
"path"
:
"pages/CSS/padding/padding-left"
,
"group"
:
[
{
"id"
:
"css.properties.padding"
,
"name"
:
"padding"
}
],
"style"
:
{
"navigationBarTitleText"
:
"padding-left"
}
},
{
"path"
:
"pages/CSS/padding/padding-right"
,
"group"
:
[
{
"id"
:
"css.properties.padding"
,
"name"
:
"padding"
}
],
"style"
:
{
"navigationBarTitleText"
:
"padding-right"
}
},
{
"path"
:
"pages/CSS/padding/padding-top"
,
"group"
:
[
{
"id"
:
"css.properties.padding"
,
"name"
:
"padding"
}
],
"style"
:
{
"navigationBarTitleText"
:
"padding-top"
}
},
{
"path"
:
"pages/CSS/padding/padding"
,
"group"
:
[
{
"id"
:
"css.properties.padding"
,
"name"
:
"padding"
}
],
"style"
:
{
"navigationBarTitleText"
:
"padding"
}
},
{
"path"
:
"pages/CSS/text/color"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"color"
}
},
{
"path"
:
"pages/CSS/text/font-family"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"font-family"
}
},
{
"path"
:
"pages/CSS/text/font-size"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"font-size"
}
},
{
"path"
:
"pages/CSS/text/font-style"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"font-style"
}
},
{
"path"
:
"pages/CSS/text/font-weight"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"font-weight"
}
},
{
"path"
:
"pages/CSS/text/letter-spacing"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"letter-spacing"
}
},
{
"path"
:
"pages/CSS/text/line-height"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"line-height"
}
},
{
"path"
:
"pages/CSS/text/text-align"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"text-align"
}
},
{
"path"
:
"pages/CSS/text/text-overflow"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"text-overflow"
}
},
{
"path"
:
"pages/CSS/text/text-decoration-line"
,
"group"
:
[
{
"id"
:
"css.properties.text"
,
"name"
:
"text"
}
],
"style"
:
{
"navigationBarTitleText"
:
"text-decoration-line"
}
},
{
"path"
:
"pages/CSS/transition/transition"
,
"group"
:
[
{
"id"
:
"css.properties.transition"
,
"name"
:
"transition"
}
],
"style"
:
{
"navigationBarTitleText"
:
"Transition"
}
},
{
"path"
:
"pages/CSS/pointer-events/pointer-events"
,
"group"
:
[
{
"id"
:
"pointer-events"
,
"name"
:
"pointer-events"
}
],
"style"
:
{
"navigationBarTitleText"
:
"pointer-events"
}
},
{
"path"
:
"pages/CSS/transform/translate"
,
"group"
:
[
{
"id"
:
"css.properties.transform"
,
"name"
:
"transform"
}
],
"style"
:
{
"navigationBarTitleText"
:
"Translate"
}
},
{
"path"
:
"pages/CSS/transform/scale"
,
"group"
:
[
{
"id"
:
"css.properties.transform"
,
"name"
:
"transform"
}
],
"style"
:
{
"navigationBarTitleText"
:
"Scale"
}
},
{
"path"
:
"pages/CSS/transform/rotate"
,
"group"
:
[
{
"id"
:
"css.properties.transform"
,
"name"
:
"transform"
}
],
"style"
:
{
"navigationBarTitleText"
:
"Rotate"
}
},
{
"path"
:
"pages/CSS/variable/variable"
,
"group"
:
[
{
"id"
:
"variable"
,
"name"
:
"variable"
}
],
"style"
:
{
"navigationBarTitleText"
:
"css 变量"
}
},
{
"path"
:
"pages/CSS/overflow/overflow-visible-event"
,
"group"
:
[
{
"id"
:
"overflow"
,
"name"
:
"overflow"
}
],
"style"
:
{
"navigationBarTitleText"
:
"overflow-visible-event"
}
},
{
"path"
:
"pages/tabBar/template"
,
"style"
:
{
"navigationBarTitleText"
:
"模板"
}
},
{
"path"
:
"pages/template/list-news/list-news"
,
"style"
:
{
"navigationBarTitleText"
:
"列表到详情示例(吸顶)"
}
},
{
"path"
:
"pages/template/list-news/detail/detail"
,
"style"
:
{
"navigationBarTitleText"
:
"详情示例"
}
},
{
"path"
:
"pages/template/drop-card/drop-card"
,
"style"
:
{
"navigationBarTitleText"
:
"drop-card"
}
},
{
"path"
:
"pages/template/swiper-list/swiper-list"
,
"style"
:
{
"navigationBarTitleText"
:
"swiper-list"
}
},
{
"path"
:
"pages/template/swiper-list2/swiper-list2"
,
"style"
:
{
"navigationBarTitleText"
:
"swiper-list2"
}
},
{
"path"
:
"pages/template/swiper-vertical-video/swiper-vertical-video"
,
"style"
:
{
"navigationStyle"
:
"custom"
,
"backgroundColorContent"
:
"#000000"
}
},
//
#ifdef
APP
{
"path"
:
"pages/template/scroll-sticky/scroll-sticky"
,
"style"
:
{
"navigationBarTitleText"
:
"scroll-view自定义滚动吸顶"
}
},
//
#endif
{
"path"
:
"pages/template/scroll-fold-nav/scroll-fold-nav"
,
"style"
:
{
"navigationStyle"
:
"custom"
,
"navigationBarTextStyle"
:
"black"
}
},
{
"path"
:
"pages/template/custom-refresher/custom-refresher"
,
"style"
:
{
"navigationBarTitleText"
:
"自定义下拉刷新"
}
},
{
"path"
:
"pages/template/half-screen/half-screen"
,
"style"
:
{
"navigationBarTitleText"
:
"半屏弹窗"
}
},
{
"path"
:
"pages/template/long-list/long-list"
,
"style"
:
{
"navigationBarTitleText"
:
"Android顶部搜索框随时下移长列表"
,
"enablePullDownRefresh"
:
true
}
},
{
"path"
:
"pages/template/long-list2/long-list2"
,
"style"
:
{
"navigationBarTitleText"
:
"顶部banner长列表嵌套滚动示例"
,
"enablePullDownRefresh"
:
true
}
},
{
"path"
:
"pages/template/long-list-nested/long-list-nested"
,
"style"
:
{
"navigationBarTitleText"
:
"顶部banner长列表嵌套滚动示例"
,
"enablePullDownRefresh"
:
true
}
},
{
"path"
:
"pages/template/pull-zoom-image/pull-zoom-image"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"pages/template/navbar-lite/navbar-lite"
,
"style"
:
{
"navigationBarTitleText"
:
"自定义导航栏"
,
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"pages/template/custom-tab-bar/custom-tab-bar"
,
"style"
:
{
"navigationBarTitleText"
:
"自定义TabBar"
}
},
//
#ifdef
WEB
{
"path"
:
"pages/template/browser-element/browser-element"
,
"style"
:
{
"navigationBarTitleText"
:
"如何使用浏览器 element"
}
},
//
#endif
//
#ifdef
APP
{
"path"
:
"pages/template/calendar/calendar"
,
"style"
:
{
"navigationBarTitleText"
:
"日历"
}
},
//
#endif
{
"path"
:
"pages/template/schema/schema"
,
"style"
:
{
"navigationBarTitleText"
:
"打开schema示例"
}
},
//
#ifdef
APP-ANDROID
{
"path"
:
"pages/template/share/share"
,
"style"
:
{
"navigationBarTitleText"
:
"分享"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
//
#ifdef
APP-ANDROID
{
"path"
:
"pages/template/lottie-anim/lottie-anim"
,
"style"
:
{
"navigationBarTitleText"
:
"lottie动画-需要自定义基座"
,
"enablePullDownRefresh"
:
false
}
},
//
#endif
//
#ifdef
APP
||
WEB
{
"path"
:
"uni_modules/uni-pay-x/pages/success/success"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"backgroundColor"
:
"#F8F8F8"
,
"navigationBarBackgroundColor"
:
"#007aff"
,
"navigationBarTextStyle"
:
"white"
}
},
{
"path"
:
"uni_modules/uni-pay-x/pages/ad-interactive-webview/ad-interactive-webview"
,
"style"
:
{
"navigationBarTitleText"
:
"收银台"
,
"backgroundColor"
:
"#F8F8F8"
}
},
{
"path"
:
"uni_modules/uni-pay-x/pages/pay-desk/pay-desk"
,
"style"
:
{
"navigationBarTitleText"
:
"ad"
,
"backgroundColor"
:
"#F8F8F8"
}
},
//
#endif
{
"path"
:
"pages/template/custom-long-list/custom-long-list"
,
"style"
:
{
"navigationBarTitleText"
:
"自定义虚拟长列表"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/template/test-background-color-content/test-background-color-content"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"backgroundColorContent"
:
"#fffae8"
}
}
],
"globalStyle"
:
{
"pageOrientation"
:
"portrait"
,
"navigationBarTitleText"
:
"Hello uniapp x"
,
"navigationBarTextStyle"
:
"@navigationBarTextStyle"
,
"navigationBarBackgroundColor"
:
"@navigationBarBackgroundColor"
,
"backgroundColorContent"
:
"@backgroundColorContent"
,
"backgroundColor"
:
"@backgroundColor"
},
"tabBar"
:
{
"color"
:
"@tabBarColor"
,
"selectedColor"
:
"@tabBarSelectedColor"
,
"borderStyle"
:
"@tabBarBorderStyle"
,
"backgroundColor"
:
"@tabBarBackgroundColor"
,
"list"
:
[
{
"pagePath"
:
"pages/tabBar/component"
,
"iconPath"
:
"@tabBarComponentIconPath"
,
"selectedIconPath"
:
"@tabBarComponentSelectedIconPath"
,
"text"
:
"内置组件"
},
{
"pagePath"
:
"pages/tabBar/API"
,
"iconPath"
:
"@tabBarAPIIconPath"
,
"selectedIconPath"
:
"@tabBarAPISelectedIconPath"
,
"text"
:
"接口"
},
{
"pagePath"
:
"pages/tabBar/CSS"
,
"iconPath"
:
"@tabBarCSSIconPath"
,
"selectedIconPath"
:
"@tabBarCSSSelectedIconPath"
,
"text"
:
"CSS"
},
{
"pagePath"
:
"pages/tabBar/template"
,
"iconPath"
:
"@tabBarTemplateIconPath"
,
"selectedIconPath"
:
"@tabBarTemplateSelectedIconPath"
,
"text"
:
"模板"
}
]
},
"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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录