//单击销售订单 $(document).on('click', '.under-line', function () { var detailsId = $(this).attr('data-id'), orderNo = $(this).attr('data-orderNo'); //window.top.newTab('customer/order/info/view?menuId=' + menuId + '&detailsId=' + detailsId, '订单详情 ' + orderNo); //top.layui.index.openTabsPage('customer/order/info/view?menuId=' + menuId + '&detailsId=' + detailsId, '订单详情 ' + orderNo) //window.open('http://www.baidu.com') });