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
ae30f0dc
Commit
ae30f0dc
authored
Aug 22, 2024
by
彭佳妮(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改顶部栏
parent
402975f0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
20 deletions
+5
-20
index.vue
src/pages/classify/index.vue
+2
-2
index.vue
src/pages/components/Header/index.vue
+1
-7
index.vue
src/pages/mine/index.vue
+2
-11
No files found.
src/pages/classify/index.vue
View file @
ae30f0dc
<
template
>
<Header
backgroundBox=
"#D2E4FF"
>
<Header
backgroundBox=
"#D2E4FF"
:show=
"false"
>
<div
class=
"header"
>
<div
class=
"title"
>
分类
</div>
<div
class=
"search"
>
...
...
@@ -15,7 +15,7 @@
<div
class=
"bg"
>
<div
class=
"content"
>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"handleRefresh"
>
<van-list
v-model:loading=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
:offset=
"contentHeight
"
<van-list
v-model:loading=
"loading"
:finished=
"finished"
finished-text=
"没有更多了"
offset=
"50
"
@
load=
"getList"
v-if=
"dataList.length"
>
<div
class=
"list"
>
<div
class=
"item"
v-for=
"(item, index) in dataList"
:key=
"index"
...
...
src/pages/components/Header/index.vue
View file @
ae30f0dc
<
template
>
<view
class=
"searchComponent"
:style=
"
{ height: contentHeight, background: backgroundBox }">
<view
class=
"search"
:style=
"
{ background }">
<wd-icon
v-if=
"show"
name=
"thin-arrow-left"
class=
"icon"
@
tap=
"back"
:style=
"
{ color: backIcon }"
>
</wd-icon>
<van-icon
name=
"arrow-left"
v-if=
"show"
class=
"icon"
@
click=
"back"
:style=
"
{ color: backIcon }" />
<slot></slot>
<text
class=
"title"
:style=
"
{ color: textColor }" v-if="showTitle">
{{
title
}}
</text>
</view>
...
...
src/pages/mine/index.vue
View file @
ae30f0dc
<
template
>
<
Header
backgroundBox=
"#f8f8f8"
:show=
"false"
></Header
>
<
!--
<Header
backgroundBox=
"#f8f8f8"
:show=
"false"
></Header>
--
>
<div
class=
"container"
v-if=
"userStore.isLogin"
>
<div
class=
"userinfo"
>
<img
class=
"avatar"
mode=
"aspectFill"
...
...
@@ -46,7 +46,7 @@
</div>
</div>
<div
class=
"content"
>
<van-tabs
v-model:active=
"active"
background=
"#f8f8f8"
animated
swipeable
sticky
:offset-top=
"contentHeight"
>
<van-tabs
v-model:active=
"active"
background=
"#f8f8f8"
animated
swipeable
sticky
>
<van-tab
title=
"待发布"
>
<picture-list
ref=
"waitingPublishPicture"
:active=
"0"
@
total=
"setTotal"
@
refresh=
"handleRefreshPublishPicture"
@
publish=
"handlePublishPicture"
></picture-list>
</van-tab>
...
...
@@ -83,15 +83,6 @@ const total = reactive({
2
:
0
})
const
contentHeight
=
ref
(
50
)
onLoad
(()
=>
{
// xma.xh.getMenuButtonBoundingClientRect({
// success(res) {
// contentHeight.value = (res.top + res.bottom) / 2 + 25;
// },
// });
})
onShow
(()
=>
{
toLogin
()
})
...
...
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