Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
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
姜雷
wx-boss
Commits
568791d7
Commit
568791d7
authored
Jan 15, 2020
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
f9d145ea
1a20cb38
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
PlatformFeeDialog.js
...m/pages/components/PlatformFeeDialog/PlatformFeeDialog.js
+0
-0
PlatformFeeDialog.ts
...m/pages/components/PlatformFeeDialog/PlatformFeeDialog.ts
+8
-1
PlatformFeeDialog.wxml
...pages/components/PlatformFeeDialog/PlatformFeeDialog.wxml
+10
-3
No files found.
miniprogram/pages/components/PlatformFeeDialog/PlatformFeeDialog.js
View file @
568791d7
This diff is collapsed.
Click to expand it.
miniprogram/pages/components/PlatformFeeDialog/PlatformFeeDialog.ts
View file @
568791d7
...
...
@@ -33,6 +33,7 @@ Component({
showDialog
:
false
,
type
:
1
,
// 1 支付 2 扫码
isSkip
:
0
,
isOnlyShowPrompt
:
0
,
rechargeBalance
:
0
,
payTimeLimit
:
0
,
billType
:
'0'
,
...
...
@@ -57,12 +58,18 @@ Component({
},
})
.
then
(
res
=>
{
const
{
isSkip
,
rechargeBalance
,
payTimeLimit
}
=
res
;
const
{
isSkip
,
rechargeBalance
,
payTimeLimit
,
isOnlyShowPrompt
,
}
=
res
;
this
.
setData
({
isSkip
,
rechargeBalance
,
payTimeLimit
,
showDialog
:
rechargeBalance
>
0
?
true
:
false
,
isOnlyShowPrompt
,
});
fetchedPlatform
=
true
;
})
...
...
miniprogram/pages/components/PlatformFeeDialog/PlatformFeeDialog.wxml
View file @
568791d7
...
...
@@ -9,7 +9,10 @@
您好!您的平台服务费已生成,为不影响设备正常使用,请在{{payTimeLimit}}个工作日内及时缴费,谢谢
</view>
</view>
<view class="PlatformFeeDialog-priceInfo">
<button wx:if="{{isOnlyShowPrompt}}" class="PlatformFeeDialog-btn big" bind:tap="cancelShow">
确定
</button>
<view wx:else class="PlatformFeeDialog-priceInfo">
<view class="PlatformFeeDialog-priceItem">
<view class="PlatformFeeDialog-priceItemLabel">服务费</view>
<view class="PlatformFeeDialog-priceItemPrice">{{rechargeBalance}}元</view>
...
...
@@ -32,8 +35,12 @@
</view>
</view>
<view class="PlatformFeeDialog-btnbox">
<button class="PlatformFeeDialog-btn cancel" wx:if="{{isSkip}}" bind:tap="cancelShow">取消</button>
<button class="PlatformFeeDialog-btn {{isSkip?'':'big'}}" bind:tap="fetchRechargeInfo">确认支付</button>
<button class="PlatformFeeDialog-btn cancel" wx:if="{{isSkip}}" bind:tap="cancelShow">
取消
</button>
<button class="PlatformFeeDialog-btn {{isSkip?'':'big'}}" bind:tap="fetchRechargeInfo">
确认支付
</button>
</view>
<view class="PlatformFeeDialog-links">
<view bind:tap="goRecordsPage">查看服务费明细</view>
...
...
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