1 Star 3 Fork 2

chuichuifeng/unishop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 6.05 KB
一键复制 编辑 原始数据 按行查看 历史
chuichuifeng 提交于 2019-12-18 23:30 . 优化category
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
// #ifdef MP
"navigationBarTitleText": "魔方商城",
// #endif
"app-plus":{
"titleNView":{
"type":"transparent",
"searchInput":{
"backgroundColor":"rgba(231, 231, 231,.7)",
"borderRadius":"16px",
"placeholder":"请输入关键词 如:面膜",
"disabled":false,
"placeholderColor":"#606266"
},
"buttons":[{
"fontSrc":"/static/icon/iconfont.ttf",
"text":"\ue610",
"fontSize": "26",
"color": "#FFFFFF",
"float": "left",
"background": "rgba(0,0,0,0)"
},{
"fontSrc": "/static/icon/iconfont.ttf",
"text": "\ue66e",
"fontSize": "27",
"color": "#FFFFFF",
"background": "rgba(0,0,0,0)",
"redDot": true
}]
}
}
}
},{
"path" : "pages/kaiPing/kaiPing",
"style": {
"app-plus": {
"titleNView": false //禁用原生导航栏
}
}
}
,{
"path" : "pages/category/category",
"style" : {
"navigationBarTitleText": "商品分类",
"app-plus": {
"bounce": "none"
}
}
}
,{
"path" : "pages/product/product",
"style" : {
"navigationBarTitleText": "详情展示",
"app-plus":{
"titleNView":{
"type":"transparent"
}
}
}
}
,{
"path" : "pages/product/list",
"style" : {
"navigationBarTitleText": "商品列表"
}
}
,{
"path" : "pages/product/search",
"style" : {
"navigationBarTitleText": "商品搜索"
}
}
,{
"path" : "pages/member/member",
"style" : {
"navigationBarTitleText": "我的",
// #ifdef MP
"navigationStyle": "custom",
// #endif
"app-plus": {
"bounce": "none",
"titleNView": {
"type": "transparent",
"buttons": [{
"fontSrc": "/static/icon/iconfont.ttf",
"text": "\ue625",
"fontSize": "24",
"color": "#FFFFFF",
"width": "46px",
"background": "rgba(0,0,0,0)"
},
{
"fontSrc": "/static/icon/iconfont.ttf",
"text": "\ue66e",
"fontSize": "28",
"color": "#FFFFFF",
"background": "rgba(0,0,0,0)",
"redDot": true
}
]
}
}
}
},
{
"path" : "pages/member/login",
"style" : {
"navigationBarTitleText": "",
"navigationStyle": "custom",
"app-plus": {
"titleNView": false,
"animationType": "slide-in-bottom"
}
}
},
{
"path" : "pages/member/agreement",
"style" : {
"navigationBarTitleText": "注册协议"
}
},
{
"path" : "pages/member/setting",
"style" : {
"navigationBarTitleText": "设置"
}
},{
"path" : "pages/member/userInfo",
"style" : {
"navigationBarTitleText": "个人信息"
}
},{
"path" : "pages/member/inputText",
"style" : {
"navigationBarTitleText": ""
}
},{
"path" : "pages/member/articleList"
},{
"path" : "pages/member/articleDetail"
},{
"path" : "pages/member/favor",
"style" : {
"navigationBarTitleText": "用户收藏商品"
}
}
,{
"path" : "pages/article/list"
},{
"path" : "pages/article/article"
}
,{
"path" : "pages/cart/cart",
"style" : {
"navigationBarTitleText": "购物车"
}
},{
"path" : "pages/order/order",
"style" : {
"navigationBarTitleText": "订单中心"
}
},{
"path" : "pages/order/createOrder",
"style" : {
"navigationBarTitleText": "创建订单"
}
}
,{
"path" : "pages/address/address",
"style" : {
"navigationBarTitleText": "增加地址"
}
}
,{
"path" : "pages/address/addressManage",
"style" : {
"navigationBarTitleText": "地址管理"
}
}
,{
"path" : "pages/pay/pay",
"style" : {}
},{
"path" : "pages/pay/returnUrl",
"style" : {}
}
,{
"path" : "pages/express/express",
"style" : {}
}
,{
"path" : "pages/comments/comments",
"style" : {
"navigationBarTitleText": "用户评价"
}
},
{
"path" : "pages/comments/commentsList",
"style" : {
"navigationBarTitleText": "用户评价"
}
}
,{
"path" : "pages/refund/refund",
"style" : {
"navigationBarTitleText": "待退单商品"
}
},
{
"path" : "pages/refund/apply",
"style" : {
"navigationBarTitleText": "申请退单"
}
},
{
"path" : "pages/refund/refundList",
"style" : {
"navigationBarTitleText": "申请售后列表"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "魔方商城",
"navigationBarBackgroundColor": "#fa436a",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#C0C4CC",
"selectedColor": "#fa436a",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/icon/tab-home.png",
"selectedIconPath": "static/icon/tab-home-current.png",
"text": "首页"
},
{
"pagePath": "pages/category/category",
"iconPath": "static/icon/tab-cate.png",
"selectedIconPath": "static/icon/tab-cate-current.png",
"text": "分类"
},
{
"pagePath": "pages/cart/cart",
"iconPath": "static/icon/tab-cart.png",
"selectedIconPath": "static/icon/tab-cart-current.png",
"text": "购物车"
},
{
"pagePath": "pages/member/member",
"iconPath": "static/icon/tab-my.png",
"selectedIconPath": "static/icon/tab-my-current.png",
"text": "我的"
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/chuichuifeng_admin/unishop.git
[email protected]:chuichuifeng_admin/unishop.git
chuichuifeng_admin
unishop
unishop
master

搜索帮助