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
74db38a4
Commit
74db38a4
authored
May 09, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
bf146532
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
138 additions
and
20 deletions
+138
-20
application/Appapi/Controller/ProfitController.class.php
+9
-7
themes/simplebootx/Appapi/Profit/index.html
+18
-13
themes/simplebootx/Appapi/Profit/rechange.html
+111
-0
No files found.
application/Appapi/Controller/ProfitController.class.php
View file @
74db38a4
...
...
@@ -23,17 +23,19 @@ class ProfitController extends HomebaseController
$this
->
display
(
':error'
);
exit
;
}
$this
->
display
();
}
public
function
login
()
public
function
rechange
()
{
$uid
=
I
(
"uid"
);
$token
=
I
(
"token"
);
if
(
checkToken
(
$uid
,
$token
)
==
700
){
$this
->
assign
(
"reason"
,
'您的登陆状态失效,请重新登陆!'
);
$this
->
display
(
':error'
);
exit
;
}
$this
->
display
();
}
}
...
...
themes/simplebootx/Appapi/Profit/index.html
View file @
74db38a4
...
...
@@ -9,45 +9,45 @@
<div
class=
"my_Profit"
>
<div
class=
"body"
>
<div
class=
"bgBox"
>
<img
src=
"__PUBLIC__/appapi/pay/img/shouyibg.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/shouyibg.png"
>
</div>
<div></div>
<div
class=
"menuBox"
>
<div>
<img
src=
"__PUBLIC__/appapi/img/diamond_32@2x.png"
width=
"16px"
>
<span
style=
"color: #fff"
>
剩余钻石:
</span>
<span>
充值
</span>
<br
/>
<span
@
click=
"rechange"
>
充值
</span>
<br/>
<span
style=
"color: #fff"
>
1000
</span>
</div>
<div
class=
"menuItem"
>
<div
class=
"menuHd"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zhib.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zhib.png"
>
<div
class=
"menutile"
>
直播魅力
</div>
</div>
<div
class=
"menuBd"
>
<p>
提现
</p>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
</div>
</div>
<div
class=
"menuItem"
>
<div
class=
"menuHd"
>
<img
src=
"__PUBLIC__/appapi/pay/img/yaoq.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/yaoq.png"
>
<div
class=
"menutile"
>
邀请魅力
</div>
</div>
<div
class=
"menuBd"
>
<p>
提现
</p>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
</div>
</div>
<div
class=
"menuItem"
>
<div
class=
"menuHd"
>
<img
src=
"__PUBLIC__/appapi/pay/img/jiazu.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/jiazu.png"
>
<div
class=
"menutile"
>
家族魅力
</div>
</div>
<div
class=
"menuBd"
>
<p>
提现
</p>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/more.png"
>
</div>
</div>
...
...
@@ -67,21 +67,26 @@
},
methods
:
{
//事件
checked
(){
if
(
this
.
phone
&&
this
.
yzm
)
{
checked
()
{
if
(
this
.
phone
&&
this
.
yzm
)
{
this
.
is_Submit
=
2
}
else
{
}
else
{
this
.
is_Submit
=
1
}
},
subMit
()
{
},
rechange
()
{
let
userInfo
=
sessionStorage
.
getItem
(
"user_info"
);
let
info
=
JSON
.
parse
(
userInfo
);
window
.
location
.
href
=
'/index.php?g=Appapi&m=Profit&a=rechange&uid='
+
info
.
id
+
'&token='
+
info
.
token
;
}
},
watch
:
{
//数据监测函数
},
created
:
function
()
{
created
:
function
()
{
//加载触发函数
}
});
...
...
themes/simplebootx/Appapi/Profit/rechange.html
0 → 100644
View file @
74db38a4
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
充值
</title>
<tc
_include
file=
"Appapi/Public/head2"
/>
</head>
<body
style=
"background: #FAFAFA;"
>
<div
class=
"app"
id=
"app"
>
<div
class=
"Recharge"
>
<div
class=
"topbar"
>
<img
class=
"topbar_img"
src=
"__PUBLIC__/appapi/pay/img/nav_fanhui.png"
alt=
""
>
<div
class=
"top_title"
>
充值钻石
</div>
</div>
<div
class=
"header"
>
<div
class=
"zhanghu"
>
账户ID
</div>
<div
class=
"inputBox"
>
<input
type=
"number"
class=
"input_id"
placeholder=
"请输入ID"
/>
</div>
<div
class=
"zuanNum"
>
剩余钻石:0
</div>
</div>
<div
class=
"body"
>
<div
class=
"chooseTips"
>
请选择充值金额
</div>
<div
class=
"chooseBox"
>
<div
class=
"item"
@
click=
"sel_money(1)"
>
<div
class=
"item-one"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zuanshi.png"
>
<span>
600
</span>
</div>
<div
class=
"item-two"
>
¥0.01
</div>
<img
v-show=
"sel_num==1"
class=
"selimg"
src=
"__PUBLIC__/appapi/pay/img/xuansel.png"
>
</div>
<div
class=
"item"
@
click=
"sel_money(2)"
>
<div
class=
"item-one"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zuanshi.png"
>
<span>
3000
</span>
</div>
<div
class=
"item-two"
>
¥30
</div>
<img
v-show=
"sel_num==2"
class=
"selimg"
src=
"__PUBLIC__/appapi/pay/img/xuansel.png"
>
</div>
<div
class=
"item"
@
click=
"sel_money(3)"
>
<div
class=
"item-one"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zuanshi.png"
>
<span>
9800
</span>
</div>
<div
class=
"item-two"
>
¥98
</div>
<img
v-show=
"sel_num==3"
class=
"selimg"
src=
"__PUBLIC__/appapi/pay/img/xuansel.png"
>
</div>
<div
class=
"item"
@
click=
"sel_money(4)"
>
<div
class=
"item-one"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zuanshi.png"
>
<span>
38800
</span>
</div>
<div
class=
"item-two"
>
¥388
</div>
<img
v-show=
"sel_num==4"
class=
"selimg"
src=
"__PUBLIC__/appapi/pay/img/xuansel.png"
>
</div>
<div
class=
"item"
@
click=
"sel_money(5)"
>
<div
class=
"item-one"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zuanshi.png"
>
<span>
58800
</span>
</div>
<div
class=
"item-two"
>
¥588
</div>
<img
v-show=
"sel_num==5"
class=
"selimg"
src=
"__PUBLIC__/appapi/pay/img/xuansel.png"
>
</div>
</div>
</div>
<div
class=
"foot"
>
<div
class=
"foot_left"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zfb-icon.png"
>
<span>
支付宝
</span>
</div>
<div
class=
"foot_right"
>
<img
src=
"__PUBLIC__/appapi/pay/img/wx-icon.png"
>
<span>
微信支付
</span>
</div>
</div>
</div>
</div>
<script>
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
//数据集
sel_num
:
1
,
// 充值类型/数量
},
methods
:
{
//事件
sel_money
(
index
){
this
.
sel_num
=
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