1 Star 1 Fork 3

小天呐/mcake

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 10.22 KB
一键复制 编辑 原始数据 按行查看 历史
小天呐 提交于 2023-04-12 10:16 +08:00 . first
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/Home/Home",
"style": {
"navigationBarTitleText": "MCAKE",
"navigationBarBackgroundColor": "#fff",
// "navigationStyle": "custom",
"app-plus": {
"scrollIndicator": "none",
"titleNView": {
"backgroundColor": "#fff",
"buttons": [{
"float": "left",
"fontSrc": "./static/iconfont/iconfont.ttf",
"text": "\ue617"
},
{
"float": "right",
"fontSrc": "./static/iconfont/iconfont.ttf",
"text": "\ue73d"
}
]
}
}
}
}, {
"path": "pages/Class/Class",
"style": {
"navigationBarTitleText": "MCAKE",
"navigationBarBackgroundColor": "#fff",
"disableScroll": true,
"app-plus": {
"titleNView": {
"backgroundColor": "#fff",
"buttons": [{
"float": "left",
"fontSrc": "./static/iconfont/iconfont.ttf",
"text": "\ue617"
},
{
"float": "right",
"fontSrc": "./static/iconfont/iconfont.ttf",
"text": "\ue73d"
}
]
}
}
}
}, {
"path": "pages/ShopCar/ShopCar",
"style": {
"navigationBarTitleText": "MCAKE",
"navigationBarBackgroundColor": "#fff",
"enablePullDownRefresh": true,
"app-plus": {
"scrollIndicator": "none",
"titleNView": {
"backgroundColor": "#fff",
"buttons": [{
"float": "left",
"fontSrc": "./static/iconfont/iconfont.ttf",
"text": "\ue617"
},
{
"float": "right",
"fontSrc": "./static/iconfont/iconfont.ttf",
"text": "\ue73d"
}
]
}
}
}
}, {
"path": "pages/My/My",
"style": {
"navigationBarTitleText": "MCAKE",
"navigationBarBackgroundColor": "#fff",
"disableScroll": true,
"app-plus": {
"scrollIndicator": "none",
"titleNView": {
"backgroundColor": "#fff"
}
}
}
}, {
"path": "pages/Detail/Detail",
"style": {
"navigationBarTitleText": "商品详情",
"navigationBarBackgroundColor": "#fff",
"navigationStyle": "custom",
"app-plus": {
"scrollIndicator": "none",
"titleNView": {
"backgroundColor": "#fff",
"autoBackButton": true,
"type": "transparent",
"buttons": [
{
"type": "menu"
},
{
"type": "share"
}
]
}
}
}
}, {
"path": "pages/Search/Search",
"style": {
"navigationBarTitleText": "MCAKE",
"navigationBarBackgroundColor": "#fff",
"disableScroll": true,
"app-plus": {
"scrollIndicator": "none",
"titleNView": {
"backgroundColor": "#fff",
"autoBackButton": true,
"searchInput": {
"placeholder": "请输入搜索关键字",
"placeholderColor": "#b3b3b3",
"backgroundColor": "#f7f7f7",
"align": "left",
"autoFocus": true,
"borderRadius": "10px"
},
"buttons": [{
"float": "right",
"text": "搜索",
"fontSize": "15px",
"weight": "60px"
}]
}
}
}
}, {
"path": "pages/SearchResult/SearchResult",
"style": {
"navigationBarBackgroundColor": "#fff",
"app-plus": {
"titleNView": {
"backgroundColor": "#fff",
"autoBackButton": true,
"searchInput": {
"placeholder": "请输入搜索关键字",
"placeholderColor": "#b3b3b3",
"backgroundColor": "#f7f7f7",
"align": "left",
"autoFocus": false,
"borderRadius": "10px",
"disabled": true
}
}
}
}
}
,{
"path" : "pages/Login/Login",
"style" :
{
"navigationBarTitleText": "用户登录",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/RegisterPhone/RegisterPhone",
"style" :
{
"navigationBarTitleText": "请输入手机号",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "请输入手机号",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/RegisterCode/RegisterCode",
"style" :
{
"navigationBarTitleText": "请输入验证码",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "请输入验证码",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/RegisterPwd/RegisterPwd",
"style" :
{
"navigationBarTitleText": "设置密码",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "设置密码",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/Order/Order",
"style" :
{
"navigationBarTitleText": "我的订单",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "我的订单",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/Address/Address",
"style" :
{
"navigationBarTitleText": "收货地址",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "收货地址",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/Pay/Pay",
"style" :
{
"navigationBarTitleText": "确认订单",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "确认订单",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/Map/Map",
"style" :
{
"navigationBarTitleText": "位置",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "位置",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/Integral/Integral",
"style" :
{
"navigationBarTitleText": "我的积分",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "我的积分",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/OrderDetails/OrderDetails",
"style" :
{
"navigationBarTitleText": "订单详情",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "订单详情",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
,{
"path" : "pages/PaySuccess/PaySuccess",
"style" :
{
"navigationBarTitleText": "支付成功",
"backgroundColor": "#fff",
"app-plus": {
"titleNView": {
"titleText": "支付成功",
"autoBackButton": true,
"backgroundColor": "#fff"
}
}
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#bebebe",
"selectedColor": "#000",
"spacing": "5px",
"list": [{
"pagePath": "pages/Home/Home",
"text": "首页",
"iconPath": "static/img/home.png",
"selectedIconPath": "static/img/home-select.png"
},
{
"pagePath": "pages/Class/Class",
"text": "分类",
"iconPath": "static/img/class.png",
"selectedIconPath": "static/img/class-select.png"
},
{
"pagePath": "pages/ShopCar/ShopCar",
"text": "购物车",
"iconPath": "static/img/shopCar.png",
"selectedIconPath": "static/img/shopCar-select.png"
},
{
"pagePath": "pages/My/My",
"text": "我的",
"iconPath": "static/img/my.png",
"selectedIconPath": "static/img/my-select.png"
}
]
},
"uniIdRouter": {},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wifi-skew-f/mcake.git
git@gitee.com:wifi-skew-f/mcake.git
wifi-skew-f
mcake
mcake
master

搜索帮助