Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
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
zhengke
jz_Travel
Commits
2e5a7791
Commit
2e5a7791
authored
Jan 22, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线路列表
parent
e9e48fbc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
257 additions
and
138 deletions
+257
-138
pages.json
pages.json
+7
-1
headerLine.vue
pages/jiuzhai/components/headerLine.vue
+67
-0
jz_Line.vue
pages/jiuzhai/jz_Line.vue
+183
-137
No files found.
pages.json
View file @
2e5a7791
...
...
@@ -536,7 +536,13 @@
{
"root"
:
"pages/jiuzhai"
,
"pages"
:
[{
"path"
:
"jz_Line"
//九寨-线路
"path"
:
"jz_Line"
,
//九寨-线路
"style"
:
{
"navigationStyle"
:
"custom"
},
"globalStyle"
:
{
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"jz_LineDetail"
,
"enablePullDownRefresh"
:
true
,
...
...
pages/jiuzhai/components/headerLine.vue
0 → 100644
View file @
2e5a7791
<
template
>
<view
class=
"lienHeader"
:style=
"[titleStyle]"
>
<view
class=
"lienHeaderBox"
>
<view
class=
"lienHeader-left"
>
<view
class=
"lienHeader-left-icon"
@
click=
"goBack"
>
<u-icon
name=
"arrow-left"
size=
"38"
:color=
"type==1?'#000':'#000'"
></u-icon>
</view>
</view>
<!--
<view
class=
"lienHeader-title"
:style=
"
{'color':type==1?'#FFF':'#000'}">
<slot>
{{
title
}}
</slot>
</view>
-->
</view>
</view>
</
template
>
<
script
>
export
default
{
props
:[
'title'
,
'type'
],
data
()
{
return
{
titleStyle
:{}
}
},
mounted
()
{
const
that
=
this
uni
.
getSystemInfo
({
success
(
res
)
{
that
.
titleStyle
=
{
paddingTop
:
`
${
res
.
statusBarHeight
}
px`
};
},
});
},
methods
:{
goBack
(){
uni
.
navigateBack
({
delta
:
-
1
})
}
}
}
</
script
>
<
style
>
.lienHeader-title
{
width
:
100%
;
position
:
relative
;
left
:
0
;
right
:
0
;
text-align
:
center
;
font-size
:
32
rpx
;
}
.lienHeader-left
{
position
:
absolute
;
left
:
32
rpx
;
top
:
83
rpx
;
z-index
:
3
;
}
.lienHeaderBox
{
width
:
100%
;
height
:
88
rpx
;
padding
:
0
32
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
position
:
relative
;
}
.lienHeader
{
padding-top
:
48
rpx
;
}
</
style
>
\ No newline at end of file
pages/jiuzhai/jz_Line.vue
View file @
2e5a7791
This diff is collapsed.
Click to expand it.
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