|
@@ -39,7 +39,7 @@
|
|
|
<li><a href="{:url('Memberorder/index')}" class="arrow">{$Think.lang.ds_my_order}<i></i></a></li>
|
|
|
<li><a href="{:url('Memberconsult/index')}">{$Think.lang.ds_consulting_reply}(<span id="member_consult">0</span>)</a></li>
|
|
|
<li><a href="{:url('Memberfavorites/fglist')}" class="arrow">{$Think.lang.ds_favorites}<i></i></a></li>
|
|
|
- <li><a href="{:url('Membervoucher/index')}">{$Think.lang.ds_vouchers}(<span id="member_voucher">0</span>)</a></li>
|
|
|
+ <li><a href="{:url('Membervoucher/storevoucher')}">{$Think.lang.ds_vouchers}(<span id="member_voucher">0</span>)</a></li>
|
|
|
<li><a href="{:url('Memberpoints/index')}" class="arrow">{$Think.lang.ds_my_points}<i></i></a></li>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -159,20 +159,7 @@
|
|
|
{/foreach}
|
|
|
</ul>
|
|
|
</div>
|
|
|
-
|
|
|
- <script>
|
|
|
- $(function(){
|
|
|
- var href = location.href;
|
|
|
- var node = $(".nav_list .site_menu a[href='"+href+"']")
|
|
|
- if(node.length > 0){
|
|
|
- $(".nav_list .site_menu a").removeClass('current')
|
|
|
- node.addClass('current')
|
|
|
- }
|
|
|
- if(location.pathname === '/' || location.pathname === "{:url('Index/index')}"){
|
|
|
- $(".nav_list a").eq(0).addClass('current')
|
|
|
- }
|
|
|
- })
|
|
|
- </script>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -184,7 +171,7 @@
|
|
|
{notempty name="nav_link_list"}
|
|
|
<div class="dsh-breadcrumb-layout">
|
|
|
<div class="dsh-breadcrumb w1200"><i class="iconfont"></i>
|
|
|
- {foreach $nav_link_list as $nav_link}
|
|
|
+ {foreach $nav_link_list as $nav_link}
|
|
|
{empty name="nav_link.link"}
|
|
|
<span>{$nav_link.title}</span>
|
|
|
{else /}
|
|
@@ -207,7 +194,7 @@
|
|
|
var cat_id = $(this).attr("cat_id");
|
|
|
var menu = $(this).find("div[cat_menu_id='"+cat_id+"']");
|
|
|
menu.show();
|
|
|
- $(this).addClass("hover");
|
|
|
+ $(this).addClass("hover");
|
|
|
var menu_height = menu.height();
|
|
|
if (menu_height < 60) menu.height(80);
|
|
|
menu_height = menu.height();
|
|
@@ -239,5 +226,5 @@
|
|
|
$(this).unbind('mouseover');
|
|
|
});
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
</script>
|