37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
function initFooter() {
|
|
// const $daohang = $('.footer .daohang');
|
|
// $daohang.nextUntil('.daohang_bottom_line').remove(); // 删除中间所有元素,直到 .busuna 前的所有兄弟
|
|
|
|
console.log(11)
|
|
$('.footer .daohang').css({
|
|
'border-bottom':'none',
|
|
})
|
|
$('.daohang_bottom_line').css({
|
|
'background': 'red',
|
|
'height': '6px',
|
|
'border-top': '0.5px solid #fff',
|
|
'border-bottom': '0.5px solid #fff',
|
|
'width': '1300px',
|
|
'margin': '0 auto',
|
|
})
|
|
$('.footer-bottom-email').css({
|
|
'display': 'flex',
|
|
'align-items': 'center',
|
|
'justify-content': 'center',
|
|
})
|
|
$('.footer-bottom-email-line').css({
|
|
'font-weight': '700',
|
|
/* width: 3px; */
|
|
/* display: inline-block; */
|
|
'border': '2px solid #fff',
|
|
/* height: 16px; */
|
|
'line-height': '14px',
|
|
'margin': '0px 10px',
|
|
'height': '12px',
|
|
'display': 'inline-block',
|
|
})
|
|
|
|
|
|
|
|
}
|
|
initFooter() |