Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yma16
myblogVue_django
提交
21f57cbf
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看板
提交
21f57cbf
编写于
6月 20, 2023
作者:
yma16
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf:code
上级
532efc4c
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
53 addition
and
54 deletion
+53
-54
README.md
README.md
+1
-0
src/components/Bilicom.vue
src/components/Bilicom.vue
+0
-2
src/components/Mavoneditor.vue
src/components/Mavoneditor.vue
+0
-4
src/components/email/Email.vue
src/components/email/Email.vue
+7
-7
src/components/markdown/MarkDirTree.vue
src/components/markdown/MarkDirTree.vue
+18
-13
src/components/user/Login.vue
src/components/user/Login.vue
+13
-10
src/components/weather/EchartWeather.vue
src/components/weather/EchartWeather.vue
+1
-1
src/components/websocket/Onlinewebsocket.vue
src/components/websocket/Onlinewebsocket.vue
+0
-4
src/echarts/Map.vue
src/echarts/Map.vue
+1
-1
src/main.js
src/main.js
+10
-10
src/store/index.js
src/store/index.js
+2
-2
未找到文件。
README.md
浏览文件 @
21f57cbf
...
...
@@ -74,3 +74,4 @@ Vue.use(ElementUI)
##
src/components/Bilicom.vue
浏览文件 @
21f57cbf
...
...
@@ -7,8 +7,6 @@
<
script
>
// import * as echarts from 'echarts'
export
default
{
name
:
'
Bilicom
'
,
data
()
{
...
...
src/components/Mavoneditor.vue
浏览文件 @
21f57cbf
...
...
@@ -13,11 +13,7 @@
</
template
>
<
script
>
import
VueMarkdown
from
'
vue-markdown
'
export
default
{
components
:
{
VueMarkdown
},
name
:
'
Mavoneditor
'
,
data
()
{
return
{
...
...
src/components/email/Email.vue
浏览文件 @
21f57cbf
...
...
@@ -10,7 +10,6 @@
element-loading-spinner=
"el-icon-loading"
:before-close=
"handleDrawClose"
:wrapperClosable=
"false"
class=
"email-drawer"
>
<template
v-if=
"drawObj.show"
>
<div
class=
"email-container"
>
...
...
@@ -25,10 +24,10 @@
<el-input
placeholder=
"标题"
v-model=
"emailForm.title"
clearable
>
</el-input>
</el-form-item>
<el-form-item
label=
"邮箱"
prop=
"email"
>
<el-input
placeholder=
"邮箱"
v-model=
"emailForm.email"
clearable
>
</el-input
>
</el-form-item
>
<!--
<el-form-item
label=
"邮箱"
prop=
"email"
>
--
>
<!--
<el-input
placeholder=
"邮箱"
v-model=
"emailForm.email"
clearable
>
--
>
<!--
</el-input>
--
>
<!--
</el-form-item>
--
>
<el-form-item
label=
"内容"
prop=
"content"
>
<el-input
type=
"textarea"
...
...
@@ -47,8 +46,8 @@
</el-form>
</div>
<div
class=
"email-footer"
>
<
p>
联系邮箱
</p
>
<
p>
1432448610@qq.com
</p
>
<
span>
联系邮箱:
</span
>
<
el-link
type=
"primary"
href=
"mailto:1432448610@qq.com"
>
1432448610@qq.com
</el-link
>
</div>
</div>
</
template
>
...
...
@@ -226,6 +225,7 @@ export default {
float
:
left
;
width
:
100%
;
margin-left
:
30px
;
margin-top
:
80px
;
text-align
:
left
;
font-size
:
12px
;
}
...
...
src/components/markdown/MarkDirTree.vue
浏览文件 @
21f57cbf
<
template
>
<div
class=
"markdown-link"
>
<div
v-for=
"(item,index) in content"
:key=
"index"
>
<div>
<template
v-for=
"levelItem in item.level"
>
</
template
>
<span
@
click=
"jumpText(item)"
class=
"link-title"
>
{{item.value}}
</span>
<template
v-if=
"isExpand"
>
<i
class=
"el-icon-s-fold"
@
click=
"reverseExpand"
style=
"color:#ffffff;cursor: pointer;margin-bottom: 10px;float: right"
>
隐藏目录
</i>
<div
v-for=
"(item,index) in content"
:key=
"index"
>
<div>
<template
v-for=
"levelItem in item.level"
>
</
template
>
<span
@
click=
"jumpText(item)"
class=
"link-title"
>
{{item.value}}
</span>
</div>
</div>
</div>
</template>
<i
class=
"el-icon-s-fold"
v-else
@
click=
"reverseExpand"
style=
"color:#ffffff;cursor: pointer"
>
显示目录
</i>
</div>
</template>
<
script
>
...
...
@@ -18,7 +22,8 @@ export default {
},
data
()
{
return
{
content
:
''
content
:
''
,
isExpand
:
true
}
},
watch
:
{
...
...
@@ -35,6 +40,9 @@ export default {
console
.
log
(
'
design vuemarkdown dir
'
)
},
methods
:
{
reverseExpand
()
{
this
.
isExpand
=
!
this
.
isExpand
},
jumpText
(
item
)
{
const
{
level
,
value
}
=
item
console
.
log
(
level
,
value
)
...
...
@@ -52,19 +60,16 @@ export default {
<
style
>
.markdown-link
{
position
:
fixed
;
background
:
rgba
(
64
,
158
,
255
,
.
5
);
background
:
rgba
(
64
,
158
,
255
,
.
9
);
float
:
right
;
max-width
:
400px
;
padding
:
20px
;
right
:
120px
;
top
:
100
px
;
top
:
75
px
;
border-radius
:
20px
;
box-shadow
:
0
5px
20px
rgba
(
0
,
0
,
0
,
0.4
);
transition
:
2s
;
}
.markdown-link
:hover
{
background
:
rgba
(
64
,
158
,
255
,
.9
);
}
.link-title
{
cursor
:
pointer
;
color
:
#ffffff
;
...
...
src/components/user/Login.vue
浏览文件 @
21f57cbf
...
...
@@ -28,10 +28,18 @@
<el-button
@
click=
"resetForm('ruleForm')"
>
清空
</el-button>
</el-form-item>
<el-form-item>
<el-link
target=
"_blank"
@
click=
"$router.push(
{ path: '/register' })"
>没有账号?
</el-link
>
<el-link
type=
"primary"
@
click=
"$router.push(
{ path: '/register' })"
>去注册
</el-link
>
</el-form-item>
<el-form-item>
<div
style=
"width: 100%"
>
<el-divider>
三方
登录
</el-divider>
<el-divider>
其他
登录
</el-divider>
<div
style=
"display: flex;width: 100%"
>
<div
style=
"width:50%;text-align: center"
>
<img
src=
"https://ts2.cn.mm.bing.net/th?id=ODLS.f9daea21-9936-4164-815f-b5209459f3c6&w=32&h=32&qlt=90&pcl=fffffa&o=6&pid=1.2"
style=
"width:10px;line-height: 56px"
/>
...
...
@@ -49,15 +57,6 @@
</div>
</el-form-item>
<el-form-item>
<el-link
target=
"_blank"
@
click=
"$router.push(
{ path: '/register' })"
>没有账号?
</el-link
>
<el-link
type=
"primary"
@
click=
"$router.push(
{ path: '/register' })"
>去注册
</el-link
>
</el-form-item>
</el-form>
</div>
</el-card>
...
...
@@ -202,4 +201,8 @@ export default {
/
deep
/
.el-card__body
{
width
:
100%
!important
;
}
/
deep
/
.el-divider__text
{
background-color
:
transparent
!important
;
}
</
style
>
src/components/weather/EchartWeather.vue
浏览文件 @
21f57cbf
...
...
@@ -15,7 +15,7 @@
</
template
>
<
script
>
import
*
as
echarts
from
'
echarts/index
'
//
import * as echarts from 'echarts/index'
export
default
{
name
:
'
EchartWeather
'
,
data
()
{
...
...
src/components/websocket/Onlinewebsocket.vue
浏览文件 @
21f57cbf
...
...
@@ -125,12 +125,8 @@
</template>
<
script
>
import
VueMarkdown
from
'
vue-markdown
'
export
default
{
components
:
{
VueMarkdown
},
name
:
'
Onlinewebsocket
'
,
data
()
{
return
{
...
...
src/echarts/Map.vue
浏览文件 @
21f57cbf
...
...
@@ -27,7 +27,7 @@
</
template
>
<
script
>
import
*
as
echarts
from
'
echarts
'
//
import * as echarts from 'echarts'
export
default
{
name
:
'
Map
'
,
...
...
src/main.js
浏览文件 @
21f57cbf
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// vue cdn
import
Vue
from
'
vue
'
import
axios
from
'
axios
'
import
hljs
from
'
highlight.js
'
import
importElementComponents
from
'
./importElement
'
import
importEchartsComponents
from
'
./importEchartsComponents
'
//
import Vue from 'vue'
//
import axios from 'axios'
//
import hljs from 'highlight.js'
//
import importElementComponents from './importElement'
//
import importEchartsComponents from './importEchartsComponents'
// 样式cnd
import
'
github-markdown-css/github-markdown.css
'
import
'
nprogress/nprogress.css
'
...
...
@@ -54,11 +54,11 @@ if (env === 'production') {
throw
Error
(
e
)
}
}
else
{
// 按需引入elementui
importElementComponents
(
Vue
)
// 按需引入echarts
importEchartsComponents
(
Vue
)
//
//
按需引入elementui
//
importElementComponents(Vue)
//
//
//
按需引入echarts
//
importEchartsComponents(Vue)
Vue
.
config
.
productionTip
=
false
new
Vue
({
...
...
src/store/index.js
浏览文件 @
21f57cbf
import
Vue
from
'
vue
'
import
Vuex
from
'
vuex
'
//
import Vue from 'vue'
//
import Vuex from 'vuex'
// import createLogger from '../../../src/plugins/logger'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录