Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhqg-mini
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
zhqg
zhqg-mini
Commits
01eeb0b7
Commit
01eeb0b7
authored
Oct 23, 2020
by
wangyalan-git
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
610e6b94
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
20 deletions
+44
-20
orderList.js
pages/orderList/orderList.js
+10
-10
orderList.wxml
pages/orderList/orderList.wxml
+12
-2
orderList.wxss
pages/orderList/orderList.wxss
+13
-4
orderWithdrawal.js
pages/orderWithdrawal/orderWithdrawal.js
+3
-1
orderWithdrawal.wxml
pages/orderWithdrawal/orderWithdrawal.wxml
+4
-1
orderWithdrawal.wxss
pages/orderWithdrawal/orderWithdrawal.wxss
+1
-1
index.wxml
pages/userAccount/withdrawalRecord/index.wxml
+1
-1
No files found.
pages/orderList/orderList.js
View file @
01eeb0b7
...
...
@@ -17,14 +17,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
if
(
options
.
sts
)
{
this
.
setData
({
sts
:
options
.
sts
});
this
.
loadOrderData
(
options
.
sts
,
1
);
}
else
{
this
.
loadOrderData
(
0
,
1
);
}
},
/**
...
...
@@ -84,7 +77,14 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
if
(
this
.
options
.
sts
)
{
this
.
setData
({
sts
:
this
.
options
.
sts
});
this
.
loadOrderData
(
this
.
options
.
sts
,
1
);
}
else
{
this
.
loadOrderData
(
0
,
1
);
}
},
/**
...
...
@@ -290,7 +290,7 @@ Page({
}
wx
.
navigateTo
({
url
:
'/pages/orderWithdrawal/orderWithdrawal?type='
+
data
.
type
+
'&ordernum='
+
data
.
ordernum
+
'&amount='
+
amount
,
url
:
'/pages/orderWithdrawal/orderWithdrawal?type='
+
data
.
type
+
'&ordernum='
+
data
.
ordernum
+
'&amount='
+
amount
+
'&orderIncome='
+
JSON
.
stringify
(
data
.
item
.
orderIncome
)
,
})
},
// 挂单
...
...
pages/orderList/orderList.wxml
View file @
01eeb0b7
...
...
@@ -47,7 +47,7 @@
<view class='prod-info-cont'>{{prod.skuName}}</view>
<view class='price-nums'>
<view>
<text class='prodprice'
style="margin-left: 20rpx;"
><text class='symbol'>¥</text>
<text class='prodprice'><text class='symbol'>¥</text>
<text class='big-num'>{{wxs.parsePrice(prod.updatePrice)[0]}}</text>
<text class='small-num'>.{{wxs.parsePrice(prod.updatePrice)[1]}}</text></text>
</view>
...
...
@@ -79,11 +79,21 @@
<text class='big-num'>{{wxs.parsePrice(item.actualTotal)[0]}}</text>
<text class='small-num'>.{{wxs.parsePrice(item.actualTotal)[1]}}</text>
</view>
<view class='prodprice'>
订单
金额:
<view class='prodprice'>
当前
金额:
<text class='symbol'>¥</text>
<text class='big-num'>{{wxs.parsePrice(item.orderIncome.nowOrderAmount)[0]}}</text>
<text class='small-num'>.{{wxs.parsePrice(item.orderIncome.nowOrderAmount)[1]}}</text>
</view>
<view class='prodprice'>总收益:
<text class='symbol'>¥</text>
<text class='big-num'>{{wxs.parsePrice(item.orderIncome.incomeAmount)[0]}}</text>
<text class='small-num'>.{{wxs.parsePrice(item.orderIncome.incomeAmount)[1]}}</text>
</view>
<!-- <view class='prodprice'>可提现:
<text class='symbol'>¥</text>
<text class='big-num'>{{wxs.parsePrice(item.orderIncome.toCashAmmount)[0]}}</text>
<text class='small-num'>.{{wxs.parsePrice(item.orderIncome.toCashAmmount)[1]}}</text>
</view> -->
</view>
<!-- end 商品列表 -->
<view class='prod-foot'>
...
...
pages/orderList/orderList.wxss
View file @
01eeb0b7
...
...
@@ -182,15 +182,24 @@ page {
.prod-item .total-num .prodprice {
display: inline-block;
color: #333;
color: #999;
font-size: 20rpx;
}
.prod-item .total-num .prodprice:
last-child
{
margin-
lef
t: 20rpx;
.prod-item .total-num .prodprice:
not(:last-child)
{
margin-
righ
t: 20rpx;
}
.prod-item .total-num .prodcount {
margin-right: 20rpx;
}
.prod-item .total-num .symbol{
color: #333;
}
.prod-item .total-num .big-num{
color: #333;
}
.prod-item .total-num .small-num{
color: #333;
}
.prod-item .prod-foot {
padding: 0 30rpx;
border-top: 2rpx solid #e6e6e6;
...
...
pages/orderWithdrawal/orderWithdrawal.js
View file @
01eeb0b7
...
...
@@ -12,6 +12,7 @@ Page({
amount
:
''
,
name
:
''
,
actualAmount
:
''
,
orderIncome
:
''
,
how
:
false
,
//是否显示如何上传收款码提示框
},
/**
...
...
@@ -34,7 +35,8 @@ Page({
this
.
setData
({
type
:
this
.
options
.
type
,
ordernum
:
this
.
options
.
ordernum
,
amount
:
this
.
options
.
amount
amount
:
this
.
options
.
amount
,
orderIncome
:
JSON
.
parse
(
this
.
options
.
orderIncome
)
})
console
.
log
(
'list'
,
this
.
data
.
type
,
this
.
data
.
ordernum
)
this
.
getData
();
...
...
pages/orderWithdrawal/orderWithdrawal.wxml
View file @
01eeb0b7
...
...
@@ -9,7 +9,10 @@
placeholder='请输入提现金额'></input>
</view>
<view class="notice">
可提现金额¥<text>{{amount}}</text><text class="primary" bindtap="allWithdrawal">全部提现</text>
<text style="margin-right: 20rpx;">可提现金额¥{{amount}}</text>
<text wx:if="{{type == 1}}" style="margin: 0 20rpx;">已提现金额¥{{orderIncome.cashAmomunt}}</text>
<text wx:if="{{type == 1}}" >累计收益金额:{{orderIncome.incomeAmount}}</text>
<view class="primary" bindtap="allWithdrawal">全部提现</view>
</view>
</view>
</view>
...
...
pages/orderWithdrawal/orderWithdrawal.wxss
View file @
01eeb0b7
...
...
@@ -65,7 +65,7 @@ page {
.top .primary {
color: #3a86b9;
margin-
left: 3
0rpx;
margin-
top: 1
0rpx;
}
.phcolor {
...
...
pages/userAccount/withdrawalRecord/index.wxml
View file @
01eeb0b7
...
...
@@ -11,7 +11,7 @@
<view class="li-box" wx:for="{{list}}" wx:key="index">
<view class="li-head">
<view>
<text>{{item.
ban
kName}}</text>
<text>{{item.
nic
kName}}</text>
<view class="time">{{item.createTime}}</view>
</view>
<text>{{item.showStatus}}</text>
...
...
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