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
903f6510
Commit
903f6510
authored
Jun 03, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e3485307
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
6 deletions
+28
-6
policyDetail.vue
pages/ticketCoupons/policyDetail.vue
+28
-6
No files found.
pages/ticketCoupons/policyDetail.vue
View file @
903f6510
<
template
>
<!-- 政策详情 -->
<view
class=
"policyDetail"
>
<view
class=
"tab-box"
>
<u-tabs
:list=
"typeList"
:current=
"active"
name=
"Name"
:is-scroll=
"false"
@
change=
"changeHandler"
:active-color=
"mainColor"
bg-color=
"#FFF"
:bar-style=
"barStyle"
height=
"100"
></u-tabs>
</view>
<view
class=
"officialNotice"
>
<view
class=
"title"
>
<view
class=
"title"
id=
"notice"
>
官方公告信息
</view>
<view
class=
"desc"
>
...
...
@@ -49,13 +52,13 @@
</view>
</view>
<view
class=
"title"
>
<view
class=
"title"
id=
"buyTicket"
>
购票须知
</view>
<view
class=
"desc"
>
<rich-text
:nodes=
"details.BookingInfo"
></rich-text>
</view>
<view
class=
"title"
>
<view
class=
"title"
id=
"tip"
>
温馨提示
</view>
<view
class=
"desc"
>
...
...
@@ -94,13 +97,25 @@
},
onLoad
(
options
)
{
console
.
log
(
options
)
this
.
ID
=
options
.
id
this
.
getDetail
()
},
methods
:
{
changeHandler
(
i
)
{
this
.
active
=
i
;
let
toID
=
""
if
(
i
===
0
){
toID
=
"#notice"
}
else
if
(
i
==
1
){
toID
=
"#buyTicket"
}
else
if
(
i
==
2
){
toID
=
"#tip"
}
uni
.
pageScrollTo
({
// scrollTop: 0,
selector
:
toID
,
duration
:
300
});
},
//获取详情
getDetail
()
{
...
...
@@ -124,7 +139,14 @@
</
script
>
<
style
lang=
"scss"
scoped
>
.tab-box
{
width
:
750rpx
;
position
:
fixed
;
top
:
0
;
left
:
0
;
}
.policyDetail
{
margin-top
:
100rpx
;
.officialNotice
{
padding
:
0
45rpx
90rpx
;
...
...
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