Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
login
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
login
Commits
275486a9
提交
275486a9
authored
6月 01, 2022
作者:
haodaking
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 新增marywood-plus-huel
上级
2401859c
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
211 行增加
和
0 行删除
+211
-0
bg.jpg
src/pages/marywood-plus-huel/assets/bg.jpg
+0
-0
logo.png
src/pages/marywood-plus-huel/assets/logo.png
+0
-0
logo_1.png
src/pages/marywood-plus-huel/assets/logo_1.png
+0
-0
logo_2.png
src/pages/marywood-plus-huel/assets/logo_2.png
+0
-0
layout.vue
src/pages/marywood-plus-huel/components/layout.vue
+124
-0
login.vue
src/pages/marywood-plus-huel/login.vue
+29
-0
password.vue
src/pages/marywood-plus-huel/password.vue
+16
-0
register.vue
src/pages/marywood-plus-huel/register.vue
+16
-0
routes.js
src/router/routes.js
+26
-0
没有找到文件。
src/pages/marywood-plus-huel/assets/bg.jpg
0 → 100644
浏览文件 @
275486a9
39.7 KB
src/pages/marywood-plus-huel/assets/logo.png
0 → 100644
浏览文件 @
275486a9
22.6 KB
src/pages/marywood-plus-huel/assets/logo_1.png
0 → 100644
浏览文件 @
275486a9
22.1 KB
src/pages/marywood-plus-huel/assets/logo_2.png
0 → 100644
浏览文件 @
275486a9
7.5 KB
src/pages/marywood-plus-huel/components/layout.vue
0 → 100644
浏览文件 @
275486a9
<
template
>
<div
class=
"wrapper"
>
<section
class=
"main"
>
<div
class=
"main-box"
>
<div
class=
"main-box-hd"
>
<div
class=
"logo"
>
<div
class=
"logo-left"
>
<img
src=
"../assets/logo_1.png"
/>
</div>
<div
class=
"logo-right"
>
<img
src=
"../assets/logo_2.png"
style=
"width:auto;height:40px;margin:0 auto;"
/>
</div>
</div>
<h1
class=
"title"
>
玛丽伍德大学1+1本硕连读专班
</h1>
</div>
<div
class=
"main-box-bd"
>
<router-view></router-view>
</div>
</div>
<language-switch
/>
</section>
</div>
</
template
>
<
script
>
import
languageSwitch
from
'@/components/languageSwitch.vue'
export
default
{
components
:
{
languageSwitch
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.wrapper
{
display
:
flex
;
min-height
:
100vh
;
align-items
:
center
;
justify-content
:
center
;
// background: url(https://logincdn.msauth.net/shared/1.0/content/images/backgrounds/2_bc3d32a696895f78c19df6c717586a5d.svg);
background-size
:
cover
;
}
.main-box
{
width
:
450px
;
min-height
:
500px
;
margin
:
0
auto
;
background-color
:
#fff
;
border-radius
:
8px
;
border
:
1px
solid
#dadce0
;
box-sizing
:
border-box
;
color
:
#bb4767
;
overflow
:
hidden
;
}
.main-box-hd
{
background
:
#41bdf4
;
.logo
{
display
:
flex
;
align-items
:
center
;
div
{
flex
:
1
;
padding
:
5px
;
}
.logo-right
{
background-color
:
#fff
;
}
img
{
display
:
block
;
width
:
100%
;
height
:
auto
;
}
}
.title
{
margin
:
0
;
padding
:
10px
0
;
font-size
:
20px
;
color
:
#fff
;
text-align
:
center
;
background
:
#a91940
;
}
}
.main-box-bd
{
padding
:
20px
40px
;
}
.footer
{
padding
:
20px
10px
;
.t1
{
text-align
:
right
;
color
:
#d3d3d3
;
}
}
::v-deep
.title
{
font-weight
:
normal
;
text-align
:
center
;
font-size
:
20px
;
color
:
#353535
;
margin-bottom
:
24px
;
}
@media
(
max-width
:
768px
)
{
.wrapper
{
display
:
block
;
}
.main
{
padding
:
20px
;
}
.main-box
{
width
:
100%
;
min-height
:
calc
(
100vh
-
100px
);
border
:
0
;
padding
:
0
;
}
.main-box-bd
{
padding
:
20px
0
;
}
}
::v-deep
.language-switch
{
margin
:
10px
0
;
width
:
80px
;
.el-input__inner
{
border
:
none
;
padding-left
:
0
;
}
.el-select
.el-input
.el-select__caret
{
color
:
#606266
;
}
}
</
style
>
src/pages/marywood-plus-huel/login.vue
0 → 100644
浏览文件 @
275486a9
<
template
>
<div
class=
"login"
>
<h1
class=
"title"
>
{{
$t
(
'main.title'
)
}}
</h1>
<div
class=
"login-box"
>
<router-view
@
success=
"handleSuccess"
></router-view>
</div>
<p
class=
"footer"
@
click=
"$router.push(
{ path: '../register', query: $route.query })">
{{
$t
(
'login.register'
)
}}
</p>
</div>
</
template
>
<
script
>
export
default
{
methods
:
{
handleSuccess
()
{
window
.
location
.
href
=
document
.
referrer
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.footer
{
margin-top
:
30px
;
clear
:
both
;
color
:
#bb4767
;
line-height
:
52px
;
cursor
:
pointer
;
}
</
style
>
src/pages/marywood-plus-huel/password.vue
0 → 100644
浏览文件 @
275486a9
<
template
>
<div
class=
"password"
>
<h1
class=
"title"
>
{{
$t
(
'password.title'
)
}}
</h1>
<router-view></router-view>
<p
class=
"back"
@
click=
"$router.push(
{ path: 'login', query: $route.query })">
{{
$t
(
'password.backText'
)
}}
</p>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
.back
{
margin-top
:
10px
;
color
:
#bb4767
;
line-height
:
52px
;
cursor
:
pointer
;
}
</
style
>
src/pages/marywood-plus-huel/register.vue
0 → 100644
浏览文件 @
275486a9
<
template
>
<div
class=
"register"
>
<h1
class=
"title"
>
注册
</h1>
<router-view></router-view>
<p
class=
"back"
@
click=
"$router.push(
{ path: 'login', query: $route.query })">
{{
$t
(
'password.backText'
)
}}
</p>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
.back
{
margin-top
:
10px
;
color
:
#bb4767
;
line-height
:
52px
;
cursor
:
pointer
;
}
</
style
>
src/router/routes.js
浏览文件 @
275486a9
...
@@ -458,5 +458,31 @@ export default [
...
@@ -458,5 +458,31 @@ export default [
children
:
[{
path
:
''
,
component
:
register
}]
children
:
[{
path
:
''
,
component
:
register
}]
}
}
]
]
},
{
path
:
'/marywood-plus-huel'
,
component
:
()
=>
import
(
/* webpackChunkName: "marywood-plus-huel" */
'../pages/marywood-plus-huel/components/layout.vue'
),
children
:
[
{
path
:
''
,
redirect
:
'login/index'
},
{
path
:
'login'
,
component
:
()
=>
import
(
/* webpackChunkName: "marywood-plus-huel" */
'../pages/marywood-plus-huel/login.vue'
),
children
:
[
{
path
:
''
,
redirect
:
'index'
},
{
path
:
'index'
,
component
:
loginAccount
},
{
path
:
'code'
,
component
:
loginCode
}
]
},
{
path
:
'password'
,
component
:
()
=>
import
(
/* webpackChunkName: "marywood-plus-huel" */
'../pages/marywood-plus-huel/password.vue'
),
children
:
[{
path
:
''
,
component
:
password
}]
},
{
path
:
'register'
,
component
:
()
=>
import
(
/* webpackChunkName: "marywood-plus-huel" */
'../pages/marywood-plus-huel/register.vue'
),
children
:
[{
path
:
''
,
component
:
register
}]
}
]
}
}
]
]
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论