Commit 888ac3cb by doszhang

dos

parent 5ac57f24
...@@ -245,6 +245,11 @@ initDecorate(); ...@@ -245,6 +245,11 @@ initDecorate();
$(document).ready(function () { $(document).ready(function () {
$("input").on("blur", function () { $("input").on("blur", function () {
window.scroll(0, 0); //失焦后强制让页面归位 window.scroll(0, 0); //失焦后强制让页面归位
if ($(this).attr('name', 'customize-flag')) {
if ($('input[name=customize-flag]').val().match(/^\s*$/)) {
$('input[name=customize-flag]').css('color', "#222222").val('');
}
}
}); });
// $('.logo').css('top',getTranslateDistance(15)); // $('.logo').css('top',getTranslateDistance(15));
$('.gif-block').append('<img class="musicgif" src="' + picUrl + 'music.gif" />'); $('.gif-block').append('<img class="musicgif" src="' + picUrl + 'music.gif" />');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment