Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
d10336db
Commit
d10336db
authored
Jul 13, 2019
by
Junling Bu
Browse files
fix[litemall-vue]: fix bug
parent
f6bb713b
Changes
2
Hide whitespace changes
Inline
Side-by-side
litemall-vue/src/views/user/coupon-list/index.vue
View file @
d10336db
<
template
>
<div
class=
"coupon_list"
>
<van-tabs
v-model=
"activeIndex"
:swipe-threshold=
"5"
type=
"card"
sticky
@
click=
"handleTabClick"
>
<van-tab
v-for=
"(tabTitle, tabIndex) in tabTitles"
:title=
"tabTitle"
...
...
@@ -58,9 +59,8 @@ export default {
},
data
()
{
return
{
activeIndex
:
this
.
active
,
activeIndex
:
Number
(
this
.
active
)
,
tabTitles
:
[
'
未使用
'
,
'
已使用
'
,
'
已过期
'
],
status
:
0
,
couponList
:
[],
page
:
0
,
limit
:
10
,
...
...
@@ -108,23 +108,7 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.coupon_list
{
&
--footer_btn
{
text-align
:
right
;
}
&
--panel
{
margin-bottom
:
10px
;
}
&
--van-card
{
background-color
:
#fafafa
;
}
&
--total
{
text-align
:
right
;
padding
:
10px
;
}
}
.van-coupon-item
{
overflow
:
hidden
;
border-radius
:
4px
;
...
...
litemall-vue/src/views/user/order-entity-list/index.vue
View file @
d10336db
...
...
@@ -87,7 +87,7 @@ export default {
},
data
()
{
return
{
activeIndex
:
this
.
active
,
activeIndex
:
Number
(
this
.
active
)
,
tabTitles
:
[
'
全部
'
,
'
待付款
'
,
'
待发货
'
,
'
待收货
'
,
'
待评价
'
],
orderList
:
[],
page
:
0
,
...
...
Write
Preview
Supports
Markdown
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