Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yma16
myblogVue_django
提交
0baa5d53
M
myblogVue_django
项目概览
yma16
/
myblogVue_django
通知
5
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
myblogVue_django
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
0baa5d53
编写于
6月 18, 2023
作者:
yma16
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf: 目录规范
上级
734af16e
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
62 addition
and
14 deletion
+62
-14
src/components/comment/ArticleComment.vue
src/components/comment/ArticleComment.vue
+0
-0
src/components/markdown/DesignMarkdown.vue
src/components/markdown/DesignMarkdown.vue
+45
-0
src/components/user/Login.vue
src/components/user/Login.vue
+0
-0
src/components/user/Register.vue
src/components/user/Register.vue
+1
-1
src/components/weather/EchartWeather.vue
src/components/weather/EchartWeather.vue
+1
-1
src/components/websocket/Onlinewebsocket.vue
src/components/websocket/Onlinewebsocket.vue
+0
-0
src/router/index.js
src/router/index.js
+8
-5
src/views/article/Article.vue
src/views/article/Article.vue
+7
-7
src/views/cssView/Csslearn.vue
src/views/cssView/Csslearn.vue
+0
-0
未找到文件。
src/comment/ArticleComment.vue
→
src/com
ponents/com
ment/ArticleComment.vue
浏览文件 @
0baa5d53
文件已移动
src/components/markdown/DesignMarkdown.vue
0 → 100644
浏览文件 @
0baa5d53
<
template
>
<div>
<VueMarkdown
:source=
"content"
v-highlight
style=
"width: 100%; text-align: left"
></VueMarkdown>
</div>
</
template
>
<
script
>
import
VueMarkdown
from
'
vue-markdown
'
export
default
{
components
:
{
VueMarkdown
},
name
:
'
DesignMarkdown
'
,
props
:
{
contentSource
:
undefined
},
data
()
{
return
{
content
:
''
}
},
computed
:
{
propsContent
()
{
console
.
log
(
'
this
'
)
return
this
.
contentSource
}
},
watch
:
{
contentSource
:
{
handler
(
newVal
,
oldVal
)
{
this
.
content
=
newVal
||
''
},
deep
:
true
,
immediate
:
true
}
},
mounted
()
{
console
.
log
(
'
design vuemarkdown
'
)
},
methods
:
{
}
}
</
script
>
src/components/Login.vue
→
src/components/
user/
Login.vue
浏览文件 @
0baa5d53
文件已移动
src/components/Register.vue
→
src/components/
user/
Register.vue
浏览文件 @
0baa5d53
...
...
@@ -26,7 +26,7 @@
</el-alert>
<p
style=
"font-size: 30px"
>
注册
</p>
<el-avatar
src=
"https://
cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng
.png"
src=
"https://
yongma16.xyz/staticFile/common/img/logo
.png"
></el-avatar>
<!--
<svg
class=
"icon"
...
...
src/weather/EchartWeather.vue
→
src/
components/
weather/EchartWeather.vue
浏览文件 @
0baa5d53
...
...
@@ -15,7 +15,7 @@
</
template
>
<
script
>
import
*
as
echarts
from
'
echarts
'
import
*
as
echarts
from
'
echarts
/index
'
export
default
{
name
:
'
EchartWeather
'
,
data
()
{
...
...
src/components/Onlinewebsocket.vue
→
src/components/
websocket/
Onlinewebsocket.vue
浏览文件 @
0baa5d53
文件已移动
src/router/index.js
浏览文件 @
0baa5d53
import
{
isEmpty
}
from
'
@/utils
'
import
store
from
'
@/store
'
const
Article
=
()
=>
import
(
'
@/components/Article
'
)
const
Login
=
()
=>
import
(
'
@/components/Login
'
)
const
Register
=
()
=>
import
(
'
@/components/Register
'
)
const
Onlinewebsocket
=
()
=>
import
(
'
@/components/Onlinewebsocket
'
)
const
Login
=
()
=>
import
(
'
@/components/user/Login
'
)
const
Register
=
()
=>
import
(
'
@/components/user/Register
'
)
const
Onlinewebsocket
=
()
=>
import
(
'
@/components/websocket/Onlinewebsocket
'
)
const
Home
=
()
=>
import
(
'
@/components/Home
'
)
const
Bilicom
=
()
=>
import
(
'
@/components/Bilicom
'
)
const
Mavoneditor
=
()
=>
import
(
'
@/components/Mavoneditor
'
)
const
GrilShow
=
()
=>
import
(
'
@/components/GrilShow
'
)
const
Csslearn
=
()
=>
import
(
'
@/components/Csslearn
'
)
const
Csslearn
=
()
=>
import
(
'
@/views/cssView/Csslearn
'
)
const
Article
=
()
=>
import
(
'
@/views/article/Article
'
)
const
defaultRoutes
=
[
{
path
:
'
/
'
,
...
...
src/
components
/Article.vue
→
src/
views/article
/Article.vue
浏览文件 @
0baa5d53
...
...
@@ -127,11 +127,11 @@
<div
class=
"block"
style=
"line-height: 20px"
>
<h1>
{{
the_title
}}
</h1>
<div
class=
"markdown-body"
style=
"text-align: left"
>
<
Vue
Markdown
:
s
ource=
"md_data[index_page]"
<
Design
Markdown
:
contentS
ource=
"md_data[index_page]"
v-highlight
style=
"width: 100%; text-align: left"
></
Vue
Markdown>
></
Design
Markdown>
</div>
</div>
</el-card>
...
...
@@ -248,12 +248,12 @@
<
script
>
import
Email
from
'
@/components/email/Email
'
import
VueMarkdown
from
'
vue-m
arkdown
'
import
ArticleComment
from
'
@/comment/ArticleComment
'
import
EchartWeather
from
'
@/weather/EchartWeather
'
import
DesignMarkdown
from
'
@/components/markdown/DesignM
arkdown
'
import
ArticleComment
from
'
@/com
ponents/com
ment/ArticleComment
'
import
EchartWeather
from
'
@/
components/
weather/EchartWeather
'
export
default
{
components
:
{
Vue
Markdown
,
// 显示markdown的组件
Design
Markdown
,
// 显示markdown的组件
ArticleComment
,
// 子组件评论
EchartWeather
,
// 天气
Email
...
...
src/
components
/Csslearn.vue
→
src/
views/cssView
/Csslearn.vue
浏览文件 @
0baa5d53
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录