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
8c223690
Commit
8c223690
authored
Sep 25, 2023
by
wuwangwolihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
营地2.0-修改
parent
1fa0a6be
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
31 deletions
+74
-31
src/components/base/myInfo/campList.vue
src/components/base/myInfo/campList.vue
+33
-13
src/views/base/active/Active.vue
src/views/base/active/Active.vue
+11
-8
src/views/base/login/Register.vue
src/views/base/login/Register.vue
+3
-4
src/views/index/camp/SignUp.vue
src/views/index/camp/SignUp.vue
+23
-2
src/views/index/login/Register.vue
src/views/index/login/Register.vue
+4
-4
No files found.
src/components/base/myInfo/campList.vue
View file @
8c223690
...
@@ -9,15 +9,18 @@
...
@@ -9,15 +9,18 @@
<el-image
:src=
"item.activityCover"
fit=
"cover"
/>
<el-image
:src=
"item.activityCover"
fit=
"cover"
/>
</div>
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<div>
<div
class=
"item_title"
>
{{
item
.
name
}}
</div>
<div
class=
"item_title"
>
{{
item
.
schoolName
}}
</div>
<div
class=
"sign-box"
v-if=
"item.activityLabel"
>
<div
class=
"item_tag"
>
{{
item
.
activityLabel
}}
</div>
<div
class=
"sign"
v-for=
"(item2, index2) in item.activityLabel.split(',')"
:key=
"index2"
>
{{
item2
}}
</div>
</div>
<div
class=
"item_time"
>
活动时间:
{{
formatYMD
(
item
.
activityStartTime
)
}}
至
<div
class=
"item_time"
>
活动时间:
{{
formatYMD
(
item
.
activityStartTime
)
}}
至
{{
formatYMD
(
item
.
activityEndTime
)
}}
{{
formatYMD
(
item
.
activityEndTime
)
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</el-card>
</el-card>
</div>
</div>
...
@@ -58,7 +61,9 @@
...
@@ -58,7 +61,9 @@
})
})
},
},
toSignUp
(
code
)
{
toSignUp
(
code
)
{
console
.
log
(
code
)
if
(
this
.
type
==
5
){
return
false
;
}
this
.
$store
.
commit
(
'
setIndexIdentity
'
,
code
)
this
.
$store
.
commit
(
'
setIndexIdentity
'
,
code
)
this
.
$router
.
push
(
'
/signUp/undefined?code=
'
+
code
)
this
.
$router
.
push
(
'
/signUp/undefined?code=
'
+
code
)
}
}
...
@@ -120,19 +125,34 @@
...
@@ -120,19 +125,34 @@
.right
{
.right
{
flex
:
1
;
flex
:
1
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
flex-flow
:
column
;
justify-content
:
space-around
;
.item_title
{
.item_title
{
font-size
:
15px
;
font-size
:
15px
;
}
}
.
item_tag
{
.
sign-box
{
font-size
:
10px
;
font-size
:
10px
;
background-color
:
#F2F2F2
;
display
:
inline-block
;
width
:
fit-content
;
margin-right
:
10px
;
padding
:
3px
;
border-radius
:
7px
;
&
:last-child
{
margin
:
20px
0
;
margin-right
:
0
;
}
.sign
{
display
:
inline-block
;
padding
:
0
10px
;
border-radius
:
4px
;
background-color
:
#eeeeee
;
margin
:
5px
10px
5px
0
;
line-height
:
25px
;
&
:last-child
{
margin-right
:
0
;
}
}
}
}
.item_time
{
.item_time
{
...
...
src/views/base/active/Active.vue
View file @
8c223690
...
@@ -69,11 +69,11 @@
...
@@ -69,11 +69,11 @@
:label=
"item.lableId"
:label=
"item.lableId"
border
>
{{
item
.
lableName
}}
border
>
{{
item
.
lableName
}}
</el-checkbox>
</el-checkbox>
</el-checkbox-group>
<div
class=
"btn-area"
>
<div
class=
"btn-area"
>
<el-button
@
click=
"resetHandle"
>
重置
</el-button>
<el-button
@
click=
"resetHandle"
>
重置
</el-button>
<el-button
@
click=
"searchHandle"
>
确定
</el-button>
<el-button
@
click=
"searchHandle"
>
确定
</el-button>
</div>
</div>
</el-checkbox-group>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -394,12 +394,14 @@
...
@@ -394,12 +394,14 @@
.content-item
{
.content-item
{
display
:
flex
;
display
:
flex
;
flex-flow
:
row
;
flex-flow
:
row
;
align-items
:
center
;
/*align-items: center;*/
line-height
:
36px
;
line-height
:
36px
;
margin
:
15px
0
;
margin
:
15px
0
;
.content-item-tit
{
.content-item-tit
{
width
:
140px
;
width
:
140px
;
height
:
36px
;
line-height
:
36px
;
text-align
:
center
;
text-align
:
center
;
font-size
:
16px
;
font-size
:
16px
;
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
...
@@ -407,7 +409,8 @@
...
@@ -407,7 +409,8 @@
}
}
::v-deep
.el-checkbox-group
{
::v-deep
.el-checkbox-group
{
height
:
36px
;
flex
:
1
;
/*height: 36px;*/
line-height
:
36px
;
line-height
:
36px
;
}
}
...
@@ -472,13 +475,13 @@
...
@@ -472,13 +475,13 @@
}
}
.btn-area
{
.btn-area
{
/*margin-left: 130px;*/
display
:
inline-block
;
.el-button
{
.el-button
{
height
:
36px
;
height
:
36px
;
color
:
#333333
;
color
:
#333333
;
border-color
:
#333333
;
border-color
:
#333333
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
margin-left
:
15
px
;
margin-left
:
30
px
;
&
:hover
{
&
:hover
{
color
:
var
(
--
all_color
);
color
:
var
(
--
all_color
);
...
...
src/views/base/login/Register.vue
View file @
8c223690
...
@@ -260,9 +260,9 @@
...
@@ -260,9 +260,9 @@
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"
passwordCode
"
);
console
.
log
(
res
,
"
passwordCode
"
);
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
m
essage
);
return
this
.
$message
.
error
(
res
.
data
.
m
sg
);
}
}
this
.
$message
.
success
(
res
.
data
.
m
essage
);
this
.
$message
.
success
(
res
.
data
.
m
sg
);
this
.
codeTime
=
res
.
data
.
data
.
now
*
1000
;
this
.
codeTime
=
res
.
data
.
data
.
now
*
1000
;
// console.log(this.codeTime)
// console.log(this.codeTime)
window
.
localStorage
.
setItem
(
"
register_code_time
"
,
window
.
localStorage
.
setItem
(
"
register_code_time
"
,
...
@@ -285,9 +285,8 @@
...
@@ -285,9 +285,8 @@
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
m
essage
);
return
this
.
$message
.
error
(
res
.
data
.
m
sg
);
}
}
// this.$message.success(res.data.message);
// token存储
// token存储
this
.
$store
.
commit
(
'
login
'
,
res
.
data
.
token
);
this
.
$store
.
commit
(
'
login
'
,
res
.
data
.
token
);
window
.
localStorage
.
setItem
(
"
index-phone-all
"
,
this
.
registerForm
.
phone
);
window
.
localStorage
.
setItem
(
"
index-phone-all
"
,
this
.
registerForm
.
phone
);
...
...
src/views/index/camp/SignUp.vue
View file @
8c223690
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<div
class=
"signUp"
>
<div
class=
"signUp"
>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
""
>
<div
class=
""
>
<i
class=
"el-icon-arrow-left back-arrow"
@
click=
"backArrow()"
/>
<div
<div
class=
"lastBtn"
class=
"lastBtn"
v-show=
"
v-show=
"
...
@@ -21,7 +22,6 @@
...
@@ -21,7 +22,6 @@
<div
v-else
class=
"signUp_titile"
>
营地报名
</div>
<div
v-else
class=
"signUp_titile"
>
营地报名
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<Breadcrumb
:statusNum=
"status"
></Breadcrumb>
<Breadcrumb
:statusNum=
"status"
></Breadcrumb>
</div>
</div>
...
@@ -229,6 +229,12 @@
...
@@ -229,6 +229,12 @@
},
},
},
},
methods
:
{
methods
:
{
// 箭头返回按钮
backArrow
(){
let
root
=
document
.
querySelector
(
"
:root
"
);
root
.
style
.
setProperty
(
"
--color
"
,
"
#4FACFE
"
);
this
.
$router
.
push
(
'
/myInfo/signUpList
'
);
},
// 营地通知 详情内容
// 营地通知 详情内容
// toMsgDetail() {
// toMsgDetail() {
// this.dialogVisibleList = false;
// this.dialogVisibleList = false;
...
@@ -424,7 +430,22 @@
...
@@ -424,7 +430,22 @@
}
}
.content
{
.content
{
padding
:
50px
55px
;
position
:
relative
;
padding
:
70px
55px
50px
;
.back-arrow.el-icon-arrow-left
{
position
:
absolute
;
left
:
10px
;
top
:
10px
;
color
:
#12141c
;
font-weight
:
bold
;
font-size
:
40px
;
&
:hover
{
color
:
var
(
--
color
);
cursor
:
pointer
;
}
}
}
}
}
}
...
...
src/views/index/login/Register.vue
View file @
8c223690
...
@@ -270,9 +270,9 @@
...
@@ -270,9 +270,9 @@
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"
passwordCode
"
);
console
.
log
(
res
,
"
passwordCode
"
);
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
m
essage
);
return
this
.
$message
.
error
(
res
.
data
.
m
sg
);
}
}
this
.
$message
.
success
(
res
.
data
.
m
essage
);
this
.
$message
.
success
(
res
.
data
.
m
sg
);
this
.
codeTime
=
res
.
data
.
data
.
now
*
1000
;
this
.
codeTime
=
res
.
data
.
data
.
now
*
1000
;
// console.log(this.codeTime)
// console.log(this.codeTime)
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
...
@@ -296,9 +296,9 @@
...
@@ -296,9 +296,9 @@
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
m
essage
);
return
this
.
$message
.
error
(
res
.
data
.
m
sg
);
}
}
// this.$message.success(res.data.m
essage
);
// this.$message.success(res.data.m
sg
);
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
// token存储
// token存储
this
.
$store
.
commit
(
'
login
'
,
res
.
data
.
token
);
this
.
$store
.
commit
(
'
login
'
,
res
.
data
.
token
);
...
...
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