|
@@ -304,7 +304,7 @@ $(function () {
|
|
$("#announcement .tv-choose-content").hide();
|
|
$("#announcement .tv-choose-content").hide();
|
|
$("#graphic .tv-choose-content").hide();
|
|
$("#graphic .tv-choose-content").hide();
|
|
$("#link .tv-choose-content").hide();
|
|
$("#link .tv-choose-content").hide();
|
|
-
|
|
|
|
|
|
+ $(".img-wrapper").removeClass("cover-img-cover");
|
|
if (!noticeType) { //发布类型没选择
|
|
if (!noticeType) { //发布类型没选择
|
|
//各个类型内容隐藏
|
|
//各个类型内容隐藏
|
|
//$(".img-wrapper").css("background-image", "url(../images/admin/notice_cover.png)");
|
|
//$(".img-wrapper").css("background-image", "url(../images/admin/notice_cover.png)");
|
|
@@ -318,6 +318,10 @@ $(function () {
|
|
$(".choose-publish-con").hide();
|
|
$(".choose-publish-con").hide();
|
|
} else if (noticeType == 2 || noticeType == 5 || noticeType == 6) {
|
|
} else if (noticeType == 2 || noticeType == 5 || noticeType == 6) {
|
|
//$(".img-wrapper").css("background-image", "url(../images/admin/notice_cover.png)");
|
|
//$(".img-wrapper").css("background-image", "url(../images/admin/notice_cover.png)");
|
|
|
|
+ if (noticeType == 5 || noticeType == 6) {
|
|
|
|
+ console.log('替换样式112233');
|
|
|
|
+ $(".img-wrapper").addClass("cover-img-cover")
|
|
|
|
+ }
|
|
$(".app-publish-wrapper").hide();
|
|
$(".app-publish-wrapper").hide();
|
|
$(".choose-publish-con").show();
|
|
$(".choose-publish-con").show();
|
|
$("#content").val("");
|
|
$("#content").val("");
|