Authored by tanling

通用楼层

@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 14
15 <!-- 楼层分类 --> 15 <!-- 楼层分类 -->
16 <script type="text/template" id="floorCategory_template"> 16 <script type="text/template" id="floorCategory_template">
17 - <option value="">请选择</option> 17 + <option value="-1">请选择</option>
18 <%each floorCategroy as item index%> 18 <%each floorCategroy as item index%>
19 <option value="<%item.id%>"><%item.text%></option> 19 <option value="<%item.id%>"><%item.text%></option>
20 <%/each%> 20 <%/each%>
@@ -1438,6 +1438,11 @@ $(document).on("change", '#img_width', function () { @@ -1438,6 +1438,11 @@ $(document).on("change", '#img_width', function () {
1438 Bll.renderDialog("splitJointImgBanner-template"); 1438 Bll.renderDialog("splitJointImgBanner-template");
1439 }); 1439 });
1440 1440
  1441 +$(document).on("change", '#floorCategory', function () {
  1442 + Bll.module.contentData.floorCategory = $(this).val();
  1443 +});
  1444 +
  1445 +
1441 $(document).on("change", '#split_image_height', function () { 1446 $(document).on("change", '#split_image_height', function () {
1442 Bll.module.contentData.image_height = $(this).val(); 1447 Bll.module.contentData.image_height = $(this).val();
1443 Bll.renderDialog("splitJointImg-template"); 1448 Bll.renderDialog("splitJointImg-template");