Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0b138a51
authored
Oct 12, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/shiyu/icsales
parents
09bd3778
629e8129
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
3 deletions
Application/Index/Conf/config_url.php
Application/Index/Controller/IndexController.class.php
Application/Index/View/ServiceAgreement/index.html
Application/Index/View/ServiceAgreement/legalStatement.html
dist/js/person/login.js
Application/Index/Conf/config_url.php
View file @
0b138a51
<?php
return
array
(
'URL_MAP_RULES'
=>
array
(
//静态路由
'serviceAgreement'
=>
'Index/serviceAgreement'
,
'legalStatement'
=>
'Index/legalStatement'
,
)
);
Application/Index/Controller/IndexController.class.php
View file @
0b138a51
...
...
@@ -19,4 +19,20 @@ class IndexController extends BaseController
$this
->
display
(
'Index/index'
);
}
/**
* 服务协议
*/
public
function
serviceAgreement
()
{
$this
->
display
(
'ServiceAgreement/index'
);
}
/**
* 法律声明
*/
public
function
legalStatement
()
{
$this
->
display
(
'ServiceAgreement/legalStatement'
);
}
}
Application/Index/View/ServiceAgreement/index.html
0 → 100644
View file @
0b138a51
This diff is collapsed.
Click to expand it.
Application/Index/View/ServiceAgreement/legalStatement.html
0 → 100644
View file @
0b138a51
This diff is collapsed.
Click to expand it.
dist/js/person/login.js
View file @
0b138a51
...
...
@@ -107,7 +107,7 @@
if
(
!
$mobile
.
val
())
{
$mobile
.
parent
(
'.input-wrap'
).
addClass
(
'error'
);
$
(
".error-text"
).
show
().
find
(
"span"
).
text
(
'请填写手机号'
);
return
false
;
...
...
@@ -117,7 +117,7 @@
if
(
!
$password
.
val
()
&&
type
===
1
)
{
$password
.
parent
().
parent
(
'.input-wrap'
).
addClass
(
'error'
);
$
(
".error-text"
).
show
().
find
(
"span"
).
text
(
'请填写密码'
);
return
false
;
...
...
@@ -280,6 +280,24 @@
window
.
location
.
href
=
home_url
;
}
else
if
(
res
.
errcode
===
505
)
{
$
(
".error-text"
).
hide
();
layer
.
confirm
(
'账户被禁用,请联系0755-23940717,进行解禁'
,
{
btn
:
[
'取消'
,
'联系客服'
]
},
function
()
{
layer
.
closeAll
();
},
function
()
{
layer
.
msg
(
'0755-23940717'
,
{
time
:
8000
});
});
opt
.
isClick
=
false
;
$
(
data
.
elem
).
removeClass
(
"layui-btn-disabled"
);
}
else
{
layer
.
msg
(
res
.
errmsg
);
...
...
@@ -316,6 +334,24 @@
window
.
location
.
href
=
home_url
;
}
else
if
(
res
.
errcode
===
505
)
{
$
(
".error-text"
).
hide
();
layer
.
confirm
(
'账户被禁用,请联系0755-23940717,进行解禁'
,
{
btn
:
[
'取消'
,
'联系客服'
]
},
function
()
{
layer
.
closeAll
();
},
function
()
{
layer
.
msg
(
'0755-23940717'
,
{
time
:
8000
});
});
opt
.
isClick
=
false
;
$
(
data
.
elem
).
removeClass
(
"layui-btn-disabled"
);
}
else
{
$
(
".error-text"
).
hide
();
...
...
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