更新页面配置文件,开发文档,登录页面,首页
This commit is contained in:
parent
90eb77d891
commit
6feeaf919e
|
|
@ -223,7 +223,16 @@
|
|||
"pathRewrite" : {
|
||||
"/ysk" : ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"/ww" : {
|
||||
// 需要被代理的后台地址
|
||||
"target" : "http://192.168.1.15:8000",
|
||||
"changeOrigin" : true,
|
||||
"secure" : false,
|
||||
"pathRewrite" : {
|
||||
"/ww" : ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -77,12 +77,12 @@
|
|||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
// * {
|
||||
// padding: 0;
|
||||
// margin: 0;
|
||||
// text-decoration: none;
|
||||
// outline: none;
|
||||
// }
|
||||
|
||||
ul,
|
||||
li {
|
||||
|
|
|
|||
89
pages.json
89
pages.json
|
|
@ -127,7 +127,7 @@
|
|||
"navigationBarTitleText": "选择门店"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"pageId": "PAGES_USER_SETUP",
|
||||
"path": "pages/userSetUp/userSetUp",
|
||||
|
|
@ -994,7 +994,8 @@
|
|||
"pageId": "PAGES_CREATE_ORDER",
|
||||
"path": "index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "代客下单"
|
||||
// "navigationBarTitleText": "代客下单"
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -1233,38 +1234,35 @@
|
|||
{
|
||||
"root": "pagesOrder",
|
||||
"pages": [{
|
||||
"pageId": "PAGES_ORDER_INDEX",
|
||||
"path" : "index/index",
|
||||
"style" :
|
||||
"pageId": "PAGES_ORDER_INDEX",
|
||||
"path": "index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单管理",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"navigationBarTitleText" : "订单管理"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pageId": "PAGES_ORDER_DETAIL",
|
||||
"path" : "detail/detail",
|
||||
"style" :
|
||||
"pageId": "PAGES_ORDER_DETAIL",
|
||||
"path": "detail/detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"navigationBarTitleText" : "订单详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pageId": "PAGES_ORDER_PAY",
|
||||
"path" : "pay-order/pay-order",
|
||||
"style" :
|
||||
"pageId": "PAGES_ORDER_PAY",
|
||||
"path": "pay-order/pay-order",
|
||||
"style": {
|
||||
"navigationBarTitleText": "结账"
|
||||
}
|
||||
},
|
||||
{
|
||||
"navigationBarTitleText" : "结账"
|
||||
"pageId": "PAGES_ORDER_TUIKUAN",
|
||||
"path": "tuikuan/tuikuan",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退款"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"pageId": "PAGES_ORDER_TUIKUAN",
|
||||
"path" : "tuikuan/tuikuan",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "退款"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -1309,14 +1307,13 @@
|
|||
"style": {
|
||||
"navigationBarTitleText": "排队"
|
||||
}
|
||||
},{
|
||||
}, {
|
||||
"pageId": "PAGES_CALLRE_CORD",
|
||||
"path": "callRecord",
|
||||
"style": {
|
||||
"navigationBarTitleText": "叫号记录"
|
||||
}
|
||||
}
|
||||
]
|
||||
}]
|
||||
},
|
||||
|
||||
{
|
||||
|
|
@ -1374,6 +1371,32 @@
|
|||
}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pageGoodsGroup",
|
||||
"pages": [{
|
||||
"pageId": "PAGES_GOODS_GROUP",
|
||||
"path": "index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "分组管理"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pageId": "PAGES_GOODS_GROUP_EDIT",
|
||||
"path": "edit-group/edit-group",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"pageId": "PAGES_GOODS_GROUP_EDIT_GOODS",
|
||||
"path" : "edit-group-goods/edit-group-goods",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "管理商品"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@
|
|||
$adList
|
||||
} from '@/http/apiManager.js';
|
||||
uni.hideTabBar()
|
||||
onLoad((options) => {
|
||||
});
|
||||
onLoad((options) => {});
|
||||
// 导航列表
|
||||
const navList = [{
|
||||
title: '收银',
|
||||
|
|
@ -62,6 +61,11 @@
|
|||
icon: '/static/indexImg/icon-product-control.svg',
|
||||
pageUrl: 'PAGES_PRODUCT',
|
||||
},
|
||||
{
|
||||
title: '分组管理',
|
||||
icon: '/static/indexImg/goods-group.svg',
|
||||
pageUrl: 'PAGES_GOODS_GROUP',
|
||||
},
|
||||
{
|
||||
title: '分类管理',
|
||||
icon: '/static/indexImg/icon-category.svg',
|
||||
|
|
@ -76,7 +80,7 @@
|
|||
title: '桌台',
|
||||
icon: '/static/indexImg/icon-table.svg',
|
||||
pageUrl: 'PAGES_TABLE'
|
||||
},{
|
||||
}, {
|
||||
title: '排队',
|
||||
icon: '/static/indexImg/icon-table.svg',
|
||||
pageUrl: 'PAGES_LINE_UP'
|
||||
|
|
@ -204,6 +208,11 @@
|
|||
title: '耗材管理',
|
||||
icon: '/static/indexImg/PAGE_SALES_SUMMARY.svg',
|
||||
pageUrl: 'PAGES_SALES_CONSUMABLES'
|
||||
},
|
||||
{
|
||||
title: '退出登录',
|
||||
icon: '/static/indexImg/PAGE_SALES_SUMMARY.svg',
|
||||
pageUrl: 'PAGES_LOGIN'
|
||||
}
|
||||
|
||||
];
|
||||
|
|
|
|||
|
|
@ -212,9 +212,15 @@
|
|||
},
|
||||
|
||||
})
|
||||
|
||||
// #ifdef H5
|
||||
vdata.formData.username = '19502966242'
|
||||
vdata.formData.pwd = '11280923'
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
vdata.formData.username = '15699991111'
|
||||
vdata.formData.pwd = 'qwer1234'
|
||||
// #endif
|
||||
|
||||
|
||||
const getCode = () => {
|
||||
getCodeImg().then(res => {
|
||||
|
|
|
|||
6
开发文档.md
6
开发文档.md
|
|
@ -19,8 +19,12 @@ H5, 不影响。
|
|||
|
||||
* uni-drawer 组件使用的 px :style="{width:drawerWidth+'px'}" 单位 使用时 请将组件内 改为rpx ``<view class="uni-drawer__content" :class="{'uni-drawer--right': rightMode,'uni-drawer--left': !rightMode, 'uni-drawer__content--visible': showDrawer}" :style="{width:drawerWidth+'rpx'}">``
|
||||
由于是动态传参 所以无法样式复写
|
||||
|
||||
|
||||
### 微信小程序兼容行考虑
|
||||
* 分包内组件路径为 /分包目录/*/组件名称; 使用@/分包目录/*/组件名称会报错。
|
||||
* 分包只能使用分包内的图路径或者static目录下 分包使用别的分包下图片会导致图片未找到
|
||||
* uni tabBar 配置项 请参考 [tabBar配置网址]<https://uniapp.dcloud.net.cn/collocation/pages.html#tabbar>
|
||||
*
|
||||
### 打包注意事项
|
||||
|
||||
* 准备资料:
|
||||
|
|
|
|||
Loading…
Reference in New Issue