Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
bca9fbda
Commit
bca9fbda
authored
May 12, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整-用户个人信息保护承诺弹窗
parent
6797536c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
14 deletions
+22
-14
src/views/user/Login.vue
+18
-6
src/views/user/protocol/Leak-proof-model.vue
+2
-3
src/views/user/protocol/commitment.vue
+2
-5
No files found.
src/views/user/Login.vue
View file @
bca9fbda
...
@@ -76,7 +76,8 @@
...
@@ -76,7 +76,8 @@
</a-input>
</a-input>
</a-form-item>
</a-form-item>
<div
style=
"top:10px;float: left;font-size: 12px;color: #8b8b8b"
>
<div
style=
"top:10px;float: left;font-size: 12px;color: #8b8b8b"
>
<a-checkbox
v-model=
"single"
></a-checkbox>
我已阅读
<a
@
click=
"commitmentSubmit"
>
《用户个人信息保护承诺书》
</a>
<a-checkbox
v-model=
"single"
disabled
></a-checkbox>
我已阅读
<a
@
click=
"commitmentSubmit"
>
《用户个人信息保护承诺书》
</a>
</div><br/>
</div><br/>
<div
class=
"register"
><router-link
:to=
"
{path: '/user/register'}">找回密码
</router-link></div>
<div
class=
"register"
><router-link
:to=
"
{path: '/user/register'}">找回密码
</router-link></div>
<a-form-item
style=
"margin-top:24vw/@vw"
>
<a-form-item
style=
"margin-top:24vw/@vw"
>
...
@@ -99,7 +100,7 @@
...
@@ -99,7 +100,7 @@
</two-step-captcha>
</two-step-captcha>
<LeakProofModel
:v-model=
"LeakProofModel"
></LeakProofModel>
<LeakProofModel
:v-model=
"LeakProofModel"
></LeakProofModel>
<commitment
ref=
"commitment"
:countNum=
"countNum"
@
appendData=
"appendData"
v-show=
"commitment"
></commitment>
<commitment
ref=
"commitment"
:countNum=
"countNum"
@
appendData=
"appendData"
v-show=
"commitment"
></commitment>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -128,7 +129,7 @@ export default {
...
@@ -128,7 +129,7 @@ export default {
flag
:
false
,
flag
:
false
,
LeakProofModel
:
true
,
LeakProofModel
:
true
,
commitment
:
false
,
commitment
:
false
,
countNum
:
1
5
,
countNum
:
1
0
,
single
:
false
,
single
:
false
,
buttondata
:
"登录"
,
buttondata
:
"登录"
,
customActiveKey
:
"tab1"
,
customActiveKey
:
"tab1"
,
...
@@ -218,13 +219,16 @@ export default {
...
@@ -218,13 +219,16 @@ export default {
},
},
appendData
(
data
)
{
appendData
(
data
)
{
this
.
single
=
data
;
this
.
single
=
data
.
single
;
this
.
commitment
=
data
.
commitment
;
},
},
commitmentSubmit
(){
commitmentSubmit
(){
if
(
!
this
.
flag
){
this
.
countNum
=
0
;
}
this
.
commitment
=
true
;
this
.
commitment
=
true
;
this
.
flag
=
true
;
this
.
flag
=
true
;
this
.
$refs
.
commitment
.
setTimer
();
this
.
$refs
.
commitment
.
setTimer
();
return
;
},
},
handleSubmit
()
{
handleSubmit
()
{
if
(
!
this
.
flag
){
if
(
!
this
.
flag
){
...
@@ -358,6 +362,7 @@ export default {
...
@@ -358,6 +362,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
@import
'~@/assets/less/style'
;
@import
'~@/assets/less/style'
;
.main
{
.main
{
.code-button{
.code-button{
...
@@ -380,6 +385,8 @@ export default {
...
@@ -380,6 +385,8 @@ export default {
}
}
.register
{
.register
{
margin-bottom
:
10vw
/
@
vw
;
margin-bottom
:
10vw
/
@
vw
;
font-size
:
12px
;
width
:
50px
;
}
}
.form
{
.form
{
width
:
calc
(
100%
-
666vw
/
@
vw
);
width
:
calc
(
100%
-
666vw
/
@
vw
);
...
@@ -516,4 +523,8 @@ export default {
...
@@ -516,4 +523,8 @@ export default {
.valid-error
.ant-select-selection__placeholder
{
.valid-error
.ant-select-selection__placeholder
{
color
:
#f5222d
;
color
:
#f5222d
;
}
}
</
style
>
.ant-modal-wrap
{
top
:
10%
}
</
style
>
\ No newline at end of file
src/views/user/protocol/Leak-proof-model.vue
View file @
bca9fbda
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"Leak-proof-model"
,
data
()
{
data
()
{
return
{
return
{
modal
:
true
,
modal
:
true
,
...
@@ -28,6 +27,5 @@ export default {
...
@@ -28,6 +27,5 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
>
</
style
>
</
style
>
\ No newline at end of file
src/views/user/protocol/commitment.vue
View file @
bca9fbda
<
template
>
<
template
>
<a-modal
<a-modal
title=
"用户个人信息保护承诺书"
title=
"用户个人信息保护承诺书"
v-model=
"modal"
v-model=
"modal"
...
@@ -17,7 +18,6 @@
...
@@ -17,7 +18,6 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"Leak-proof-model"
,
data
()
{
data
()
{
return
{
return
{
modal
:
true
,
modal
:
true
,
...
@@ -36,8 +36,7 @@ export default {
...
@@ -36,8 +36,7 @@ export default {
},
},
methods
:
{
methods
:
{
ok
()
{
ok
()
{
this
.
$emit
(
"appendData"
,
this
.
single
);
this
.
$emit
(
"appendData"
,
{
single
:
this
.
single
,
modal
:
false
});
this
.
modal
=
false
},
},
setTimer
(){
setTimer
(){
this
.
countDown
=
this
.
countNum
;
this
.
countDown
=
this
.
countNum
;
...
@@ -57,5 +56,4 @@ export default {
...
@@ -57,5 +56,4 @@ export default {
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
</
style
>
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment