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
8d549665
Commit
8d549665
authored
Jan 21, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
203542de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
index.vue
pages/coupon/index/index.vue
+12
-12
No files found.
pages/coupon/index/index.vue
View file @
8d549665
...
...
@@ -283,18 +283,18 @@
arrList
(
res
.
data
.
pageData
)
this
.
couponDataList
=
res
.
data
.
pageData
;
this
.
couponDataList
.
forEach
((
x
,
index
)
=>
{
//
if(x.couponsUseScope==1) x.backGroubd = this.lineImgs[0]
//
if(x.couponsUseScope==2) x.backGroubd = this.lineImgs[1]
//
if(x.couponsUseScope==3) x.backGroubd = this.lineImgs[2]
//
if(x.couponsUseScope==4) x.backGroubd = this.lineImgs[3]
//
if(x.couponsUseScope==5) x.backGroubd = this.lineImgs[4]
//
if(x.couponsUseScope==6) x.backGroubd = this.lineImgs[5]
//
if(x.couponsUseScope==7) x.backGroubd = this.lineImgs[6]
//
if(x.couponsUseScope==8) x.backGroubd = this.lineImgs[7]
//
if(x.couponsUseScope==9) x.backGroubd = this.lineImgs[8]
//
if(x.couponsUseScope==10) x.backGroubd = this.lineImgs[0]
//
if(x.couponsUseScope==11) x.backGroubd = this.lineImgs[1]
if
(
x
.
couponsUseScope
==
this
.
getLineImgs
()
+
1
)
x
.
backGroubd
=
this
.
lineImgs
[
this
.
getLineImgs
()]
if
(
x
.
couponsUseScope
==
1
)
x
.
backGroubd
=
this
.
lineImgs
[
0
]
if
(
x
.
couponsUseScope
==
2
)
x
.
backGroubd
=
this
.
lineImgs
[
1
]
if
(
x
.
couponsUseScope
==
3
)
x
.
backGroubd
=
this
.
lineImgs
[
2
]
if
(
x
.
couponsUseScope
==
4
)
x
.
backGroubd
=
this
.
lineImgs
[
3
]
if
(
x
.
couponsUseScope
==
5
)
x
.
backGroubd
=
this
.
lineImgs
[
4
]
if
(
x
.
couponsUseScope
==
6
)
x
.
backGroubd
=
this
.
lineImgs
[
5
]
if
(
x
.
couponsUseScope
==
7
)
x
.
backGroubd
=
this
.
lineImgs
[
6
]
if
(
x
.
couponsUseScope
==
8
)
x
.
backGroubd
=
this
.
lineImgs
[
7
]
if
(
x
.
couponsUseScope
==
9
)
x
.
backGroubd
=
this
.
lineImgs
[
8
]
if
(
x
.
couponsUseScope
==
10
)
x
.
backGroubd
=
this
.
lineImgs
[
0
]
if
(
x
.
couponsUseScope
==
11
)
x
.
backGroubd
=
this
.
lineImgs
[
1
]
//
if(x.couponsUseScope==this.getLineImgs()+1) x.backGroubd = this.lineImgs[this.getLineImgs()]
})
this
.
page_count
=
res
.
data
.
pageCount
;
if
(
this
.
page_count
==
1
)
this
.
status
=
'nomore'
...
...
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