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
80b9ed13
authored
Aug 16, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去掉homes
parent
c41b448d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
8 deletions
Application/Common/View/public/navleft.html
Application/Home/Conf/config_url.php
Application/Passport/View/Forget/index.html
dist/js/global/global.min.js
dist/js/person/login.js
dist/js/person/register.js
Application/Common/View/public/navleft.html
View file @
80b9ed13
...
...
@@ -11,8 +11,8 @@
</div>
<div
class=
"nav_left_content"
>
<ul
class=
"content_ul"
>
<li
class=
"content_ul_li <if condition="
(
ACTION_NAME
eq
'
home
'
)"
>
active
</if>
">
<a
href=
"homeicsales
/homes
"
class=
"out"
>
<li
class=
"content_ul_li <if condition="
(
ACTION_NAME
eq
'
index
'
)"
>
active
</if>
">
<a
href=
"homeicsales"
class=
"out"
>
<span
class=
"li_icon icon iconfont iconjuxing4"
></span>
<span
class=
"li_title"
>
首页
</span>
</a>
...
...
Application/Home/Conf/config_url.php
View file @
80b9ed13
...
...
@@ -2,7 +2,6 @@
return
array
(
'URL_MAP_RULES'
=>
array
(
//静态路由
'index'
=>
'Index/index'
,
'homes'
=>
'Index/index'
,
'inquiry'
=>
'Index/inquiry'
,
'quote'
=>
'Index/quote'
,
'account'
=>
'Index/account'
,
...
...
Application/Passport/View/Forget/index.html
View file @
80b9ed13
...
...
@@ -75,7 +75,7 @@
<i
class=
"ico"
></i>
<p
class=
"t1"
style=
"margin-bottom: 10px;"
>
恭喜您,密码设置成功
</p>
<p
class=
"t2"
style=
"margin: 0 auto 60px;"
>
为请保管好您的账户信息。
</p>
<a
href=
"homeicsales
/homes
"
class=
"btn"
>
返回首页
</a>
<a
href=
"homeicsales"
class=
"btn"
>
返回首页
</a>
</div>
</div>
</div>
...
...
dist/js/global/global.min.js
View file @
80b9ed13
...
...
@@ -177,7 +177,7 @@
$
(
'#nav_logo'
).
on
(
'click'
,
function
()
{
var
token
=
Util
.
getCookie
(
'token'
)
||
""
;
if
(
token
)
{
window
.
location
.
href
=
'/
homes
'
;
window
.
location
.
href
=
'/'
;
}
else
{
window
.
location
.
href
=
index_url
;
}
...
...
dist/js/person/login.js
View file @
80b9ed13
...
...
@@ -278,7 +278,7 @@
Util
.
setCookie
(
'token'
,
res
.
data
.
access_token
,
1
,
cookieHostname
);
Util
.
setCookie
(
'user_id'
,
res
.
data
.
user_id
,
1
,
cookieHostname
);
window
.
location
.
href
=
home_url
+
'/homes'
;
window
.
location
.
href
=
home_url
;
}
else
{
...
...
@@ -314,7 +314,7 @@
Util
.
setCookie
(
'token'
,
res
.
data
.
access_token
,
1
,
cookieHostname
);
Util
.
setCookie
(
'user_id'
,
res
.
data
.
user_id
,
1
,
cookieHostname
);
window
.
location
.
href
=
home_url
+
'/homes'
;
window
.
location
.
href
=
home_url
;
}
else
{
...
...
dist/js/person/register.js
View file @
80b9ed13
...
...
@@ -273,7 +273,7 @@
Util
.
setCookie
(
'token'
,
res
.
data
.
access_token
,
1
,
cookieHostname
);
Util
.
setCookie
(
'user_id'
,
res
.
data
.
user_id
,
1
,
cookieHostname
);
window
.
location
.
href
=
home_url
+
'/homes'
;
window
.
location
.
href
=
home_url
;
}
else
{
...
...
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