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
4423737a
Commit
4423737a
authored
Mar 17, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改设置
parent
1f64bf62
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
rankItem.vue
H5/src/views/rewards/compoments/rankItem.vue
+9
-1
settings.vue
H5/src/views/settings.vue
+2
-2
No files found.
H5/src/views/rewards/compoments/rankItem.vue
View file @
4423737a
...
...
@@ -4,7 +4,7 @@
{{
RankIndex
>
9
?
RankIndex
:
"0"
+
RankIndex
}}
</span>
<div
style=
"flex:1"
>
<img
class=
"avatar"
src=
"@/assets/images/avatar.png
"
alt=
"用户头像"
/>
<img
class=
"avatar"
:src=
"imgBaseUrl + prizeVos.headImage
"
alt=
"用户头像"
/>
</div>
<span
class=
"userName"
style=
"flex:2;text-align:center"
>
{{
prizeVos
.
userId
...
...
@@ -26,6 +26,14 @@ export default {
prizeVos
:
{
type
:
Object
}
},
data
()
{
return
{
imgBaseUrl
:
""
}
},
created
()
{
this
.
imgBaseUrl
=
process
.
env
.
VUE_APP_BASE_URL
}
};
</
script
>
...
...
H5/src/views/settings.vue
View file @
4423737a
...
...
@@ -71,7 +71,7 @@ export default {
methods
:
{
getUser
()
{
const
params
=
{
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
'user'
)
.
userId
)
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
'user'
)
).
userId
};
console
.
log
(
"setting-userId"
,
params
);
getUserInfo2
(
params
).
then
(
res
=>
{
...
...
@@ -129,7 +129,7 @@ export default {
fillInviteCode
(
params
).
then
();
},
fillInviterCode
()
{
if
(
this
.
inviteeCode
===
"
未填写
"
||
this
.
inviteeCode
==
"1"
)
{
if
(
this
.
inviteeCode
===
"
请填写推荐人邀请码
"
||
this
.
inviteeCode
==
"1"
)
{
this
.
inviteeCodeDialog
=
true
;
this
.
fillCode
=
""
;
}
...
...
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