style(work): 格式化代码样式
This commit is contained in:
parent
fe5f4db0ad
commit
9b05c19b76
1
main.js
1
main.js
@ -1,7 +1,6 @@
|
|||||||
// main.js
|
// main.js
|
||||||
import {createSSRApp} from 'vue'
|
import {createSSRApp} from 'vue'
|
||||||
import App from './App'
|
import App from './App'
|
||||||
import store from './store' // Vuex store(如果还在用)
|
|
||||||
import {install} from './plugins' // 自定义插件
|
import {install} from './plugins' // 自定义插件
|
||||||
import './permission' // 路由权限
|
import './permission' // 路由权限
|
||||||
import {useDict} from '@/utils/dict'
|
import {useDict} from '@/utils/dict'
|
||||||
|
|||||||
91
pages.json
91
pages.json
@ -1,145 +1,174 @@
|
|||||||
{
|
{
|
||||||
"pages": [{
|
"pages": [
|
||||||
|
{
|
||||||
"path": "pages/login",
|
"path": "pages/login",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "登录"
|
"navigationBarTitleText": "登录"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/register",
|
"path": "pages/register",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "注册"
|
"navigationBarTitleText": "注册"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/index",
|
"path": "pages/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "若依移动端框架",
|
"navigationBarTitleText": "若依移动端框架",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/index",
|
"path": "pages/work/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "工作台"
|
"navigationBarTitleText": "工作台"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/OrderManager/index",
|
"path": "pages/work/OrderManager/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "订单管理"
|
"navigationBarTitleText": "订单管理"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/BusinessApproval/index",
|
"path": "pages/work/BusinessApproval/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "商务审批"
|
"navigationBarTitleText": "商务审批"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/FinancialApproval/index",
|
"path": "pages/work/FinancialApproval/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "财务审批"
|
"navigationBarTitleText": "财务审批"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/OrderApproval/index",
|
"path": "pages/work/OrderApproval/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "订单审核"
|
"navigationBarTitleText": "订单审核"
|
||||||
}
|
}
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"path": "pages/mine/index",
|
"path": "pages/mine/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的"
|
"navigationBarTitleText": "我的"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/mine/avatar/index",
|
"path": "pages/mine/avatar/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "修改头像"
|
"navigationBarTitleText": "修改头像"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/mine/info/index",
|
"path": "pages/mine/info/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "个人信息"
|
"navigationBarTitleText": "个人信息"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/mine/info/edit",
|
"path": "pages/mine/info/edit",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "编辑资料"
|
"navigationBarTitleText": "编辑资料"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/mine/pwd/index",
|
"path": "pages/mine/pwd/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "修改密码"
|
"navigationBarTitleText": "修改密码"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/mine/setting/index",
|
"path": "pages/mine/setting/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "应用设置"
|
"navigationBarTitleText": "应用设置"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/mine/help/index",
|
"path": "pages/mine/help/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "常见问题"
|
"navigationBarTitleText": "常见问题"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/mine/about/index",
|
"path": "pages/mine/about/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "关于我们"
|
"navigationBarTitleText": "关于我们"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/common/webview/index",
|
"path": "pages/common/webview/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "浏览网页"
|
"navigationBarTitleText": "浏览网页"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/common/textview/index",
|
"path": "pages/common/textview/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "浏览文本"
|
"navigationBarTitleText": "浏览文本"
|
||||||
}
|
}
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/BusinessApproval/OrderDetail",
|
"path": "pages/work/BusinessApproval/OrderDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "商务订单详情"
|
"navigationBarTitleText": "商务订单详情"
|
||||||
}
|
}
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/FinancialApproval/OrderDetail",
|
"path": "pages/work/FinancialApproval/OrderDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "财务订单详情"
|
"navigationBarTitleText": "财务订单详情"
|
||||||
}
|
}
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/OrderApproval/OrderDetail",
|
"path": "pages/work/OrderApproval/OrderDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "订单审批详情"
|
"navigationBarTitleText": "订单审批详情"
|
||||||
}
|
}
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/OrderManager/components/LookData",
|
"path": "pages/work/OrderManager/components/LookData",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "订单详情",
|
"navigationBarTitleText": "订单详情",
|
||||||
"props": true // 开启 props 传参
|
"props": true
|
||||||
|
// 开启 props 传参
|
||||||
}
|
}
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/OrderManager/components/NewAdd",
|
"path": "pages/work/OrderManager/components/NewAdd",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "新增订单"
|
"navigationBarTitleText": "新增订单"
|
||||||
}
|
}
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"path": "pages/work/OrderManager/components/EditData",
|
"path": "pages/work/OrderManager/components/EditData",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "修改订单",
|
"navigationBarTitleText": "修改订单",
|
||||||
"props": true // 开启 props 传参
|
"props": true
|
||||||
|
// 开启 props 传参
|
||||||
}
|
}
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#000000",
|
"color": "#000000",
|
||||||
"selectedColor": "#000000",
|
"selectedColor": "#000000",
|
||||||
"borderStyle": "white",
|
"borderStyle": "white",
|
||||||
"backgroundColor": "#ffffff",
|
"backgroundColor": "#ffffff",
|
||||||
"list": [{
|
"list": [
|
||||||
|
{
|
||||||
"pagePath": "pages/index",
|
"pagePath": "pages/index",
|
||||||
"iconPath": "static/images/tabbar/home.png",
|
"iconPath": "static/images/tabbar/home.png",
|
||||||
"selectedIconPath": "static/images/tabbar/home_.png",
|
"selectedIconPath": "static/images/tabbar/home_.png",
|
||||||
"text": "首页"
|
"text": "首页"
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"pagePath": "pages/work/index",
|
"pagePath": "pages/work/index",
|
||||||
"iconPath": "static/images/tabbar/work.png",
|
"iconPath": "static/images/tabbar/work.png",
|
||||||
"selectedIconPath": "static/images/tabbar/work_.png",
|
"selectedIconPath": "static/images/tabbar/work_.png",
|
||||||
"text": "工作台"
|
"text": "工作台"
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"pagePath": "pages/mine/index",
|
"pagePath": "pages/mine/index",
|
||||||
"iconPath": "static/images/tabbar/mine.png",
|
"iconPath": "static/images/tabbar/mine.png",
|
||||||
"selectedIconPath": "static/images/tabbar/mine_.png",
|
"selectedIconPath": "static/images/tabbar/mine_.png",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user