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
145c3815
Commit
145c3815
authored
Nov 16, 2021
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
e288dd4a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1691 additions
and
16416 deletions
+1691
-16416
package-lock.json
package-lock.json
+1640
-16369
src/components/breadcrumb.vue
src/components/breadcrumb.vue
+1
-1
src/components/index/SignUp/paying.vue
src/components/index/SignUp/paying.vue
+2
-0
src/components/index/SignUp/referInfo.vue
src/components/index/SignUp/referInfo.vue
+6
-7
src/components/index/SignUp/success.vue
src/components/index/SignUp/success.vue
+2
-3
src/router/index.js
src/router/index.js
+38
-36
src/views/index/recruit/Index.vue
src/views/index/recruit/Index.vue
+2
-0
No files found.
package-lock.json
View file @
145c3815
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/breadcrumb.vue
View file @
145c3815
...
...
@@ -45,7 +45,7 @@ export default {
// console.log(doubt_check, "doubt_check");
const
newArr
=
[
{
name
:
"
确认报名
须知
"
,
name
:
"
确认报名
"
,
status
:
0
,
},
{
...
...
src/components/index/SignUp/paying.vue
View file @
145c3815
...
...
@@ -99,6 +99,7 @@ export default {
},
paying
()
{
console
.
log
(
111
)
getWxConfig
({
pay_type
:
1
,
}).
then
((
res
)
=>
{
...
...
@@ -143,6 +144,7 @@ export default {
this
.
confirmSignUpDialogFu
=
true
;
}
else
if
(
this
.
status
==
5
)
{
this
.
type
=
"
pay
"
;
this
.
confirmSignUpDialogFu
=
true
;
}
else
if
(
this
.
status
==
6
)
{
this
.
type
=
"
success
"
;
}
...
...
src/components/index/SignUp/referInfo.vue
View file @
145c3815
...
...
@@ -266,11 +266,11 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"中学联系
电话
"
prop=
"school_phone"
>
<el-form-item
label=
"中学联系
人电话(手机)
"
prop=
"school_phone"
>
<el-input
ref=
"school_phone"
v-model=
"referForm.school_phone"
placeholder=
"填写中学联系
电话
"
placeholder=
"填写中学联系
人电话(手机)
"
size=
"small"
clearable
/>
...
...
@@ -459,7 +459,7 @@ export default {
school_phone
:
[
{
required
:
true
,
message
:
"
中学联系
电话
不能为空!
"
,
message
:
"
中学联系
人电话(手机)
不能为空!
"
,
trigger
:
"
blur
"
,
},
{
validator
:
validator
.
validatePhone
,
trigger
:
"
blur
"
},
...
...
@@ -542,7 +542,6 @@ export default {
// 上传的图片
dialogImageUrl
:
""
,
dialogVisible
:
false
,
fileList
:
[],
resultPicture
:
""
,
dialogVisible
:
false
,
...
...
@@ -618,14 +617,14 @@ export default {
getTenYear
()
{
let
nowDate
=
new
Date
();
let
currentYear
=
nowDate
.
getFullYear
();
//
console.log(nowDate, currentYear);
console
.
log
(
nowDate
,
currentYear
);
let
yearArr
=
[];
let
rxYearArr
=
[];
for
(
let
i
=
0
;
i
<
2
2
;
i
++
)
{
for
(
let
i
=
0
;
i
<
4
2
;
i
++
)
{
let
year
=
currentYear
-
i
;
yearArr
.
push
(
year
);
}
//
console.log(yearArr, "yearArr");
console
.
log
(
yearArr
,
"
yearArr
"
);
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
let
year
=
currentYear
-
i
;
rxYearArr
.
push
(
year
);
...
...
src/components/index/SignUp/success.vue
View file @
145c3815
...
...
@@ -2,7 +2,7 @@
<div
class=
"sucess"
>
<div
class=
"p_content"
>
<div
class=
"top"
>
<div
class=
"p_title"
>
恭喜你!成功报名
2021历史学科暑假营
</div>
<div
class=
"p_title"
>
恭喜你!成功报名
</div>
<div>
<img
src=
"@/assets/img/signUp/offer.png"
alt=
""
/>
</div>
...
...
@@ -14,8 +14,7 @@
<div
class=
"lips"
>
<div>
提醒事项:
</div>
<div>
1、报名成功后,请及时下载入营通知书,并携带至营地。
</div>
<div>
2、如有退费诉求,请致电项目组工作人员:XXX-XXXXXXXXX。
</div>
<div>
报名成功后,请及时下载入营通知书,以便提前做好入营准备。
</div>
</div>
</div>
</div>
...
...
src/router/index.js
View file @
145c3815
...
...
@@ -30,8 +30,8 @@ const routes = [{
component
:
()
=>
import
(
'
v/index/login/Index.vue
'
),
children
:
[...
indexLogin
]
},
{
},
{
path
:
'
/
'
,
name
:
'
cerificateIndex
'
,
meta
:
{
...
...
@@ -41,26 +41,26 @@ const routes = [{
component
:
()
=>
import
(
'
v/index/camp/Index.vue
'
),
children
:
[...
indexCamp
]
},
{
},
{
path
:
'
/:code
'
,
name
:
'
recruit
'
,
meta
:
{
title
:
'
招生简章
'
title
:
'
'
},
component
:
()
=>
import
(
'
v/index/recruit/Index.vue
'
)
},
{
},
{
path
:
"
/404
"
,
name
:
"
notFound
"
,
component
:
()
=>
import
(
'
v/index/notFound.vue
'
),
},
{
},
{
path
:
"
*
"
,
// 此处需特别注意置于最底部
redirect
:
"
/404
"
}
}
]
...
...
@@ -106,6 +106,7 @@ function checkCam(code, cb) {
}
getCam
(
code
).
then
((
res
)
=>
{
console
.
log
(
res
)
// if (res.data.code != 200) {
// Message({
// message: "请访问正确的营地链接地址",
...
...
@@ -121,6 +122,7 @@ function checkCam(code, cb) {
// return false;
// }
// }
let
root
=
document
.
querySelector
(
"
:root
"
);
root
.
style
.
setProperty
(
"
--color
"
,
res
.
data
.
system_color
);
root
.
style
.
setProperty
(
"
--bk_pic
"
,
res
.
data
.
background_picture
);
//当前营地的背景图
...
...
src/views/index/recruit/Index.vue
View file @
145c3815
...
...
@@ -65,6 +65,8 @@ export default {
let
code
=
this
.
$store
.
state
.
indexIdentity
getCamInfo
(
code
).
then
((
res
)
=>
{
console
.
log
(
res
,
'
33333
'
)
console
.
log
(
res
.
data
.
name
,
'
res.name
'
)
document
.
title
=
res
.
data
.
name
return
false
;
})
},
...
...
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