【B2主题美化】新首页六格

释放双眼,带上耳机,听听看~!

效果图

15f6c21964bbd3_1_post

头部自定义HTML

<script type="text/javascript" src="//at.alicdn.com/t/font_3062933_glkwtygt674.js"></script>

子主题css插入

CSS中调用了一张png图片,可以自行上传替换,搜索 Mrxu-content .Mrxu-top i

b95c86670ca81c3f00080d7f5d9c12d0-1

图片尺寸为795 x 117,即下方图片

【B2主题美化】新首页六格插图2

/*首页六格开始*/
.newicon {
    width: 2em;
    height: 1.5em;
    vertical-align: -0.15em;
    fill: currentColor;
}
.Mrxu-block {
    padding-top: 30px;
    position: relative;
}

.Mrxu-block .cut-prev,.Mrxu-block .cut-next {
    position: absolute;
    font-size: 14px;
    top: 63px;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    color: #CCCCCC;
    background: #F3F4F7;
    border-radius: 50%;
    cursor: pointer;
}

.Mrxu-block .cut-prev {
    display: none;
    left: -55px;
}

.Mrxu-block .cut-next {
    right: -55px;
}

.Mrxu-block .cut-prev:hover,.Mrxu-block .cut-next:hover {
    color: #39AEFF;
    background: #F3F4F7;
}

.Mrxu-circulation {
    height: 228px;
    overflow: hidden;
}

.Mrxu-circulation ul {
    width: 300%;
}

.Mrxu-circulation ul li {
    float: left;
    position: relative;
    width: 5%;
    height: 100px;
    margin-right: 24px;
    z-index: 1;
}

.Mrxu-circulation ul li .Mrxu-content::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 168px;
    height: 100px;
}

.Mrxu-circulation ul li .Mrxu-content {
    position: relative;
    height: 100px;
    font-size: 14px;
    border-radius: 10px;
    transition: 0.2s;
    overflow: hidden;
}

.Mrxu-content .Mrxu-top {
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 22px 0 0 16px;
    border-radius: 10px;
    overflow: hidden;
    height: 100px;
}

.Mrxu-name {
    position: relative;
    font-size: 26px;
    line-height: 26px;
    margin-bottom: 8px;
    z-index: 1;
}

.Mrxu-hint {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.Mrxu-circulation ul li.off:hover .Mrxu-content {
    height: 100px;
}

.Mrxu-circulation ul li:hover .Mrxu-content {
    height: 218px;
    box-shadow: 0 6px 10px 0 rgba(0,0,0,0.10);
}

.Mrxu-circulation .color1 .Mrxu-content:hover {
    background: #FFD4D4;
}

.Mrxu-circulation .color1 .Mrxu-top {
    color: #C68686;
}

.Mrxu-circulation .color1 .Mrxu-name {
    color: #5B0000;
}

.Mrxu-circulation li.color1 .Mrxu-content::before {
    background-position: 0 -100px;
}

.Mrxu-circulation .color2 .Mrxu-content:hover {
    background: #C9F1ED;
}

.Mrxu-circulation .color2 .Mrxu-top {
    color: #87BAB5;
}

.Mrxu-circulation .color2 .Mrxu-name {
    color: #0C534D;
}

.Mrxu-circulation li.color2 .Mrxu-content::before {
    background-position: -178px -100px;
}

.Mrxu-circulation .color3 .Mrxu-content:hover {
    background: #FFECB4;
}

.Mrxu-circulation .color3 .Mrxu-top {
    color: #DEBD83;
}

.Mrxu-circulation .color3 .Mrxu-name {
    color: #844000;
}

.Mrxu-circulation li.color3 .Mrxu-content::before {
    background-position: -534px -100px;
}

.Mrxu-circulation .color4 .Mrxu-content:hover {
    background: #FFD4D4;
}

.Mrxu-circulation .color4 .Mrxu-top {
    color: #BD7C7C;
}

.Mrxu-circulation .color4 .Mrxu-name {
    color: #5B0000;
}

.Mrxu-circulation li.color4 .Mrxu-content::before {
    background-position: -1424px -100px;
}

.Mrxu-circulation .color5 .Mrxu-content:hover {
    background: #FFE2EF;
}

.Mrxu-circulation .color5 .Mrxu-top {
    color: #D390A7;
}

.Mrxu-circulation .color5 .Mrxu-name {
    color: #840028;
}

.Mrxu-circulation li.color5 .Mrxu-content::before {
    background-position: -712px -100px;
}

.Mrxu-circulation .color6 .Mrxu-content:hover {
    background: #FFE2D0;
}

.Mrxu-circulation .color6 .Mrxu-top {
    color: #D49D86;
}

.Mrxu-circulation .color6 .Mrxu-name {
    color: #842100;
}

.Mrxu-circulation li.color6 .Mrxu-content::before {
    background-position: -890px -100px;
}

.Mrxu-content .Mrxu-top i {
    position: absolute;
    top: 0;
    right: -20px;
    width: 130px;
    height: 100px;
    background: url(/pic/6g.png) no-repeat 0 0;
}

.Mrxu-circulation li .icon1 {
    background-position: 0px 0;
}

.Mrxu-circulation li .icon2 {
    background-position: -140px 0;
}

.Mrxu-circulation li .icon3 {
    background-position: -280px 0;
}

.Mrxu-circulation li .icon4 {
    background-position: -410px 0;
}

.Mrxu-circulation li .icon5 {
    background-position: -530px 0;
}

.Mrxu-circulation li .icon6 {
    background-position: -650px 0;
}

.Mrxu-block .Mrxu-content {
    height: 100px;
}

.Mrxu-block .Mrxu-link {
    text-align: center;
    line-height: 26px;
    font-size: 14px;
}

.Mrxu-block .Mrxu-link a {
    margin: 10px 1px 0;
    display: inline-block;
    background: rgba(255,255,255,0.50);
    width: 77px;
    height: 26px;
    border-radius: 13px;
    font-size: 13px;
}

.Mrxu-block .Mrxu-link a:hover {
    background: #fff;
    color: #666;
}

.Mrxu-classify {
    margin: -87px 0 0;
    padding-bottom: 30px;
    white-space: nowrap;
}

.Mrxu-classify li {
    width: 10%;
    position: relative;
    display: inline-block;
}

.Mrxu-classify li::before {
    content: '';
    position: absolute;
    right: -1px;
    top: 2px;
    width: 2px;
    height: 16px;
    background: #DDDDDD;
}

.Mrxu-classify li:nth-child(10)::before {
    display: none;
}

.Mrxu-classify li .iconfont {
    font-size: 16px;
    color: #39AEFF;
    margin-right: 6px;
}

.Mrxu-classify li a {
    margin-left: 6%;
    font-size: 14px;
    color: #666666;
}

.Mrxu-classify li a:hover {
    color: #2CAEFF;
}

.Mrxu-classify li.more {
    display: none;
}

.Mrxu-classify li.more i {
    vertical-align: -3px;
    margin-right: 4px;
}

.Mrxu-circulation li.AnRotate .Mrxu-top i {
    animation: AnRotate 1.2s ease-in-out infinite alternate;
    transform-origin: 76px 90%;
}
/*首页六格结束*/

首页模块自定义HTML

     <div class="wrapper mobile-hidden"><div class="home-row-left content-area "><div id="html-box-pckjl1" class="html-box"> <div class="banxin Mrxu-block">
        <div class="Mrxu-circulation">
            <ul>
                <li class="color1">
                    <div class="Mrxu-content">
                        <a class="Mrxu-top" href="#">
                            <p class="Mrxu-name">动漫</p>
                            <p class="Mrxu-hint">最新动漫</p>
                            <i class="icon1"></i>
                        </a>
                        <div class="Mrxu-link">
                            <a href="#">热血</a>
                            <a href="#">卡通</a>
                            <a href="#">新番</a>
                            <a href="#">百合</a>
                            <a href="#">搞笑</a>
                            <a href="#">国产</a>
                        </div>
                    </div>
                </li>
                <li class="color2">
                    <div class="Mrxu-content">
                        <a class="Mrxu-top" href="#">
                            <p class="Mrxu-name">漫画</p>
                            <p class="Mrxu-hint">一笔一世界</p>
                            <i class="icon2"></i>
                        </a>
                        <div class="Mrxu-link">
                            <a href="#">恋爱</a>
                            <a href="#">玄幻</a>
                            <a href="#">恐怖</a>
                            <a href="#">剧情</a>
                            <a href="#">科幻</a>
                            <a href="#">悬疑</a>
                        </div>
                    </div>
                </li>
                <li class="color3">
                    <div class="Mrxu-content">
                        <a class="Mrxu-top" href="#">
                            <p class="Mrxu-name">游戏</p>
                            <p class="Mrxu-hint">一鼠一片天</p>
                            <i class="icon3"></i>
                        </a>
                        <div class="Mrxu-link">
                            <a href="#">单机</a>
                            <a href="#">手机</a>
                            <a href="#">网络</a>
                            <a href="#">MMO</a>
                            <a href="#">桌游棋牌</a>
                            <a href="#">GMV</a>
                        </div>
                    </div>
                </li>
                <li class="color4">
                    <div class="Mrxu-content">
                        <a class="Mrxu-top" href="#">
                            <p class="Mrxu-name">番剧</p>
                            <p class="Mrxu-hint">最新更新</p>
                            <i class="icon4"></i>
                        </a>
                        <div class="Mrxu-link">
                            <a href="#">连载</a>
                            <a href="#">完结</a>
                            <a href="#">时间表</a>
                            <a href="#">索引</a>
                            <a href="#">里番</a>
                            <a href="#">同人</a>
                        </div>
                    </div>
                </li>
                <li class="color5">
                    <div class="Mrxu-content">
                        <a class="Mrxu-top" href="#">
                            <p class="Mrxu-name">COS</p>
                            <p class="Mrxu-hint">漂亮小姐姐</p>
                            <i class="icon5"></i>
                        </a>
                        <div class="Mrxu-link">
                            <a href="#">动漫</a>
                            <a href="#">游戏</a>
                            <a href="#">明星</a>
                            <a href="#">影视剧人</a>
                            <a href="#">小说</a>
                            <a href="#">同人</a>
                        </div>
                    </div>
                </li>
                <li class="color6">
                    <div class="Mrxu-content">
                        <a class="Mrxu-top" href="#">
                            <p class="Mrxu-name">福利</p>
                            <p class="Mrxu-hint">性感大姐姐</p>
                            <i class="icon6"></i>
                        </a>
                        <div class="Mrxu-link">
                            <a href="#">桜井宁宁</a>
                            <a href="#">五更百鬼</a>
                            <a href="#">弥音音</a>
                            <a href="#">小鸟酱</a>
                            <a href="#">抖娘-利世</a>
                            <a href="#">七月喵子</a>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
        <ul class="Mrxu-classify">
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-xianshi"></use></svg>照片</a>
            </li>
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-xinxi"></use></svg>录像</a>
            </li>
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-dianpu"></use></svg>商品</a> 
            </li>
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-paizhao"></use></svg>拍照</a>
            </li>
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-huiyuan"></use></svg>活动</a>
            </li>
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-yinhangka"></use></svg>礼物</a>
            </li>
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-shezhi"></use></svg>优惠券</a>
            </li>
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-gouwuche"></use></svg>钱包</a>
            </li>
            <li>
                
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-yuncunchu"></use></svg>客服</a>
            </li>
            <li>
                <a href="#"><svg class="newicon" aria-hidden="true"><use xlink:href="#icon-pingjia"></use></svg>签到</a>
            </li>
        </ul>
     </div>
     </div></div></div>

 

温馨提示:本文最后更新于 2022-04-14 02:09 ,某些文章具有时效性,若有错误或已失效,请在下方留言或联系逆念

给TA打赏
共{{data.count}}人
人已打赏
网络技术

【B2主题美化】仿尤点设计首页大图加六格代码分享

2022-4-14 1:44:43

网络技术

禁用开发者工具 禁用 f12 功能 禁右键 网站防扒

2022-4-14 2:03:16

重要声明

本站资源大多来自网络,如有侵犯你的权益请联系管理员,QQ508044570 我们会第一时间进行审核删除。站内资源为网友个人学习或测试研究使用,未经原版权作者许可,禁止用于任何商业途径!请在下载24小时内删除!


如果遇到付费才可观看的文章,建议升级终身VIP。全站所有资源任意下免费看”。本站资源少部分采用7z压缩,为防止有人压缩软件不支持7z格式,7z解压,建议下载7-zip,zip、rar解压,建议下载WinRAR

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索