diff --git a/package.json b/package.json index 98a07d5..902a133 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "dependencies": { "@element-plus/icons-vue": "^2.3.1", "axios": "^1.6.2", + "dayjs": "^1.11.10", "electron": "^29.0.1", "element-plus": "^2.4.3", "lodash": "^4.17.21", diff --git a/src/App.vue b/src/App.vue index bad7438..82ee359 100644 --- a/src/App.vue +++ b/src/App.vue @@ -79,6 +79,12 @@ router.beforeEach((to, from) => { --el-component-size-large: 50px !important; } + +@font-face { + font-family: 'num'; + src: url('@/assets/font/Ignotum-Regular.ttf'); +} + html { font-size: var(--el-font-size-base); color: #333; diff --git a/src/api/table.js b/src/api/table.js new file mode 100644 index 0000000..414f43b --- /dev/null +++ b/src/api/table.js @@ -0,0 +1,27 @@ +import request from "@/utils/request.js" + +/** + * 查询台桌分类 + * @param {*} params + * @returns + */ +export function queryShopArea(params) { + return request({ + method: "get", + url: "shopInfo/queryShopArea", + params + }); +} + +/** + * 查询台桌信息 + * @param {*} params + * @returns + */ +export function queryShopTable(params) { + return request({ + method: "get", + url: "shopInfo/queryShopTable", + params + }); +} \ No newline at end of file diff --git a/src/assets/1.webp b/src/assets/1.webp deleted file mode 100644 index 8235c11..0000000 Binary files a/src/assets/1.webp and /dev/null differ diff --git a/src/assets/font/Ignotum-Regular.ttf b/src/assets/font/Ignotum-Regular.ttf new file mode 100644 index 0000000..c273ec0 Binary files /dev/null and b/src/assets/font/Ignotum-Regular.ttf differ diff --git a/src/components/leftMenu.vue b/src/components/leftMenu.vue index d154aee..69ebd08 100644 --- a/src/components/leftMenu.vue +++ b/src/components/leftMenu.vue @@ -99,7 +99,7 @@ const menus = ref([ } &.more { - margin-top: 30px; + margin-top: 50px; } .icon { diff --git a/src/components/remarkModal.vue b/src/components/remarkModal.vue index 53cb2ed..23b1484 100644 --- a/src/components/remarkModal.vue +++ b/src/components/remarkModal.vue @@ -1,9 +1,9 @@ \ No newline at end of file diff --git a/src/views/table/components/tableInfo.vue b/src/views/table/components/tableInfo.vue new file mode 100644 index 0000000..44b8a4d --- /dev/null +++ b/src/views/table/components/tableInfo.vue @@ -0,0 +1,141 @@ + + + + + + \ No newline at end of file diff --git a/src/views/table/index.vue b/src/views/table/index.vue new file mode 100644 index 0000000..361b017 --- /dev/null +++ b/src/views/table/index.vue @@ -0,0 +1,286 @@ + + + + + \ No newline at end of file