Skip to content

Commit

Permalink
布局设计无法切换列宽 #328
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne-KTCSZ committed Aug 8, 2019
1 parent fa4c7b2 commit 6bb5f59
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/ZKEACMS.SectionWidget/Models/SectionGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ protected override void ViewConfigure()
});
ViewConfig(m => m.Title).AsHidden();
ViewConfig(m => m.Description).AsHidden();

ViewConfig(m => m.SectionContents).AsHidden().Ignore();
ViewConfig(m => m.SectionTitle).AsHidden().Ignore();
ViewConfig(m => m.SectionTitles).AsHidden().Ignore();
ViewConfig(m => m.CallToAction).AsHidden().Ignore();
ViewConfig(m => m.CallToActions).AsHidden().Ignore();
ViewConfig(m => m.SectionImage).AsHidden().Ignore();
ViewConfig(m => m.SectionImages).AsHidden().Ignore();
ViewConfig(m => m.Paragraph).AsHidden().Ignore();
ViewConfig(m => m.Paragraphs).AsHidden().Ignore();
}
}
}
2 changes: 1 addition & 1 deletion src/ZKEACMS.WebHost/wwwroot/js/LayoutDesign.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
zoneParent.append(zone);
return zoneParent;
}
$(document).on("click", ".dropdown-menu.col-size a", function () {
$(document).on("click", "#toolBar .col-size a", function () {
$("#add-col-handle").attr("data-val", $(this).data("val")).find(".col-size-info").text($(this).text());
$(this).parent().parent().find(".active").removeClass("active");
$(this).parent().addClass("active");
Expand Down
2 changes: 1 addition & 1 deletion src/ZKEACMS.WebHost/wwwroot/js/LayoutDesign.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6bb5f59

Please sign in to comment.