修复bug,更新代码,优化键盘监听和订单统计

This commit is contained in:
zmj 2024-06-13 14:11:33 +08:00
parent becc875a4c
commit 316de611c7
5 changed files with 50 additions and 19 deletions

8
helper.json Normal file
View File

@ -0,0 +1,8 @@
{
"path": {
"root": "@=src",
"api": "src/api",
"request": "../utils/request"
},
"api": []
}

View File

@ -97,13 +97,16 @@ onUnmounted(()=>{
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background-color: #001529; background-color: #001529;
.el-header { .el-header {
color: #fff; color: #fff;
height: 4rem; height: 4rem;
} }
.el-aside { .el-aside {
color: #fff; color: #fff;
} }
.el-main { .el-main {
background-color: #f5f5f5; background-color: #f5f5f5;
width: calc(100vw - 6.25rem); width: calc(100vw - 6.25rem);

View File

@ -70,6 +70,12 @@ const list = ref([
ico: "FullScreen", ico: "FullScreen",
count: 0, count: 0,
}, },
{
name: "statistics",
title: "盈收统计 ",
ico: "TrendCharts",
count: 0,
},
// { name: "purchaseOrder", title: "", ico: "Van", count: 0 }, // { name: "purchaseOrder", title: "", ico: "Van", count: 0 },
// { name: "orderCount", title: "", ico: "DocumentRemove", count: 0 }, // { name: "orderCount", title: "", ico: "DocumentRemove", count: 0 },
// { name: "wallet", title: "", ico: "Wallet", count: 0 }, // { name: "wallet", title: "", ico: "Wallet", count: 0 },

View File

@ -53,6 +53,12 @@ const routes = [
meta: { title: '订单核销' }, meta: { title: '订单核销' },
component: () => import('@/views/convert/index.vue'), component: () => import('@/views/convert/index.vue'),
}, },
{
path: '/statistics',
name: 'statistics',
meta: { title: '盈收统计' },
component: () => import('@/views/statistics/index.vue'),
},
{ {
path: '/test', path: '/test',
name: 'test', name: 'test',

View File

@ -0,0 +1,8 @@
<template>
我是统计
</template>
<script lang="ts" setup>
import { ref, reactive } from "vue"
</script>