Browse Source

项目--初始化首页

plg 7 tháng trước cách đây
mục cha
commit
60d4ddf7b3
45 tập tin đã thay đổi với 636 bổ sung440 xóa
  1. 6 0
      index.html
  2. 119 1
      package-lock.json
  3. 2 1
      package.json
  4. 2 77
      src/App.vue
  5. 0 86
      src/assets/base.css
  6. BIN
      src/assets/home/ding_xiang.png
  7. BIN
      src/assets/home/dou_yin.png
  8. BIN
      src/assets/home/get_more.png
  9. BIN
      src/assets/home/header_bg.png
  10. BIN
      src/assets/home/home_text.png
  11. BIN
      src/assets/home/man1_des.png
  12. BIN
      src/assets/home/man2.png
  13. BIN
      src/assets/home/man3.png
  14. BIN
      src/assets/home/people1.png
  15. BIN
      src/assets/home/people2.png
  16. BIN
      src/assets/home/people3.png
  17. BIN
      src/assets/home/student1_active.png
  18. BIN
      src/assets/home/student1_default.png
  19. BIN
      src/assets/home/student1_text.png
  20. BIN
      src/assets/home/student2_active.png
  21. BIN
      src/assets/home/student2_default.png
  22. BIN
      src/assets/home/student2_text.png
  23. BIN
      src/assets/home/student3_active.png
  24. BIN
      src/assets/home/student3_default.png
  25. BIN
      src/assets/home/student3_text.png
  26. BIN
      src/assets/home/student4_active.png
  27. BIN
      src/assets/home/student4_default.png
  28. BIN
      src/assets/home/student4_text.png
  29. BIN
      src/assets/home/trademark.png
  30. BIN
      src/assets/home/we_b.png
  31. 1 1
      src/assets/main.css
  32. 0 0
      src/components/CpmdFooter.vue
  33. 33 0
      src/components/CpmdHeader.vue
  34. 0 41
      src/components/HelloWorld.vue
  35. 0 88
      src/components/TheWelcome.vue
  36. 0 87
      src/components/WelcomeItem.vue
  37. 0 7
      src/components/icons/IconCommunity.vue
  38. 0 7
      src/components/icons/IconDocumentation.vue
  39. 0 7
      src/components/icons/IconEcosystem.vue
  40. 0 7
      src/components/icons/IconSupport.vue
  41. 0 19
      src/components/icons/IconTooling.vue
  42. 1 1
      src/main.ts
  43. 1 5
      src/router/index.ts
  44. 470 4
      src/views/HomeView.vue
  45. 1 1
      tsconfig.json

+ 6 - 0
index.html

@@ -11,3 +11,9 @@
     <script type="module" src="/src/main.ts"></script>
   </body>
 </html>
+<style lang="scss">
+
+  body{
+    margin:0px
+  }
+</style>

+ 119 - 1
package-lock.json

@@ -18,7 +18,7 @@
       "devDependencies": {
         "@rushstack/eslint-patch": "^1.8.0",
         "@tsconfig/node20": "^20.1.4",
-        "@types/node": "^20.14.5",
+        "@types/node": "^20.14.12",
         "@vitejs/plugin-vue": "^5.0.5",
         "@vitejs/plugin-vue-jsx": "^4.0.0",
         "@vue/eslint-config-prettier": "^9.0.0",
@@ -28,6 +28,7 @@
         "eslint-plugin-vue": "^9.23.0",
         "npm-run-all2": "^6.2.0",
         "prettier": "^3.2.5",
+        "sass": "^1.77.8",
         "typescript": "~5.4.0",
         "vite": "^5.3.1",
         "vue-tsc": "^2.0.21"
@@ -2025,6 +2026,19 @@
         "node": ">=4"
       }
     },
+    "node_modules/anymatch": {
+      "version": "3.1.3",
+      "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz",
+      "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+      "dev": true,
+      "dependencies": {
+        "normalize-path": "^3.0.0",
+        "picomatch": "^2.0.4"
+      },
+      "engines": {
+        "node": ">= 8"
+      }
+    },
     "node_modules/argparse": {
       "version": "2.0.1",
       "resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz",
@@ -2066,6 +2080,18 @@
       "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
       "dev": true
     },
+    "node_modules/binary-extensions": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.3.0.tgz",
+      "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+      "dev": true,
+      "engines": {
+        "node": ">=8"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
     "node_modules/boolbase": {
       "version": "1.0.0",
       "resolved": "https://registry.npmmirror.com/boolbase/-/boolbase-1.0.0.tgz",
@@ -2180,6 +2206,42 @@
         "node": ">=4"
       }
     },
+    "node_modules/chokidar": {
+      "version": "3.6.0",
+      "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.6.0.tgz",
+      "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
+      "dev": true,
+      "dependencies": {
+        "anymatch": "~3.1.2",
+        "braces": "~3.0.2",
+        "glob-parent": "~5.1.2",
+        "is-binary-path": "~2.1.0",
+        "is-glob": "~4.0.1",
+        "normalize-path": "~3.0.0",
+        "readdirp": "~3.6.0"
+      },
+      "engines": {
+        "node": ">= 8.10.0"
+      },
+      "funding": {
+        "url": "https://paulmillr.com/funding/"
+      },
+      "optionalDependencies": {
+        "fsevents": "~2.3.2"
+      }
+    },
+    "node_modules/chokidar/node_modules/glob-parent": {
+      "version": "5.1.2",
+      "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz",
+      "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+      "dev": true,
+      "dependencies": {
+        "is-glob": "^4.0.1"
+      },
+      "engines": {
+        "node": ">= 6"
+      }
+    },
     "node_modules/color-convert": {
       "version": "1.9.3",
       "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz",
@@ -3092,6 +3154,12 @@
         "node": ">= 4"
       }
     },
+    "node_modules/immutable": {
+      "version": "4.3.7",
+      "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.3.7.tgz",
+      "integrity": "sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==",
+      "dev": true
+    },
     "node_modules/import-fresh": {
       "version": "3.3.0",
       "resolved": "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz",
@@ -3134,6 +3202,18 @@
       "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
       "dev": true
     },
+    "node_modules/is-binary-path": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz",
+      "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+      "dev": true,
+      "dependencies": {
+        "binary-extensions": "^2.0.0"
+      },
+      "engines": {
+        "node": ">=8"
+      }
+    },
     "node_modules/is-extglob": {
       "version": "2.1.1",
       "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz",
@@ -3439,6 +3519,15 @@
       "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==",
       "dev": true
     },
+    "node_modules/normalize-path": {
+      "version": "3.0.0",
+      "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz",
+      "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+      "dev": true,
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
     "node_modules/normalize-wheel-es": {
       "version": "1.2.0",
       "resolved": "https://registry.npmmirror.com/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz",
@@ -3822,6 +3911,18 @@
         "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
       }
     },
+    "node_modules/readdirp": {
+      "version": "3.6.0",
+      "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz",
+      "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+      "dev": true,
+      "dependencies": {
+        "picomatch": "^2.2.1"
+      },
+      "engines": {
+        "node": ">=8.10.0"
+      }
+    },
     "node_modules/resolve-from": {
       "version": "4.0.0",
       "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz",
@@ -3915,6 +4016,23 @@
         "queue-microtask": "^1.2.2"
       }
     },
+    "node_modules/sass": {
+      "version": "1.77.8",
+      "resolved": "https://registry.npmmirror.com/sass/-/sass-1.77.8.tgz",
+      "integrity": "sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ==",
+      "dev": true,
+      "dependencies": {
+        "chokidar": ">=3.0.0 <4.0.0",
+        "immutable": "^4.0.0",
+        "source-map-js": ">=0.6.2 <2.0.0"
+      },
+      "bin": {
+        "sass": "sass.js"
+      },
+      "engines": {
+        "node": ">=14.0.0"
+      }
+    },
     "node_modules/semver": {
       "version": "6.3.1",
       "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz",

+ 2 - 1
package.json

@@ -23,7 +23,7 @@
   "devDependencies": {
     "@rushstack/eslint-patch": "^1.8.0",
     "@tsconfig/node20": "^20.1.4",
-    "@types/node": "^20.14.5",
+    "@types/node": "^20.14.12",
     "@vitejs/plugin-vue": "^5.0.5",
     "@vitejs/plugin-vue-jsx": "^4.0.0",
     "@vue/eslint-config-prettier": "^9.0.0",
@@ -33,6 +33,7 @@
     "eslint-plugin-vue": "^9.23.0",
     "npm-run-all2": "^6.2.0",
     "prettier": "^3.2.5",
+    "sass": "^1.77.8",
     "typescript": "~5.4.0",
     "vite": "^5.3.1",
     "vue-tsc": "^2.0.21"

+ 2 - 77
src/App.vue

@@ -1,84 +1,9 @@
 <script setup lang="ts">
-import { RouterLink, RouterView } from 'vue-router'
+import { RouterView } from 'vue-router'
 </script>
 
 <template>
-  <!-- <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <RouterLink to="/">Home</RouterLink>
-        <RouterLink to="/about">About</RouterLink>
-      </nav>
-    </div>
-  </header> -->
-
   <RouterView />
 </template>
 
-<style scoped>
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
+<style scoped></style>

+ 0 - 86
src/assets/base.css

@@ -1,86 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition:
-    color 0.5s,
-    background-color 0.5s;
-  line-height: 1.6;
-  font-family:
-    Inter,
-    -apple-system,
-    BlinkMacSystemFont,
-    'Segoe UI',
-    Roboto,
-    Oxygen,
-    Ubuntu,
-    Cantarell,
-    'Fira Sans',
-    'Droid Sans',
-    'Helvetica Neue',
-    sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}

BIN
src/assets/home/ding_xiang.png


BIN
src/assets/home/dou_yin.png


BIN
src/assets/home/get_more.png


BIN
src/assets/home/header_bg.png


BIN
src/assets/home/home_text.png


BIN
src/assets/home/man1_des.png


BIN
src/assets/home/man2.png


BIN
src/assets/home/man3.png


BIN
src/assets/home/people1.png


BIN
src/assets/home/people2.png


BIN
src/assets/home/people3.png


BIN
src/assets/home/student1_active.png


BIN
src/assets/home/student1_default.png


BIN
src/assets/home/student1_text.png


BIN
src/assets/home/student2_active.png


BIN
src/assets/home/student2_default.png


BIN
src/assets/home/student2_text.png


BIN
src/assets/home/student3_active.png


BIN
src/assets/home/student3_default.png


BIN
src/assets/home/student3_text.png


BIN
src/assets/home/student4_active.png


BIN
src/assets/home/student4_default.png


BIN
src/assets/home/student4_text.png


BIN
src/assets/home/trademark.png


BIN
src/assets/home/we_b.png


+ 1 - 1
src/assets/main.css

@@ -1,4 +1,4 @@
-@import './base.css';
+/* @import './base.css'; */
 
 #app {
   max-width: 1280px;

+ 0 - 0
src/components/CpmdFooter.vue


+ 33 - 0
src/components/CpmdHeader.vue

@@ -0,0 +1,33 @@
+<script setup lang="ts">
+import { ref } from 'vue'
+// import url from '../assets/home/trademark.png';
+</script>
+
+<template>
+    <div class="header_p">
+        <div class="header_image">
+            <img style="width: 239px; height: 55px" src="../assets/home/trademark.png"></img>
+        </div>
+        <div>首页</div>
+        <div>科普乐园</div>
+        <div>留言社区</div>
+        <div>测试计划</div>
+        <div>测试记录</div>
+        <div>登录账号</div>
+    </div>
+</template>
+<style lang="scss" scoped>
+.header_p {
+    margin-top: 20px;
+    display: flex;
+    flex-direction: row;
+    align-items: center;
+    justify-content: space-between;
+
+
+    .header_image {
+        // flex: 1
+        margin-right: 100px;
+    }
+}
+</style>

+ 0 - 41
src/components/HelloWorld.vue

@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a> +
-      <a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>. What's next?
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  position: relative;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    text-align: left;
-  }
-}
-</style>

+ 0 - 88
src/components/TheWelcome.vue

@@ -1,88 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a href="https://vuejs.org/" target="_blank" rel="noopener">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
-    recommended IDE setup is
-    <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
-    you need to test your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a> and
-    <a href="https://on.cypress.io/component" target="_blank" rel="noopener"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a href="https://pinia.vuejs.org/" target="_blank" rel="noopener">Pinia</a>,
-    <a href="https://router.vuejs.org/" target="_blank" rel="noopener">Vue Router</a>,
-    <a href="https://test-utils.vuejs.org/" target="_blank" rel="noopener">Vue Test Utils</a>, and
-    <a href="https://github.com/vuejs/devtools" target="_blank" rel="noopener">Vue Dev Tools</a>. If
-    you need more resources, we suggest paying
-    <a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>, our official
-    Discord server, or
-    <a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
-      >StackOverflow</a
-    >. You should also subscribe to
-    <a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a> and follow
-    the official
-    <a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a href="https://vuejs.org/sponsor/" target="_blank" rel="noopener">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>

+ 0 - 87
src/components/WelcomeItem.vue

@@ -1,87 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-  position: relative;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>

+ 0 - 7
src/components/icons/IconCommunity.vue

@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>

+ 0 - 7
src/components/icons/IconDocumentation.vue

@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>

+ 0 - 7
src/components/icons/IconEcosystem.vue

@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>

+ 0 - 7
src/components/icons/IconSupport.vue

@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>

+ 0 - 19
src/components/icons/IconTooling.vue

@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>

+ 1 - 1
src/main.ts

@@ -1,4 +1,4 @@
-import './assets/main.css'
+// import './assets/main.css'
 
 import { createApp } from 'vue'
 import { createPinia } from 'pinia'

+ 1 - 5
src/router/index.ts

@@ -7,11 +7,7 @@ const routes = [
     name: 'home',
     component: HomeView
   },
-  {
-    path: '/about',
-    name: 'about',
-    component: () => import('../views/AboutView.vue')
-  }
+
 ]
 const router = createRouter({
   history: createWebHistory(import.meta.env.BASE_URL),

+ 470 - 4
src/views/HomeView.vue

@@ -1,9 +1,475 @@
 <script setup lang="ts">
-import TheWelcome from '../components/TheWelcome.vue'
+import CpmdHeader from '@/components/CpmdHeader.vue';
+import { onMounted, onUnmounted, ref } from 'vue'
+const homeHeaderOut = ref<any>()
+const height = ref<number>()
+//心灵探索高度
+const xlts = ref<number>()
+
+//显示标题及文本
+
+//刚进入页面就将高度设置为页面需要的
+onMounted(() => {
+  setHeight()
+  window.addEventListener('resize', setHeight);
+})
+const setHeight = () => {
+  console.log('----------------------------------------------')
+  //-------设置背景图的高度---------//
+  const width = homeHeaderOut.value
+  console.log(width.offsetWidth)
+  height.value = width.offsetWidth * 1000 / 1920
+  xlts.value = height.value - 100
+}
+//退出页面销毁 方法
+onUnmounted(() => {
+  window.removeEventListener('resize', setHeight)
+})
+
+
 </script>
 
 <template>
-  <main>
-    <TheWelcome />
-  </main>
+  <!-- 最外边宽度100% -->
+  <div class="home_view">
+    <!-- 此处算是头部图片包括图片宽度是100% -->
+    <div class="home_header_out" ref="homeHeaderOut" :style="{ height: height + 'px' }">
+      <!-- 此处宽度最小 头部包含导航栏为1200 -->
+      <div class="home_header_inner">
+        <CpmdHeader />
+        <div :style="{ height: xlts + 'px' }">
+          <img class="xlts_img" style="margin-top:40px" src="../assets/home/home_text.png" />
+          <div class="chart_student">
+            <div class="student1_group">
+              <img class="student1_text" src="../assets/home/student1_text.png" />
+              <img class="student1" src="../assets/home/student1_default.png" />
+            </div>
+            <div class="student2_group">
+              <img class="student2_text" src="../assets/home/student2_text.png" />
+              <img class="student2" src="../assets/home/student2_default.png" />
+            </div>
+
+            <img class="student3_text" src="../assets/home/student3_text.png" />
+            <img class="student3" src="../assets/home/student3_default.png" />
+            <img class="student4_text" src="../assets/home/student4_text.png" />
+            <img class="student4" src="../assets/home/student4_default.png" />
+          </div>
+
+        </div>
+
+      </div>
+    </div>
+    <!-- 此处是中间部分 最大宽度是1200px-->
+    <div class="home_mid">
+      <div class="kepu_title">科普小课堂</div>
+      <div class="kepu_title_sub">心灵成长不迷茫,科普小课堂为你点亮前行的方向</div>
+      <div class="man1_group">
+        <div class="man1">
+          <img class="man1_img" src="../assets/home/people1.png" />
+        </div>
+        <div class="des">
+          <div class="des_inner">
+            &nbsp;&nbsp;&nbsp;&nbsp;大学生的焦虑情绪往往源自多重压力的叠加效应,其中学业负担与未来职业的不确定性占据主导地位。
+            一方面,大学教育的高标准与快节奏,如繁重的课程任务、竞争激烈的考试、科研项目的压力,以及对学术成就的追求,
+            都无形中增加了学生的心理负担,让他们时常处于紧张与不安之中。另一方面,步入社会的临近,使得就业市场的严酷现实成为心头大石,
+            学生们担忧自己的能力是否足够,能否在毕业后顺利找到理想工作,这种对未来的不确定感进一步加剧了焦虑情绪。
+          </div>
+
+        </div>
+      </div>
+      <div class="man2_group">
+
+        <div class="des2">
+          <div class="des2_inner">
+            &nbsp;&nbsp;&nbsp;&nbsp;
+            失眠,对于许多大学生而言,已成为一种常见的困扰,它不仅影响睡眠质量,还可能波及到日常的学习效率与生活质量。
+            究其原因,多重因素交织其中。首先,学业压力无疑是首当其冲的罪魁祸首。
+            大学生活充满了挑战,无论是课程作业的紧迫、考试复习的重负,还是科研项目的压力,都可能让学生陷入焦虑与紧张之中,这种心理状态直接转化为夜晚辗转反侧的失眠。
+            其次,快节奏的生活方式与不规律的作息习惯也难辞其咎。深夜赶工、晨早赶课,加上社交媒体与电子产品的诱惑,打乱了生物钟的正常节律,使身体难以在需要的时候自然进入睡眠状态。
+            再者,生活环境的噪音与光线污染,或是室友的作息差异,也可能成为影响睡眠质量的外部因素。
+          </div>
+
+        </div>
+        <div class="man2">
+          <img class="man2_img" src="../assets/home/people2.png" />
+        </div>
+      </div>
+      <div class="man1_group">
+        <div class="man1">
+          <img class="man1_img" src="../assets/home/people3.png" />
+        </div>
+        <div class="des">
+          <div class="des_inner">
+            &nbsp;&nbsp;&nbsp;&nbsp;刚刚步入大学校园的萌新们,是不是感觉到有些迷茫?
+            刚刚步入大学,周围的一切都充满了未知与惊喜,你可能会觉得有点晕头转向,就像是第一次迷路在了巨大的游乐场里。面对全新的环境、自由的时间管理以及未来的不确定性,感到迷茫是非常正常的情绪反应。
+            这是人生旅程中的一个重要转折点,意味着你需要从高中时期的被指导模式过渡到自主学习和自我管理的新阶段。
+          </div>
+
+        </div>
+      </div>
+      <div class="get_more">
+        <img src="../assets/home/get_more.png" />
+      </div>
+    </div>
+
+    <!-- 此处是底部部分最长宽度是100% -->
+    <div class="home_footer_out">
+      <!-- 此处最大宽度是1200px -->
+      <div class="home_footer_inner">
+        <div class="home_footer_icon">
+          <div class="home_footer_company">
+            <img width="200px" src="../assets/home/ding_xiang.png" />
+          </div>
+
+          <div class="home_footer_waizhan">
+            <img width="30px" style="margin-right:40px" src="../assets/home/dou_yin.png" />
+            <img width="40px" src="../assets/home/we_b.png" />
+          </div>
+        </div>
+
+        <div class="home_footer_mi">
+          <div class="home_footer_fo_des">关于我们</div>
+          <div class="home_footer_fo_des">我们的服务</div>
+          <div class="home_footer_fo_des">免费检测</div>
+          <div class="home_footer_fo_des">游戏内容</div>
+          <div class="home_footer_fo_des">联系我们</div>
+        </div>
+        <div class="home_footer_mi">
+          <div class="home_footer_fo_des">关于我们</div>
+          <div class="home_footer_fo_des">我们的服务</div>
+          <div class="home_footer_fo_des">免费检测</div>
+          <div class="home_footer_fo_des">游戏内容</div>
+          <div class="home_footer_fo_des">联系我们</div>
+        </div>
+        <div class="home_footer_mi">
+          <div class="home_footer_fo_des">关于我们</div>
+          <div class="home_footer_fo_des">我们的服务</div>
+          <div class="home_footer_fo_des">免费检测</div>
+          <div class="home_footer_fo_des">游戏内容</div>
+          <div class="home_footer_fo_des">联系我们</div>
+        </div>
+        <div style="width:1200px;height:10px;background-color: #ffffff;">
+        </div>
+        <div class="home_footer_fo">
+          <div class="home_footer_fo_des">隐私</div>
+          <div class="home_footer_fo_des">使用条款</div>
+          <div class="home_footer_fo_des">版本所有媒体</div>
+        </div>
+      </div>
+    </div>
+
+  </div>
 </template>
+<style lang="scss" scoped>
+.home_view {
+  width: 100%;
+  // display: flex;
+  // background-color: rgb(17, 52, 167);
+  height: 100px;
+
+  .home_header_out {
+    position: relative;
+    width: 100%;
+    min-width: 1200px;
+    // background-color: rgb(151, 163, 202);
+    // height: 600px;
+    background-image: url('../assets/home/header_bg.png');
+    background-repeat: no-repeat;
+    background-size: contain;
+    // height: 106.667vw;
+    // height: 41.667vw;
+    // height: calc(100% * 1000px / 1920px);
+    // height: calc(100vmax * 1000px / 1920px);
+    //估计是需要动态
+    //获取屏幕宽度home_header_out 这个div的宽度--然后宽度*1000再除1920即为当前div的宽度
+
+
+
+
+    .home_header_inner {
+      // position: absolute;
+      //需要水平居中
+      // top: 0;
+      // bottom: 0;
+      min-height: 1;
+      left: 0;
+      right: 0;
+      margin: auto;
+      height: 100px;
+      width: 1200px;
+
+      .xlts_img {
+        height: 36%;
+        //还剩百分之64%
+        // width: 100%;
+      }
+
+      .chart_student {
+        height: 64%;
+        position: relative;
+
+        .student1_group {
+          position: absolute;
+          bottom: 50%;
+          left: 22%;
+          height: 200px;
+          width: 200px;
+
+          .student1 {
+            position: absolute;
+            bottom: -62%;
+            left: -8%;
+            height: 52%;
+          }
+
+          .student1_text {
+            position: absolute;
+            bottom: -42%;
+            left: -86%;
+            height: 80%;
+          }
+        }
+
+
+        .student2_group {
+          position: absolute;
+          bottom: 27%;
+          left: 34%;
+          height: 200px;
+          width: 200px;
+
+          .student2 {
+            position: absolute;
+            bottom: -1%;
+            left: 72%;
+            height: 76%;
+          }
+
+          .student2_text {
+            position: absolute;
+            bottom: 60%;
+            left: -8%;
+            height: 77%;
+          }
+        }
+
+
+        .student3 {
+          position: absolute;
+          bottom: 5%;
+          left: 62%; // w
+          height: 40%;
+        }
+
+        .student3_text {
+          position: absolute;
+          bottom: 44%;
+          left: 61%;
+          height: 40%;
+        }
+
+        .student4 {
+          position: absolute;
+          bottom: 30%;
+          left: 89%; // w
+          height: 40%;
+        }
+
+        .student4_text {
+          position: absolute;
+          bottom: 61%;
+          left: 89%;
+          height: 40%;
+        }
+      }
+
+
+    }
+  }
+
+  .home_mid {
+    // background-color: blanchedalmond;
+    width: 1200px;
+    left: 0;
+    right: 0;
+    margin: auto;
+    margin-top: 40px;
+
+    .kepu_title {
+      text-align: center;
+
+      font-size: 50px;
+      color: #111111;
+      line-height: 95px;
+
+      // width: 100%;
+      // left: 0;
+      // right: 0;
+      // margin: auto
+    }
+
+    .kepu_title_sub {
+      margin-top: 30px;
+      text-align: center;
+      font-size: 28px;
+      color: #48D68E;
+      line-height: 26px;
+    }
+
+    .man1_group {
+      margin-top: 60px;
+      height: 100%;
+      display: flex;
+
+      .man1 {
+        position: relative;
+        width: 327px;
+        // height: 100%;
+
+        // height: 100%
+        .man1_img {
+          position: absolute;
+          bottom: 0;
+          /* bottom: 0px; */
+          /* height: auto; */
+          width: 100%;
+          left: 100px
+        }
+
+      }
+
+      .des {
+        border: #48D68E solid 5px;
+        border-radius: 40px;
+        padding: 20px;
+        letter-spacing: 6px;
+        flex: 1;
+
+        .des_inner {
+          border: 1px dashed #48D68E;
+          border-radius: 40px;
+          padding-bottom: 40px;
+          padding-top: 30px;
+          padding-left: 100px;
+          padding-right: 20px;
+          letter-spacing: 6px;
+          font-weight: normal;
+          font-size: 24px;
+          color: #333333;
+          line-height: 40px;
+        }
+      }
+    }
+
+    .man2_group {
+      margin-top: 60px;
+      height: 100%;
+      display: flex;
+
+      .man2 {
+        position: relative;
+        width: 327px;
+        // height: 100%;
+
+        // height: 100%
+        .man2_img {
+          position: absolute;
+          bottom: 0;
+          /* bottom: 0px; */
+          /* height: auto; */
+          width: 100%;
+          left: -100px
+        }
+
+      }
+
+      .des2 {
+        border: #48D68E solid 5px;
+        border-radius: 40px;
+        padding: 20px;
+        letter-spacing: 6px;
+        flex: 1;
+
+        .des2_inner {
+          border: 1px dashed #48D68E;
+          border-radius: 40px;
+          padding-bottom: 40px;
+          padding-top: 30px;
+          padding-left: 20px;
+          padding-right: 100px;
+          letter-spacing: 6px;
+          font-weight: normal;
+          font-size: 24px;
+          color: #333333;
+          line-height: 40px;
+        }
+      }
+    }
+
+    .get_more {
+      text-align: center;
+
+      img {
+        width: 300px;
+        margin-top: 60px;
+        margin-bottom: 60px;
+      }
+    }
+  }
+
+  .home_footer_out {
+    width: 100%;
+    background-color: #000000;
+
+    .home_footer_inner {
+      padding: 30px 0px;
+      background-color: #000000;
+      // position: absolute;
+      // left: 0;
+      // right: 0;
+      margin: auto;
+      width: 1200px;
+
+      .home_footer_icon {
+        display: flex;
+        flex-direction: row;
+        justify-content: space-between;
+
+        .home_footer_company {
+          flex: 1;
+        }
+
+        .home_footer_waizhan {
+          display: flex;
+          align-items: center;
+        }
+      }
+
+      .home_footer_fo {
+        margin-top: 20px;
+        justify-content: center;
+        display: flex;
+        color: #ffffff;
+
+        // margin: auto;
+        .home_footer_fo_des {
+          margin: 0px 20px;
+        }
+      }
+
+      .home_footer_mi {
+        margin-top: 20px;
+        justify-content: space-around;
+        display: flex;
+        color: #ffffff;
+        margin-bottom: 20px;
+
+        // margin: auto;
+        .home_footer_fo_des {
+          margin: 0px 20px;
+        }
+      }
+    }
+  }
+}
+</style>

+ 1 - 1
tsconfig.json

@@ -10,6 +10,6 @@
   ],
   "compilerOptions": {
     // ...
-    "types": ["element-plus/global"]
+    "types": ["element-plus/global","node"]
   }
 }