Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FLIPPED-AURORA
gin-vue-admin
提交
bf618998
G
gin-vue-admin
项目概览
FLIPPED-AURORA
/
gin-vue-admin
大约 1 年 前同步成功
通知
333
Star
18155
Fork
5506
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bf618998
编写于
9月 16, 2019
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加canvas背景图
上级
7f4352c6
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
48 addition
and
11 deletion
+48
-11
QMPlusVuePage/package-lock.json
QMPlusVuePage/package-lock.json
+8
-0
QMPlusVuePage/package.json
QMPlusVuePage/package.json
+1
-0
QMPlusVuePage/src/main.js
QMPlusVuePage/src/main.js
+6
-0
QMPlusVuePage/src/view/layout/aside/index.vue
QMPlusVuePage/src/view/layout/aside/index.vue
+1
-1
QMPlusVuePage/src/view/login/login.vue
QMPlusVuePage/src/view/login/login.vue
+16
-4
QMPlusVuePage/src/view/login/regist.vue
QMPlusVuePage/src/view/login/regist.vue
+16
-6
未找到文件。
QMPlusVuePage/package-lock.json
浏览文件 @
bf618998
...
...
@@ -11639,6 +11639,14 @@
"vue-style-loader"
:
"^4.1.0"
}
},
"vue-particle-line"
:
{
"version"
:
"0.1.4"
,
"resolved"
:
"https://registry.npmjs.org/vue-particle-line/-/vue-particle-line-0.1.4.tgz"
,
"integrity"
:
"sha512-l5qvk5R3VJrAU8G1JTJPGG610/R4kmutayb2F0SZp2qA4lo2pxImK7R+IgEcMGpJ5r1qg5K4c719IRwnPJokoA=="
,
"requires"
:
{
"vue"
:
"^2.5.21"
}
},
"vue-router"
:
{
"version"
:
"3.1.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-router/-/vue-router-3.1.3.tgz"
,
...
...
QMPlusVuePage/package.json
浏览文件 @
bf618998
...
...
@@ -16,6 +16,7 @@
"qs"
:
"^6.8.0"
,
"sass-loader"
:
"^8.0.0"
,
"vue"
:
"^2.6.10"
,
"vue-particle-line"
:
"^0.1.4"
,
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.1"
,
"vuex-persist"
:
"^2.1.0"
...
...
QMPlusVuePage/src/main.js
浏览文件 @
bf618998
...
...
@@ -5,6 +5,12 @@ import ElementUI from 'element-ui';
import
'
element-ui/lib/theme-chalk/index.css
'
;
Vue
.
use
(
ElementUI
);
// 引入封装的router
import
vueParticleLine
from
'
vue-particle-line
'
import
'
vue-particle-line/dist/vue-particle-line.css
'
Vue
.
use
(
vueParticleLine
)
// canvas背景插件
import
router
from
'
@/router/index
'
import
'
@/permission
'
import
{
store
}
from
'
@/store/index
'
...
...
QMPlusVuePage/src/view/layout/aside/index.vue
浏览文件 @
bf618998
...
...
@@ -18,7 +18,7 @@ export default {
data
()
{
return
{
active
:
''
,
isCollapse
:
fals
e
isCollapse
:
tru
e
}
},
methods
:
{
...
...
QMPlusVuePage/src/view/login/login.vue
浏览文件 @
bf618998
<
template
>
<el-container
class=
"login-box"
>
<el-main>
<el-container
class=
"login-regist-box"
>
<vue-particle-line>
</vue-particle-line>
<el-main
class=
"login-box"
>
<el-form
:model=
"loginForm"
:rules=
"rules"
label-width=
"100px"
ref=
"loginForm"
status-icon
>
<el-form-item
label=
"用户名"
prop=
"username"
>
<el-input
v-model=
"loginForm.username"
></el-input>
...
...
@@ -11,9 +14,10 @@
</el-input>
</el-form-item>
</el-form>
<el-button
@
click=
"submitForm"
>
登
录
</el-button>
<el-button
@
click=
"submitForm"
style=
"float:right;width:calc(100% - 100px)"
>
登
录
</el-button>
</el-main>
</el-container>
</
template
>
<
script
>
...
...
@@ -75,7 +79,15 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
.login-box
{
.login-
regist-
box
{
background
:
#409eff
;
height
:
100vh
;
.login-box
{
width
:
40vw
;
position
:
absolute
;
left
:
50%
;
margin-left
:
-22vw
;
top
:
25vh
;
}
}
</
style
>
\ No newline at end of file
QMPlusVuePage/src/view/login/regist.vue
浏览文件 @
bf618998
<
template
>
<el-container
class=
"login-box"
>
<el-main>
<el-container
class=
"login-regist-box"
>
<vue-particle-line>
</vue-particle-line>
<el-main
class=
"login-box"
>
<el-form
:model=
"registForm"
:rules=
"rules"
label-width=
"100px"
ref=
"registForm"
status-icon
>
<el-form-item
label=
"用户名"
prop=
"username"
>
<el-input
v-model=
"registForm.username"
></el-input>
...
...
@@ -16,7 +18,7 @@
</el-input>
</el-form-item>
</el-form>
<el-button
@
click=
"submitForm"
>
注册
</el-button>
<el-button
style=
"float:right;width:calc(100% - 100px)"
@
click=
"submitForm"
>
注册
</el-button>
</el-main>
</el-container>
</
template
>
...
...
@@ -94,8 +96,16 @@ export default {
}
</
script
>
<
style
scoped
lang=
"scss"
>
.login-box
{
<
style
lang=
"scss"
>
.login-
regist-
box
{
background
:
#409eff
;
}
height
:
100vh
;
.login-box
{
width
:
40vw
;
position
:
absolute
;
left
:
50%
;
margin-left
:
-22vw
;
top
:
25vh
;
}
}
</
style
>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录