Commit 80b9ed13 by 梁建民

去掉homes

parent c41b448d
......@@ -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>
......
......@@ -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',
......
......@@ -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>
......
......@@ -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;
}
......
......@@ -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 {
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment