Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaxiu-miniapp
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蔡亮华(贵阳日报)
jiaxiu-miniapp
Commits
b7ce7bc9
Commit
b7ce7bc9
authored
Aug 22, 2024
by
彭佳妮(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dc395bb4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
index.vue
src/pages/home/index.vue
+10
-12
No files found.
src/pages/home/index.vue
View file @
b7ce7bc9
<
template
>
<
template
>
<van-sticky>
<div
class=
"header"
>
<Header
backgroundBox=
"white"
:show=
"false"
>
<Header
backgroundBox=
"white"
:show=
"false"
>
<div
class=
"tools"
>
<div
class=
"tools"
>
<van-search
v-model=
"catalog.materialTitle"
shape=
"round"
placeholder=
"请输入搜索关键词"
@
search=
"handleRefresh"
<van-search
v-model=
"catalog.materialTitle"
shape=
"round"
placeholder=
"请输入搜索关键词"
@
search=
"handleRefresh"
...
@@ -11,6 +9,8 @@
...
@@ -11,6 +9,8 @@
</div>
</div>
</div>
</div>
</Header>
</Header>
<van-sticky
:offset-top=
"50"
>
<div
class=
"header"
>
<!--
<div
class=
"tools"
>
<!--
<div
class=
"tools"
>
<van-search
v-model=
"catalog.materialTitle"
shape=
"round"
placeholder=
"请输入搜索关键词"
@
search=
"handleRefresh"
<van-search
v-model=
"catalog.materialTitle"
shape=
"round"
placeholder=
"请输入搜索关键词"
@
search=
"handleRefresh"
@
clear=
"handleRefresh"
/>
@
clear=
"handleRefresh"
/>
...
@@ -141,7 +141,7 @@ const getList = () => {
...
@@ -141,7 +141,7 @@ const getList = () => {
getList
()
getList
()
const
handleRefresh
=
()
=>
{
const
handleRefresh
=
()
=>
{
window
.
scroll
(
0
,
0
)
window
.
scroll
(
0
,
0
)
refreshing
.
value
=
true
refreshing
.
value
=
true
page
.
pageNum
=
0
page
.
pageNum
=
0
getList
()
getList
()
...
@@ -199,12 +199,7 @@ const confirmTagsPopup = (e) => {
...
@@ -199,12 +199,7 @@ const confirmTagsPopup = (e) => {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.header
{
.tools
{
padding
:
10px
;
background-color
:
#ffffff
;
box-shadow
:
0px
3px
5px
rgba
(
0
,
0
,
0
,
0
.1
);
.tools
{
display
:
flex
;
display
:
flex
;
gap
:
10px
;
gap
:
10px
;
...
@@ -233,15 +228,18 @@ const confirmTagsPopup = (e) => {
...
@@ -233,15 +228,18 @@ const confirmTagsPopup = (e) => {
color
:
#0E7CE3
;
color
:
#0E7CE3
;
}
}
}
}
}
}
.header
{
padding
:
0
10px
;
background-color
:
#ffffff
;
box-shadow
:
0px
3px
5px
rgba
(
0
,
0
,
0
,
0
.1
);
.menu
{
.menu
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
padding-top
:
10px
;
padding-top
:
10px
;
:deep
(
.van-tabs__nav
)
{
:deep
(
.van-tabs__nav
)
{
gap
:
30px
;
gap
:
30px
;
padding-bottom
:
0
;
padding-bottom
:
0
;
...
...
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