1 Star 0 Fork 0

贺先生 / 小程序-组件库

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pages.json 28.33 KB
一键复制 编辑 原始数据 按行查看 历史
贺先生 提交于 2023-11-14 17:44 . 1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377
{
"leftWindow": {
"path": "windows/left-window.vue",
"style": {
"width": "350px"
}
},
"topWindow": {
"path": "windows/top-window.vue",
"style": {
"height": "60px"
}
},
"pages": [
// pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/tabBar/component/component",
"style": {
"navigationBarTitleText": "内置组件",
"app-plus": {
"bounce": "vertical",
"titleNView": {
"buttons": [{
"text": "\ue534",
"fontSrc": "/static/uni.ttf",
"fontSize": "22px",
"color": "#FFFFFF"
}]
}
}
}
},
{
"path": "pages/tabBar/API/API",
"style": {
"navigationBarTitleText": "接口",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue534",
"fontSrc": "/static/uni.ttf",
"fontSize": "22px",
"color": "#FFFFFF"
}]
}
}
}
},
{
"path": "pages/tabBar/template/template",
"style": {
"navigationBarTitleText": "模版",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue534",
"fontSrc": "/static/uni.ttf",
"fontSize": "22px",
"color": "#FFFFFF"
}]
}
}
}
},
{
"path": "pages/tabBar/extUI/extUI",
"style": {
"navigationBarTitleText": "扩展组件",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue534",
"fontSrc": "/static/uni.ttf",
"fontSize": "22px",
"color": "#FFFFFF"
}]
}
}
}
},
{
"path": "pages/component/view/view",
"style": {
"navigationBarTitleText": "view"
}
},
{
"path": "pages/component/scroll-view/scroll-view",
"style": {
"navigationBarTitleText": "scroll-view"
}
},
{
"path": "pages/component/swiper/swiper",
"style": {
"navigationBarTitleText": "swiper"
}
},
// #ifndef MP-TOUTIAO
{
"path": "pages/component/cover-view/cover-view",
"style": {
"navigationBarTitleText": "cover-view"
}
},
{
"path": "pages/component/movable-view/movable-view",
"style": {
"navigationBarTitleText": "movable-view"
}
},
// #endif
{
"path": "pages/component/text/text",
"style": {
"navigationBarTitleText": "text"
}
},
{
"path": "pages/component/rich-text/rich-text",
"style": {
"navigationBarTitleText": "rich-text"
}
},
{
"path": "pages/component/progress/progress",
"style": {
"navigationBarTitleText": "progress"
}
},
{
"path": "pages/component/button/button",
"style": {
"navigationBarTitleText": "button"
}
},
{
"path": "pages/component/checkbox/checkbox",
"style": {
"navigationBarTitleText": "checkbox"
}
},
{
"path": "pages/component/form/form",
"style": {
"navigationBarTitleText": "form"
}
},
{
"path": "pages/component/input/input",
"style": {
"navigationBarTitleText": "input",
"app-plus": {
"softinputNavBar": "none"
}
}
},
{
"path": "pages/component/label/label",
"style": {
"navigationBarTitleText": "label"
}
},
{
"path": "pages/component/picker/picker",
"style": {
"navigationBarTitleText": "picker"
}
},
{
"path": "pages/component/picker-view/picker-view",
"style": {
"navigationBarTitleText": "picker-view"
}
},
{
"path": "pages/component/radio/radio",
"style": {
"navigationBarTitleText": "radio"
}
},
{
"path": "pages/component/slider/slider",
"style": {
"navigationBarTitleText": "slider"
}
},
{
"path": "pages/component/switch/switch",
"style": {
"navigationBarTitleText": "switch"
}
},
{
"path": "pages/component/textarea/textarea",
"style": {
"navigationBarTitleText": "textarea"
}
},
// #ifdef APP-PLUS || MP-WEIXIN || H5 || MP-BAIDU
{
"path": "pages/component/editor/editor",
"style": {
"navigationBarTitleText": "editor",
"app-plus": {
"softinputMode": "adjustResize"
}
// #ifdef MP-BAIDU
,"usingComponents": {
"editor": "dynamicLib://editorLib/editor"
}
// #endif
}
},
// #endif
{
"path": "pages/component/navigator/navigator",
"style": {
"navigationBarTitleText": "navigator"
}
},
{
"path": "pages/component/navigator/navigate/navigate",
"style": {
"navigationBarTitleText": "navigatePage"
}
},
{
"path": "pages/component/navigator/redirect/redirect",
"style": {
"navigationBarTitleText": "redirectPage"
}
},
{
"path": "pages/component/image/image",
"style": {
"navigationBarTitleText": "image"
}
},
{
"path": "pages/component/video/video",
"style": {
"navigationBarTitleText": "video"
}
},
// #ifndef MP-ALIPAY || MP-TOUTIAO || VUE3
// {
// "path": "pages/component/audio/audio",
// "style": {
// "navigationBarTitleText": "audio"
// }
// },
// #endif
// #ifndef MP-TOUTIAO
{
"path": "pages/component/map/map",
"style": {
"navigationBarTitleText": "map"
}
},
// #endif
{
"path": "pages/component/canvas/canvas",
"style": {
"navigationBarTitleText": "canvas"
}
},
{
"path": "pages/component/web-view/web-view",
"style": {
"navigationBarTitleText": "web-view"
}
},
// #ifdef APP-VUE || APP-NVUE
{
"path": "pages/component/ad/ad",
"style": {
"navigationBarTitleText": "AD"
}
},
// #endif
// #ifdef APP-PLUS || H5
{
"path": "pages/component/web-view-local/web-view-local",
"style": {}
},
// #endif
{
"path": "platforms/app-plus/speech/speech",
"style": {
"navigationBarTitleText": "语音识别"
}
},
{
"path": "platforms/app-plus/orientation/orientation",
"style": {
"navigationBarTitleText": "方向传感器"
}
},
{
"path": "platforms/app-plus/proximity/proximity",
"style": {
"navigationBarTitleText": "距离传感器"
}
},
{
"path": "platforms/app-plus/push/push",
"style": {
"navigationBarTitleText": "推送"
}
},
{
"path": "platforms/app-plus/shake/shake",
"style": {
"navigationBarTitleText": "摇一摇"
}
},
// #ifdef H5 || APP-PLUS
{
"path": "pages/about/about",
"style": {
"navigationBarTitleText": "关于"
}
},
// #endif
{
"path": "platforms/app-plus/feedback/feedback",
"style": {
"navigationBarTitleText": "问题反馈"
}
}
// #ifdef H5
, {
"path": "pages/error/404",
"style": {
"navigationBarTitleText": "Not Found"
}
}
// #endif
,{
"path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
"style": {
"app-plus": {
"animationDuration": 200,
"animationType": "fade-in",
"background": "transparent",
"backgroundColorTop": "transparent",
"popGesture": "none",
"scrollIndicator": false,
"titleNView": false
},
"disableScroll": true
}
}
],
"subPackages": [{
"root": "pages/API",
"pages": [{
"path": "login/login",
"style": {
"navigationBarTitleText": "授权登录"
}
},
// #ifdef APP-PLUS
{
"path": "subnvue/subnvue",
"style": {
"navigationBarTitleText": "原生子窗体",
"app-plus": {
"subNVues": [{
"id": "drawer",
"path": "subnvue/subnvue/drawer",
"type": "popup",
"style": {
"width": "50%"
}
}, {
"id": "popup",
"path": "subnvue/subnvue/popup",
"type": "popup",
"style": {
"margin": "auto",
"width": "80%",
"height": "600rpx"
}
}, {
"id": "video_mask",
"path": "subnvue/subnvue/video-mask",
"style": {
"position": "absolute",
"bottom": "30px",
"left": "0",
"width": "230px",
"height": "110px",
"background": "transparent"
}
}]
}
}
},
// #endif
{
"path": "get-user-info/get-user-info",
"style": {
"navigationBarTitleText": "获取用户信息"
}
},
{
"path": "request-payment/request-payment",
"style": {
"navigationBarTitleText": "发起支付"
}
},
{
"path": "share/share",
"style": {
"navigationBarTitleText": "分享"
}
},
{
"path": "set-navigation-bar-title/set-navigation-bar-title",
"style": {
"navigationBarTitleText": "设置界面标题"
}
},
{
"path": "show-loading/show-loading",
"style": {
"navigationBarTitleText": "加载提示框"
}
},
{
"path": "navigator/navigator",
"style": {
"navigationBarTitleText": "页面跳转"
}
},
{
"path": "navigator/new-page/new-vue-page-1",
"style": {
"navigationBarTitleText": "新VUE页面1"
}
},
{
"path": "navigator/new-page/new-vue-page-2",
"style": {
"navigationBarTitleText": "新VUE页面2"
}
},
// #ifndef VUE3
{
"path": "navigator/new-page/new-nvue-page-1",
"style": {
"navigationBarTitleText": "新NVUE页面1"
}
},
{
"path": "navigator/new-page/new-nvue-page-2",
"style": {
"navigationBarTitleText": "新NVUE页面2"
}
},
// #endif
{
"path": "pull-down-refresh/pull-down-refresh",
"style": {
"navigationBarTitleText": "下拉刷新",
"enablePullDownRefresh": true
}
},
{
"path": "animation/animation",
"style": {
"navigationBarTitleText": "创建动画"
}
},
{
"path": "get-node-info/get-node-info",
"style": {
"navigationBarTitleText": "节点信息"
}
},
{
"path": "intersection-observer/intersection-observer",
"style": {
"navigationBarTitleText": "节点布局相交状态"
}
},
{
"path": "canvas/canvas",
"style": {
"navigationBarTitleText": "创建绘画"
}
},
{
"path": "action-sheet/action-sheet",
"style": {
"navigationBarTitleText": "操作菜单"
}
},
{
"path": "modal/modal",
"style": {
"navigationBarTitleText": "模态弹窗"
}
},
{
"path": "toast/toast",
"style": {
"navigationBarTitleText": "消息提示框"
}
},
{
"path": "get-network-type/get-network-type",
"style": {
"navigationBarTitleText": "获取设备网络状态"
}
},
{
"path": "get-system-info/get-system-info",
"style": {
"navigationBarTitleText": "获取设备系统信息"
}
},
{
"path": "add-phone-contact/add-phone-contact",
"style": {
"navigationBarTitleText": "添加手机联系人"
}
},
{
"path": "on-accelerometer-change/on-accelerometer-change",
"style": {
"navigationBarTitleText": "监听加速度计数据"
}
},
{
"path": "on-compass-change/on-compass-change",
"style": {
"navigationBarTitleText": "监听罗盘数据"
}
},
{
"path": "make-phone-call/make-phone-call",
"style": {
"navigationBarTitleText": "打电话"
}
},
{
"path": "scan-code/scan-code",
"style": {
"navigationBarTitleText": "扫码"
}
},
{
"path": "clipboard/clipboard",
"style": {
"navigationBarTitleText": "剪贴板"
}
},
{
"path": "request/request",
"style": {
"navigationBarTitleText": "网络请求"
}
},
{
"path": "upload-file/upload-file",
"style": {
"navigationBarTitleText": "上传文件"
}
},
{
"path": "download-file/download-file",
"style": {
"navigationBarTitleText": "下载文件"
}
},
{
"path": "image/image",
"style": {
"navigationBarTitleText": "图片"
}
},
{
"path": "voice/voice",
"style": {
"navigationBarTitleText": "录音"
}
},
{
"path": "inner-audio/inner-audio",
"style": {
"navigationBarTitleText": "音频"
}
},
{
"path": "background-audio/background-audio",
"style": {
"navigationBarTitleText": "背景音频"
}
},
{
"path": "video/video",
"style": {
"navigationBarTitleText": "视频"
}
},
{
"path": "file/file",
"style": {
"navigationBarTitleText": "文件"
}
},
// #ifndef MP-QQ || MP-TOUTIAO
{
"path": "map/map",
"style": {
"navigationBarTitleText": "map"
}
},
// #endif
// #ifdef APP-PLUS
{
"path": "map-search/map-search",
"style": {
"navigationBarTitleText": "map search"
}
},
// #endif
{
"path": "get-location/get-location",
"style": {
"navigationBarTitleText": "获取位置"
}
},
{
"path": "open-location/open-location",
"style": {
"navigationBarTitleText": "查看位置"
}
},
// #ifndef MP-TOUTIAO
{
"path": "choose-location/choose-location",
"style": {
"navigationBarTitleText": "使用地图选择位置"
}
},
// #endif
{
"path": "storage/storage",
"style": {
"navigationBarTitleText": "数据存储"
}
},
{
"path": "sqlite/sqlite",
"style": {
"navigationBarTitleText": "SQLite"
}
},
// #ifdef APP-PLUS || MP-WEIXIN
{
"path": "rewarded-video-ad/rewarded-video-ad",
"style": {
"navigationBarTitleText": "激励视频广告"
}
},
// #endif
// #ifdef APP-PLUS
{
"path": "full-screen-video-ad/full-screen-video-ad",
"style": {
"navigationBarTitleText": "全屏视频广告"
}
},
// #endif
// #ifndef H5
{
"path": "brightness/brightness",
"style": {
"navigationBarTitleText": "屏幕亮度"
}
},
// #endif
// #ifndef H5 || MP-ALIPAY
{
"path": "save-media/save-media",
"style": {
"navigationBarTitleText": "保存媒体到本地"
}
},
// #endif
// #ifdef APP-PLUS || MP-WEIXIN || MP-QQ || MP-JD
{
"path": "bluetooth/bluetooth",
"style": {
"navigationBarTitleText": "蓝牙"
}
},
{
"path": "soter/soter",
"style": {
"navigationBarTitleText": "生物认证"
}
},
// #endif
// #ifdef APP-PLUS || MP-WEIXIN
{
"path": "ibeacon/ibeacon",
"style": {
"navigationBarTitleText": "iBeacon"
}
},
// #endif
{
"path": "vibrate/vibrate",
"style": {
"navigationBarTitleText": "震动"
}
},
// #ifndef MP-ALIPAY
{
"path": "websocket-socketTask/websocket-socketTask",
"style": {
"navigationBarTitleText": "websocket-socketTask"
}
},
// #endif
{
"path": "websocket-global/websocket-global",
"style": {
"navigationBarTitleText": "websocket-global"
}
}
]
},
{
"root": "pages/extUI",
"pages": [{
"path": "forms/forms",
"style": {
"navigationBarTitleText": "Form 表单"
}
},
{
"path": "group/group",
"style": {
"navigationBarTitleText": "Group 分组"
}
},
{
"path": "badge/badge",
"style": {
"navigationBarTitleText": "Badge 数字角标"
}
},
{
"path": "breadcrumb/breadcrumb",
"style": {
"navigationBarTitleText": "Breadcrumb 面包屑"
}
},
{
"path": "countdown/countdown",
"style": {
"navigationBarTitleText": "Countdown 倒计时"
}
},
{
"path": "drawer/drawer",
"style": {
"navigationBarTitleText": "Drawer 抽屉"
}
},
{
"path": "icons/icons",
"style": {
"navigationBarTitleText": "Icons 图标"
}
},
{
"path": "load-more/load-more",
"style": {
"navigationBarTitleText": "LoadMore 加载更多"
}
},
{
"path": "nav-bar/nav-bar",
"style": {
"navigationBarTitleText": "NavBar 导航栏",
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"app-plus": {
"titleNView": false,
"bounce": "none",
"pullToRefresh": {
"style": "circle",
"offset": "70px"
}
}
}
},
{
"path": "number-box/number-box",
"style": {
"navigationBarTitleText": "NumberBox 数字输入框"
}
},
{
"path": "popup/popup",
"style": {
"navigationBarTitleText": "Popup 弹出层",
"app-plus": {
"softinputMode": "adjustResize"
}
}
},
{
"path": "segmented-control/segmented-control",
"style": {
"navigationBarTitleText": "SegmentedControl 分段器"
}
},
{
"path": "tag/tag",
"style": {
"navigationBarTitleText": "Tag 标签"
}
},
{
"path": "list/list",
"style": {
"navigationBarTitleText": "List 列表"
}
},
{
"path": "card/card",
"style": {
"navigationBarTitleText": "Card 卡片"
}
},
{
"path": "collapse/collapse",
"style": {
"navigationBarTitleText": "Collapse 折叠面板"
}
},
{
"path": "pagination/pagination",
"style": {
"navigationBarTitleText": "Pagination 分页器"
}
},
{
"path": "swiper-dot/swiper-dot",
"style": {
"navigationBarTitleText": "SwiperDot 轮播图指示点",
"mp-baidu": {
"disableSwipeBack": true
}
}
},
{
"path": "grid/grid",
"style": {
"navigationBarTitleText": "Grid 宫格"
}
},
{
"path": "rate/rate",
"style": {
"navigationBarTitleText": "Rate 评分"
}
},
{
"path": "steps/steps",
"style": {
"navigationBarTitleText": "Steps 步骤条"
}
},
{
"path": "notice-bar/notice-bar",
"style": {
"navigationBarTitleText": "NoticeBar 通告栏"
}
},
{
"path": "swipe-action/swipe-action",
"style": {
"navigationBarTitleText": "SwipeAction 滑动操作",
"app-plus": {
"bounce": "none"
}
}
},
{
"path": "search-bar/search-bar",
"style": {
"navigationBarTitleText": "SearchBar 搜索栏"
}
},
{
"path": "calendar/calendar",
"style": {
"navigationBarTitleText": "Calendar 日历"
}
},
{
"path": "indexed-list/indexed-list",
"style": {
"navigationBarTitleText": "IndexedList 索引列表",
"mp-weixin": {
"disableScroll": true
},
"app-plus": {
"bounce": "none"
},
"mp-alipay": {
"allowsBounceVertical": "NO"
},
"mp-baidu": {
"disableScroll": true
}
}
},
{
"path": "fab/fab",
"style": {
"navigationBarTitleText": "Fab 悬浮按钮"
}
},
{
"path": "fav/fav",
"style": {
"navigationBarTitleText": "Fav 收藏按钮"
}
},
{
"path": "goods-nav/goods-nav",
"style": {
"navigationBarTitleText": "GoodsNav 商品导航"
}
},
{
"path": "section/section",
"style": {
"navigationBarTitleText": "Section 标题栏"
}
},
{
"path": "transition/transition",
"style": {
"navigationBarTitleText": "Transition 过渡动画"
}
},
{
"path": "title/title",
"style": {
"navigationBarTitleText": "Title 章节标题"
}
},
{
"path": "tooltip/tooltip",
"style": {
"navigationBarTitleText": "Tooltip 文字提示"
}
},
{
"path": "link/link",
"style": {
"navigationBarTitleText": "Link 链接"
}
},
{
"path": "combox/combox",
"style": {
"navigationBarTitleText": "Combox 组合框"
}
},
{
"path": "list/chat",
"style": {}
},
{
"path": "table/table",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "dateformat/dateformat",
"style": {
"navigationBarTitleText": "Dateformat 日期格式化",
"enablePullDownRefresh": false
}
},
{
"path": "data-checkbox/data-checkbox",
"style": {
"navigationBarTitleText": "DataCheckbox 单选复选框",
"enablePullDownRefresh": false
}
},
{
"path": "easyinput/easyinput",
"style": {
"navigationBarTitleText": "Easyinput 增强输入框",
"enablePullDownRefresh": false
}
},
{
"path": "data-picker/data-picker",
"style": {
"navigationBarTitleText": "DataPicker 级联选择",
"enablePullDownRefresh": false
}
},
{
"path": "data-select/data-select",
"style": {
"navigationBarTitleText": "DataSelect 下拉框",
"enablePullDownRefresh": false
}
},
{
"path": "datetime-picker/datetime-picker",
"style": {
"navigationBarTitleText": "DatetimePicker 日期时间",
"enablePullDownRefresh": false
}
},
{
"path": "row/row",
"style": {
"navigationBarTitleText": "Layout 布局",
"enablePullDownRefresh": false
}
},
{
"path": "file-picker/file-picker",
"style": {
"navigationBarTitleText": "FilePicker 文件选择上传",
"enablePullDownRefresh": false
}
},
{
"path": "space/space",
"style": {
"navigationBarTitleText": "间距",
"enablePullDownRefresh": false
}
},
{
"path": "font/font",
"style": {
"navigationBarTitleText": "字体",
"enablePullDownRefresh": false
}
},
{
"path": "color/color",
"style": {
"navigationBarTitleText": "颜色",
"enablePullDownRefresh": false
}
},
{
"path": "radius/radius",
"style": {
"navigationBarTitleText": "圆角",
"enablePullDownRefresh": false
}
},
{
"path": "button/button",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
]
},
{
"root": "pages/template",
"pages": [
// #ifndef VUE3
{
"path": "ucharts/ucharts",
"style": {
"navigationBarTitleText": "uCharts 图表"
}
},
// #endif
{
"path": "nav-default/nav-default",
"style": {
"navigationBarTitleText": "默认导航栏"
}
},
{
"path": "component-communication/component-communication",
"style": {
"navigationBarTitleText": "组件通讯"
}
},
// #ifdef APP-PLUS || H5 || MP-ALIPAY
{
"path": "nav-transparent/nav-transparent",
"style": {
"navigationBarTitleText": "透明渐变导航栏",
"transparentTitle": "auto"
}
},
// #endif
// #ifdef APP-PLUS || H5
{
"path": "nav-button/nav-button",
"style": {
"navigationBarTitleText": "导航栏带自定义按钮",
"app-plus": {
"titleNView": {
"buttons": [{
"type": "share"
},
{
"type": "favorite"
}
]
}
}
}
},
// #endif
// #ifdef APP-PLUS || H5 || MP-ALIPAY
{
"path": "nav-image/nav-image",
"style": {
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black",
"titleImage": "https://web-assets.dcloud.net.cn/unidoc/zh/logo1@2x.png"
}
},
// #endif
// #ifdef APP-PLUS || H5
{
"path": "nav-city-dropdown/nav-city-dropdown",
"style": {
"navigationBarTitleText": "导航栏带城市选择",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "北京市",
"fontSize": "14",
"select": true,
"width": "auto"
}]
}
}
}
},
{
"path": "nav-dot/nav-dot",
"style": {
"navigationBarTitleText": "导航栏带红点和角标",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "消息",
"fontSize": "14",
"redDot": true
},
{
"text": "关注",
"fontSize": "14",
"badgeText": "12"
}
]
}
}
}
},
{
"path": "nav-search-input/nav-search-input",
"style": {
"navigationBarTitleText": "导航栏带搜索框",
"app-plus": {
"titleNView": {
"type": "transparent",
"titleColor": "#fff",
"backgroundColor": "#007AFF",
"buttons": [{
"fontSrc": "/static/uni.ttf",
"text": "\ue537",
"width": "40px",
"fontSize": "28px",
"color": "#fff",
"background": "rgba(0,0,0,0)"
}],
"searchInput": {
"backgroundColor": "#fff",
"borderRadius": "6px",
"placeholder": "请输入地址 如:大钟寺",
"disabled": true
}
}
}
}
},
{
"path": "nav-search-input/detail/detail",
"style": {
"navigationBarTitleText": "搜索",
"app-plus": {
"titleNView": {
"titleColor": "#fff",
"backgroundColor": "#007AFF",
"buttons": [{
"fontSrc": "/static/uni.ttf",
"text": "\ue537",
"width": "auto",
"fontSize": "28px",
"color": "#fff"
}],
"searchInput": {
"backgroundColor": "#fff",
"borderRadius": "6px",
"placeholder": "请输入地址 如:大钟寺",
"autoFocus": true
}
}
}
}
},
// #endif
{
"path": "list2detail-list/list2detail-list",
"style": {
"navigationBarTitleText": "列表到详情示例",
"enablePullDownRefresh": true
}
},
{
"path": "list2detail-detail/list2detail-detail",
"style": {
"navigationBarTitleText": "详情",
"app-plus": {
"titleNView": {
"type": "transparent",
"buttons": [{
"type": "share"
}]
}
},
"h5": {
"titleNView": {
"type": "transparent",
"buttons": []
}
}
}
},
{
"path": "tabbar/tabbar",
"style": {
"navigationBarTitleText": "可拖动顶部选项卡"
}
},
{
"path": "tabbar/detail/detail",
"style": {
"navigationBarTitleText": "详情页面"
}
},
// #ifdef APP-PLUS || H5 || MP-WEIXIN || MP-QQ
{
"path": "swiper-vertical/swiper-vertical",
"style": {
"navigationBarTitleText": "上下滑动切换视频",
"app-plus": {
"titleNView": false
}
}
},
{
"path": "swiper-list/swiper-list",
"style": {
"navigationBarTitleText": "swiper-list"
}
},
// #endif
// #ifdef APP-PLUS
{
"path": "swiper-list-nvue/swiper-list-nvue",
"style": {
"navigationBarTitleText": "swiper-list"
}
},
// #endif
{
"path": "scheme/scheme",
"style": {
"navigationBarTitleText": "打开外部应用"
}
},
// #ifdef APP-PLUS || MP-WEIXIN || MP-QQ || H5
// #ifndef VUE3
{
"path": "vant-button/vant-button",
"style": {
"navigationBarTitleText": "微信自定义组件示例",
"usingComponents": {
"van-button": "/wxcomponents/vant/button/index"
}
}
},
// #endif
// #endif
{
"path": "global/global",
"style": {
"navigationBarTitleText": "GlobalData和vuex"
}
}
]
}
],
"globalStyle": {
"pageOrientation": "portrait",
"navigationBarTitleText": "Hello uniapp",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#007AFF",
"backgroundColor": "#F8F8F8",
"backgroundColorTop": "#F4F5F6",
"backgroundColorBottom": "#F4F5F6",
"mp-360": {
"navigationStyle": "custom"
},
"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/extUI/extUI",
"iconPath": "static/extui.png",
"selectedIconPath": "static/extuiHL.png",
"text": "扩展组件"
}, {
"pagePath": "pages/tabBar/template/template",
"iconPath": "static/template.png",
"selectedIconPath": "static/templateHL.png",
"text": "模板"
}
]
}
}
1
https://gitee.com/hf1786679880/mini-uni-zu.git
git@gitee.com:hf1786679880/mini-uni-zu.git
hf1786679880
mini-uni-zu
小程序-组件库
master

搜索帮助