Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
7f69350b
Commit
7f69350b
authored
Jul 22, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vip购买返佣
parent
d5f9d291
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
89 additions
and
19 deletions
+89
-19
pages.json
pages.json
+1
-1
share-team.vue
pages/share-team/share-team.vue
+65
-17
index.vue
pages/share/index/index.vue
+1
-1
vipBuyCommission.vue
pages/share/vipBuyCommission/vipBuyCommission.vue
+22
-0
No files found.
pages.json
View file @
7f69350b
...
...
@@ -125,7 +125,7 @@
"path"
:
"buyVip/index"
},
{
"path"
:
"
buyRecord/index
"
"path"
:
"
vipBuyCommission/vipBuyCommission
"
}
]
...
...
pages/share-team/share-team.vue
View file @
7f69350b
<
template
>
<view
class=
"cteamStyle"
:style=
"
{'height':contentHeight}">
<view
style=
"width: 100%;height: 100%;"
>
<u-tabs
:list=
"list"
:is-scroll=
"false"
:current=
"current"
@
change=
"change"
:active-color=
'mainColor'
></u-tabs>
<u-tabs
:list=
"list"
name=
"GradeName"
:is-scroll=
"false"
:current=
"current"
@
change=
"change"
:active-color=
'mainColor'
></u-tabs>
<u-empty
v-if=
"g.length==0"
text=
"暂无数据"
mode=
"data"
></u-empty>
<template
v-if=
"g.length > 0"
>
<view
...
...
@@ -68,15 +68,21 @@
current
:
0
,
g
:[],
list
:[
{
n
ame
:
'一级分销'
},
{
n
ame
:
'二级分销'
},
{
n
ame
:
'三级分销'
},
{
GradeN
ame
:
'一级分销'
},
{
GradeN
ame
:
'二级分销'
},
{
GradeN
ame
:
'三级分销'
},
],
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
GradeId
:
1
},
msg2
:{
pageIndex
:
1
,
pageSize
:
10
,
FXGradeId
:
0
,
Name
:
''
},
page_count
:
1
,
status
:
"loadmore"
,
loadText
:
{
...
...
@@ -100,7 +106,7 @@
this
.
IsEnableFXGrade
=
option
.
IsEnableFXGrade
;
}
if
(
this
.
IsEnableFXGrade
==
1
){
this
.
list
=
[{
n
ame
:
'普通会员'
},]
//设置默认值
this
.
list
=
[{
GradeN
ame
:
'普通会员'
},]
//设置默认值
this
.
getUserMyTeamTitelListForFX
()
}
else
{
...
...
@@ -134,9 +140,32 @@
data
:
{}
},
(
res
)
=>
{
uni
.
hideLoading
();
this
.
list
=
res
.
data
;
this
.
msg2
.
FXGradeId
=
this
.
list
[
0
].
Id
;
this
.
init2
()
}
);
},
init2
(){
uni
.
showLoading
({
title
:
'加载中'
});
this
.
request2
(
{
url
:
'/api/AppletUser/GetUserMyTeamPageListForFX'
,
data
:
this
.
msg2
},
(
res
)
=>
{
uni
.
hideLoading
();
this
.
g
=
this
.
g
.
concat
(
res
.
data
.
pageData
);
this
.
page_count
=
res
.
data
.
pageCount
;
if
(
this
.
page_count
==
1
)
{
this
.
status
=
"nomore"
;
}
}
);
...
...
@@ -165,19 +194,38 @@
},
change
(
index
){
this
.
current
=
index
this
.
msg
.
GradeId
=
index
+
1
;
this
.
msg
.
pageIndex
=
1
;
this
.
g
=
[]
this
.
init
()
if
(
this
.
IsEnableFXGrade
==
1
){
this
.
msg2
.
FXGradeId
=
this
.
list
[
index
].
Id
;
this
.
msg2
.
pageIndex
=
1
;
this
.
g
=
[]
this
.
init2
()
}
else
{
this
.
msg
.
GradeId
=
index
+
1
;
this
.
msg
.
pageIndex
=
1
;
this
.
g
=
[]
this
.
init
()
}
},
lower
(
e
)
{
if
(
this
.
msg
.
pageIndex
<
this
.
page_count
)
{
this
.
msg
.
pageIndex
++
;
this
.
status
=
"loading"
;
this
.
init
();
}
else
{
this
.
status
=
"nomore"
;
}
if
(
this
.
IsEnableFXGrade
==
1
){
if
(
this
.
msg2
.
pageIndex
<
this
.
page_count
)
{
this
.
msg2
.
pageIndex
++
;
this
.
status
=
"loading"
;
this
.
init2
();
}
else
{
this
.
status
=
"nomore"
;
}
}
else
{
if
(
this
.
msg
.
pageIndex
<
this
.
page_count
)
{
this
.
msg
.
pageIndex
++
;
this
.
status
=
"loading"
;
this
.
init
();
}
else
{
this
.
status
=
"nomore"
;
}
}
},
}
...
...
pages/share/index/index.vue
View file @
7f69350b
...
...
@@ -358,7 +358,7 @@
},
goUrl
(
url
){
console
.
log
(
url
)
if
(
url
==
'/pages/share-team/share-team'
&&
this
.
sharedata
.
UserInfo
.
IsEnableFXGrade
==
1
){
//判断我的团队是否粉象模式
if
(
url
==
'/pages/share-team/share-team'
&&
this
.
sharedata
.
UserInfo
.
IsEnableFXGrade
==
1
){
//判断我的团队是否粉象模式
uni
.
navigateTo
({
url
:
url
+
'?IsEnableFXGrade='
+
this
.
sharedata
.
UserInfo
.
IsEnableFXGrade
});
...
...
pages/share/vipBuyCommission/vipBuyCommission.vue
0 → 100644
View file @
7f69350b
<
template
>
<view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
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