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
34927298
Commit
34927298
authored
May 09, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
ffb2e62e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
4 deletions
+81
-4
application/Appapi/Controller/LoginController.class.php
+5
-0
themes/simplebootx/Appapi/Login/index.html
+3
-4
themes/simplebootx/Appapi/Login/login.html
+73
-0
No files found.
application/Appapi/Controller/LoginController.class.php
View file @
34927298
...
@@ -17,6 +17,11 @@ class LoginController extends HomebaseController
...
@@ -17,6 +17,11 @@ class LoginController extends HomebaseController
{
{
$this
->
display
();
$this
->
display
();
}
}
public
function
login
()
{
$this
->
display
();
}
}
}
themes/simplebootx/Appapi/Login/index.html
View file @
34927298
...
@@ -16,8 +16,7 @@
...
@@ -16,8 +16,7 @@
<div
class=
"Phone_login"
>
<div
class=
"Phone_login"
>
<img
src=
"__PUBLIC__/appapi/pay/img/phone.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/phone.png"
>
<p
@
click=
"login"
>
手机号登录
</p>
<p>
手机号登录
</p>
</div>
</div>
<!-- <div class="wayBox">-->
<!-- <div class="wayBox">-->
...
@@ -44,8 +43,8 @@
...
@@ -44,8 +43,8 @@
},
},
methods
:
{
methods
:
{
//事件
//事件
subMit
()
{
login
()
{
window
.
location
.
href
=
'/index.php?g=Appapi&m=Login&a=login'
;
}
}
},
},
watch
:
{
watch
:
{
...
...
themes/simplebootx/Appapi/Login/login.html
0 → 100644
View file @
34927298
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<title>
登录
</title>
<tc
_include
file=
"Appapi/Public/head2"
/>
</head>
<body>
<div
class=
"app"
id=
"app"
>
<div
class=
"zh_login"
>
<!-- 顶部导航栏 -->
<div
class=
"topbar"
>
<img
class=
"topbar_img"
src=
"__PUBLIC__/appapi/pay/img/nav_fanhui.png"
alt=
""
>
</div>
<div
class=
"body"
>
<div
class=
"theme"
>
账号登录
</div>
<div
class=
"form"
>
<div
class=
"form_item"
>
<img
src=
"__PUBLIC__/appapi/pay/img/zhanghao.png"
>
<input
v-model=
"account"
class=
"inputStyle"
type=
"text"
@
change=
"checked"
placeholder=
"请输入手机号"
/>
</div>
<div
class=
"form_item"
>
<img
src=
"__PUBLIC__/appapi/pay/img/mima.png"
>
<input
v-model=
"password"
class=
"inputStyle"
type=
"password"
@
change=
"checked"
placeholder=
"请输入8~16位密码"
/>
</div>
</div>
<div
class=
"Btn-box"
>
<button
type=
"button"
class=
"btnStyle"
v-if =
"is_Submit==1"
>
登录
</button>
<button
type=
"button"
class=
"btnStyle_sure"
v-else
>
登录
</button>
<div
class=
"yzm_login"
>
验证码登录
</div>
</div>
</div>
</div>
</div>
<script>
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
//数据集
account
:
''
,
//账号
password
:
''
,
// 密码
is_Submit
:
1
,
// 1信息不全 2可以提交
},
methods
:
{
//事件
checked
(){
if
(
this
.
account
&&
this
.
password
){
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