Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yma16
myblogVue_django
提交
cbfdc71f
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看板
提交
cbfdc71f
编写于
4月 18, 2022
作者:
yma16
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:api跨域
上级
fa55f3e3
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
97 addition
and
43 deletion
+97
-43
index.html
index.html
+56
-29
src/App.vue
src/App.vue
+38
-10
src/assets/img/badge.png
src/assets/img/badge.png
+0
-0
src/comment/ArticleComment.vue
src/comment/ArticleComment.vue
+1
-1
src/components/Mavoneditor.vue
src/components/Mavoneditor.vue
+0
-1
src/components/Onlinewebsocket.vue
src/components/Onlinewebsocket.vue
+2
-2
未找到文件。
index.html
浏览文件 @
cbfdc71f
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
/>
<title>
yma16前端日记
</title>
<link
rel=
"shortcut icon"
href=
"./static/utils/fx_background/image/logo.ico"
>
<link
rel=
"shortcut icon"
href=
"./static/utils/fx_background/image/logo.ico"
/>
<!-- up -->
<script
src=
"./static/utils/fx_background/js/jquery-2.1.4.min.js"
></script>
<link
rel=
"stylesheet"
href=
"./static/utils/fx_background/css/core.css"
>
<link
rel=
"stylesheet"
href=
"./static/utils/fx_background/css/core.css"
/
>
<!-- 我的阿里图标库 -->
<script
src=
"http://at.alicdn.com/t/font_1957918_9kt1mmflyr8.js"
></script>
<style>
body
{
background
:
url(./static/utils/fx_background/image/background.png)
;
<style>
body
{
background
:
url(./static/utils/fx_background/image/background.png)
;
background-size
:
cover
;
background-repeat
:
no-repeat
;
overflow
:
hidden
;
}
</style>
</head>
<!-- 阿里 -->
<style
type=
"text/css"
>
</style>
</head>
<!-- 阿里 -->
<style
type=
"text/css"
>
.icon
{
width
:
1em
;
height
:
1em
;
...
...
@@ -29,17 +31,42 @@
fill
:
currentColor
;
overflow
:
hidden
;
}
</style>
</style>
<body>
<body>
<div
id=
"canvas"
>
<div
id=
'life'
>
</div>
<div
id=
'is'
>
</div>
<div
id=
'beautiful'
>
</div>
<div
id=
"life"
></div>
<div
id=
"is"
></div>
<div
id=
"beautiful"
></div>
</div>
<div
id=
"app"
>
</div>
<div
id=
"app"
></div>
<!-- built files will be auto injected -->
</body>
<script
src=
"https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"
></script>
<script>
L2Dwidget
.
init
({
model
:
{
jsonPath
:
"
https://unpkg.com/live2d-widget-model-haruto@1.0.5/assets/haruto.model.json
"
,
scale
:
1
,
hHeadPos
:
0.5
,
vHeadPos
:
0.618
,
},
display
:
{
position
:
"
left
"
,
width
:
50
,
height
:
60
,
hOffset
:
0
,
vOffset
:
0
,
},
mobile
:
{
show
:
true
,
scale
:
0.5
,
},
react
:
{
opacityDefault
:
0.9
,
opacityOnHover
:
0.5
,
},
});
</script>
</body>
</html>
src/App.vue
浏览文件 @
cbfdc71f
...
...
@@ -98,11 +98,29 @@
</el-main>
<el-footer>
<div
class=
"design-footer"
>
<div
class=
"footer_font"
>
<div
style=
"float: left"
></div>
Copyright
©
2022 yongma16.xyz
浏览量:{{
readCount
}}
<span>
Copyright
©
2022 yongma16.xyz
个人空间
</span
>
<span>
足迹:{{ readCount }}
</span>
<span
><img
src=
"@/assets/img/badge.png"
style=
"
cursor: pointer;
height: 16px;
margin-bottom: 0;
padding-bottom: 0;
"
/>
<span
style=
"cursor: pointer"
@
click=
"jumpIpDns"
>
黔ICP备20001426号-1
</span
></span
>
</div>
<!-- <div></div>-->
</div>
</el-footer>
</el-container>
...
...
@@ -117,12 +135,12 @@ export default {
name
:
"
App
"
,
data
()
{
return
{
authSlogan
:
"
Y
ma16
"
,
authSlogan
:
"
y
ma16
"
,
chat_flag
:
false
,
msg
:
"
yma16
"
,
navigate_flag
:
true
,
value
:
new
Date
(),
baseurl
:
"
http://114.116.52.53
/
"
,
baseurl
:
"
/api
/
"
,
// baseurl: 'http://yongma16.xyz/',
src
:
"
https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg
"
,
url
:
"
/image/logo/logo.jpg
"
,
...
...
@@ -139,6 +157,14 @@ export default {
this
.
readCountFun
();
},
methods
:
{
jumpIpDns
:
function
()
{
try
{
window
.
open
(
"
https://beian.miit.gov.cn
"
);
}
catch
(
r
)
{
window
.
location
.
href
=
"
https://beian.miit.gov.cn
"
;
throw
Error
(
r
);
}
},
addReadCountFun
:
function
()
{
console
.
log
(
"
addfun
"
);
let
clientip
=
"
未知
"
;
...
...
@@ -284,12 +310,14 @@ body {
/* background: url(/image/snow/gg.jpg) center top no-repeat; */
}
.design-footer
{
position
:
relative
;
margin-top
:
20px
;
}
.footer_font
{
position
:
relative
;
top
:
25%
;
/* height: 100%; */
margin
:
0
;
padding
:
0
;
}
.el-footer
{
...
...
src/assets/img/badge.png
0 → 100644
浏览文件 @
cbfdc71f
1.4 KB
src/comment/ArticleComment.vue
浏览文件 @
cbfdc71f
...
...
@@ -45,7 +45,7 @@ export default {
return
{
noneMsg
:
"
还没人评论>_<
"
,
msg
:
"
评论区
"
,
baseurl
:
"
api
"
,
baseurl
:
"
/api/
"
,
// baseurl: "http://yongma16.xyz/comment/",
userImg
:
""
,
username
:
"
匿名
"
,
...
...
src/components/Mavoneditor.vue
浏览文件 @
cbfdc71f
...
...
@@ -24,7 +24,6 @@ export default {
return
{
baseurl
:
"
/api/
"
,
basePath
:
"
admin/
"
,
// baseurl: 'http://yongma16.xyz/',
md_data
:
[],
};
},
...
...
src/components/Onlinewebsocket.vue
浏览文件 @
cbfdc71f
...
...
@@ -141,9 +141,9 @@ export default {
room_name
:
[
"
DjangoVue
"
],
room_select
:
""
,
// baseUrl: "http://localhost:8006/webchat/index/",
baseurl
:
"
/api/
"
,
baseurl
:
"
/
ws_
api/
"
,
// baseUrl: "http://yongma16.xyz/",
websocketUrl
:
"
/
ws_
api/
"
,
websocketUrl
:
"
/api/
"
,
// websocketUrl: "yongma16.xyz/ws/webchat/",
websocket
:
null
,
// room 存房间名字,content保存聊天信息的数组
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录