Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
X
XiTianSenMall
Project
Project
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
leiqingsong
XiTianSenMall
Commits
a2451632
Commit
a2451632
authored
Mar 17, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_wm' into 'master'
Dev wm See merge request
!94
parents
3ce0ac8d
a3076247
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
2 deletions
+31
-2
bank.js
H5/src/api/bank.js
+14
-0
cash-out.vue
H5/src/views/cashOut/cash-out.vue
+16
-1
invite.vue
H5/src/views/invite.vue
+1
-1
No files found.
H5/src/api/bank.js
View file @
a2451632
...
...
@@ -76,3 +76,17 @@ export function getBankList() {
method
:
"get"
});
}
/**
* 获取扣稅説明
* @returns
*/
export
function
getTaxRate
(
params
)
{
return
request
({
url
:
"/bank/getTaxRate"
,
method
:
"get"
,
params
});
}
H5/src/views/cashOut/cash-out.vue
View file @
a2451632
...
...
@@ -31,11 +31,15 @@
<p
class=
"explain"
>
<span>
扣税说明
</span>
<img
@
click=
"taxtClick"
class=
"explain-img"
src=
"@/assets/images/explain.png"
alt=
"解释"
/>
</p>
<p
class=
"explain"
>
<span>
{{
this
.
textName
}}
</span>
</p>
</div>
</div>
<div
style=
"padding: 10px 16px"
>
...
...
@@ -85,7 +89,7 @@
<
script
>
import
{
getWithdrawalAmount
}
from
"@/api/wallet"
;
import
{
getUserBankInfo
,
sendSms
,
cashOut
}
from
"@/api/bank"
;
import
{
getUserBankInfo
,
sendSms
,
cashOut
,
getTaxRate
}
from
"@/api/bank"
;
import
BaseDialog
from
"@/components/BaseDialog.vue"
;
export
default
{
components
:
{
BaseDialog
},
...
...
@@ -102,6 +106,7 @@ export default {
resultDialogTip
:
""
,
resultDialogImg
:
""
,
resultDialog
:
false
,
textName
:
''
,
validCodeDialogShow
:
false
,
validCode
:
null
};
...
...
@@ -159,6 +164,16 @@ export default {
this
.
validCode
=
null
;
this
.
validCodeDialogShow
=
true
;
},
taxtClick
(){
const
params
=
{
money
:
1
}
getTaxRate
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
textName
=
res
.
data
.
taxDesc
}
});
},
getUserInfo
()
{
const
params
=
{
userId
:
this
.
$userId
...
...
H5/src/views/invite.vue
View file @
a2451632
...
...
@@ -52,7 +52,7 @@ export default {
binaryString
[
len
]
=
String
.
fromCharCode
(
uInt8Array
[
len
]);
}
let
data
=
window
.
btoa
(
binaryString
.
join
(
""
));
let
imageType
=
"image/
jpe
g"
;
let
imageType
=
"image/
pn
g"
;
let
imageUrl
=
"data:"
+
imageType
+
";base64,"
+
data
;
return
imageUrl
;
}
...
...
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