Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
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
高淑倩
7-Eleven
Commits
314cbc55
Commit
314cbc55
authored
Nov 22, 2019
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日期显示
parent
ce083e12
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
IntegralMallGoods.js
...Package/page/pages/IntegralMallGoods/IntegralMallGoods.js
+2
-11
No files found.
src/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js
View file @
314cbc55
...
...
@@ -65,17 +65,8 @@ wxService.page({
let
data
=
res
.
data
.
data
?
res
.
data
.
data
:
{};
this
.
data
.
memberPoint
.
total
=
data
.
point
?
data
.
point
:
0
;
this
.
data
.
memberPoint
.
expirePoint
=
data
.
pointWillExpired
?
data
.
pointWillExpired
:
0
;
let
expireDate
=
data
.
pointExpiredTime
?
data
.
pointExpiredTime
.
substring
(
0
,
10
)
:
''
;
let
expireDateText
=
''
;
if
(
expireDate
){
let
expireDareArr
=
expireDate
.
split
(
'-'
);
if
(
expireDareArr
.
length
>
0
){
expireDateText
=
expireDareArr
[
0
]
+
'年'
+
expireDareArr
[
1
]
+
'月'
+
expireDareArr
[
3
]
+
'日'
;
}
}
this
.
data
.
memberPoint
.
expireDate
=
expireDateText
;
let
expireDate
=
data
.
pointExpiredTime
?
data
.
pointExpiredTime
:
''
;
this
.
data
.
memberPoint
.
expireDate
=
expireDate
;
this
.
setData
({
memberPoint
:
this
.
data
.
memberPoint
});
...
...
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