本站首页大图海报带一言和自动图片

效果图

1651208539-sydt.jpg

头部HTML标签

<script type="text/javascript" src="//at.alicdn.com/t/font_3133075_wsm2usco9v.js"></script>
<link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_3133075_wsm2usco9v.css" />
<script type="text/javascript" src="/pic/jquery.min.js"></script> 

首页模块自定义(名称dhdh,铺满)

<div class="" style="width:100%"><div class="home-row-left content-area "><div id="html-box-shyetop" class="html-box"><div id="banner_wave_1" class="mobile-hidden"></div><div id="banner_wave_2" class="mobile-hidden"></div>

<div class="user-banner mian-bgcolor wow bounceInUp animated" style="visibility: visible; animation-name: bounceInUp;">
               <div class="container xs-1">
                              <div class="ubanner-ctn col80"><script type="text/javascript" src="/hitokoto/?format=js&charset=utf-8"></script>
<div id="hitokoto"><h2><script>hitokoto()</script></h2></div>

                                             <div id="main-wrap-box">
                                                            <div id="main-wrap">
                                                                           <div id="content-wrap">
                                                                                          <form action="" method="GET" target="_blank" id="searchForm">
                                                                                                         <input id="search" type="text" placeholder="请输入关键词搜索" autocomplete="off" autofocus="">
                                                                                                         <div id="search-type"> <span id="search-type-name">搜索</span>
                                                                                                                        <div id="search-type-icon" style="transform: rotate(0deg);"></div>
                                                                                                                        <ul id="search-type-menu" style="display: none;">
                                                                                                                          <li data-engine-start="/?s=" data-engine-end="">
                                                                                                 <span>搜索</span>
                                                                                                                                       </li>
                                                                                                                        
                                                                                                                                     
                                                                                                                                     
                                                                                                                        </ul>
                                                                                                         </div>
                                                                                                         <input type="submit" id="search-btn" value="">
                                                                                          </form>
                                                                                          <div class="searchTag"> <span><i class="b2font b2-hot"></i>热门推荐:</span>  <a class="s-video" href="/?s=%E8%AF%84%E8%AE%BA%E6%B0%94%E6%B3%A1&type=post" target="_blank">评论气泡</a> <a class="s-video" href="/?s=vip%E4%BC%9A%E5%91%98%E9%A1%B5%E9%9D%A2&type=post" target="_blank">VIP会员页面</a> <a class="s-video" href="/?s=%E7%AD%89%E7%BA%A7%E8%87%AA%E5%AE%9A%E4%B9%89%E9%A2%9C%E8%89%B2&type=post" target="_blank">等级自定义颜色</a> <a class="s-video" href="/?s=%E9%A6%96%E9%A1%B5%E5%A4%A7%E5%9B%BE" target="_blank">首页大图导航</a>
                                                                                          </div>
                                                                                          
                                                                           </div>
                                                            </div>
                                             </div>
                              </div>
               </div>
</div></div></div></div></div><div id="home-row-sydhls" class="  home_row home_row_3  module-html  " style="background-color:;">
                    <div class="" style="width:100%"><div class="home-row-left content-area "><div id="html-box-sydhls" class="html-box"><div class="home-section-division header_fixed_from_here">
    <div class="container">
                   <div class="home-division">
                                  <ul>
                                                 <li>
                                                                <div class="item item_3">
                                                                               <a href="/319.html" target="_blank">
                                                                                              <div class="item-thumb">  <svg class="icon" aria-hidden="true">
    <use xlink:href="#bd-huiyuan"></use>
</svg>
                                                                                              </div>
                                                                                              <h3>付费项目 <span class="go">go<i class="ico-go"></i></span></h3>
                                                                                              <p>本站实操项目!</p>
                                                                               </a>
                                                                </div>
                                                 </li>
                                                 <li>
                                                                <div class="item item_1">
                                                                               <a href="/317.html" target="_blank">
                                                                                              <div class="item-thumb">  <svg class="icon" aria-hidden="true">
    <use xlink:href="#bd-jiasu"></use>
</svg>
                                                                                              </div>
                                                                                              <h3>会员权益 <span class="go">go<i class="ico-go"></i></span></h3>
                                                                                              <p>加入本站会员!</p>
                                                                               </a>
                                                                </div>
                                                 </li>
                                                 <li>
                                                                <div class="item item_2">
                                                                               <a href="/circle/square" target="_blank">
                                                                                              <div class="item-thumb"> <svg class="icon" aria-hidden="true">
    <use xlink:href="#bd-xunzhang"></use>
</svg>
                                                                                              </div>
                                                                                              <h3>网创训练营 <span class="go">go<i class="ico-go"></i></span></h3>
                                                                                              <p>加入社群一起学习!</p>
                                                                               </a>
                                                                </div>
                                                 </li>
                                                 <li class="li_4">
                                                                <div class="item item_4">
                                                                               <a href="/315.html" target="_blank">
                                                                                              <div class="item-thumb">  <svg class="icon" aria-hidden="true">
    <use xlink:href="#bd-fujian"></use>
</svg>
                                                                                              </div>
                                                                                              <h3>我要建站 <span class="go">go<i class="ico-go"></i></span></h3>
                                                                                              <p>为大家提供建站服务</p>
                                                                               </a>
                                                                </div>
                                                 </li>
                                  </ul>
                   </div>
    </div>
</div></div></div>

子主题style.css

/*首页大图开始*/
.social-top .top-menu ul li.current-menu-item a{
    color: #ef950c;
    font-weight: 600;
}
.social-top .top-menu ul li.current-menu-item span{
background: none!important;
}

.social-top .top-menu ul li.depth-0 > a{

        text-decoration:none;
        position:relative;
}

.social-top .top-menu ul li.depth-0 >  a:after{
    content: "";
    width: 0;
    height: 3px;
    background: #ef950c;
    position: absolute;
    bottom: 0;
    left: 50%;
    transition: all .2s;
}
.social-top .top-menu ul li.depth-0 >  a:hover:after,a.active:after{
        left: 0%;
    width: 100%;
}

/*首页间距开始*/
.home_row > div {
    display: flex;
    margin: 5px auto;
    max-width: 100%;
    position: relative;
}
/*首页间距结束*/

div#home-row-dhdh {
    margin-top: -20px;
}
@-webkit-keyframes background {
  from {
    background-position: 0 0%;
  }

  to {
    background-position: 0 -300px;
  }
}

@keyframes background {
  from {
    background-position: 0 0%;
  }

  to {
    background-position: 0 -300px;
  }
}
.icon {
width: 1em; height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
.header-banner-left .menu li.current-menu-item a{
    color: #ef950c;
    font-weight: 600;
}

.header-banner-left .menu li.menu-item a{

	text-decoration:none;
	position:relative;
}

.header-banner-left .menu li.menu-item a:after{
    content: "";
    width: 0;
    height: 3px;
    background: #ef950c;
    position: absolute;
    bottom: 0;
    left: 50%;
    transition: all .2s;
}
.header-banner-left .menu li.menu-item a:hover:after,a.active:after{
	left: 0%;
    width: 100%;
}

 @media screen and (max-width: 768px){/*手机端*/

div#home-row-dhdh {
    margin-top: -10px;
}


}

#banner_wave_1 {
    width: auto;
    height: 65px;
    background: url(/pic/wave1.png) repeat-x;
    _filter: alpha(opacity=80);
    position: absolute;
    bottom: 0;
    width: 400%;
    left: -236px;
    z-index: 1;
    opacity: 1;
    transiton-property: opacity, bottom;
    transition-duration: .4s, .4s;
    animation-name: move2;
    animation-duration: 240s;
    animation-fill-mode: backwards;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    top: 537px;
}
 
#banner_wave_2 {
    width: auto;
    height: 80px;
    background: url(/pic/wave2.png) repeat-x;
    _filter: alpha(opacity=80);
    position: absolute;
    bottom: 0;
    width: 400%;
    left: 0;
    z-index: 1;
    opacity: 1;
    transiton-property: opacity, bottom;
    transition-duration: .4s, .4s;
    animation-name: move2;
    animation-duration: 160s;
    animation-fill-mode: backwards;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    top: 537px;
}
 
/* move1和move2只是方向不同,根据喜好自选即可。 */
/* 没做浏览器适配,具体哪些浏览器会生效未知,反正Chrome没什么问题。*/
 
@keyframes move1 {
    100% {
        background-position: 100% 0;
    }
}
 
@keyframes move2 {
    100% {
        background-position: -100% 0;
    }
}

div #html-box-sydhls {
  
    z-index: 2;
}
    .home-section-division {
        background:#fff;
        border-radius: 8px;
    }
    @media (max-width:767px) {
        .home-section-division .container {
            padding:0
        }
    }
    .home-section-division .home-division {
        overflow:hidden;
        border-radius: 8px;
    }
    .home-section-division .home-division a {
        color:#525252;
        display:block;
        padding:20px 0 10px;
        position:relative;
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
        box-sizing:border-box;
        width:100%;
        text-align:center
    }
    @media (min-width:768px) {
        .home-section-division .home-division a {
            text-align:left;
            padding:22px 10px 30px 50px
        }
    }
    @media (min-width:1330px) {
        .home-section-division .home-division a {
            padding-right:60px;
            padding-left:106px
        }
    }
    .home-section-division .home-division a:hover .item-thumb, .home-section-division .home-division a:hover h3 {
        color:#3860f4
    }
    .home-section-division .home-division ul {
        margin:0 -14px;
        overflow:hidden
    }
    .home-section-division .home-division li {
        float:left;
        line-height:1;
        width:25%;
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
        box-sizing:border-box;
        padding:0 14px
    }
    .home-section-division .home-division li h3 {
        font-size:13px;
        line-height:1;
        margin:10px 0;
        color:#000;
        font-weight:400
    }
    @media (min-width:768px) {
        .home-section-division .home-division li h3 {
            font-size:18px;
            font-weight:700
        }
    }
    .home-section-division .home-division li h3 .go {
        background:#ef950c;
        display:none;
        height:14px;
        line-height:10px;
        padding:2px 2px 2px 5px;
        -webkit-border-radius:14px;
        border-radius:14px;
        color:#fff;
        font-weight:400;
        font-size:12px;
        text-transform:uppercase;
        vertical-align:top
    }
    @media (min-width:1024px) {
        .home-section-division .home-division li h3 .go {
            display:inline-block
        }
    }
    .home-section-division .home-division li h3 .go i {
        vertical-align:middle;
        margin:-2px 3px 0
    }
    .home-section-division .home-division li p {
        font-size:13px;
        color:#9a9a9a;
        display:none
    }
    @media (min-width:1024px) {
        .home-section-division .home-division li p {
            display:block
        }
    }
    .home-section-division .home-division li .item-thumb {
        font-size:28px
    }
    @media (max-width:1023px) {
        .home-section-division .home-division li .item-thumb {
            color:#3860f4
        }
    }
    @media (min-width:768px) {
        .home-section-division .home-division li .item-thumb {
            position:absolute;
            left:5px;
            top:20px;
            font-size:40px
        }
    }
    @media (min-width:1330px) {
        .home-section-division .home-division li .item-thumb {
            top:30px;
            left:50px
        }
    }
    @media (min-width:1024px) {
        .home-section-division .home-division li.li_4 .item {
            background:#f3f8ff;
            -webkit-transition:all .3s;
            -o-transition:all .3s;
            transition:all .3s;
            color:#3860f4
        }
        .home-section-division .home-division li.li_4 .item .item-thumb, .home-section-division .home-division li.li_4 .item h3 {
            color:#3860f4
        }
        .home-section-division .home-division li.li_4 .item:hover {
            background:#3860f4;
            -webkit-transition:all .3s;
            -o-transition:all .3s;
            transition:all .3s;
            color:#fff
        }
        .home-section-division .home-division li.li_4 .item:hover h3, .home-section-division .home-division li.li_4 .item:hover i, .home-section-division .home-division li.li_4 .item:hover p {
            color:#fff
        }
    }
    
/** 首页海报大图**/
.user-banner {
    background:#1d1f20;
    background:url(/imgapi) no-repeat;
    position:relative;
    overflow:hidden;
    width:100%;
    height:600px;
    background-size:cover !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
    padding-top:20px
}
.user-banner:before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:inline-block;
    background:#221f1f;
    background:-moz-linear-gradient(left, rgba(34, 31, 31, 1) 0%, rgba(34, 31, 31, .1) 100%);
    background:-webkit-linear-gradient(left, rgba(34, 31, 31, 1) 0%, rgba(34, 31, 31, .1) 100%);
    background:linear-gradient(to right, rgba(34, 31, 31, 1) 0%, rgba(34, 31, 31, .1) 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#221f1f', endColorstr='#66221f1f', GradientType=1)
}
.container {
    padding:0;
    margin:0 auto;
    max-width:1250px;
}
.ubanner-ctn {
    margin:110px auto 30px auto;
    position:relative;
    z-index:1
}
.col80 {
    width:80%
}
.ubanner-ctn h2 {
    text-align:center;
    color:#fff;
    font-size:46px;
    font-weight:600;
    margin-bottom:65px;
    letter-spacing:1px;
    text-shadow:0 3px 6px rgba(0, 0, 0, .2);
   background: url(/pic/ff913110e3132.png) repeat #011F42;
    background-size: 300px auto;
   -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-animation: background 12s infinite linear;
    animation: background 12s infinite linear;
}

.search-clsf {
    margin-bottom:20px;
    padding:0 20px
}
.user-search {
    border-radius:10px;
    padding:15px;
    position:relative;
    box-shadow:0px 0px 4px rgba(0, 0, 0, .3);
    overflow:hidden
}
.user-search button:hover {
    opacity:.8
}
.mian-bgcolor-b:before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    background:#292c2d;
    width:100%;
    height:100%;
    opacity:.5
}
.user-search input {
    width:100%;
    display:block;
    height:48px;
    line-height:48px;
    border-radius:8px;
    border:none;
    padding-left:15px;
    font-size:16px;
    position:relative
}
.user-search input {
    width:100%;
    display:block;
    height:48px;
    line-height:48px;
    border-radius:8px;
    border:none;
    padding-left:15px;
    font-size:16px;
    position:relative
}
.user-search button {
    position:absolute;
    right:14px;
    top:15px;
    box-shadow:-3px 0px 6px rgba(0, 0, 0, .3);
    color:#fff;
    height:48px;
    width:80px;
    border-radius:8px;
    border:none;
    margin:0;
    background:#1d1f20
}
.hotsearch {
    color:#fff;
    white-space:nowrap;
    height:45px;
    width:100%;
    overflow:hidden
}
.hotsearch a {
    background:rgba(2, 2, 2, .25);
    color:#fff;
    padding:7px 10px;
    white-space:nowrap;
    border-radius:5px;
    margin:10px
}
.hotsearch a:link {
    text-decoration:none;
    outline:none
}
.hotsearch a:hover {
    background:#292c2d;
    color:#fff
}
.iconfont {
    font-family:"iconfont" !important;
    font-size:16px;
    font-style:normal;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale
}
.icon-search:before {
    content:"\e600"
}
.search-clsf {
    margin-bottom:20px;
    padding:0 20px
}
.search-clsf a {
    padding:5px 15px;
    display:inline-block;
    color:#fff
}
.search-clsf a.active {
    background:#292c2d;
    border-radius:3px;
    position:relative;
    color:#3860f4
}
.search-clsf a.active:before {
    content:"";
    position:absolute;
    left:50%;
    margin-left:-4px;
    bottom:-6px;
    border-top:6px #292c2dc2 solid;
    border-left:6px transparent solid;
    border-right:6px transparent solid;
    width:0;
    height:0
}
.plr40 {
    padding-left:40px;
    padding-right:40px
}
.mtb30 {
    margin-top:30px;
    margin-bottom:30px
}
.fs-c {
    justify-content:flex-start;
    align-items:center
}
.fw-w {
    flex-wrap:wrap
}
.d-flex {
    display:-ms-flexbox;
    display:flex
}
.user-banner:after {
    animation:myfirst 250s;
    -webkit-animation:myfirst 250s;
    animation-iteration-count:infinite;
    -webkit-animation-iteration-count:infinite
}
.user-banner:after {
    content:"";
    width:100%;
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    background:url(/pic/light.png) repeat-y top center;
    background-size:auto;
    opacity:.3
}
@keyframes myfirst {
    from {
        left:0;
        top:10px
    }
    to {
        top:-3000px
    }
}
@-webkit-keyframes myfirst {
    from {
        left:0;
        top:10px
    }
    to {
        top:-8000px
    }
}
@media (max-width:768px) {
    .xs-1 {
        overflow:unset !important
    }
    .ubanner-ctn h2 {
        margin-bottom:30px !important
    }
    .container {
        padding:0;
        margin:0 auto;
        max-width:1200px
    }
    .container {
        width:1200px
    }
    .search-clsf {
        margin-bottom:20px;
        display:none
    }
    .ubanner-ctn h2 {
        text-align:center;
        color:#fff;
        font-size:22px;
        font-weight:600;
        margin-bottom:30px;
        text-shadow:0 3px 6px rgba(0, 0, 0, .2)
    }
    .user-banner {
        height:230px;
        padding-top:30px;
        position:relative;
        overflow:inherit
    }
    .ubanner-ctn {
        margin:10px auto 30px auto;
        position:relative;
        z-index:1;
        width:90%
    }
    .user-banner:after {
        content:"";
        width:100%;
        position:absolute;
        bottom:0;
        left:0;
        right:0;
        background:url(/pic/light2.png) repeat-y top center;
        background-size:99%;
        height:100%;
        opacity:.3
    }
    .hotsearch {
        display:none
    }
}


#main-wrap-box {
    display:flex;
    justify-content:center;
    align-items:center;
    color:#f4e5b3
}
#main-wrap {
    display:flex;
    flex-flow:row wrap;
    justify-content:space-between;
    align-items:flex-start
}
#content-wrap {
    display:flex;
    flex-flow:column nowrap;
    align-items:flex-end;
    justify-content:space-between
}
#search-wrap {
    width:100%
}
#searchForm {
    margin:0;
    padding:0;
    width:80%;
    height:50px;
    min-width:700px;
    border-bottom:1px solid #666;
    display:flex;
    justify-content:space-between;
    align-items:center
}
#search {
    flex:1;
    border:0 none;
    background:0 0;
    outline:none;
    margin-right:20px;
    color:#f4e5b3;
    font-size:16px;
    text-indent:2em
}
:-moz-placeholder {
    color:#f4e5b3;
    opacity:.3
}
::-moz-placeholder {
    color:#f4e5b3;
    opacity:.3
}
#search:-ms-input-placeholder {
    color:#f4e5b3;
    opacity:.3
}
#search::-webkit-input-placeholder {
    color:#f4e5b3;
    opacity:.3
}
#search-type {
    display:flex;
    cursor:pointer;
    align-items:center;
    position:relative;
    height:100%;
    user-select:none;
    -ms-user-select:none
}
#search-type:hover #search-type-name {
    opacity:1
}
#search-type-name {
    margin:0 5px 0 0;
    opacity:.5;
    transition:all .3s
}
#search-type-icon {
    width:10px;
    height:10px;
    background:url(/pic/1324cb407ca35.png) no-repeat;
    background-size:cover;
    background-position:center;
    transition:all .3s;
    opacity:.5
}
#search-type-menu {
    list-style:none;
    position:absolute;
    left:50%;
    top:60px;
    transform:translateX(-50%);
    border-radius:4px;
    border:1px solid #f4e5b3;
    background-color:rgba(0, 0, 0, .8);
    padding:0;
    margin:0;
    overflow:hidden;
    display:none;
    z-index:4
}
#search-type-menu li {
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    align-items:center;
    flex-flow:row nowrap;
    transition:all .5
}
#search-type-menu li:hover {
    background-color:rgba(244, 229, 179, .1)!important
}
#search-type-menu li:nth-of-type(2n) {
    background-color:rgba(0, 0, 0, .1)
}
#search-type-menu img {
    width:20px;
    height:20px;
    margin:5px 10px
}
#search-type-menu span {
    white-space:nowrap;
    margin:0 30px 0 0
}
#search-btn {
    padding:10px 0 10px 10px;
    width:30px;
    height:30px;
    margin:0 0 0 20px;
    background:url(/pic/fe99049cf99d5.png) no-repeat;
    background-size:cover;
    background-position:center;
    border:none;
    cursor:pointer;
    user-select:none;
    -ms-user-select:none;
    transition:all .2s;
    outline:none
}

.searchTag {
    letter-spacing:.5px;
    text-align:center;
    margin-top:30px;
    font-size:14px;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    min-width:700px
}
.searchTag span {
    display:inline-block;
    transform:translateY(-1px)
}
.searchTag a {
    margin-right:15px;
    color:#909399
}
.searchTag a:hover {
    color:#fff
}
.searchTag i {
    color:#ffbc32;
    margin-right:2px;
    display:inline-block;
    transform:translateY(1px)
}


@media screen and (max-width:768px) {
    #main-wrap {
        width:100%
    }
    #content-wrap {
        width:100%
    }
    #searchForm {
        min-width:350px;
        border-bottom: 0px solid #fff;
    }
    .searchTag {
        min-width:100px !important
    }
    .container {
    width:100%;
    margin:0 auto;
    position:relative;
    overflow:hidden;
    *zoom:1
    }
}
/*首页大图结束*/

child.js

/*首页大图开始*/
window.onload = function () {
    //---------------把网址改成你自己的
    var searchEngine = [
    ['搜索', '/pic/fe99049cf99d5.png', '/?s=', ''],
];


    var oSearchTypeMenu = document.getElementById('search-type-menu');
    oSearchTypeMenu.innerHTML = '';
  //  <li><img src='static/images/movie4.jpg'><span>百度搜索</span></li>
    for (var i = 0; i < searchEngine.length; i++) {
        var oSearchTypeNewLi = document.createElement('li');
        oSearchTypeNewLi.innerHTML = "<img src=''><span></span>";
        oSearchTypeNewLi.dataset.engineStart = searchEngine[i][2];
        oSearchTypeNewLi.dataset.engineEnd = searchEngine[i][3];
        oSearchTypeNewLi.children[0].src = searchEngine[i][1];
        oSearchTypeNewLi.children[1].innerHTML = searchEngine[i][0];

        oSearchTypeMenu.appendChild(oSearchTypeNewLi);
    }

    //---------------切换搜索引擎
    var oSearchType = document.getElementById('search-type');
    var oSearchTypeIcon = document.getElementById('search-type-icon');
    oSearchType.onclick = function () {
        if (oSearchTypeMenu.style.display == 'block') {
            oSearchTypeMenu.style.display = 'none';
            oSearchTypeIcon.style.transform = 'rotate(0deg)';
        } else {
            oSearchTypeMenu.style.display = 'block';
            oSearchTypeIcon.style.transform = 'rotate(180deg)';
        }
    }

    var oSearchTypeLi = oSearchTypeMenu.getElementsByTagName('li');
    var oSearchTypeName = document.getElementById('search-type-name');
    var oSearchLinkStart = '';
    var oSearchLinkEnd = '';

    //切换搜索引擎函数
    function changeSearchType(i) {
        oSearchLinkStart = searchEngine[i][2];
        oSearchLinkEnd = searchEngine[i][3];
        oSearchTypeName.innerHTML = searchEngine[i][0];
        window.localStorage.setItem('searchType', i);
    }
    for (var i = 0; i < oSearchTypeLi.length; i++) {
        oSearchTypeLi[i].index = i;
        oSearchTypeLi[i].onclick = function () {
            changeSearchType(this.index);
        }
    }

    //打开页面时的引擎
    if (window.localStorage.getItem('searchType')) {
        changeSearchType(Number(window.localStorage.getItem('searchType')));
    } else {
        window.localStorage.setItem('searchType', 0);
        changeSearchType(0);
    }

    //----------------点击搜索按钮跳转
    var oSearch = document.getElementById('search');
    var oSearchBtn = document.getElementById('search-btn');
    var oSearchForm = document.getElementById('searchForm');
    oSearchForm.addEventListener("submit", function (event) {
        if (oSearch.value) {
            window.open(oSearchLinkStart + oSearch.value.replace(/%/g, "%25").replace(/#/g, "%23").replace(
                /\+/g, "%2B") + oSearchLinkEnd);
        } //提交搜索 以及对% #等字符转码
        else {
            window.open(oSearchLinkStart + oSearch.placeholder + oSearchLinkEnd);
        }

        event.preventDefault();
        return false;
    });
} 
/*首页大图结束*/

 

下载权限

查看
  • 免费下载
    评论并刷新后下载
    登录后下载

查看演示

  • {{attr.name}}:
您当前的等级为
登录后免费下载登录 小黑屋反思中,不准下载! 评论后刷新页面下载评论 支付以后下载 请先登录 您今天的下载次数(次)用完了,请明天再来 支付积分以后下载立即支付 支付以后下载立即支付 您当前的用户组不允许下载升级会员
您已获得下载权限 您可以每天下载资源次,今日剩余
B2美化

服务器伪静态和WordPress固定连接设置

2022-4-15 17:20:28

B2美化

底部关于我们美化代码

2022-4-29 14:07:10

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