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
4 years ago
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 @@
</
template
>
<
script
>
var
userId
=
13100911369
export
default
{
name
:
"customerService"
,
data
()
{
return
{};
},
mounted
(){
},
methods
:
{
handleUrl
(
urlName
)
{
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/leagueNums.vue
View file @
aa9e7ba8
...
...
@@ -7,7 +7,7 @@
class=
"nav-left"
@
click=
"$router.go(-1)"
/>
<span
class=
"nav-title"
>
森林状态
</span>
<span
class=
"nav-title"
>
团员总人数
</span>
</div>
<div
class=
"panel-list"
>
<div
class=
"panel-item"
v-for=
"(item, index) in list"
:key=
"index"
>
...
...
@@ -21,47 +21,70 @@
</
template
>
<
script
>
var
userId
=
13100911369
import
{
getMyTeam
}
from
'@/api/grade'
export
default
{
name
:
"leagueNums"
,
data
()
{
return
{
list
:
[
{
num
:
54
,
label
:
"普通用户"
num
:
""
,
label
:
"普通用户"
,
field
:
"normalUserNum"
},
{
num
:
34
,
label
:
"幼苗"
num
:
""
,
label
:
"幼苗"
,
field
:
"seedlingNum"
},
{
num
:
22
,
label
:
"青铜树"
num
:
""
,
label
:
"青铜树"
,
field
:
"bronzeTreeNum"
},
{
num
:
12
,
label
:
"白银树"
num
:
""
,
label
:
"白银树"
,
field
:
"silverTreeNum"
},
{
num
:
5
,
label
:
"黄金树"
num
:
""
,
label
:
"黄金树"
,
field
:
"goldTreeNum"
},
{
num
:
1
,
label
:
"农场主"
num
:
""
,
label
:
"农场主"
,
field
:
"farmerNum"
},
{
num
:
0
,
label
:
"森林之星"
num
:
""
,
label
:
"森林之星"
,
field
:
"forestStartNum"
},
{
num
:
0
,
label
:
"西田森合伙人"
num
:
""
,
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
>
...
...
This diff is collapsed.
Click to expand it.
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