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
1bd42112
Commit
1bd42112
authored
Mar 15, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_lqs' into 'master'
Dev lqs See merge request
!70
parents
2bfbc5ff
8193c2d2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
8 deletions
+27
-8
index.js
H5/src/router/index.js
+1
-1
grade.vue
H5/src/views/grade.vue
+1
-1
month-award.vue
H5/src/views/rewards/month-award.vue
+24
-4
settings.vue
H5/src/views/settings.vue
+1
-2
No files found.
H5/src/router/index.js
View file @
1bd42112
...
...
@@ -6,7 +6,7 @@ Vue.use(VueRouter);
const
routes
=
[
{
path
:
"/my-status"
,
name
:
"
m
yStatus"
,
name
:
"
M
yStatus"
,
component
:
()
=>
import
(
"../views/my/myStatus.vue"
),
meta
:
{
title
:
"我的直推"
,
noNav
:
false
}
},
...
...
H5/src/views/grade.vue
View file @
1bd42112
...
...
@@ -31,7 +31,7 @@
<div
class=
"level-progress"
>
<div
class=
"level-num"
>
Lv.
{{
userLevel
}}
</div>
<van-progress
:percentage=
"perenct * 100"
/>
<div
class=
"level-num"
>
Lv.
{{
nextLevel
}}
</div>
<div
class=
"level-num"
>
Lv.
{{
nextLevel
+
1
}}
</div>
</div>
<!--
<div
class=
"relegation"
>
保级还需增加¥
{{
relegationNum
}}
业绩
</div>
-->
</div>
...
...
H5/src/views/rewards/month-award.vue
View file @
1bd42112
...
...
@@ -24,9 +24,19 @@
:autoplay=
"3000"
:show-indicators=
"false"
>
<van-swipe-item>
{{
awardInfo
.
awardTime
}}
</van-swipe-item>
<van-swipe-item>
内容 2
</van-swipe-item>
<van-swipe-item>
内容 3
</van-swipe-item>
<!-- TODO 后端列表循环 -->
<van-swipe-item
class=
"swipe-item"
>
<span>
{{
awardInfo
.
growthAward
}}
</span>
<span>
{{
awardInfo
.
awardTime
}}
</span>
</van-swipe-item>
<van-swipe-item
class=
"swipe-item"
>
<span>
{{
awardInfo
.
growthAward
}}
</span>
<span>
{{
awardInfo
.
awardTime
}}
</span>
</van-swipe-item>
<van-swipe-item
class=
"swipe-item"
>
<span>
{{
awardInfo
.
growthAward
}}
</span>
<span>
{{
awardInfo
.
awardTime
}}
</span>
</van-swipe-item>
</van-swipe>
</van-notice-bar>
</div>
...
...
@@ -39,7 +49,7 @@
style=
"font-weight: bold"
></countTo>
<p
v-if=
"awardInfo"
style=
"font-size: 14px;color:#333333"
>
历史累计奖金:¥
{{
awardInfo
.
awardTotal
.
toFixed
(
2
)
||
0
}}
历史累计奖金:¥
{{
awardInfo
.
awardTotal
||
0
}}
</p>
</div>
<div
class=
"newAdd-my"
>
...
...
@@ -117,6 +127,7 @@ export default {
this
.
awardInfo
=
res
.
data
;
this
.
awardInfo
.
lastToatal
=
res
.
data
.
monthAwardTotal
-
res
.
data
.
growthAward
;
this
.
awardInfo
.
awardTotal
=
res
.
data
.
awardTotal
.
toFixed
(
2
);
}
});
}
...
...
@@ -172,9 +183,18 @@ export default {
width
:
16px
;
height
:
14px
;
}
::v-deep
.van-notice-bar__content
{
width
:
100%
;
}
.notice-swipe
{
height
:
44px
;
line-height
:
44px
;
.swipe-item
{
display
:
flex
;
justify-content
:
space-between
;
width
:
100%
;
}
}
}
.content
{
...
...
H5/src/views/settings.vue
View file @
1bd42112
...
...
@@ -46,7 +46,6 @@
<
script
>
import
{
getUserInfo2
}
from
"@/api/user"
;
import
{
logoutToApp
}
from
"@/utils/bridgeToAppFun"
;
import
{
logout
}
from
"@/api/user"
;
import
{
fillInviteCode
}
from
"@/api/user"
;
import
BaseDialog
from
"../components/BaseDialog.vue"
;
...
...
@@ -86,7 +85,7 @@ export default {
logout
()
{
localStorage
.
removeItem
(
"token"
);
logout
().
then
();
logoutToApp
();
this
.
bridgeToAppFun
.
logoutToApp
();
},
jumpToInstructions
()
{
this
.
$router
.
push
(
"/instructions"
);
...
...
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