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
04cf7577
Commit
04cf7577
authored
May 09, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
19cab100
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
235 additions
and
3 deletions
+235
-3
application/Appapi/Controller/ProfitController.class.php
+26
-0
themes/simplebootx/Appapi/Profit/auth.html
+116
-0
themes/simplebootx/Appapi/Profit/index.html
+9
-3
themes/simplebootx/Appapi/Profit/withdraw.html
+84
-0
No files found.
application/Appapi/Controller/ProfitController.class.php
View file @
04cf7577
...
@@ -38,6 +38,32 @@ class ProfitController extends HomebaseController
...
@@ -38,6 +38,32 @@ class ProfitController extends HomebaseController
}
}
$this
->
display
();
$this
->
display
();
}
}
public
function
auth
()
{
$uid
=
I
(
"uid"
);
$token
=
I
(
"token"
);
if
(
checkToken
(
$uid
,
$token
)
==
700
){
$this
->
assign
(
"reason"
,
'您的登陆状态失效,请重新登陆!'
);
$this
->
display
(
':error'
);
exit
;
}
$this
->
display
();
}
public
function
withdraw
()
{
$uid
=
I
(
"uid"
);
$token
=
I
(
"token"
);
if
(
checkToken
(
$uid
,
$token
)
==
700
){
$this
->
assign
(
"reason"
,
'您的登陆状态失效,请重新登陆!'
);
$this
->
display
(
':error'
);
exit
;
}
$this
->
display
();
}
}
}
themes/simplebootx/Appapi/Profit/auth.html
0 → 100644
View file @
04cf7577
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
提现申请
</title>
<tc
_include
file=
"Appapi/Public/head2"
/>
</head>
<body
style=
"background: #fff;"
>
<div
class=
"app"
id=
"app"
>
<div
class=
"sfrz"
>
<div
class=
"topbar"
>
<img
class=
"topbar_img"
src=
"__PUBLIC__/appapi/pay/img/nav_fanhui.png"
alt=
""
>
<div
class=
"top_title"
>
身份认证
</div>
</div>
<!-- 状态 -->
<!-- <div class="statusOne">正在审核中,请耐心等待</div> -->
<div
class=
"statusTwo"
>
审核失败,请重新填写!
</div>
<!-- 上传身份证 -->
<div
class=
"part"
>
<div
class=
"part_name"
>
上传身份证
</div>
<div
class=
"scimgBox"
>
<div
class=
"imgItem"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-1.png"
>
<!-- 上传证件照之后 -->
<!-- <img src="__PUBLIC__/appapi/pay/img/tx.png" > -->
</div>
<div
class=
"imgItem"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-2.png"
>
</div>
<div
class=
"imgItem"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-3.png"
>
</div>
</div>
</div>
<!-- 支付宝认证 -->
<div
class=
"part"
style=
"margin-top: 1rem;"
>
<div
class=
"part_name"
style=
"margin-bottom: .5rem;"
>
支付宝认证
</div>
<div
class=
"contentBox"
>
<div
class=
"list"
>
<div
class=
"list_hd"
>
支付宝账号
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的账号"
maxlength=
"8"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
实名认证姓名
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的姓名"
maxlength=
"18"
/>
<p>
*
</p>
</div>
</div>
</div>
<!-- 银行卡认证 -->
<div
class=
"part"
style=
"margin-top: 1rem;"
>
<div
class=
"part_name"
style=
"margin-bottom: .5rem;"
>
银行卡认证
</div>
<div
class=
"contentBox"
>
<div
class=
"list"
>
<div
class=
"list_hd"
>
开户姓名
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"需与支付宝姓名一致"
maxlength=
"8"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
银行卡号
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的银行卡号"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
开户行
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请与银行确认好您的开户银行"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
省份
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入省份"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
城市
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入城市"
maxlength=
"18"
/>
<p>
*
</p>
</div>
</div>
</div>
<!-- 按钮 -->
<div
class=
"btnBox"
>
<!-- <div class="btnTwo">立即提交</div> -->
<div
class=
"btnOne"
>
正在审核中
</div>
</div>
</div>
</div>
<script>
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
//数据集
group
:
[{
}]
},
methods
:
{
//事件
},
watch
:
{
//数据监测函数
},
created
:
function
()
{
//加载触发函数
}
});
</script>
</body>
</html>
themes/simplebootx/Appapi/Profit/index.html
View file @
04cf7577
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<div>
<div>
<img
src=
"__PUBLIC__/appapi/img/diamond_32@2x.png"
width=
"16px"
>
<img
src=
"__PUBLIC__/appapi/img/diamond_32@2x.png"
width=
"16px"
>
<span
style=
"color: #fff"
>
剩余钻石:
</span>
<span
style=
"color: #fff"
>
剩余钻石:
</span>
<span
@
click=
"rechange"
>
充值
</span>
<span
@
click=
"rechange"
>
点击去充值页面
</span>
<br/>
<br/>
<span
style=
"color: #fff"
>
1000
</span>
<span
style=
"color: #fff"
>
1000
</span>
</div>
</div>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<div
class=
"menutile"
>
直播魅力
</div>
<div
class=
"menutile"
>
直播魅力
</div>
</div>
</div>
<div
class=
"menuBd"
>
<div
class=
"menuBd"
>
<p
>
提现
</p>
<p
@
click=
"withdraw(1)"
>
点击去提现申请页面
</p>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
</div>
</div>
</div>
</div>
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<div
class=
"menutile"
>
邀请魅力
</div>
<div
class=
"menutile"
>
邀请魅力
</div>
</div>
</div>
<div
class=
"menuBd"
>
<div
class=
"menuBd"
>
<p
>
提现
</p>
<p
@
click=
"withdraw(0)"
>
点击去提现页面
</p>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
</div>
</div>
</div>
</div>
...
@@ -81,6 +81,12 @@
...
@@ -81,6 +81,12 @@
let
userInfo
=
sessionStorage
.
getItem
(
"user_info"
);
let
userInfo
=
sessionStorage
.
getItem
(
"user_info"
);
let
info
=
JSON
.
parse
(
userInfo
);
let
info
=
JSON
.
parse
(
userInfo
);
window
.
location
.
href
=
'/index.php?g=Appapi&m=Profit&a=rechange&uid='
+
info
.
id
+
'&token='
+
info
.
token
;
window
.
location
.
href
=
'/index.php?g=Appapi&m=Profit&a=rechange&uid='
+
info
.
id
+
'&token='
+
info
.
token
;
},
withdraw
(
type
)
{
let
userInfo
=
sessionStorage
.
getItem
(
"user_info"
);
let
info
=
JSON
.
parse
(
userInfo
);
let
url
=
type
?
'/index.php?g=Appapi&m=Profit&a=auth'
:
'/index.php?g=Appapi&m=Profit&a=withdraw'
;
window
.
location
.
href
=
url
+
'&uid='
+
info
.
id
+
'&token='
+
info
.
token
;
}
}
},
},
watch
:
{
watch
:
{
...
...
themes/simplebootx/Appapi/Profit/withdraw.html
0 → 100644
View file @
04cf7577
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
提现申请
</title>
<tc
_include
file=
"Appapi/Public/head2"
/>
</head>
<body
style=
"background: #F9F9F9;"
>
<div
class=
"app"
id=
"app"
>
<div
class=
"tixian"
>
<div
class=
"topbar"
>
<img
class=
"topbar_img"
src=
"__PUBLIC__/appapi/pay/img/nav_fanhui.png"
alt=
""
>
<div
class=
"top_title"
>
提现
</div>
</div>
<!-- 可提现金额 -->
<div
class=
"total_money"
>
<span>
可提现金额
</span>
<span
class=
"money_num"
>
999元
</span>
</div>
<div
class=
"chooseWay"
>
请选择提现方式
</div>
<div
class=
"wayBox"
>
<div
class=
"wayItem"
@
click=
"chooseWay(1)"
>
<div
class=
"wayItemHd"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zhifubao.png"
>
<span>
支付宝
</span>
</div>
<div
class=
"wayItemBd"
>
<img
v-if=
"wayNum==1"
src=
"__PUBLIC__/appapi/pay/img/right@2x.png"
>
<img
v-else
src=
"__PUBLIC__/appapi/pay/img/no_right@2x.png"
>
</div>
</div>
<div
class=
"wayItem"
@
click=
"chooseWay(2)"
>
<div
class=
"wayItemHd"
>
<img
src=
"__PUBLIC__/appapi/pay/img/bandCard.png"
>
<span>
银行卡
</span>
</div>
<div
class=
"wayItemBd"
>
<img
v-if=
"wayNum==2"
src=
"__PUBLIC__/appapi/pay/img/right@2x.png"
>
<img
v-else
src=
"__PUBLIC__/appapi/pay/img/no_right@2x.png"
>
</div>
</div>
</div>
<!-- 输入提现金额 -->
<div
class=
"tixian_money"
>
<div
class=
"num_money"
>
金额
</div>
<input
type=
"nunber"
class=
"input_money"
placeholder=
"请输入提现金额"
/>
<p>
*
</p>
</div>
<!-- 确认提现 -->
<div
class=
"sureBtn"
>
确认提现
</div>
</div>
</div>
<script>
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
//数据集
wayNum
:
1
,
// 1支付宝 2银行卡
},
methods
:
{
//事件
chooseWay
(
index
){
this
.
wayNum
=
index
}
},
watch
:
{
//数据监测函数
},
created
:
function
()
{
//加载触发函数
}
});
</script>
</body>
>
</html>
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