Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wx-shopping-mall
Project
Project
Details
Activity
Releases
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
engine
wx-shopping-mall
Commits
c57fd418
Commit
c57fd418
authored
Apr 23, 2020
by
zhenghaiyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加总EB信息
parent
457143b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
checkout.js
pages/checkout/checkout.js
+2
-0
checkout.wxml
pages/checkout/checkout.wxml
+11
-0
No files found.
pages/checkout/checkout.js
View file @
c57fd418
...
...
@@ -10,6 +10,7 @@ Page({
availableCouponLength
:
0
,
// 可用的优惠券数量
goodsTotalPrice
:
0.00
,
//商品总价
freightPrice
:
0.00
,
//快递费
totalScores
:
0
,
// 总EB
totalSendScores
:
0
,
// 赠送EB
totalUseScores
:
0
,
// 消费EB
couponPrice
:
0.00
,
//优惠券的价格
...
...
@@ -47,6 +48,7 @@ Page({
grouponPrice
:
res
.
data
.
grouponPrice
,
freightPrice
:
res
.
data
.
freightPrice
,
goodsTotalPrice
:
res
.
data
.
goodsTotalPrice
,
totalScores
:
res
.
data
.
totalScores
,
totalUseScores
:
res
.
data
.
totalUseScores
,
totalSendScores
:
res
.
data
.
totalSendScores
,
orderTotalPrice
:
res
.
data
.
orderTotalPrice
,
...
...
pages/checkout/checkout.wxml
View file @
c57fd418
...
...
@@ -43,6 +43,17 @@
</view>
</view>
<view class="order-box" wx:if="{{totalScores}}">
<view class="order-item" style='border: none;'>
<view class="l">
<text class="name">总EB</text>
</view>
<view class="r">
<text class="txt">{{totalScores}}</text>
</view>
</view>
</view>
<view class="order-box" wx:if="{{totalSendScores}}">
<view class="order-item" style='border: none;'>
<view class="l">
...
...
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