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
67760205
Commit
67760205
authored
Sep 27, 2023
by
wuwangwolihui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
营地2.0-修改
parent
e942d41c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
src/components/Header.vue
src/components/Header.vue
+2
-2
src/views/base/active/Active.vue
src/views/base/active/Active.vue
+4
-5
No files found.
src/components/Header.vue
View file @
67760205
...
...
@@ -91,7 +91,7 @@
},
// 去个人中心
toCenter
()
{
this
.
$router
.
replace
(
"
/myInfo/signUpList
"
);
this
.
$router
.
push
(
"
/myInfo/signUpList
"
);
},
// 立即报名
toSignUp
()
{
...
...
@@ -171,7 +171,7 @@
toRecruit
()
{
// 清除本地缓存除了大学logo
let
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
$router
.
replace
(
"
/
"
+
code
);
this
.
$router
.
push
(
"
/
"
+
code
);
},
},
watch
:
{
...
...
src/views/base/active/Active.vue
View file @
67760205
...
...
@@ -110,7 +110,6 @@
<div
class=
"active-list-item-cont-txt2"
>
{{
formatYMD
(
item
.
activityStartTime
)
}}
(共
{{
item
.
activityTime
}}
天)
</div>
<div
class=
"active-list-item-cont-txt3"
>
报名截止时间:
{{
formatYMDChina
(
item
.
bmEndTime
)
}}
</div>
</div>
<div
class=
"active-list-item-bottom"
@
click=
"$router.push('/active/'+item.id)"
>
<div>
查看详情
</div>
...
...
@@ -197,9 +196,7 @@
let
timer
=
''
return
function
(
func
,
wait
)
{
let
context
=
this
;
if
(
timer
)
{
clearTimeout
(
timer
);
}
timer
&&
clearTimeout
(
timer
);
timer
=
setTimeout
(()
=>
{
func
.
apply
(
context
);
},
wait
)
...
...
@@ -230,7 +227,8 @@
let
windowHeight
=
window
.
innerHeight
;
//获取页面内容总高度
let
scrollHeight
=
document
.
querySelector
(
'
.active-container
'
).
scrollHeight
;
if
(
scrollTop
+
windowHeight
+
100
>=
scrollHeight
)
{
// 滚动到指定位置 并且当前显示的数量小于总数
if
((
scrollTop
+
windowHeight
+
100
>=
scrollHeight
)
&&
(
this
.
pageSize
<
this
.
activeList
.
length
))
{
this
.
pageSize
+=
this
.
baseSize
;
this
.
loadData
()
}
...
...
@@ -480,6 +478,7 @@
.btn-area
{
display
:
inline-block
;
.el-button
{
height
:
36px
;
color
:
#333333
;
...
...
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