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
641f09e7
Commit
641f09e7
authored
Mar 18, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_lqs' into 'master'
Dev lqs See merge request
!101
parents
632138ce
88adb1a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
allIncome.vue
H5/src/views/income/allIncome.vue
+14
-5
modefyAvatar.vue
H5/src/views/modefyAvatar.vue
+2
-2
No files found.
H5/src/views/income/allIncome.vue
View file @
641f09e7
<
template
>
<div
class=
"all-income"
>
<div
v-for=
"item in incomeList"
:key=
"item.id"
class=
"list-item"
>
<span
style=
"color:#333333"
>
{{
item
.
yearMonth
}}
</span>
<span>
{{
item
.
income
}}
</span>
</div>
<template
v-if=
"incomeList.length > 0"
>
<div
v-for=
"item in incomeList"
:key=
"item.id"
class=
"list-item"
>
<span
style=
"color:#333333"
>
{{
item
.
yearMonth
}}
</span>
<span>
{{
item
.
income
}}
</span>
</div>
</
template
>
<p
v-else
class=
"no-data"
>
暂无数据~
</p>
</div>
</template>
...
...
@@ -17,7 +22,7 @@ export default {
incomeList
:
[]
};
},
monted
()
{
mo
u
nted
()
{
this
.
getAllRecord
();
},
methods
:
{
...
...
@@ -51,4 +56,8 @@ export default {
font-size
:
16px
;
background-color
:
#ffffff
;
}
.no-data
{
text-align
:
center
;
font-size
:
12px
;
}
</
style
>
H5/src/views/modefyAvatar.vue
View file @
641f09e7
...
...
@@ -60,11 +60,11 @@ export default {
});
},
onRead
(
file
)
{
if
(
!
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)).
inviteCode
)
{
const
inviteCode
=
JSON
.
parse
(
localStorage
.
getItem
(
"user"
)).
inviteCode
;
if
(
!
inviteCode
)
{
this
.
$toast
.
fail
(
"当前用户没有邀请码"
);
return
;
}
const
inviteCode
=
JSON
.
parse
(
localStorage
.
getItem
(
"user"
).
inviteCode
);
const
params
=
{
inviteCode
:
inviteCode
};
...
...
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