Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
Overview
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
姜雷
wx-boss
Commits
021979b3
Commit
021979b3
authored
Nov 11, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正数组下标并添加索引配置
parent
7440d3db
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
6 deletions
+14
-6
monthOperator.js
miniprogram/pages/monthOperator/monthOperator.js
+0
-0
monthOperator.ts
miniprogram/pages/monthOperator/monthOperator.ts
+4
-4
userGrowth.js
miniprogram/pages/userGrowth/userGrowth.js
+0
-0
userGrowth.ts
miniprogram/pages/userGrowth/userGrowth.ts
+2
-2
sitemap.json
sitemap.json
+8
-0
No files found.
miniprogram/pages/monthOperator/monthOperator.js
View file @
021979b3
This diff is collapsed.
Click to expand it.
miniprogram/pages/monthOperator/monthOperator.ts
View file @
021979b3
...
...
@@ -104,8 +104,8 @@ Page({
consumePrice
+=
element
.
payableMoney
;
consumeCount
+=
element
.
payMen
;
let
daysIndex
=
Number
(
element
.
createDate
.
slice
(
-
2
));
dayList
[
daysIndex
]
=
{
...
dayList
[
daysIndex
],
dayList
[
daysIndex
-
1
]
=
{
...
dayList
[
daysIndex
-
1
],
payMen
:
element
.
payMen
,
payableMoney
:
element
.
payableMoney
,
};
...
...
@@ -149,8 +149,8 @@ Page({
rechargePrice
+=
element
.
rechargeMoney
;
rechargeCount
+=
element
.
rechargeMen
;
let
daysIndex
=
Number
(
element
.
completeAt
.
slice
(
-
2
));
dayList
[
daysIndex
]
=
{
...
dayList
[
daysIndex
],
dayList
[
daysIndex
-
1
]
=
{
...
dayList
[
daysIndex
-
1
],
rechargeMoney
:
element
.
rechargeMoney
,
rechargeMen
:
element
.
rechargeMen
,
refundCount
:
element
.
refundCount
,
...
...
miniprogram/pages/userGrowth/userGrowth.js
View file @
021979b3
This diff is collapsed.
Click to expand it.
miniprogram/pages/userGrowth/userGrowth.ts
View file @
021979b3
...
...
@@ -80,8 +80,8 @@ Page({
for
(
let
index
=
0
;
index
<
oList
.
length
;
index
++
)
{
const
element
=
oList
[
index
];
let
daysIndex
=
Number
(
element
.
days
.
slice
(
-
2
));
dayList
[
daysIndex
]
=
{
...
dayList
[
daysIndex
],
dayList
[
daysIndex
-
1
]
=
{
...
dayList
[
daysIndex
-
1
],
count
:
element
.
count
,
};
}
...
...
sitemap.json
0 → 100644
View file @
021979b3
{
"rules"
:
[
{
"action"
:
"disallow"
,
"page"
:
"*"
}
]
}
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