不小心碰到,没做变动。不知道为什么说有变动

ct-mobile-first
赵鹏 4 years ago
parent 3379d71b35
commit e170acbd57

@ -158,19 +158,19 @@ function information_check() {
description_length = parseInt(description_length / 2)
}
if (description_length < 80 || description_length > 160) {
$("#error-tops").append("<li><small>SEO述长度必须在80~160个字符之间[" + description_length + "个]</small></li>");
$("#error-tops").append("<li><small>SEO述长度必须在80~160个字符之间[" + description_length + "个]</small></li>");
flag = false
}
var og_description = $("#meta_note").val();
var og_description_length = get_string_length(og_description);
if (sitecode == 'jp' || sitecode == 'ru') og_description_length = parseInt(og_description_length / 2);
if (og_description_length < 80 || og_description_length > 160) {
$("#error-tops").append('<li><small>og:description信备注长度必须在80~160个字符之间[' + og_description_length + '个]</small></li>');
$("#error-tops").append('<li><small>og:description信备注长度必须在80~160个字符之间[' + og_description_length + '个]</small></li>');
flag = false;
}
var content_num = content_length;
if (content_num < 1500) {
$("#error-tops").append("<li><small>文章字数能少于1500字[" + content_num + "字]</small></li>");
$("#error-tops").append("<li><small>文章字数能少于1500字[" + content_num + "字]</small></li>");
flag = false
}
var content = $("#ic_content").val();
@ -202,7 +202,7 @@ function information_check() {
}
});
if (a_num > 50) {
$("#error-tops").append("<li><small>链接数量不能超过50个[" + a_num + "个]</small></li>");
$("#error-tops").append("<li><small>链接数針丝能超过50个[" + a_num + "个]</small></li>");
flag = false
}
var h1_count = 0;
@ -215,7 +215,7 @@ function information_check() {
title = title.split(",")[0];
title = $.trim(title);
if (h1_content.toLowerCase() != title.toLowerCase()) {
$("#error-tops").append("<li><small>H1与Title的第一个关键词不相同</small></li>");
$("#error-tops").append("<li><small>H1与Title的第一个关键话丝相坌</small></li>");
flag = false
}
}
@ -230,14 +230,14 @@ function information_check() {
title = $.trim(title);
if (h1_content.toLowerCase() != title.toLowerCase()) {
img_alt_tips = '{"name":"h1_content","value":""},';
$("#error-tops").append("<li><small>H1与Title的第一个关键词不相同</small></li>");
$("#error-tops").append("<li><small>H1与Title的第一个关键话丝相坌</small></li>");
flag = false
}
}
})
}
if (h1_count > 1) {
$("#error-tops").append("<li><small>有且能有一个H1标签[" + h1_count + "个]</small></li>");
$("#error-tops").append("<li><small>有且能有一个H1标签[" + h1_count + "个]</small></li>");
flag = false
}
var display_count = $("#display_count").text();
@ -285,7 +285,7 @@ function information_check() {
$(".error-tips").removeClass("hide")
}
if (!unsubmit_flag) {
alert('文章存在空链接或者有图片没有填写Alt关键字,请完成后再进行提交');
alert('文章存在空链接或者有图片没有填写Alt关键字,请完戝坎冝进行杝交');
$("#rule_check_flag").val('0')
} else {
$("#rule_check_flag").val('1')
@ -323,7 +323,7 @@ function successfun(responseText, statusText, xhr, form) {
}
} else {
if (responseText[key].name == "ok_go") {
$.modaldialog.success('提交成功,正在跳转到下个页面...');
$.modaldialog.success('杝交戝功,正在跳转到下个页面...');
setTimeout(function() {
window.location.href = responseText[key].value
},
@ -381,15 +381,15 @@ function updateCdnCache(url, msg_obj){
success: function(json,Status) {
//console.log(json.msg);
if(json.msg == 'success'){
$("#" + msg_obj).html('cdn缓存更新成功!');
$("#" + msg_obj).html('cdn缓存更新戝功=');
}else{
$("#" + msg_obj).html('cdn缓存更新失败');
$("#" + msg_obj).html('cdn缓存更新失败');
}
},
error:function(json,responseText){
console.log(json);
console.log(responseText);
$("#" + msg_obj).html('cdn更新失败,请联系cyc');
$("#" + msg_obj).html('cdn更新失败,请蝔系cyc');
}
})
}
@ -585,13 +585,13 @@ $.post(url, {'psd_URL':ic_url, 'psd_SiteCode':sitecode}, function(data){
if (json.result == 'ok'){
$("#mobile_friendly_status").html(json.data);
} else{
$("#mobile_friendly_status").html('获取不到分数');
$("#mobile_friendly_status").html('获坖丝到分数');
}
$('#btn-mobile-friendly').button('reset');
});
}
//弹出静态化更新窗口,并自动点击更新
//弹出静思化更新窗坣,并自动点击更新
function show_cache_refresh_modal(url){
$('#static_html_url').val(url);
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');

Loading…
Cancel
Save