Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
檀越@新空间
vue-kwan-admin
提交
d590a62d
V
vue-kwan-admin
项目概览
檀越@新空间
/
vue-kwan-admin
通知
40
Star
6
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-kwan-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
d590a62d
编写于
7月 12, 2023
作者:
檀越@新空间
🐭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
整理
上级
076e1734
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
12 deletion
+10
-12
public/index.html
public/index.html
+1
-1
public/kwan.png
public/kwan.png
+0
-0
src/components/MyLogin.vue
src/components/MyLogin.vue
+2
-2
src/components/menus/MyChat.vue
src/components/menus/MyChat.vue
+7
-9
未找到文件。
public/index.html
浏览文件 @
d590a62d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>
favicon.ico
"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>
kwan.png
"
>
<title><
%=
htmlWebpackPlugin.options.title
%
></title>
<title><
%=
htmlWebpackPlugin.options.title
%
></title>
</head>
</head>
<body>
<body>
...
...
public/kwan.png
0 → 100644
浏览文件 @
d590a62d
2.9 MB
src/components/MyLogin.vue
浏览文件 @
d590a62d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"login-box"
>
<div
class=
"login-box"
>
<!-- 头像区域 -->
<!-- 头像区域 -->
<div
class=
"text-center avatar-box"
>
<div
class=
"text-center avatar-box"
>
<img
src=
"../assets/
logo.png"
class=
"img-thumbnail avatar"
alt=
"
"
/>
<img
src=
"../assets/
kwan.png"
class=
"img-thumbnail avatar"
alt=
"kwan的解忧杂货铺
"
/>
</div>
</div>
<!-- 表单区域 -->
<!-- 表单区域 -->
...
@@ -111,4 +111,4 @@ export default {
...
@@ -111,4 +111,4 @@ export default {
box-shadow: 0 0 6px #efefef;
box-shadow: 0 0 6px #efefef;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/components/menus/MyChat.vue
浏览文件 @
d590a62d
...
@@ -35,6 +35,8 @@
...
@@ -35,6 +35,8 @@
<el-pagination
<el-pagination
class=
"pagination"
class=
"pagination"
background
background
:key=
"elementui_page_component_key"
:current-page.sync=
"currentPage"
:page-size=
"pageSize"
:page-size=
"pageSize"
:total=
"total"
:total=
"total"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
...
@@ -54,7 +56,8 @@ export default {
...
@@ -54,7 +56,8 @@ export default {
// 用户列表数据
// 用户列表数据
userlist
:
[],
userlist
:
[],
loading
:
false
,
loading
:
false
,
currentPage
:
localStorage
.
getItem
(
"
lastPage
"
)
||
1
,
elementui_page_component_key
:
0
,
currentPage
:
Number
(
localStorage
.
getItem
(
"
lastPage
"
))
||
1
,
pageSize
:
5
,
pageSize
:
5
,
total
:
0
,
total
:
0
,
};
};
...
@@ -65,13 +68,8 @@ export default {
...
@@ -65,13 +68,8 @@ export default {
this
.
initCartList
();
this
.
initCartList
();
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
$refs
)
this
.
currentPage
=
Number
(
localStorage
.
getItem
(
"
lastPage
"
))
||
1
;
var
lastPage
=
localStorage
.
getItem
(
"
lastPage
"
);
this
.
elementui_page_component_key
++
;
if
(
lastPage
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
pagination
.
setCurrentPage
(
Number
(
lastPage
));
});
}
},
},
methods
:
{
methods
:
{
refreshPage
()
{
refreshPage
()
{
...
@@ -127,4 +125,4 @@ export default {
...
@@ -127,4 +125,4 @@ export default {
margin-right: 15px;
margin-right: 15px;
font-size: 20px;
font-size: 20px;
}
}
</
style
>
</
style
>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录