加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 6.14 KB
一键复制 编辑 原始数据 按行查看 历史
RuanChaoMin 提交于 2020-09-12 18:33 . update
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path" : "pages/home/home",
"style" : {
"app-plus":{
"titleNView":{
"searchInput":{
"align":"left",
// "borderRadius":"50px",
"backgroundColor":"#fff",
"placeholder":"搜索",
"disabled":true
},
"buttons":[
{
"text":"\ue604",
"fontSrc":"/static/fonts/iconfont.ttf",
"float":"left",
"fontSize":"20px",
"color":"#ff6b00"
},
{
"text":"\ue649",
"fontSrc":"/static/fonts/iconfont.ttf",
"float":"right",
"fontSize":"24px"
}
]
}
}
}
}
,{
"path" : "pages/me/me",
"style" : {
"navigationStyle":"custom"
}
}
,{
"path" : "pages/cart/cart",
"style" : {
"app-plus":{
"titleNView":{
"titleText":"购物车",
"buttons":[
{
"float":"right",
"text":"\ue744",
"fontSrc":"/static/fonts/iconfont.ttf",
"fontSize":"24px"
},
{
"float":"left",
"text":"\ue743",
"fontSrc":"/static/fonts/iconfont.ttf",
"fontSize":"24px"
}
]
}
},
"usingComponents":{
"van-checkbox":"/wxcomponents/vant/checkbox/index",
"van-card":"/wxcomponents/vant/card/index",
"van-stepper":"/wxcomponents/vant/stepper/index",
"van-submit-bar":"/wxcomponents/vant/submit-bar/index"
}
}
}
,{
"path" : "pages/cata/cata",
"style" : {
"app-plus":{
"animationType": "slide-in-right",
"animationDuration": 300,
"titleNView":{
"titleText":"分类",
"buttons":[
{
"float":"right",
"text":"\ue7b3",
"fontSrc":"/static/fonts/iconfont.ttf",
"fontSize":"24px"
},
{
"float":"left",
"text":"\ue743",
"fontSrc":"/static/fonts/iconfont.ttf",
"fontSize":"24px"
}
]
}
},
"usingComponents":{
"van-tree-select":"/wxcomponents/vant/tree-select/index",
"van-image":"/wxcomponents/vant/image/index"
}
}
}
,{
"path" : "components/goods/goods",
"style" : {
"app-plus":{
"titleNView":{
"type": "transparent",
"titleText":"",
"buttons":[
{
"float":"right",
"text":"\ue75e",
"fontSrc":"/static/fonts/iconfont.ttf",
"fontSize":"24px"
}
]
}
},
"usingComponents":{
"van-goods-action":"/wxcomponents/vant/goods-action/index",
"van-goods-action-icon":"/wxcomponents/vant/goods-action-icon/index",
"van-goods-action-button":"/wxcomponents/vant/goods-action-button/index"
}
}
}
,{
"path" : "components/share",
"style" : {}
}
,{
"path" : "components/me-info",
"style" : {}
}
,{
"path" : "pages/home/login",
"style" : {
"navigationStyle":"custom"
}
}
,{
"path" : "components/third-login",
"style" : {}
}
,{
"path" : "pages/cart/submit-order",
"style" : {
"app-plus":{
"titleNView":{
"titleText":"用户结算"
}
},
"usingComponents":{
"van-radio-group":"/wxcomponents/vant/radio-group/index",
"van-cell-group":"/wxcomponents/vant/cell-group/index",
"van-cell":"/wxcomponents/vant/cell/index",
"van-radio":"/wxcomponents/vant/radio/index",
"van-submit-bar":"/wxcomponents/vant/submit-bar/index"
}
}
}
,{
"path" : "components/addres",
"style" : {
"app-plus":{
"geocode":true
},
"usingComponents":{
"van-area":"/wxcomponents/vant/area/index",
"van-popup":"/wxcomponents/vant/popup/index",
"van-field":"/wxcomponents/vant/field/index",
"van-cell":"/wxcomponents/vant/cell/index",
"van-cell-group":"/wxcomponents/vant/cell-group/index",
"van-switch":"/wxcomponents/vant/switch/index",
"van-button":"/wxcomponents/vant/button/index"
}
}
}
,{
"path" : "components/my-order",
"style" : {
"app-plus":{
"titleNView":{
"titleText":"我的订单",
"buttons":[
]
}
},
"usingComponents":{
"van-panel":"/wxcomponents/vant/panel/index",
"van-button":"/wxcomponents/vant/button/index"
}
}
}
,{
"path" : "components/search",
"style" : {
"app-plus":{
"titleNView":{
"titleText":"搜索"
}
}
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#f2f2f2",
"backgroundColor": "#f2f2f2"
},
"tabBar":{
"color":"#999",
"selectedColor":"#ff6700",
"borderStyle":"black",
"backgroundColor":"#FFFFFF",
"list":[
{
"pagePath":"pages/home/home",
"iconPath":"./static/tabbar/icon-home.png",
"selectedIconPath":"./static/tabbar/icon-home-selected.png",
"text":"首页"
},
{
"pagePath":"pages/cata/cata",
"iconPath":"./static/tabbar/icon-category.png",
"selectedIconPath":"./static/tabbar/icon-category-selected.png",
"text":"分类"
},
{
"pagePath":"pages/cart/cart",
"iconPath":"./static/tabbar/icon-cart.png",
"selectedIconPath":"./static/tabbar/icon-cart-selected.png",
"text":"购物车"
},
{
"pagePath":"pages/me/me",
"iconPath":"./static/tabbar/icon-user.png",
"selectedIconPath":"./static/tabbar/icon-user-selected.png",
"text":"我的"
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化