You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
3 years ago
|
{literal}
|
||
|
<style>
|
||
|
.mask {
|
||
|
position:fixed;
|
||
|
top:0;
|
||
|
left:0;
|
||
|
width:100%;
|
||
|
height:100%;
|
||
|
background: rgba(0, 0, 0, 0.5);
|
||
|
z-index:999;
|
||
|
}
|
||
|
.url_location_pos {
|
||
|
background:yellow;
|
||
|
}
|
||
|
</style>
|
||
|
{/literal}
|
||
|
|
||
|
<div class="module_inner" id="left_menu_bar">
|
||
|
<div class="input-search">
|
||
|
<a href="/">订单统计</a>
|
||
|
</div>
|
||
|
<div class="input-search">
|
||
|
<a href="/index/order_list/order_status/{$smarty.const.ORDER_STATUS_WAIT_DELIVER_GOODS}/refund_status/{$smarty.const.REFUND_STATUS_NO_AFTER_SALES}">发货提醒</a>
|
||
|
</div>
|
||
|
<div class="input-search">
|
||
|
<a href="/index/order_list/refund_status/{$smarty.const.REFUND_STATUS_AFTER_SALE_ING}">售后监控</a>
|
||
|
</div>
|
||
|
<div class="input-search">
|
||
|
<a href="/index/order_list">订单列表</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{literal}
|
||
|
<script>
|
||
|
|
||
|
function parseQueryString(url){
|
||
|
var str=url.split("?")[0].split('//')[1].split(location.host)[1];
|
||
|
return str;
|
||
|
}
|
||
|
var url=location.href;
|
||
|
var urlpath = parseQueryString(url);
|
||
|
$('#left_menu_bar').find('.input-search').removeClass('url_location_pos');
|
||
|
$('#left_menu_bar').find('.input-search').each(function(){
|
||
|
if($(this).find('a').attr('href').split('?')[0]==urlpath){
|
||
|
$(this).find('a').addClass('url_location_pos');
|
||
|
}
|
||
|
});
|
||
|
</script>
|
||
|
{/literal}
|