Commit 80b9ed13 by 梁建民

去掉homes

parent c41b448d
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
</div> </div>
<div class="nav_left_content"> <div class="nav_left_content">
<ul class="content_ul"> <ul class="content_ul">
<li class="content_ul_li <if condition="(ACTION_NAME eq 'home')">active</if>"> <li class="content_ul_li <if condition=" (ACTION_NAME eq 'index' )">active</if>">
<a href="homeicsales/homes" class="out"> <a href="homeicsales" class="out">
<span class="li_icon icon iconfont iconjuxing4"></span> <span class="li_icon icon iconfont iconjuxing4"></span>
<span class="li_title">首页</span> <span class="li_title">首页</span>
</a> </a>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
return array( return array(
'URL_MAP_RULES' => array(//静态路由 'URL_MAP_RULES' => array(//静态路由
'index' => 'Index/index', 'index' => 'Index/index',
'homes' => 'Index/index',
'inquiry' => 'Index/inquiry', 'inquiry' => 'Index/inquiry',
'quote' => 'Index/quote', 'quote' => 'Index/quote',
'account' => 'Index/account', 'account' => 'Index/account',
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<i class="ico"></i> <i class="ico"></i>
<p class="t1" style="margin-bottom: 10px;">恭喜您,密码设置成功</p> <p class="t1" style="margin-bottom: 10px;">恭喜您,密码设置成功</p>
<p class="t2" style="margin: 0 auto 60px;">为请保管好您的账户信息。</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> </div>
</div> </div>
......
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
$('#nav_logo').on('click', function () { $('#nav_logo').on('click', function () {
var token = Util.getCookie('token') || ""; var token = Util.getCookie('token') || "";
if (token) { if (token) {
window.location.href = '/homes'; window.location.href = '/';
} else { } else {
window.location.href = index_url; window.location.href = index_url;
} }
......
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
Util.setCookie('token', res.data.access_token, 1, cookieHostname); Util.setCookie('token', res.data.access_token, 1, cookieHostname);
Util.setCookie('user_id', res.data.user_id, 1, cookieHostname); Util.setCookie('user_id', res.data.user_id, 1, cookieHostname);
window.location.href = home_url + '/homes'; window.location.href = home_url;
} else { } else {
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
Util.setCookie('token', res.data.access_token, 1, cookieHostname); Util.setCookie('token', res.data.access_token, 1, cookieHostname);
Util.setCookie('user_id', res.data.user_id, 1, cookieHostname); Util.setCookie('user_id', res.data.user_id, 1, cookieHostname);
window.location.href = home_url + '/homes'; window.location.href = home_url;
} else { } else {
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
Util.setCookie('token', res.data.access_token, 1, cookieHostname); Util.setCookie('token', res.data.access_token, 1, cookieHostname);
Util.setCookie('user_id', res.data.user_id, 1, cookieHostname); Util.setCookie('user_id', res.data.user_id, 1, cookieHostname);
window.location.href = home_url + '/homes'; window.location.href = home_url;
} else { } 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