Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
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
4 years ago
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
Show 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() {
...
@@ -76,3 +76,17 @@ export function getBankList() {
method
:
"get"
method
:
"get"
});
});
}
}
/**
* 获取扣稅説明
* @returns
*/
export
function
getTaxRate
(
params
)
{
return
request
({
url
:
"/bank/getTaxRate"
,
method
:
"get"
,
params
});
}
This diff is collapsed.
Click to expand it.
H5/src/views/cashOut/cash-out.vue
View file @
a2451632
...
@@ -31,11 +31,15 @@
...
@@ -31,11 +31,15 @@
<p
class=
"explain"
>
<p
class=
"explain"
>
<span>
扣税说明
</span>
<span>
扣税说明
</span>
<img
<img
@
click=
"taxtClick"
class=
"explain-img"
class=
"explain-img"
src=
"@/assets/images/explain.png"
src=
"@/assets/images/explain.png"
alt=
"解释"
alt=
"解释"
/>
/>
</p>
</p>
<p
class=
"explain"
>
<span>
{{
this
.
textName
}}
</span>
</p>
</div>
</div>
</div>
</div>
<div
style=
"padding: 10px 16px"
>
<div
style=
"padding: 10px 16px"
>
...
@@ -85,7 +89,7 @@
...
@@ -85,7 +89,7 @@
<
script
>
<
script
>
import
{
getWithdrawalAmount
}
from
"@/api/wallet"
;
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"
;
import
BaseDialog
from
"@/components/BaseDialog.vue"
;
export
default
{
export
default
{
components
:
{
BaseDialog
},
components
:
{
BaseDialog
},
...
@@ -102,6 +106,7 @@ export default {
...
@@ -102,6 +106,7 @@ export default {
resultDialogTip
:
""
,
resultDialogTip
:
""
,
resultDialogImg
:
""
,
resultDialogImg
:
""
,
resultDialog
:
false
,
resultDialog
:
false
,
textName
:
''
,
validCodeDialogShow
:
false
,
validCodeDialogShow
:
false
,
validCode
:
null
validCode
:
null
};
};
...
@@ -159,6 +164,16 @@ export default {
...
@@ -159,6 +164,16 @@ export default {
this
.
validCode
=
null
;
this
.
validCode
=
null
;
this
.
validCodeDialogShow
=
true
;
this
.
validCodeDialogShow
=
true
;
},
},
taxtClick
(){
const
params
=
{
money
:
1
}
getTaxRate
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
textName
=
res
.
data
.
taxDesc
}
});
},
getUserInfo
()
{
getUserInfo
()
{
const
params
=
{
const
params
=
{
userId
:
this
.
$userId
userId
:
this
.
$userId
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/invite.vue
View file @
a2451632
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
binaryString
[
len
]
=
String
.
fromCharCode
(
uInt8Array
[
len
]);
binaryString
[
len
]
=
String
.
fromCharCode
(
uInt8Array
[
len
]);
}
}
let
data
=
window
.
btoa
(
binaryString
.
join
(
""
));
let
data
=
window
.
btoa
(
binaryString
.
join
(
""
));
let
imageType
=
"image/
jpe
g"
;
let
imageType
=
"image/
pn
g"
;
let
imageUrl
=
"data:"
+
imageType
+
";base64,"
+
data
;
let
imageUrl
=
"data:"
+
imageType
+
";base64,"
+
data
;
return
imageUrl
;
return
imageUrl
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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