Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
quxiu
Commits
cca6bf61
Commit
cca6bf61
authored
May 11, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
2ee9303c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
9 deletions
+34
-9
themes/simplebootx/Appapi/Profit/auth.html
+34
-9
No files found.
themes/simplebootx/Appapi/Profit/auth.html
View file @
cca6bf61
...
...
@@ -36,12 +36,12 @@
<div
class=
"contentBox"
>
<div
class=
"list"
>
<div
class=
"list_hd"
>
支付宝账号
</div>
<input
v-model=
"form.account"
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的账号"
maxlength=
"8"
/>
<input
v-model=
"form.account"
class=
"list_bd"
@
change=
"checkSubmit"
type=
"text"
placeholder=
"请输入您的账号"
maxlength=
"8"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
实名认证姓名
</div>
<input
v-model=
"form.username"
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的姓名"
maxlength=
"18"
/>
<input
v-model=
"form.username"
class=
"list_bd"
@
change=
"checkSubmit"
type=
"text"
placeholder=
"请输入您的姓名"
maxlength=
"18"
/>
<p>
*
</p>
</div>
</div>
...
...
@@ -52,27 +52,27 @@
<div
class=
"contentBox"
>
<div
class=
"list"
>
<div
class=
"list_hd"
>
开户姓名
</div>
<input
v-model=
"form.name"
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的开户姓名"
maxlength=
"8"
/>
<input
v-model=
"form.name"
class=
"list_bd"
@
change=
"checkSubmit"
type=
"text"
placeholder=
"请输入您的开户姓名"
maxlength=
"8"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
银行卡号
</div>
<input
v-model=
"form.bank_card"
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的银行卡号"
maxlength=
"18"
/>
<input
v-model=
"form.bank_card"
class=
"list_bd"
@
change=
"checkSubmit"
type=
"text"
placeholder=
"请输入您的银行卡号"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
开户行
</div>
<input
v-model=
"form.bank_name"
class=
"list_bd"
type=
"text"
placeholder=
"请与银行确认好您的开户银行"
maxlength=
"18"
/>
<input
v-model=
"form.bank_name"
class=
"list_bd"
@
change=
"checkSubmit"
type=
"text"
placeholder=
"请与银行确认好您的开户银行"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
省份
</div>
<input
v-model=
"form.bank_province"
class=
"list_bd"
type=
"text"
placeholder=
"请输入省份"
maxlength=
"18"
/>
<input
v-model=
"form.bank_province"
class=
"list_bd"
@
change=
"checkSubmit"
type=
"text"
placeholder=
"请输入省份"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
城市
</div>
<input
v-model=
"form.bank_city"
class=
"list_bd"
type=
"text"
placeholder=
"请输入城市"
maxlength=
"18"
/>
<input
v-model=
"form.bank_city"
class=
"list_bd"
@
change=
"checkSubmit"
type=
"text"
placeholder=
"请输入城市"
maxlength=
"18"
/>
<p>
*
</p>
</div>
</div>
...
...
@@ -80,7 +80,7 @@
<!-- 按钮 -->
<div
class=
"btnBox"
>
<div
v-if=
"status!=0"
class=
"btnTwo"
>
立即提交
</div>
<div
v-if=
"status!=0"
class=
"btnTwo"
@
click=
"submit"
:disabled=
"isSubmit"
>
立即提交
</div>
<div
v-else
class=
"btnOne"
>
正在审核中
</div>
</div>
...
...
@@ -196,7 +196,7 @@
_this
.
isFile3
=
true
_this
.
handset_view
=
str
.
data
.
url
;
}
//
_this.checkSubmit();
_this
.
checkSubmit
();
layer
.
close
(
loadingIndex
);
}
},
...
...
@@ -218,6 +218,31 @@
}
this
.
isSubmit
=
status
;
},
submit
:
function
()
{
layer
.
msg
(
"请完善信息"
);
return
;
let
data
=
this
.
form
;
if
(
data
.
real_name
&&
data
.
cer_no
&&
data
.
mobile
&&
data
.
front_view
&&
data
.
back_view
&&
data
.
handset_view
){
$
.
ajax
({
url
:
"./index.php?g=Appapi&m=Auth&a=authsave"
,
dataType
:
"json"
,
data
:
data
,
type
:
"POST"
,
success
:
function
(
data
){
//console.log(data);
if
(
data
.
ret
==
200
){
window
.
location
.
href
=
"./index.php?g=Appapi&m=Auth&a=success&uid="
+
uid
;
}
else
{
layer
.
msg
(
data
.
msg
);
}
},
error
:
function
(
e
){
layer
.
msg
(
e
.
msg
);
}
})
}
else
{
layer
.
msg
(
"请完善信息"
);
}
}
},
watch
:
{
//数据监测函数
...
...
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