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
cf863f5d
Commit
cf863f5d
authored
May 26, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c6019f9e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
984 additions
and
180 deletions
+984
-180
pages.json
pages.json
+10
-3
cascade.vue
pages/ticketCoupons/components/cascade.vue
+70
-0
detail.vue
pages/ticketCoupons/detail.vue
+760
-0
list.vue
pages/ticketCoupons/list.vue
+144
-177
No files found.
pages.json
View file @
cf863f5d
...
...
@@ -721,7 +721,14 @@
"path"
:
"list"
},{
"path"
:
"components/time/index"
}]
},{
"path"
:
"detail"
,
"enablePullDownRefresh"
:
true
,
"style"
:
{
"navigationStyle"
:
"custom"
}
}
]
}
],
"globalStyle"
:
{
...
...
pages/ticketCoupons/components/cascade.vue
0 → 100644
View file @
cf863f5d
<
template
>
<view
class=
"cascde"
>
<view
v-for=
"(item,index) in dataList"
>
<view
class=
"cascde-item"
>
<text>
{{
item
.
Name
}}
</text>
<u-icon
name=
"arrow-down"
color=
"#000"
size=
"28rpx"
v-if=
"item.ChildrenList"
></u-icon>
</view>
<view
v-for=
"(_item1) in item.ChildrenList"
v-if=
"item.ChildrenList"
>
<view
class=
"cascde-item"
>
<text>
{{
_item1
.
Name
}}
</text>
<u-icon
name=
"arrow-down"
color=
"#000"
size=
"28rpx"
v-if=
"_item1.ChildrenList"
></u-icon>
</view>
<view
v-for=
"(_item2) in _item1.ChildrenList"
v-if=
"_item1.ChildrenList"
>
<view
class=
"cascde-item"
>
<text>
{{
_item2
.
Name
}}
</text>
<u-icon
name=
"arrow-down"
color=
"#000"
size=
"28rpx"
v-if=
"_item2.ChildrenList"
></u-icon>
</view>
<view
v-for=
"(_item3) in _item2.ChildrenList"
v-if=
"_item2.ChildrenList"
>
<view
class=
"cascde-item"
>
<text>
{{
_item3
.
Name
}}
</text>
<u-icon
name=
"arrow-down"
color=
"#000"
size=
"28rpx"
v-if=
"_item3.ChildrenList"
></u-icon>
</view>
</view>
</view>
</view>
</view>
<!--
<u-collapse
>
<u-collapse-item
:title=
"item.Name"
v-for=
"(item) in dataList"
>
<u-collapse
v-if=
"item.ChildrenList"
>
<u-collapse-item
:title=
"_item.Name"
v-for=
"(_item) in item.ChildrenList"
>
</u-collapse-item>
</u-collapse>
</u-collapse-item>
</u-collapse>
-->
</view>
</
template
>
<
script
>
export
default
{
props
:{
dataList
:{
type
:
Array
,
default
:[]
}
},
data
(){
return
{
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.cascde
{
width
:
750rpx
;
box-sizing
:
border-box
;
background-color
:
#FFFFFF
;
border-top
:
1rpx
solid
#DDDDDD
;
.cascde-item
{
font-size
:
28rpx
;
padding
:
20rpx
32rpx
;
border-bottom
:
1rpx
solid
#DDDDDD
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
}
</
style
>
pages/ticketCoupons/detail.vue
0 → 100644
View file @
cf863f5d
This diff is collapsed.
Click to expand it.
pages/ticketCoupons/list.vue
View file @
cf863f5d
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