Authored by wangwei

增加楼层标题,二楼图片描述

@@ -1122,6 +1122,10 @@ @@ -1122,6 +1122,10 @@
1122 <label class="col-sm-2 control-label">高度:</label> 1122 <label class="col-sm-2 control-label">高度:</label>
1123 <input type="text" placeholder="图片高度" class="observe number" data-field="imageHeight" value="[[contentData.data.imageHeight]]" style="width:100px;" > 1123 <input type="text" placeholder="图片高度" class="observe number" data-field="imageHeight" value="[[contentData.data.imageHeight]]" style="width:100px;" >
1124 </div> 1124 </div>
  1125 + <div class="col-sm-8">
  1126 + <label class="col-sm-2 control-label">楼层名称:</label>
  1127 + <input type="text" placeholder="楼层名称" class="observe" data-field="title" value="[[contentData.data.title]]" style="width:100px;" >
  1128 + </div>
1125 </div> 1129 </div>
1126 </div> 1130 </div>
1127 <div class="rows"> 1131 <div class="rows">
@@ -1377,6 +1381,10 @@ @@ -1377,6 +1381,10 @@
1377 <label class="col-sm-2 control-label">高度:</label> 1381 <label class="col-sm-2 control-label">高度:</label>
1378 <input type="text" placeholder="330" class="observe number" data-field="imageHeight" value="[[contentData.data.imageHeight]]" style="width:100px;" > 1382 <input type="text" placeholder="330" class="observe number" data-field="imageHeight" value="[[contentData.data.imageHeight]]" style="width:100px;" >
1379 </div> 1383 </div>
  1384 + <div class="col-sm-8">
  1385 + <label class="col-sm-2 control-label">楼层名称:</label>
  1386 + <input type="text" placeholder="楼层名称" class="observe" data-field="title" value="[[contentData.data.title]]" style="width:100px;" >
  1387 + </div>
1380 </div> 1388 </div>
1381 </div> 1389 </div>
1382 <ul class="draggable" data-array="data.list"> 1390 <ul class="draggable" data-array="data.list">
@@ -1400,6 +1408,11 @@ @@ -1400,6 +1408,11 @@
1400 <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="list.[[index]].url.url"/> 1408 <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="list.[[index]].url.url"/>
1401 </div> 1409 </div>
1402 </div> 1410 </div>
  1411 + <div class="form-group">
  1412 + <div class="col-sm-10">
  1413 + <input type="text" placeholder="图片描述" value="[[item.alt]]" class="observe form-control" data-field="list.[[index]].alt"/>
  1414 + </div>
  1415 + </div>
1403 </td> 1416 </td>
1404 </tr> 1417 </tr>
1405 </tbody> 1418 </tbody>
@@ -1620,6 +1620,7 @@ var Button = [ @@ -1620,6 +1620,7 @@ var Button = [
1620 data: { 1620 data: {
1621 "imageHeight":"", 1621 "imageHeight":"",
1622 "imageWidth":"", 1622 "imageWidth":"",
  1623 + "title":"",
1623 "list":[], 1624 "list":[],
1624 }, 1625 },
1625 "isNewFloor":"1" 1626 "isNewFloor":"1"
@@ -1678,20 +1679,23 @@ var Button = [ @@ -1678,20 +1679,23 @@ var Button = [
1678 { 1679 {
1679 "url": { 1680 "url": {
1680 "action": "", 1681 "action": "",
1681 - "url": "" 1682 + "url": "",
  1683 + "alt": ""
1682 }, 1684 },
1683 "src": "" 1685 "src": ""
1684 }, 1686 },
1685 { 1687 {
1686 "url": { 1688 "url": {
1687 "action": "", 1689 "action": "",
1688 - "url": "" 1690 + "url": "",
  1691 + "alt": ""
1689 }, 1692 },
1690 "src": "" 1693 "src": ""
1691 } 1694 }
1692 ], 1695 ],
1693 "imageHeight":"330", 1696 "imageHeight":"330",
1694 "imageWidth":"330", 1697 "imageWidth":"330",
  1698 + "title":""
1695 }, 1699 },
1696 "isNewFloor":"1" 1700 "isNewFloor":"1"
1697 }, 1701 },