Authored by tanling

分割图加宽高

@@ -355,9 +355,9 @@ @@ -355,9 +355,9 @@
355 <div class="row"> 355 <div class="row">
356 <label class="col-sm-2 control-label">图片</label> 356 <label class="col-sm-2 control-label">图片</label>
357 <div class="col-sm-8"> 357 <div class="col-sm-8">
358 - <input type="text" placeholder="图片宽度" class="observe number" data-field="imageWidth" value="[[contentData.imageWidth]]" style="width:100px;" > 358 + <input type="text" placeholder="图片宽度" class="observe number" data-field="imageWidth" value="[[contentData.data.imageWidth]]" style="width:100px;" >
359 &emsp; 359 &emsp;
360 - <input type="text" placeholder="图片高度" class="observe number" data-field="imageHeight" value="[[contentData.imageHeight]]" style="width:100px;" > 360 + <input type="text" placeholder="图片高度" class="observe number" data-field="imageHeight" value="[[contentData.data.imageHeight]]" style="width:100px;" >
361 </div> 361 </div>
362 </div> 362 </div>
363 363
@@ -31,10 +31,11 @@ var Button = [ @@ -31,10 +31,11 @@ var Button = [
31 "url": "" 31 "url": ""
32 }, 32 },
33 "alt": "", 33 "alt": "",
34 - "src": "" 34 + "src": "",
  35 + "imageHeight":"",
  36 + "imageWidth":""
35 }], 37 }],
36 - "imageHeight":"",  
37 - "imageWidth":"", 38 +
38 "isDefault":"1", 39 "isDefault":"1",
39 "divideColour" : "1" 40 "divideColour" : "1"
40 }, 41 },