Skip to content

Commit

Permalink
better: 优化图片相对路径
Browse files Browse the repository at this point in the history
  • Loading branch information
Cunninger committed Jun 5, 2024
1 parent 5c6d86d commit a8fae02
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions doc/backmanage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@



![alt text](img/image-1.png)
![alt text](img/image-2.png)
![alt text](../public/img/image-1.png)
![alt text](../public/img/image-2.png)
构建好后,npm run dev命令启动查看一下项目



![alt text](img/image-3.png)
![alt text](../public/img/image-3.png)



Expand Down Expand Up @@ -59,13 +59,13 @@ new Vue({



![alt text](img/image.png)
![alt text](../public/img/image.png)

在components文件夹里创建nav-top和nav组件,分别用于顶部导航和左边的导航,logo图片是网上随便找的图片,放在src/assets/imgs/logo.png



![alt text](img/image-4.png)
![alt text](../public/img/image-4.png)



Expand Down Expand Up @@ -216,7 +216,7 @@ export default {
接下来创建page文件夹,文件夹里分别创建layout.vue和centre.vue和order.vue三个文件。

注意在==src路径下==
![alt text](img/image-5.png)
![alt text](../public/img/image-5.png)



Expand Down Expand Up @@ -394,4 +394,4 @@ html,body{

好了,大概布局已经完成了,现在输入npm run dev启动项目就可以看到管理系统布局了

![alt text](img/image-6.png)
![alt text](../public/img/image-6.png)
8 changes: 4 additions & 4 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hero:
text: Focus-Insight-Share
tagline: 个人技术知识库,记录 & 分享个人碎片化、结构化、体系化的技术知识内容。
image:
src: img/logo.png
src: ../public/img/logo.png
alt: 背景图
actions:
- theme: brand
Expand All @@ -23,15 +23,15 @@ hero:

features:
- icon:
src: img/focus.png
src: ../public/img/focus.png
title: 保持专注
details: “简单比复杂更难,你必须努力让你的想法变得清晰明了,让它变得简单。一旦你做到了简单,你就能搬动大山。” -- 乔布斯
- icon:
src: img/insight.png
src: ../public/img/insight.png
title: 善于洞察
details: “我既没有突出的理解力,也没有过人的机智。只在觉察那些稍纵即逝的事物并对其进行精细观察的能力上,我可能在普通人之上。” -- 达尔文
- icon:
src: img/knowledge.png
src: ../public/img/knowledge.png
title: 乐于分享
details: 关于分享,有形的物品越分越少,无形的知识越分越多。在记录与分享的过程中, 梳理所学, 交流所得, 必有所获。
---
2 changes: 1 addition & 1 deletion doc/前端布局设置.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,4 @@ export default new Router({

## 效果

![alt text](img/image2.png)
![alt text](../public/img/image2.png)

0 comments on commit a8fae02

Please sign in to comment.