Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
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
be920eba
Commit
be920eba
authored
Mar 18, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_lqs' into 'master'
优化 See merge request
!106
parents
726f6fa1
566db7b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
11 deletions
+20
-11
invite.vue
H5/src/views/invite.vue
+2
-1
leagueNums.vue
H5/src/views/leagueNums.vue
+2
-1
myStatus.vue
H5/src/views/my/myStatus.vue
+16
-9
No files found.
H5/src/views/invite.vue
View file @
be920eba
...
...
@@ -39,7 +39,8 @@ export default {
forbidClick
:
true
,
message
:
"加载中..."
});
inviteCode
(
this
.
$userId
).
then
(
res
=>
{
const
userId
=
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)).
userId
;
inviteCode
(
userId
).
then
(
res
=>
{
if
(
loading
)
_this
.
$toast
.
clear
();
_this
.
imgSrc
=
_this
.
getUserPhoto
(
res
);
});
...
...
H5/src/views/leagueNums.vue
View file @
be920eba
...
...
@@ -75,7 +75,8 @@ export default {
},
methods
:
{
getMyTeam
()
{
getMyTeam
(
this
.
$userId
).
then
(
res
=>
{
const
userId
=
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)).
userId
;
getMyTeam
(
userId
).
then
(
res
=>
{
if
(
res
.
data
)
{
this
.
list
.
forEach
(
v
=>
{
v
.
num
=
res
.
data
[
v
[
"field"
]];
...
...
H5/src/views/my/myStatus.vue
View file @
be920eba
...
...
@@ -28,13 +28,14 @@
:key=
"`tba-$
{item.id}`"
:title="`${item.name}(${item.num})`"
>
<base-refresh-scroll
@
downLoad=
"onDownLoad"
@
upRefresh=
"onUpRefresh"
>
<div
slot=
"content"
>
<div
v-for=
"item in inviteeArr"
:key=
"item.id"
>
<invitee-item
:invitee-item=
"item"
/>
</div>
<!--
<base-refresh-scroll
@
downLoad=
"onDownLoad"
@
upRefresh=
"onUpRefresh"
>
-->
<div
v-if=
"inviteeArr.length > 0"
>
<div
v-for=
"item in inviteeArr"
:key=
"item.id"
>
<invitee-item
:invitee-item=
"item"
/>
</div>
</base-refresh-scroll>
</div>
<p
class=
"no-data"
v-else
>
暂无数据~
</p>
<!--
</base-refresh-scroll>
-->
</van-tab>
</van-tabs>
</div>
...
...
@@ -43,13 +44,13 @@
<
script
>
import
{
recomendInfo
,
recommendDetail
}
from
"@/api/myStatus"
;
import
BaseRefreshScroll
from
"../../components/BaseRefreshScroll.vue"
;
//
import BaseRefreshScroll from "../../components/BaseRefreshScroll.vue";
import
InviteeItem
from
"./components/invitee"
;
export
default
{
name
:
"MyStatus"
,
components
:
{
InviteeItem
,
BaseRefreshScroll
InviteeItem
//
BaseRefreshScroll
},
filters
:
{
userLevel
(
key
)
{
...
...
@@ -154,6 +155,7 @@ export default {
},
methods
:
{
changeTab
(
name
)
{
console
.
log
(
"tab"
,
name
);
this
.
getRecommendDetail
(
name
);
},
onDownLoad
(
val
)
{
...
...
@@ -253,6 +255,11 @@ export default {
}
}
}
.no-data
{
text-align
:
center
;
font-size
:
12px
;
}
::v-deep
.van-tabs__content
{
position
:
relative
;
height
:
100vh
;
...
...
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