Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-portal
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
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1b841f4a
authored
Mar 31, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加隐私协议
1 parent
584e0cbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
src/utils/globalUI/element.js
src/views/Login.vue
src/utils/globalUI/element.js
View file @
1b841f4
...
...
@@ -25,6 +25,7 @@ import {
ElEmpty
,
ElPopover
,
ElDialog
,
ElCheckbox
}
from
"element-plus"
;
const
plugins
=
[
...
...
@@ -58,6 +59,7 @@ const elementUI = {
Vue
.
component
(
ElEmpty
.
name
,
ElEmpty
);
Vue
.
component
(
ElPopover
.
name
,
ElPopover
);
Vue
.
component
(
ElDialog
.
name
,
ElDialog
);
Vue
.
component
(
ElCheckbox
.
name
,
ElCheckbox
)
plugins
.
forEach
(
plugin
=>
{
Vue
.
use
(
plugin
)
...
...
src/views/Login.vue
View file @
1b841f4
...
...
@@ -23,11 +23,15 @@
<el-input
class=
"login-input"
placeholder=
"请输入密码"
v-model=
"formInline.password"
maxLength=
"20"
show-password
autocomplete=
"off"
>
</el-input>
</el-form-item>
<el-form-item
class=
"login-button-wrapper"
@
keyup
.
enter=
"handleSubmit"
@
click
.
native
.
prevent=
"handleSubmit"
>
<el-button
class=
"login-button"
type=
"primary"
html-type=
"submit"
>
<el-form-item
class=
"login-button-wrapper"
>
<el-checkbox
class=
"check_tips"
v-model=
"checked"
>
请阅读并同意
<a
href=
"https://img02.glsx.com.cn/weapp/resource/saas/scrm/html/privacy.html"
target=
"_blank"
>
《隐私协议》
</a>
和
<a
href=
"https://img02.glsx.com.cn/weapp/resource/saas/scrm/html/agreement.html"
target=
"_blank"
>
《用户协议》
</a></el-checkbox>
<el-button
class=
"login-button"
type=
"primary"
html-type=
"submit"
:disabled=
"!checked"
@
keyup
.
enter=
"handleSubmit"
@
click
.
native
.
prevent=
"handleSubmit"
>
登录
</el-button>
</el-form-item>
<el-form-item>
</el-form-item>
</el-form>
</div>
</div>
...
...
@@ -80,6 +84,7 @@ export default {
},
title
:
store
.
state
.
app
.
title
,
logo
:
store
.
state
.
app
.
logo
,
checked
:
false
});
let
logoPath
=
store
.
state
.
app
.
logo
;
...
...
@@ -337,6 +342,13 @@ export default {
background
:
#fff
;
}
}
.check_tips
{
color
:
#fff
;
a{
color
:
#0077ff
;
}
}
</
style
>
<
style
scoped
>
.login_box
>>>
.el-input__inner
{
...
...
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