Quellcode durchsuchen

添加图片并删除旧的CSS和JS文件

新增了两张图片,并移除了不再使用的CSS和JS文件以清理项目。

Signed-off-by: 宋子桓🌈 <songzihuan@song-zh.com>
SongZihuan vor 3 Monaten
Ursprung
Commit
7dd745197c

+ 1 - 0
components.d.ts

@@ -9,6 +9,7 @@ export {}
 
 declare module '@vue/runtime-core' {
   export interface GlobalComponents {
+    ElImage: typeof import('element-plus/es')['ElImage']
     ElText: typeof import('element-plus/es')['ElText']
     ElTooltip: typeof import('element-plus/es')['ElTooltip']
     RouterLink: typeof import('vue-router')['RouterLink']

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
docs/assets/index-288bdf2a.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
docs/assets/index-6b9c558e.css


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
docs/assets/index-e4f0b222.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
docs/assets/index-ed3edc01.js


+ 0 - 1
docs/assets/notfound-c541fa5b.js

@@ -1 +0,0 @@
-import{_ as e}from"./_plugin-vue_export-helper-1b428a4d.js";import{o as a,z as l,F as o,a0 as t,a1 as s,Z as n,_ as r}from"./vue-fc1133ee.js";const u={},i=e=>(t("data-v-e4409fbc"),e=e(),s(),e),p=i((()=>n("h1",null,"404",-1))),h=i((()=>n("h2",null,"Oops! The page you're looking for isn't here.",-1))),c=i((()=>n("p",null,"We can't seem to find the page you were trying to reach. This might be because of:",-1))),d=i((()=>n("ul",null,[n("li",null,"An outdated link"),n("li",null,"A mistyped address"),n("li",null,"Or the page has been moved")],-1))),f=i((()=>n("p",null,[r("Try going back to the "),n("a",{href:"/"},"homepage"),r(" or contact us if the problem persists.")],-1)));const g=e(u,[["render",function(e,t){return a(),l(o,null,[p,h,c,d,f],64)}],["__scopeId","data-v-e4409fbc"]]);export{g as default};

+ 1 - 0
docs/assets/notfound-f0799adc.js

@@ -0,0 +1 @@
+import{_ as e}from"./_plugin-vue_export-helper-1b428a4d.js";import{o as a,z as l,J as o,a7 as t,a8 as s,C as n,a5 as r}from"./vue-bcf60913.js";const u={},i=e=>(t("data-v-e4409fbc"),e=e(),s(),e),p=i((()=>n("h1",null,"404",-1))),h=i((()=>n("h2",null,"Oops! The page you're looking for isn't here.",-1))),c=i((()=>n("p",null,"We can't seem to find the page you were trying to reach. This might be because of:",-1))),d=i((()=>n("ul",null,[n("li",null,"An outdated link"),n("li",null,"A mistyped address"),n("li",null,"Or the page has been moved")],-1))),f=i((()=>n("p",null,[r("Try going back to the "),n("a",{href:"/"},"homepage"),r(" or contact us if the problem persists.")],-1)));const g=e(u,[["render",function(e,t){return a(),l(o,null,[p,h,c,d,f],64)}],["__scopeId","data-v-e4409fbc"]]);export{g as default};

BIN
docs/assets/songzihuan-cc86507d.jpg


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
docs/assets/vue-bcf60913.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
docs/assets/vue-fc1133ee.js


+ 2 - 2
docs/index.html

@@ -13,8 +13,8 @@
             overflow: auto;
         }
     </style>
-  <script type="module" crossorigin src="/assets/index-62104a4a.js"></script>
-  <link rel="modulepreload" crossorigin href="/assets/vue-fc1133ee.js">
+  <script type="module" crossorigin src="/assets/index-288bdf2a.js"></script>
+  <link rel="modulepreload" crossorigin href="/assets/vue-bcf60913.js">
   <link rel="stylesheet" href="/assets/index-6404ae47.css">
 </head>
 <body>

BIN
src/assets/images/songzihuan.jpg


+ 1 - 1
src/utils/build_time.json

@@ -1 +1 @@
-{"compile_time":1737314351290,"time_zone":"Asia/Shanghai"}
+{"compile_time":1737317274760,"time_zone":"Asia/Shanghai"}

+ 20 - 3
src/views/index.vue

@@ -5,6 +5,7 @@
   import ToGithub from '@/components/togithub.vue'
   import { extractNumbersFromString } from '@/utils/str'
   import WangAnLogo from '@/assets/images/wangan.png'
+  import SongZihuan from '@/assets/images/songzihuan.jpg'
 
   const build_time = ref(formatDate(get_build_time()))
   const build_time_zone = ref(get_build_time_zone())
@@ -21,7 +22,7 @@
   const showGithubLanguage = ref(false)
 
   function handleWindowResize() {
-    if (window.innerWidth < 160) {
+    if (window.innerWidth < 240) {
       show.value = false
     } else {
       show.value = true
@@ -58,9 +59,25 @@
 <template>
   <div v-if="show" class="outside_box">
     <div class="inner_box">
-      <div class="title_a no-wrap">
+      <div class="title_a">
         Hello, 我是
-        <el-tooltip effect="dark" content="Song Zihuan" placement="bottom"> 宋子桓🌈 </el-tooltip>
+        <el-tooltip effect="dark" placement="bottom" :hide-after="3000">
+          宋子桓🌈
+          <template #content>
+            <div style="display: flex; justify-content: center">
+              <div>
+                <div style="margin-top: 10px">
+                  <el-text class="no-wrap" style="color: white; font-size: 1.5rem"> Song Zihuan </el-text>
+                </div>
+                <div style="display: flex; justify-content: center; width: 100%; margin-top: 10px; text-align: center">
+                  <div style="width: 10vw">
+                    <el-image :src="SongZihuan"> </el-image>
+                  </div>
+                </div>
+              </div>
+            </div>
+          </template>
+        </el-tooltip>
       </div>
 
       <el-divider direction="horizontal" class="divider_horizontal"></el-divider>

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.