Authored by tanling

均分/轮播 留白

... ... @@ -475,6 +475,12 @@
<label>&emsp;&emsp;
是否顶边: <input type="checkbox" name="is_extend" id="banner_is_extend" value="1" [[contentData.is_extend==1?'checked':'']]>
</label>
&emsp;&emsp;&emsp;&emsp;
<label>不顶边的时候留白:</label>
<select class="form-control input-form" id="banner_leave_blank" value="[[contentData.leave_blank]]">
<option value="blank">空白</option>
<option value="transparent">透明</option>
</select>
</div>
</div>
... ... @@ -563,7 +569,7 @@
</label>
&emsp;&emsp;&emsp;&emsp;
<label>不顶边的时候留白:</label>
<select class="form-control input-form" id="leave_blank" value="[[contentData.leave_blank]]">
<select class="form-control input-form" id="splitJoint_leave_blank" value="[[contentData.leave_blank]]">
<option value="blank">空白</option>
<option value="transparent">透明</option>
</select>
... ...
... ... @@ -85,6 +85,7 @@ var Button = [
img_rows:"",
img_columns:"",
is_extend:"",
leave_blank:"blank"
},
{
template_intro: "猜你喜欢",
... ...
... ... @@ -1418,6 +1418,17 @@ $(document).on("change", '#floorContent', function () {
Bll.renderDialog("floorMark-template");
});
$(document).on("change", '#splitJoint_leave_blank', function () {
Bll.module.contentData.leave_blank = $(this).val();
Bll.renderDialog("splitJointImg-template");
});
$(document).on("change", '#banner_leave_blank', function () {
Bll.module.contentData.leave_blank = $(this).val();
Bll.renderDialog("splitJointImgBanner-template");
});
$(document).on("change", '#position-select', function () {
Bll.module.contentData.data.ufo_position = $(this).val();
Bll.renderDialog("cpsShowBanner-template");
... ...