|
@@ -67,68 +67,5 @@ z-index:999999;">
|
|
|
},500)
|
|
|
}
|
|
|
|
|
|
-//-----------------------------------------------------------------------------------------
|
|
|
- $('#ifame').css({
|
|
|
- backgroundImage:'url(https://www.gitinn.com/pan-chinese/_blogs/raw/master/img/'+parseInt(Math.random()*11+1)+'.png)',
|
|
|
- })
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- $('input[placeholder="请输入内容"]').attr('id','search').attr('autocomplete','off');
|
|
|
- setTimeout(function () {
|
|
|
- $('#search').focus(function(){
|
|
|
- $(this).attr('placeholder','')
|
|
|
- }).blur(function () {
|
|
|
- $(this).attr('placeholder','请输入内容')
|
|
|
- });
|
|
|
- },300)
|
|
|
-
|
|
|
- $('.Body_val>h1').text('').text('欢迎来到Hopeの我的blog');
|
|
|
-
|
|
|
- $('head').after(`
|
|
|
- <style>
|
|
|
-
|
|
|
-
|
|
|
- body{
|
|
|
- overflow: hidden;
|
|
|
- }
|
|
|
-
|
|
|
- #search::-webkit-input-placeholder{
|
|
|
- color: #999;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- #ifame{
|
|
|
- position: absolute;
|
|
|
- min-width: 1200px;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- background-color: transparent;
|
|
|
- background-size: cover;
|
|
|
- background-position: center center;
|
|
|
- background-repeat: no-repeat;
|
|
|
- overflow-y:scroll;
|
|
|
- overflow-x:hidden;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-#ifame::-webkit-scrollbar{
|
|
|
- width: 5px;
|
|
|
- height: 8px;
|
|
|
- }
|
|
|
- #ifame::-webkit-scrollbar-button{
|
|
|
- width: 0px;
|
|
|
- height: 0px;
|
|
|
- }
|
|
|
- #ifame::-webkit-scrollbar-thumb{
|
|
|
-
|
|
|
- width: 5px;
|
|
|
- height: 8px;
|
|
|
-background-color: rgb(53, 185, 149);
|
|
|
- }
|
|
|
-
|
|
|
- </style>
|
|
|
- `)
|
|
|
-
|
|
|
//----------------------------------------------------------------------------------------------
|
|
|
})
|