Lijy 1 год назад
Родитель
Сommit
93890128da

+ 1 - 1
fhKeeper/formulahousekeeper/customerBuler-crm/index.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8" />
     <link rel="icon" type="image/svg+xml" href="/vite.svg" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite + Vue + TS</title>
+    <title>客户管家</title>
   </head>
   <body>
     <div id="app"></div>

+ 8 - 1
fhKeeper/formulahousekeeper/customerBuler-crm/src/App.vue

@@ -4,4 +4,11 @@
 
 <script setup lang="ts"></script>
 
-<style scoped></style>
+<style>
+html,
+body,
+#app {
+  width: 100%;
+  height: 100%;
+}
+</style>

+ 0 - 1
fhKeeper/formulahousekeeper/customerBuler-crm/src/main.ts

@@ -6,7 +6,6 @@ import 'element-plus/dist/index.css'
 import * as ElementPlusIconsVue from '@element-plus/icons-vue'
 import App from './App.vue'
 import router from './router/index'
-import "./styles.css"
 import * as echarts from 'echarts';
 
 const app = createApp(App)

+ 9 - 0
fhKeeper/formulahousekeeper/customerBuler-crm/src/pages/home.vue

@@ -0,0 +1,9 @@
+<template>
+    <div>
+        <h1>abc</h1>
+    </div>
+</template>
+<script lang="ts" setup>
+
+</script>
+<style scoped lang="scss"></style>

+ 5 - 0
fhKeeper/formulahousekeeper/customerBuler-crm/src/router/index.ts

@@ -11,6 +11,11 @@ export const routes = [
         path: '/login',
         component: Login
     },
+    {
+        name: 'home',
+        path: '/home',
+        component: () => import("../pages/home.vue")
+    },
     {
         name: 'index',
         path: '/index',

+ 0 - 0
fhKeeper/formulahousekeeper/customerBuler-crm/src/styles.css