Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eMall_miniapp
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
高宇
eMall_miniapp
Commits
aa7013a1
Commit
aa7013a1
authored
Jul 22, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员码只差对二维码的接口
parent
2f4190ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
10 deletions
+19
-10
index.vue
my/member/index.vue
+19
-10
No files found.
my/member/index.vue
View file @
aa7013a1
...
@@ -34,8 +34,14 @@
...
@@ -34,8 +34,14 @@
},
},
methods
:{
methods
:{
getList
(){
getList
(){
const
that
=
this
const
baseApi
=
this
.
baseApi
const
baseApi
=
this
.
baseApi
this
.
$u
.
get
(
'/mobile/memberBenefits/queryMemberBenefits'
).
then
(
res
=>
{
uni
.
getStorage
({
key
:
'business'
,
success
:
function
(
Lres
){
console
.
log
(
'商圈信息'
,
Lres
.
data
)
const
text
=
Lres
.
data
.
id
that
.
$u
.
get
(
'/mobile/memberBenefits/queryMemberBenefits?tenantId='
+
text
).
then
(
res
=>
{
let
list
=
res
let
list
=
res
for
(
const
index
in
list
)
{
for
(
const
index
in
list
)
{
console
.
log
(
'index'
,
index
)
console
.
log
(
'index'
,
index
)
...
@@ -43,9 +49,12 @@
...
@@ -43,9 +49,12 @@
item
.
image
=
baseApi
+
'/file/getImgStream?idFile='
+
item
.
membershipCard
item
.
image
=
baseApi
+
'/file/getImgStream?idFile='
+
item
.
membershipCard
item
.
rankCard
=
baseApi
+
'/file/getImgStream?idFile='
+
item
.
rankCard
item
.
rankCard
=
baseApi
+
'/file/getImgStream?idFile='
+
item
.
rankCard
}
}
this
.
list2
=
list
that
.
list2
=
list
this
.
src
=
this
.
list2
[
0
].
rankCard
that
.
src
=
that
.
list2
[
0
].
rankCard
})
})
}
})
},
},
handleChange
(
e
){
handleChange
(
e
){
console
.
log
(
'e'
,
e
)
console
.
log
(
'e'
,
e
)
...
...
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