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
ce083e12
Commit
ce083e12
authored
Nov 22, 2019
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
积分换物过期积分展示样式修改
parent
723b255a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
IntegralMallGoods.js
...Package/page/pages/IntegralMallGoods/IntegralMallGoods.js
+11
-1
IntegralMallGoods.wxml
...ckage/page/pages/IntegralMallGoods/IntegralMallGoods.wxml
+1
-1
IntegralMallGoods.wxss
...ckage/page/pages/IntegralMallGoods/IntegralMallGoods.wxss
+1
-1
No files found.
src/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js
View file @
ce083e12
...
...
@@ -65,7 +65,17 @@ 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
;
this
.
data
.
memberPoint
.
expireDate
=
data
.
pointExpiredTime
;
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
;
this
.
setData
({
memberPoint
:
this
.
data
.
memberPoint
});
...
...
src/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.wxml
View file @
ce083e12
...
...
@@ -14,7 +14,7 @@
<view class='integral-vip-rules' wx:if="{{integralCouponList.length}}" bindtap="handleGoMemberRulesRules">会员规则</view>
</view>
<view class='title-time-point' wx:if="{{memberPoint.expirePoint > 0}}">
{{memberPoint.expirePoint}}
积分将于{{memberPoint.expireDate}}
清零
{{memberPoint.expirePoint}}
积分将于 {{memberPoint.expireDate}}
清零
</view>
<view class='title-time-point' wx:if="{{memberPoint.expirePoint == 0}}">
暂无将过期积分
...
...
src/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.wxss
View file @
ce083e12
...
...
@@ -190,7 +190,7 @@ page {
}
.title-time-point {
color: rgba(102, 102, 102, 1);
font-size: 2
0
rpx;
font-size: 2
4
rpx;
text-align: left;
padding-top: 3rpx;
margin-top: 15rpx;
...
...
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