Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
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
hooloo
mp
user
Commits
253bc869
Commit
253bc869
authored
Jul 18, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成优惠卷部分页面开发
parent
5486fd1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
125 additions
and
7 deletions
+125
-7
components/Ticket/index.vue
+55
-0
mineSubPackage/pages/coupon/index.vue
+70
-7
No files found.
components/Ticket/index.vue
0 → 100644
View file @
253bc869
<
template
>
<view
class=
"all"
>
<view
class=
"partOne"
>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
(){
return
{
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.all
{
.partOne
{
width
:
100%
;
height
:
241
rpx
;
background
:
#FFFFFF
;
box-shadow
:
0
rpx
4
rpx
8
rpx
0
rpx
rgba
(
102
,
102
,
102
,
0.1000
);
position
:
relative
;
}
.partOne
::after
{
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
top
:
-25
rpx
;
left
:
160
rpx
;
width
:
50
rpx
;
height
:
50
rpx
;
border-radius
:
50%
;
background
:
#F8F8F8
;
}
.partOne
::before
{
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
bottom
:
-25
rpx
;
left
:
160
rpx
;
width
:
50
rpx
;
height
:
50
rpx
;
border-radius
:
50%
;
box-shadow
:
0
rpx
4
rpx
8
rpx
0
rpx
rgba
(
102
,
102
,
102
,
0.1000
);
background
:
#F8F8F8
;
}
}
</
style
>
\ No newline at end of file
mineSubPackage/pages/coupon/index.vue
View file @
253bc869
<
template
>
<
template
>
<view>
我的页面优惠卷页面
</view>
<view
class=
"bigBox"
>
<u-tabs
:list=
"list1"
:scrollable=
"false"
lineColor=
"#0050F6"
lineWidth=
"32"
lineHeight=
"2"
:activeStyle=
"
{
fontSize: '24rpx',
fontFamily: 'PingFangSC-Medium, PingFang SC',
color: '#333333',
fontWeight: '500',
paddingBottom: '12rpx',
}"
:inactiveStyle="{
fontSize: '24rpx',
fontFamily: 'PingFangSC-Medium, PingFang SC',
color: '#666666',
fontWeight: '400',
paddingBottom: '12rpx',
}"
itemStyle="height: 64rpx"
@click="changeTab"
>
</u-tabs>
<view>
<swiper
:current=
"current"
class=
"swiper"
>
<swiper-item>
<view
class=
"nouser"
>
<Ticket
/>
</view>
</swiper-item>
<swiper-item>
2
</swiper-item>
</swiper>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
Ticket
from
'@/components/Ticket/index.vue'
export
default
{
export
default
{
components
:
{
Ticket
},
}
data
()
{
return
{
list1
:
[
{
name
:
"HOOLOO卷"
,
},
{
name
:
"已使用/已失效"
,
},
],
current
:
0
,
};
},
methods
:
{
changeTab
(
current
)
{
this
.
current
=
current
.
index
;
},
},
};
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
scoped
>
.bigBox
{
</
style
>
.swiper
{
\ No newline at end of file
background
:
#F8F8F8
;
height
:
calc
(
100vh
-
64
rpx
);
.nouser{
border
:
1px
solid
red
;
height
:
100%
;
padding
:
32
rpx
;
overflow-y
:
scroll
;
}
}
}
</
style
>
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