首页仅保留导航栏、logo、搜索框。
/* ==UserStyle== @name Pithy JD | 简洁#东 (CSS) @description 首页仅保留导航栏、logo、搜索框。 @version 2025-1-26 @namespace https://greasyfork.org/users/472487 ==/UserStyle== */ @-moz-document domain("www.jd.com") { #J_searchbg, #J_accessibility, #J_promotional-top, #J_mobile, #J_footer{ display:none !important; } html, body, .mod_container{ height:100%; } .index{ background:white; } #header{ border:none ; height:calc(100% - 31px); } .logo_subtit, .logo_extend, .logo_scene.logo_scene_hide, #logo>a{ display:none !important; } #navitems, #hotwords, #treasure{ display:none !important; } .fs, #app{ display:none !important; } #logo{ position:fixed; top:calc(30% - 80px); left:calc(50% - 100px); } .logo_tit_lk{ position:fixed; top:calc(30% - 80px); left:calc(50% - 100px); margin:0px auto; width:250px; background: url(https://misc.360buyimg.com/jdf/1.0.0/unit/global-header/5.0.0/i/[email protected]) no-repeat; } #J_logo_extend{ display:none!important; } #search .form{ position:fixed; top:calc(50% - 80px); left:calc(50% - 30px); width:800px; } .root61 #shelper.search-helper{ width:800px; } .search-m .search_bg, .search-m .text{ background:white!important; width:400px; } #settleup .cw-icon{ position:fixed; top:33px; left:calc(100% - 137px); width:132px; height:32px; } #settleup .dropdown-layer{ position:fixed; top:68px; left:calc(100% - 313px); } body:nth-of-type(2) { display:none!important; } .logo_extend{ display:block!important; } #J_enjoyTop{ display:none!important; } } @-moz-document domain("jd.com") { .choose-support a span{ z-index:1; } a.service, a.feedback, a.backtop{ border: 0px; border-top: 1px solid #fff !important; border-bottom: 1px solid #fff!important; } .product-intro.clearfix{ display:flex;justify-content:center; } .itemInfo-wrap{ margin-left:20px; } #J_fs_act_lk, #toolbar-qrcode, #J_news, #shopRecSuit, #pop-hot, #sp-new, #shop-similar-promotion { display:none !important; } .jTdCode, .user_profit, .track, .mobile_static, .purchase-op, .smart-guide-bottom{ display:none !important; } #fittings{ display:none !important; } #view-buy, #yuyue-reco, #view-view, #cart-smart, #c-tabs-new{ display:none !important; } .m.m-aside:not([class*='popbox']){ display:none !important; } .m.m-content.hide{ display:none !important; } #shareRecDemo, #guessing-liked, #orderAdids, #menu-ads, #miaozhen10772{ display:none !important; } .bottom-search, .may-like, #main>.mod-main:nth-last-of-type(1):not([class*='message-box']){ display:none !important; } .m.m-block.m-plus, .m.m-block.m-what { display:none !important; } #top-banner { display:none !important; } #o-header-2013 { display:none !important; } #popup_0_2 { display:none !important; } .topAdsPart { display:none !important; } #bottomCode { display:none !important; } div[style='background:;'] { display:none !important; } .ui-dialog { display:none !important; } .ui-mask, .br-tab-wrap { display:none !important; } .jdMaskIframe { display:none !important; } .order-tb .ordertime-cont .time-txt { border: 2px solid #0084ff; border-radius:5px; background:white; } .order-tb .tr-th .dealtime { color:black; font-weight:bold; } .aside-bar{ display:none!important } .g-main2 .m-list .ml-wrap{ margin-left:0px } /* .goods-list-v2 .gl-warp{ margin-left:95px } */ .zone-adimg{ display:none !important } .amount span:nth-of-type(1){ font-size:15px; color:#e4393c; } .m-item-ext.J-ext-trigger{ display:none!important; } }