Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c65497cf
authored
Nov 03, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
test
1 parent
43d5fa01
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
60 deletions
src/App.vue
src/views/system/login/index.vue
src/App.vue
View file @
c65497c
<
template
>
<
template
>
<div
id=
"app"
>
<div
id=
"app"
>
<span
class=
"bg-red-500 "
>
222
</span>
<router-view
/>
<router-view
/>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/system/login/index.vue
View file @
c65497c
...
@@ -3,67 +3,49 @@
...
@@ -3,67 +3,49 @@
<dialog-reg
:is-visible=
"registerDialogVisible"
/>
<dialog-reg
:is-visible=
"registerDialogVisible"
/>
<div
class=
"page-login--layer page-login--layer-area"
>
<div
class=
"page-login--layer page-login--layer-area"
>
<ul
class=
"circles"
>
<ul
class=
"circles"
>
<li
<li
v-for=
"n in 10"
v-for=
"n in 10"
:key=
"n"
/>
:key=
"n"
/>
</ul>
</ul>
</div>
</div>
<div
<div
class=
"page-login--layer page-login--layer-time"
class=
"page-login--layer page-login--layer-time"
flex=
"main:center cross:center"
>
flex=
"main:center cross:center"
>
{{
time
}}
{{
time
}}
</div>
</div>
<div
class=
"page-login--layer"
>
<div
class=
"page-login--layer"
>
<div
<div
class=
"page-login--content"
class=
"page-login--content"
flex=
"dir:top main:justify cross:stretch box:justify"
>
flex=
"dir:top main:justify cross:stretch box:justify"
>
<div
class=
"page-login--content-header"
>
<div
class=
"page-login--content-header"
>
<p
class=
"page-login--content-header-motto"
/>
<p
class=
"page-login--content-header-motto"
/>
</div>
</div>
<div
<div
class=
"page-login--content-main"
class=
"page-login--content-main"
flex=
"dir:top main:center cross:center"
>
flex=
"dir:top main:center cross:center"
>
<!-- form -->
<!-- form -->
<div
<div
class=
"page-login--form-box"
class=
"page-login--form-box"
@
click=
"handleReturnLogin"
>
@
click=
"handleReturnLogin"
<div
class=
"page-login--form"
>
v-show=
"!isMutiAccount"
>
<div
class=
"page-login--form"
v-show=
"!isMutiAccount"
>
<div
class=
"form-left"
>
<div
class=
"form-left"
>
<el-form
<el-form
ref=
"loginForm"
ref=
"loginForm"
label-position=
"top"
label-position=
"top"
:rules=
"rules"
:rules=
"rules"
:model=
"formLogin"
:model=
"formLogin"
size=
"default"
size=
"default"
>
>
<div
class=
"title-wrap"
>
<div
class=
"title-wrap"
>
<!--
<span
class=
"form-title"
>
{{
systemName
}}
</span>
-->
<!--
<span
class=
"form-title"
>
{{
systemName
}}
</span>
-->
<span
class=
"form-title"
>
<span
class=
"form-title"
>
<img
<img
src=
"./image/title.png"
src=
"./image/title.png"
alt=
"D+智享车生活"
>
alt=
"D+智享车生活"
>
</span>
</span>
<span
class=
"form-sub"
>
{{
systemSubName
}}
</span>
<span
class=
"form-sub"
>
{{
systemSubName
}}
</span>
</div>
</div>
<div
class=
"input-wrap"
>
<div
class=
"input-wrap"
>
<el-form-item
prop=
"userName"
>
<el-form-item
prop=
"userName"
>
<el-input
<el-input
type=
"text"
type=
"text"
@
keyup
.
native
.
13=
"submit"
@
keyup
.
native
.
13=
"submit"
v-model=
"formLogin.userName"
v-model=
"formLogin.userName"
placeholder=
"用户名"
placeholder=
"用户名"
clearable
clearable
v-focus
v-focus
>
>
<!--
<d2-el-icon
<!--
<d2-el-icon
slot=
"prepend"
slot=
"prepend"
name=
"user"
name=
"user"
...
@@ -71,13 +53,11 @@
...
@@ -71,13 +53,11 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"password"
>
<el-form-item
prop=
"password"
>
<el-input
<el-input
type=
"password"
type=
"password"
v-model=
"formLogin.password"
v-model=
"formLogin.password"
@
keyup
.
native
.
13=
"submit"
@
keyup
.
native
.
13=
"submit"
clearable
clearable
placeholder=
"密码"
placeholder=
"密码"
>
>
<!--
<d2-el-icon
<!--
<d2-el-icon
slot=
"prepend"
slot=
"prepend"
name=
"key"
name=
"key"
...
@@ -85,21 +65,18 @@
...
@@ -85,21 +65,18 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
class=
"form-action"
>
<el-form-item
class=
"form-action"
>
<
el-button
<
p
class=
" text-red-500"
>
test
</p>
@
click=
"submit"
<el-button
@
click=
"submit"
type=
"primary"
type=
"primary"
:loading=
"$store.state.d2admin.loading.value"
:loading=
"$store.state.d2admin.loading.value"
class=
"button-login"
class=
"button-login text-red-500"
:style=
"
{'width': hasReg ? '' : '100%' }"
:style=
"
{'width': hasReg ? '' : '100%' }">
>
登录
登录
</el-button>
</el-button>
<el-button
<el-button
v-if=
"hasReg"
v-if=
"hasReg"
@
click
.
prevent=
"registerDialogVisible = true"
@
click
.
prevent=
"registerDialogVisible = true"
plain
plain
class=
"button-reg"
class=
"button-reg"
>
>
注册
注册
</el-button>
</el-button>
</el-form-item>
</el-form-item>
...
@@ -111,20 +88,16 @@
...
@@ -111,20 +88,16 @@
<div
class=
"img-bg"
/>
<div
class=
"img-bg"
/>
</div>
</div>
</div>
</div>
<div
<div
class=
"page-login--muti-form"
class=
"page-login--muti-form"
v-show=
"isMutiAccount"
>
v-show=
"isMutiAccount"
>
<div
class=
"muti-title"
>
<div
class=
"muti-title"
>
请选择登陆商户号
请选择登陆商户号
</div>
</div>
<div
class=
"muti-form-box"
>
<div
class=
"muti-form-box"
>
<div
<div
class=
"muti-merchant-item"
class=
"muti-merchant-item"
v-for=
"(item, index) in accountInfo.accountList"
v-for=
"(item, index) in accountInfo.accountList"
:key=
"index"
:key=
"index"
@
click
.
stop
.
prevent=
"handleSelectAccount(index)"
@
click
.
stop
.
prevent=
"handleSelectAccount(index)"
>
>
<i
class=
"muti-dot"
/>
<i
class=
"muti-dot"
/>
<div
class=
"muti-merchant-info"
>
<div
class=
"muti-merchant-info"
>
<p
class=
"muti-merchant-name"
>
<p
class=
"muti-merchant-name"
>
...
@@ -558,14 +531,14 @@ export default {
...
@@ -558,14 +531,14 @@ export default {
.img-top
{
.img-top
{
width
:
320px
;
width
:
320px
;
height
:
24px
;
height
:
24px
;
background
:
url(
'./image/bz.png'
)
;
background
:
url(
"./image/bz.png"
)
;
background-size
:
320px
auto
;
background-size
:
320px
auto
;
margin-bottom
:
53px
;
margin-bottom
:
53px
;
transform
:
translateY
(
20px
);
transform
:
translateY
(
20px
);
}
}
.img-bg
{
.img-bg
{
//
box-sizing
:
border-box
;
//
box-sizing
:
border-box
;
background
:
url(
'./image/bg.png'
)
no-repeat
;
background
:
url(
"./image/bg.png"
)
no-repeat
;
background-size
:
320px
auto
;
background-size
:
320px
auto
;
width
:
322px
;
width
:
322px
;
height
:
276px
;
height
:
276px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment