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
ce4b9a3c
Commit
ce4b9a3c
authored
May 09, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
3136fc18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
130 additions
and
1 deletions
+130
-1
application/Appapi/Controller/ProfitController.class.php
+41
-0
themes/simplebootx/Appapi/Login/login.html
+1
-1
themes/simplebootx/Appapi/Profit/index.html
+88
-0
No files found.
application/Appapi/Controller/ProfitController.class.php
0 → 100644
View file @
ce4b9a3c
<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2014 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------
namespace
Appapi\Controller
;
use
Common\Controller\HomebaseController
;
class
ProfitController
extends
HomebaseController
{
public
function
index
()
{
$uid
=
I
(
"uid"
);
$token
=
I
(
"token"
);
if
(
checkToken
(
$uid
,
$token
)
==
700
){
$this
->
assign
(
"reason"
,
'您的登陆状态失效,请重新登陆!'
);
$this
->
display
(
':error'
);
exit
;
}
$this
->
display
();
}
public
function
login
()
{
$this
->
display
();
}
}
themes/simplebootx/Appapi/Login/login.html
View file @
ce4b9a3c
...
...
@@ -93,7 +93,7 @@
}
else
{
let
info
=
d
.
info
[
0
];
sessionStorage
.
setItem
(
"user_info"
,
JSON
.
stringify
(
info
));
window
.
location
.
href
=
'/index.php?g=Appapi&m=
Level
&a=index&uid='
+
info
.
id
+
'&token='
+
info
.
token
;
window
.
location
.
href
=
'/index.php?g=Appapi&m=
Profit
&a=index&uid='
+
info
.
id
+
'&token='
+
info
.
token
;
}
}
else
{
layer
.
msg
(
data
.
msg
);
...
...
themes/simplebootx/Appapi/Profit/index.html
0 → 100644
View file @
ce4b9a3c
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
我的收益
</title>
<tc
_include
file=
"Appapi/Public/head2"
/>
</head>
<body>
<div
class=
"app"
id=
"app"
style=
"padding-top: 0;"
>
<div
class=
"my_Profit"
>
<div
class=
"body"
>
<div
class=
"bgBox"
>
<img
src=
"__PUBLIC__/appapi/pay/img/shouyibg.png"
>
</div>
<div></div>
<div
class=
"menuBox"
>
<img
src=
"__PUBLIC__/appapi/img/diamond_32@2x.png"
>
<span
style=
"color: #fff"
>
剩余钻石:
</span>
<br
/>
<span
style=
"color: #fff"
>
1000
</span>
<div
class=
"menuItem"
>
<div
class=
"menuHd"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zhib.png"
>
<div
class=
"menutile"
>
直播魅力
</div>
</div>
<div
class=
"menuBd"
>
<p>
提现
</p>
<img
src=
"../img/more.png"
>
</div>
</div>
<div
class=
"menuItem"
>
<div
class=
"menuHd"
>
<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"
>
</div>
</div>
<div
class=
"menuItem"
>
<div
class=
"menuHd"
>
<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"
>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
//数据集
phone
:
''
,
// 手机号
yzm
:
''
,
// 验证码
is_Submit
:
1
,
// 1信息不全 2可以提交
},
methods
:
{
//事件
checked
(){
if
(
this
.
phone
&&
this
.
yzm
){
this
.
is_Submit
=
2
}
else
{
this
.
is_Submit
=
1
}
},
subMit
()
{
}
},
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