|
@@ -109,6 +109,9 @@
|
|
|
position: relative;
|
|
|
padding-bottom: 1rem;
|
|
|
}
|
|
|
+ .weui-mask{
|
|
|
+ height: 100vh;
|
|
|
+ }
|
|
|
</style>
|
|
|
</head>
|
|
|
|
|
@@ -316,7 +319,7 @@
|
|
|
reloadFunc();
|
|
|
}
|
|
|
window.addEventListener('popstate', function(event){
|
|
|
- if(!isinitpage){
|
|
|
+ if(!isinitpage&&!sessionStorage.kwspage){
|
|
|
if(a_items.length==0){
|
|
|
window.history.go(-1)
|
|
|
}
|
|
@@ -341,6 +344,7 @@
|
|
|
}
|
|
|
}, 500)
|
|
|
}
|
|
|
+ sessionStorage.removeItem("kwspage");
|
|
|
isinitpage = false
|
|
|
})
|
|
|
// 关键词分类 - 去设置按钮点击事件
|
|
@@ -509,13 +513,22 @@
|
|
|
//是否有关键词
|
|
|
function hasWords() {
|
|
|
var showKeyWordLength = $(".showKeyWord ul").find('li').length;
|
|
|
+ var modifyShow = false
|
|
|
+ $(".showKeyWord li").each(function(){
|
|
|
+ if(!$(this).find(".modify").is(":hidden")){
|
|
|
+ modifyShow = true
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ })
|
|
|
if (showKeyWordLength === 0) {
|
|
|
$(".content .addkeyWord").show();
|
|
|
$(".add-keyword-container .addNewKeyword i").hide();
|
|
|
} else {
|
|
|
$(".content .addkeyWord").hide();
|
|
|
setTimeout(function(){
|
|
|
- $(".add-keyword-container .addNewKeyword i").show();
|
|
|
+ if(!modifyShow){
|
|
|
+ $(".add-keyword-container .addNewKeyword i").show();
|
|
|
+ }
|
|
|
},300)
|
|
|
}
|
|
|
}
|
|
@@ -654,7 +667,7 @@
|
|
|
}
|
|
|
kws_name = $.trim($(th).parent(".modify").find("textarea").val());
|
|
|
}
|
|
|
- history.replaceState("","","/jyapp/vipsubscribe/toSetKeyWordPage?page=243")
|
|
|
+ history.replaceState("","","/jyapp/vipsubscribe/toSetKeyWordPage?page=123")
|
|
|
setSesstion();
|
|
|
window.location.href="/jyapp/vipsubscribe/toSetadditionPage";
|
|
|
}
|
|
@@ -672,7 +685,7 @@
|
|
|
}
|
|
|
kws_name = $.trim($(th).parent(".modify").find("textarea").val());
|
|
|
}
|
|
|
- history.replaceState("","","/jyapp/vipsubscribe/toSetKeyWordPage?page=243")
|
|
|
+ history.replaceState("","","/jyapp/vipsubscribe/toSetKeyWordPage?page=234")
|
|
|
setSesstion();
|
|
|
window.location.href='/jyapp/vipsubscribe/toSetexclusivePage';
|
|
|
}
|
|
@@ -695,7 +708,6 @@
|
|
|
if(!sessionStorage){
|
|
|
return;
|
|
|
}
|
|
|
- sessionStorage.removeItem("kwspage");
|
|
|
sessionStorage.removeItem("kws_name");
|
|
|
sessionStorage.removeItem("classify_name");
|
|
|
sessionStorage.removeItem("kws_index");
|
|
@@ -867,7 +879,7 @@
|
|
|
$('.classify-fast-pop').show();
|
|
|
}
|
|
|
</script>
|
|
|
- <script src="{{Msg "seo" "cdn"}}/jyapp/vipsubscribe/js/keyWord.js?v={{Msg "seo" "version"}}12"></script>
|
|
|
+ <script src="{{Msg "seo" "cdn"}}/jyapp/vipsubscribe/js/keyWord.js?v={{Msg "seo" "version"}}121"></script>
|
|
|
<script>
|
|
|
window.onunload = function() {//离开页面保存关键词修改
|
|
|
if(items_str(a_items_m)!=a_items_str){
|