Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsalesProgram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8493ce83
authored
Oct 10, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提现
parent
4d36a40d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
32 deletions
pages/person/withdrawal/index.js
pages/person/withdrawal/index.wxml
pages/person/withdrawal/index.js
View file @
8493ce83
...
@@ -193,34 +193,6 @@ Page({
...
@@ -193,34 +193,6 @@ Page({
}
}
},
},
/**
/**
* 提现
*/
withdrawalfn
:
function
()
{
let
exchange_id
=
this
.
data
.
weixin_exchange_info
.
exchange_id
;
let
money
=
10
;
if
(
exchange_id
)
{
http
.
getData
(
apis
.
userExchangesConfirm
,
'GET'
,
{
exchange_id
:
exchange_id
},
(
res
)
=>
{
if
(
res
.
errcode
===
0
)
{
wx
.
navigateTo
({
url
:
'/pages/person/withdrawalsuccess/index?money='
+
money
});
}
else
{
wx
.
showToast
({
title
:
res
.
errmsg
,
icon
:
'none'
,
duration
:
2000
});
}
},
true
,
false
,
true
);
}
},
/**
* 关闭提示
* 关闭提示
*/
*/
closeTip
:
function
()
{
closeTip
:
function
()
{
...
...
pages/person/withdrawal/index.wxml
View file @
8493ce83
...
@@ -64,9 +64,7 @@
...
@@ -64,9 +64,7 @@
</block>
</block>
</view>
</view>
<block wx:if="{{weixin_exchange_info.assist_count == 2}}">
<block wx:if="{{weixin_exchange_info.assist_count == 2}}">
<button class="btn {{can_exchange == -1 || can_exchange == 0 ? 'opacity':''}}" bind:tap="withdrawalfn" data-status='yes'>
<button class="btn">等待到账</button>
申请微信提现
</button>
</block>
</block>
<block wx:else>
<block wx:else>
<block wx:if="{{weixin_exchange_info.exchanging == 0}}">
<block wx:if="{{weixin_exchange_info.exchanging == 0}}">
...
@@ -78,7 +76,9 @@
...
@@ -78,7 +76,9 @@
<button class="btns" open-type="share">分享给好友助力,可提现</button>
<button class="btns" open-type="share">分享给好友助力,可提现</button>
</block>
</block>
</block>
</block>
<text class="fr-txt">好友助力,已完成({{weixin_exchange_info.assist_count}}/2)</text>
<block wx:if="{{weixin_exchange_info.exchanging != 0}}">
<text class="fr-txt">好友助力,已完成({{weixin_exchange_info.assist_count}}/2)</text>
</block>
</view>
</view>
</block>
</block>
<view class="txt column">
<view class="txt column">
...
...
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