Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
Project
Project
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
leiqingsong
XiTianSenMall
Commits
aa9e7ba8
Commit
aa9e7ba8
authored
Mar 08, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://111.203.232.171:8888/Song/xitiansenmall
into dev_lqs
parents
4c95f6a7
b8f9d83e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
18 deletions
+46
-18
customer-service.vue
H5/src/views/customer-service.vue
+5
-0
leagueNums.vue
H5/src/views/leagueNums.vue
+41
-18
No files found.
H5/src/views/customer-service.vue
View file @
aa9e7ba8
...
@@ -24,10 +24,15 @@
...
@@ -24,10 +24,15 @@
</
template
>
</
template
>
<
script
>
<
script
>
var
userId
=
13100911369
export
default
{
export
default
{
name
:
"customerService"
,
name
:
"customerService"
,
data
()
{
data
()
{
return
{};
return
{};
},
mounted
(){
},
},
methods
:
{
methods
:
{
handleUrl
(
urlName
)
{
handleUrl
(
urlName
)
{
...
...
H5/src/views/leagueNums.vue
View file @
aa9e7ba8
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
class=
"nav-left"
class=
"nav-left"
@
click=
"$router.go(-1)"
@
click=
"$router.go(-1)"
/>
/>
<span
class=
"nav-title"
>
森林状态
</span>
<span
class=
"nav-title"
>
团员总人数
</span>
</div>
</div>
<div
class=
"panel-list"
>
<div
class=
"panel-list"
>
<div
class=
"panel-item"
v-for=
"(item, index) in list"
:key=
"index"
>
<div
class=
"panel-item"
v-for=
"(item, index) in list"
:key=
"index"
>
...
@@ -21,47 +21,70 @@
...
@@ -21,47 +21,70 @@
</
template
>
</
template
>
<
script
>
<
script
>
var
userId
=
13100911369
import
{
getMyTeam
}
from
'@/api/grade'
export
default
{
export
default
{
name
:
"leagueNums"
,
name
:
"leagueNums"
,
data
()
{
data
()
{
return
{
return
{
list
:
[
list
:
[
{
{
num
:
54
,
num
:
""
,
label
:
"普通用户"
label
:
"普通用户"
,
field
:
"normalUserNum"
},
},
{
{
num
:
34
,
num
:
""
,
label
:
"幼苗"
label
:
"幼苗"
,
field
:
"seedlingNum"
},
},
{
{
num
:
22
,
num
:
""
,
label
:
"青铜树"
label
:
"青铜树"
,
field
:
"bronzeTreeNum"
},
},
{
{
num
:
12
,
num
:
""
,
label
:
"白银树"
label
:
"白银树"
,
field
:
"silverTreeNum"
},
},
{
{
num
:
5
,
num
:
""
,
label
:
"黄金树"
label
:
"黄金树"
,
field
:
"goldTreeNum"
},
},
{
{
num
:
1
,
num
:
""
,
label
:
"农场主"
label
:
"农场主"
,
field
:
"farmerNum"
},
},
{
{
num
:
0
,
num
:
""
,
label
:
"森林之星"
label
:
"森林之星"
,
field
:
"forestStartNum"
},
},
{
{
num
:
0
,
num
:
""
,
label
:
"西田森合伙人"
label
:
"西田森合伙人"
,
field
:
"partnerNum"
}
}
]
]
};
};
},
},
methods
:
{}
mounted
(){
this
.
getMyTeam
()
},
methods
:
{
getMyTeam
(){
getMyTeam
(
userId
).
then
(
res
=>
{
if
(
res
.
data
){
this
.
list
.
forEach
(
v
=>
{
v
.
num
=
res
.
data
[
v
[
"field"
]]
})
}
})
}
}
};
};
</
script
>
</
script
>
...
...
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