浏览代码

删除无用的CSS文件

移除了docs/assets.index.5e8cddc3.css文件,因为其内容已被清理或不再需要。

Signed-off-by: 宋子桓🌈 <songzihuan@song-zh.com>
SongZihuan 4 周之前
父节点
当前提交
b24090e11a

二进制
docs/assets.douyin.55724ca5.png


二进制
docs/assets.douyincode.964ff57b.jpg


文件差异内容过多而无法显示
+ 0 - 0
docs/assets.index.5e8cddc3.css


文件差异内容过多而无法显示
+ 0 - 0
docs/assets.index.7c23d4f7.js


文件差异内容过多而无法显示
+ 0 - 0
docs/assets.index.b40638b6.css


文件差异内容过多而无法显示
+ 0 - 0
docs/assets.index.d009dd9c.css


文件差异内容过多而无法显示
+ 0 - 0
docs/assets.index.e90ab428.js


文件差异内容过多而无法显示
+ 0 - 0
docs/assets.index.ed8d1626.js


文件差异内容过多而无法显示
+ 0 - 0
docs/assets.message.9fabba9a.css


文件差异内容过多而无法显示
+ 0 - 0
docs/assets.message.bc3995bb.js


+ 1 - 1
docs/assets.notfound.148f805e.js → docs/assets.notfound.7b25cc8a.js

@@ -1 +1 @@
-import{P as e}from"./assets.index.97287261.js";import{X as s,v as a,x as t,A as o,Y as n,O as l,H as r,I as u,Z as i,_ as h}from"./assets.vue.33cd34e1.js";const c={},d=e=>(i("data-v-13f7ab63"),e=e(),h(),e),p=d((()=>o("h1",null,"404",-1))),f=d((()=>o("h2",null,"Oops! The page you're looking for isn't here.",-1))),m=d((()=>o("p",null,"We can't seem to find the page you were trying to reach. This might be because of:",-1))),g=d((()=>o("ul",null,[o("li",null,"An outdated link"),o("li",null,"A mistyped address"),o("li",null,"Or the page has been moved")],-1))),b=d((()=>o("a",{href:"mailto://contact@song-zh.com"},"contact us",-1)));const v=e(c,[["render",function(e,i){const h=s("router-link");return a(),t(u,null,[p,f,m,g,o("p",null,[n(" Try going back to the "),l(h,{to:"/"},{default:r((()=>[n("homepage")])),_:1}),n(" or "),b,n(" if the problem persists. ")])],64)}],["__scopeId","data-v-13f7ab63"]]);export{v as default};
+import{P as e}from"./assets.index.7c23d4f7.js";import{X as s,v as a,x as t,A as o,Y as n,O as l,H as r,I as u,Z as i,_ as h}from"./assets.vue.33cd34e1.js";const c={},d=e=>(i("data-v-13f7ab63"),e=e(),h(),e),p=d((()=>o("h1",null,"404",-1))),f=d((()=>o("h2",null,"Oops! The page you're looking for isn't here.",-1))),m=d((()=>o("p",null,"We can't seem to find the page you were trying to reach. This might be because of:",-1))),g=d((()=>o("ul",null,[o("li",null,"An outdated link"),o("li",null,"A mistyped address"),o("li",null,"Or the page has been moved")],-1))),b=d((()=>o("a",{href:"mailto://contact@song-zh.com"},"contact us",-1)));const v=e(c,[["render",function(e,i){const h=s("router-link");return a(),t(u,null,[p,f,m,g,o("p",null,[n(" Try going back to the "),l(h,{to:"/"},{default:r((()=>[n("homepage")])),_:1}),n(" or "),b,n(" if the problem persists. ")])],64)}],["__scopeId","data-v-13f7ab63"]]);export{v as default};

文件差异内容过多而无法显示
+ 0 - 0
docs/assets.str.831dc21d.js


+ 2 - 2
docs/index.html

@@ -12,9 +12,9 @@
             overflow: auto;
         }
     </style>
-  <script type="module" crossorigin src="/assets.index.97287261.js"></script>
+  <script type="module" crossorigin src="/assets.index.7c23d4f7.js"></script>
   <link rel="modulepreload" crossorigin href="/assets.vue.33cd34e1.js">
-  <link rel="stylesheet" href="/assets.index.5e8cddc3.css">
+  <link rel="stylesheet" href="/assets.index.b40638b6.css">
 </head>
 <body>
 <div id="app"></div>

+ 1 - 17
postcss.config.cjs

@@ -1,24 +1,8 @@
-// 根据 isH5 变量确定是否开启 H5 自适应模式
-const isH5 = true
-
 const autoprefixer = require('autoprefixer')
-const pxToViewport = require('postcss-px-to-viewport')
 
 module.exports = () => {
   // 添加 postcss 插件
-  const plugins = [
-    autoprefixer(),
-    isH5
-      ? pxToViewport({
-          viewportWidth: 1080,
-          mediaQuery: true,
-          minPixelValue: 1,
-          propList: ['*'],
-          exclude: [/node_modules/], // 将第三方库的样式文件排除在转换之外
-          selectorBlackList: ['.ignore', /van.*/] // 不转换 .ignore- 开头的类名,和 .van- 开头的类名
-        })
-      : null
-  ]
+  const plugins = [autoprefixer()]
 
   return {
     plugins

二进制
src/assets/images/douyin.png


二进制
src/assets/images/douyincode.jpg


+ 1 - 1
src/utils/build_time.json

@@ -1 +1 @@
-{"compile_time":1743107763689,"time_zone":"Asia/Shanghai"}
+{"compile_time":1743510608801,"time_zone":"Asia/Shanghai"}

+ 74 - 23
src/views/index.vue

@@ -13,6 +13,8 @@
   import ZhiHuLogo from '@/assets/images/zhihu.png'
   import GithubLogo from '@/assets/images/github.png'
   import HuanGogsLogo from '@/assets/images/huan-gogs.png'
+  import DouyinLogo from '@/assets/images/douyin.png'
+  import DouyinCode from '@/assets/images/douyincode.jpg'
 
   const build_time = ref(formatDate(get_build_time()))
   const build_time_zone = ref(get_build_time_zone())
@@ -64,6 +66,14 @@
     }
   }
 
+  const DouyinClick = () => {
+    if (!window.wechat) {
+      window.open(
+        'https://www.douyin.com/user/MS4wLjABAAAAooXOm7-ajC5xt5rTUmAbcKofzNgz4vCNmUcURWX9OSvzYS1ZXVGVlBWR5ZRhwASR?from_tab_name=main'
+      )
+    }
+  }
+
   function handleWindowResize() {
     show.value = window.innerWidth >= 240
     showStack.value = window.innerWidth >= 268
@@ -92,14 +102,8 @@
         >
           宋子桓🌈
           <template #content>
-            <div style="display: flex; justify-content: center">
-              <div>
-                <div style="display: flex; justify-content: center; width: 100%; margin-top: 10px; text-align: center">
-                  <div class="szh-img-box">
-                    <el-image class="szh-img" :src="imgLoadEmail == 1 ? emailHeader : SongZihuan"></el-image>
-                  </div>
-                </div>
-              </div>
+            <div class="szh-img-box">
+              <el-image fit="contain" class="szh-img" :src="imgLoadEmail == 1 ? emailHeader : SongZihuan"></el-image>
             </div>
           </template>
         </el-tooltip>
@@ -162,7 +166,7 @@
           曾就职于广州桓创信息科技有限公司,时任技术总监和总经理。我个人在习惯上比较喜欢他人称呼我为
           <span class="no-wrap"> 桓工 </span>
-          <span class="no-wrap"> 总监 </span>
+          <span class="no-wrap"> 总监 </span>
           亦或是
           <span class="no-wrap"> 桓经理 </span>
           <br />
@@ -195,7 +199,7 @@
             >
               <img
                 :src="ORCiDLogo"
-                style="object-fit: contain; width: 1em; margin-inline-start: 0.5em"
+                style="object-fit: contain; width: 1.3em; margin-inline-start: 0.5em"
                 alt="ORCID iD icon"
               />
               https://orcid.org/0009-0008-5167-1636
@@ -226,22 +230,51 @@
             </el-tooltip>
           </li>
 
+          <li class="more_line_ul">
+            <a href="https://gravatar.com/songhuanshu" target="_blank">
+              <img
+                alt="Gravatar"
+                style="object-fit: contain; width: 1em"
+                :src="imgLoadEmail == 1 ? emailHeader : SongZihuan"
+              />
+              Gravatar - 宋子桓
+            </a>
+          </li>
+
           <li class="more_line_ul">
             <a href="https://www.zhihu.com/people/super-huan0630" target="_blank">
               <div class="li_box_outside">
                 <div class="zhihu_img_box">
-                  <img style="object-fit: contain; width: calc(min(5vw, 50px))" alt="知乎Logo" :src="ZhiHuLogo" />
+                  <img style="object-fit: contain; width: 50px" alt="知乎Logo" :src="ZhiHuLogo" />
                 </div>
                 <div class="zhihu_text_box">宋子桓</div>
               </div>
             </a>
           </li>
 
+          <li class="more_line_ul">
+            <div class="li_box_outside">
+              <el-tooltip effect="dark" placement="bottom">
+                <div style="display: flex" @click="DouyinClick">
+                  <div class="douyin_img_box">
+                    <img style="object-fit: contain; width: 30px" alt="抖音Logo" :src="DouyinLogo" />
+                  </div>
+                  <div class="douyin_text_box">宋子桓-SongZihuan</div>
+                </div>
+                <template #content>
+                  <div class="douyin-code-box">
+                    <el-image fit="contain" class="douyin-code" :src="DouyinCode"></el-image>
+                  </div>
+                </template>
+              </el-tooltip>
+            </div>
+          </li>
+
           <li class="more_line_ul">
             <a href="https://github.com/SongZihuan" target="_blank">
               <div class="li_box_outside">
                 <div class="github_img_box">
-                  <img style="object-fit: contain; width: calc(min(3.5vw, 35px))" alt="GithubLogo" :src="GithubLogo" />
+                  <img style="object-fit: contain; width: 35px" alt="GithubLogo" :src="GithubLogo" />
                 </div>
                 <div class="github_text_box">宋子桓(SongZiuan)</div>
               </div>
@@ -252,11 +285,7 @@
             <a href="https://code-git.song-zh.com" target="_blank">
               <div class="li_box_outside">
                 <div class="huan_gogs_img_box">
-                  <img
-                    style="object-fit: contain; width: calc(min(5vw, 50px))"
-                    alt="HuanGogsLogo"
-                    :src="HuanGogsLogo"
-                  />
+                  <img style="object-fit: contain; width: 50px" alt="HuanGogsLogo" :src="HuanGogsLogo" />
                 </div>
                 <div class="huan_gogs_text_box">宋子桓-个人公开Git仓库</div>
               </div>
@@ -780,12 +809,20 @@
     white-space: nowrap;
   }
 
-  .szh-img-box {
-    max-width: calc(min(90vw, 170px));
+  .szh-img-box,
+  .szh-img {
+    width: 200px;
+    height: 200px;
+  }
+
+  .douyin-code-box,
+  .douyin-code {
+    width: 300px;
+    min-height: 300px;
   }
 
   .wx_img_box {
-    max-width: 60vh;
+    width: calc(min(90vw, 300px));
   }
 
   .li_box_outside {
@@ -796,7 +833,7 @@
   }
 
   .zhihu_img_box {
-    max-width: calc(min(5vw, 50px));
+    max-width: 50px;
     display: flex;
     justify-content: center;
     align-items: center;
@@ -809,8 +846,22 @@
     align-items: center;
   }
 
+  .douyin_img_box {
+    max-width: 50px;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+  }
+
+  .douyin_text_box {
+    margin-left: 1rem;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+  }
+
   .github_img_box {
-    max-width: calc(min(5vw, 50px));
+    max-width: 50px;
     display: flex;
     justify-content: center;
     align-items: center;
@@ -824,7 +875,7 @@
   }
 
   .huan_gogs_img_box {
-    max-width: calc(min(5vw, 50px));
+    max-width: 50px;
     display: flex;
     justify-content: center;
     align-items: center;

部分文件因为文件数量过多而无法显示