Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
35afbd47
Commit
35afbd47
authored
Oct 25, 2021
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
f48358b7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
24 deletions
+30
-24
src/components/index/SignUp/referInfo.vue
src/components/index/SignUp/referInfo.vue
+4
-1
src/views/index/camp/SignUp.vue
src/views/index/camp/SignUp.vue
+4
-7
src/views/index/login/Register.vue
src/views/index/login/Register.vue
+16
-10
src/views/index/login/Reset.vue
src/views/index/login/Reset.vue
+6
-6
No files found.
src/components/index/SignUp/referInfo.vue
View file @
35afbd47
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
</el-upload>
</el-upload>
</div>
</div>
<el-dialog
:visible.sync=
"dialogVisible"
>
<el-dialog
:visible.sync=
"dialogVisible"
>
<img
width=
"100%"
:src=
"resultPicture"
alt=
""
/>
<img
width=
"100%"
:src=
"resultPicture"
alt=
""
/>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -934,6 +934,9 @@ export default {
...
@@ -934,6 +934,9 @@ export default {
//去除upload组件过渡效果 css
//去除upload组件过渡效果 css
.el-upload-list__item
{
.el-upload-list__item
{
transition
:
none
!
important
;
transition
:
none
!
important
;
div
{
height
:
100%
;
}
}
}
.el-upload--picture-card
{
.el-upload--picture-card
{
display
:
inline-block
;
display
:
inline-block
;
...
...
src/views/index/camp/SignUp.vue
View file @
35afbd47
...
@@ -77,7 +77,6 @@ export default {
...
@@ -77,7 +77,6 @@ export default {
statuss
(
val
)
{
statuss
(
val
)
{
console
.
log
(
val
,
"
val
"
);
console
.
log
(
val
,
"
val
"
);
// this.statuss = val;
// this.statuss = val;
// this.signUpInit();
// this.signUpInit();
},
},
signUpInit
()
{
signUpInit
()
{
...
@@ -88,7 +87,6 @@ export default {
...
@@ -88,7 +87,6 @@ export default {
return
this
.
$message
.
error
(
res
.
data
.
message
);
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
this
.
status
=
res
.
data
.
status
;
this
.
status
=
res
.
data
.
status
;
// doubt_code,doubt_info,doubt_check。0为不填写,1为填写
// doubt_code,doubt_info,doubt_check。0为不填写,1为填写
if
(
this
.
status
==
0
)
{
if
(
this
.
status
==
0
)
{
this
.
type
=
"
examInfo
"
;
this
.
type
=
"
examInfo
"
;
...
@@ -99,16 +97,16 @@ export default {
...
@@ -99,16 +97,16 @@ export default {
this
.
status
=
2
;
this
.
status
=
2
;
}
else
{
}
else
{
this
.
type
=
"
invitation
"
;
this
.
type
=
"
invitation
"
;
// this.status =
2
;
// this.status =
1
;
}
}
}
else
if
(
this
.
status
==
2
)
{
}
else
if
(
this
.
status
==
2
)
{
// 是否填写个人资料
// 是否填写个人资料
if
(
this
.
doubt_info
==
0
)
{
if
(
this
.
doubt_info
==
0
)
{
this
.
type
=
"
check
"
;
this
.
type
=
"
check
"
;
this
.
status
=
3
;
this
.
status
=
3
;
}
else
{
}
else
{
this
.
type
=
"
referInfo
"
;
this
.
type
=
"
referInfo
"
;
// this.status = 2
;
}
}
}
else
if
(
this
.
status
==
3
)
{
}
else
if
(
this
.
status
==
3
)
{
// 是否审核个人资料
// 是否审核个人资料
...
@@ -142,7 +140,6 @@ export default {
...
@@ -142,7 +140,6 @@ export default {
//订单支付金额
//订单支付金额
window
.
localStorage
.
setItem
(
"
has_amount
"
,
res
.
data
.
has_amount
);
window
.
localStorage
.
setItem
(
"
has_amount
"
,
res
.
data
.
has_amount
);
window
.
localStorage
.
setItem
(
"
campsite_id
"
,
res
.
data
.
campsite_id
);
window
.
localStorage
.
setItem
(
"
campsite_id
"
,
res
.
data
.
campsite_id
);
window
.
localStorage
.
setItem
(
"
order_no
"
,
res
.
data
.
order_no
);
window
.
localStorage
.
setItem
(
"
order_no
"
,
res
.
data
.
order_no
);
});
});
...
...
src/views/index/login/Register.vue
View file @
35afbd47
...
@@ -178,11 +178,11 @@ export default {
...
@@ -178,11 +178,11 @@ export default {
};
};
},
},
created
()
{
created
()
{
const
endTime
=
window
.
localStorage
.
getItem
(
'
register_code_time
'
);
const
endTime
=
window
.
localStorage
.
getItem
(
"
register_code_time
"
);
const
phone
=
window
.
localStorage
.
getItem
(
'
register_code_phone
'
);
const
phone
=
window
.
localStorage
.
getItem
(
"
register_code_phone
"
);
if
(
endTime
&&
Number
(
endTime
)
>
new
Date
().
getTime
())
{
if
(
endTime
&&
Number
(
endTime
)
>
new
Date
().
getTime
())
{
this
.
registerForm
.
phone
=
phone
;
this
.
registerForm
.
phone
=
phone
;
this
.
intervalHandle
(
new
Date
(),
Number
(
endTime
));
this
.
intervalHandle
(
new
Date
(),
Number
(
endTime
));
}
}
},
},
methods
:
{
methods
:
{
...
@@ -195,10 +195,10 @@ export default {
...
@@ -195,10 +195,10 @@ export default {
this
.
isShowPwd
=
!
this
.
isShowPwd
;
this
.
isShowPwd
=
!
this
.
isShowPwd
;
},
},
// 定时器倒计时
// 定时器倒计时
intervalHandle
(
startTime
,
endTime
){
intervalHandle
(
startTime
,
endTime
)
{
// 时间差
// 时间差
const
timeLag
=
intervalTime
(
startTime
,
endTime
);
const
timeLag
=
intervalTime
(
startTime
,
endTime
);
console
.
log
(
timeLag
)
console
.
log
(
timeLag
)
;
if
(
!
this
.
timer
)
{
if
(
!
this
.
timer
)
{
this
.
count
=
timeLag
;
this
.
count
=
timeLag
;
this
.
show
=
false
;
this
.
show
=
false
;
...
@@ -227,9 +227,15 @@ export default {
...
@@ -227,9 +227,15 @@ export default {
return
this
.
$message
.
error
(
res
.
data
.
message
);
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
$message
.
success
(
res
.
data
.
message
);
window
.
localStorage
.
setItem
(
'
register_code_time
'
,
res
.
data
.
data
.
now
*
1000
);
window
.
localStorage
.
setItem
(
window
.
localStorage
.
setItem
(
'
register_code_phone
'
,
this
.
registerForm
.
phone
);
"
register_code_time
"
,
this
.
intervalHandle
(
new
Date
(),
res
.
data
.
data
.
now
*
1000
);
res
.
data
.
data
.
now
*
1000
);
window
.
localStorage
.
setItem
(
"
register_code_phone
"
,
this
.
registerForm
.
phone
);
this
.
intervalHandle
(
new
Date
(),
res
.
data
.
data
.
now
*
1000
);
});
});
},
},
...
@@ -260,7 +266,7 @@ export default {
...
@@ -260,7 +266,7 @@ export default {
res
.
data
.
cam
.
system_color
res
.
data
.
cam
.
system_color
);
);
// 跳转到报名
// 跳转到报名
this
.
$router
.
push
({
path
:
"
/signUp/examInfo
"
});
this
.
$router
.
push
({
path
:
"
/signUp/examInfo
"
});
});
});
});
});
...
...
src/views/index/login/Reset.vue
View file @
35afbd47
...
@@ -179,10 +179,10 @@ export default {
...
@@ -179,10 +179,10 @@ export default {
};
};
},
},
created
()
{
created
()
{
const
endTime
=
window
.
localStorage
.
getItem
(
"
re
gister
_code_time
"
);
const
endTime
=
window
.
localStorage
.
getItem
(
"
re
stet
_code_time
"
);
const
phone
=
window
.
localStorage
.
getItem
(
"
re
gister
_code_phone
"
);
const
phone
=
window
.
localStorage
.
getItem
(
"
re
stet
_code_phone
"
);
if
(
endTime
&&
Number
(
endTime
)
>
new
Date
().
getTime
())
{
if
(
endTime
&&
Number
(
endTime
)
>
new
Date
().
getTime
())
{
this
.
re
gister
Form
.
phone
=
phone
;
this
.
re
set
Form
.
phone
=
phone
;
this
.
intervalHandle
(
new
Date
(),
Number
(
endTime
));
this
.
intervalHandle
(
new
Date
(),
Number
(
endTime
));
}
}
},
},
...
@@ -231,12 +231,12 @@ export default {
...
@@ -231,12 +231,12 @@ export default {
// this.codeTime = parseTime(res.data.data.now);
// this.codeTime = parseTime(res.data.data.now);
this
.
codeTime
=
res
.
data
.
data
.
now
*
1000
;
this
.
codeTime
=
res
.
data
.
data
.
now
*
1000
;
window
.
localStorage
.
setItem
(
window
.
localStorage
.
setItem
(
"
re
gister
_code_time
"
,
"
re
stet
_code_time
"
,
res
.
data
.
data
.
now
*
1000
res
.
data
.
data
.
now
*
1000
);
);
window
.
localStorage
.
setItem
(
window
.
localStorage
.
setItem
(
"
re
gister
_code_phone
"
,
"
re
stet
_code_phone
"
,
this
.
re
gister
Form
.
phone
this
.
re
set
Form
.
phone
);
);
this
.
intervalHandle
(
new
Date
(),
res
.
data
.
data
.
now
*
1000
);
this
.
intervalHandle
(
new
Date
(),
res
.
data
.
data
.
now
*
1000
);
});
});
...
...
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