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
58a5395b
Commit
58a5395b
authored
4 years ago
by
全球
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
1.提现时间 2.直推切换 3.税款截取
parent
102b1a1c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
8 deletions
+38
-8
cash-out.vue
H5/src/views/cashOut/cash-out.vue
+28
-3
myStatus.vue
H5/src/views/my/myStatus.vue
+5
-0
register.vue
H5/src/views/register.vue
+5
-5
No files found.
H5/src/views/cashOut/cash-out.vue
View file @
58a5395b
...
...
@@ -24,11 +24,11 @@
<div
class=
"real"
>
<p
class=
"real-item"
>
<span>
实际到账
</span>
<span>
{{
account
}}
</span>
<span>
{{
account
.
toFixed
(
2
)
}}
</span>
</p>
<p
class=
"real-item"
>
<span>
税款
</span>
<span>
{{
rate
}}
</span>
<span>
{{
rate
.
toFixed
(
2
)
}}
</span>
</p>
<p
class=
"explain"
>
<span>
扣税说明
</span>
...
...
@@ -70,6 +70,17 @@
class=
"valid-code"
src=
"@/assets/images/验证码.png"
/>
<van-button
slot=
"button"
size=
"small"
type=
"primary"
class=
"verify-code"
:disabled=
"disabled"
@
click=
"sendSms"
>
<span
v-if=
"!disabled"
>
发送验证码
</span>
<span
v-else
>
{{
time
}}
秒后重新发送
</span>
</van-button>
</van-field>
</div>
</base-dialog>
...
...
@@ -109,9 +120,11 @@ export default {
resultDialogTip
:
""
,
resultDialogImg
:
""
,
resultDialog
:
false
,
disabled
:
false
,
textName
:
""
,
validCodeDialogShow
:
false
,
validCode
:
null
validCode
:
null
,
time
:
60
,
};
},
created
()
{
...
...
@@ -125,6 +138,13 @@ export default {
return
false
;
}
},
sendSms
()
{
const
_this
=
this
;
_this
.
time
=
60
;
_this
.
disabled
=
true
;
},
inputClick
()
{
this
.
rate
=
this
.
money
*
0.02
;
this
.
account
=
this
.
money
-
this
.
rate
;
...
...
@@ -329,4 +349,9 @@ export default {
height
:
18px
;
}
}
.verify-code
{
background-color
:
transparent
;
border
:
none
;
color
:
#88c677
;
}
</
style
>
This diff is collapsed.
Click to expand it.
H5/src/views/my/myStatus.vue
View file @
58a5395b
...
...
@@ -22,6 +22,7 @@
sticky
color=
"#28b537"
@
click=
"changeTab"
@
change=
"changeTabs"
>
<van-tab
v-for=
"item in Tabs"
...
...
@@ -158,6 +159,10 @@ export default {
console
.
log
(
"tab"
,
name
);
this
.
getRecommendDetail
(
name
);
},
changeTabs
(
name
){
console
.
log
(
"tab"
,
name
);
this
.
getRecommendDetail
(
name
);
},
onDownLoad
(
val
)
{
console
.
log
(
"下拉加载"
,
val
);
},
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/register.vue
View file @
58a5395b
...
...
@@ -110,11 +110,11 @@ export default {
onClickHide
()
{
this
.
show
=
false
;
},
sendSms
()
{
sendSms
()
{
const
_this
=
this
;
if
(
_this
.
timer
)
{
return
false
;
}
//
if (_this.timer) {
//
return false;
//
}
// 校验手机号
let
phoneReg
=
/^
(
0|86|17951
)?(
13
[
0-9
]
|15
[
012356789
]
|17
[
0-9
]
|18
[
0-9
]
|14
[
57
])[
0-9
]{8}
$/
;
//如果手机号码输入为空
...
...
@@ -169,7 +169,7 @@ export default {
this
.
$toast
.
clear
();
_this
.
registerBtnDisabled
=
false
;
if
(
res
.
code
===
0
)
{
this
.
$toast
(
"注册成功"
);
this
.
$toast
.
success
(
"注册成功"
);
//_this.$toast.sucess(res.msg);
}
else
{
_this
.
show
=
true
;
...
...
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