Authored by 陶雨

4.6->增大分类管理的展开按钮,增加显示平台字段

... ... @@ -85,10 +85,12 @@ $(document).on("click", "#saveBtn", function () {
var isHot = $("#isHot").val();
var separativeSign = $("#separativeSign").val();
var isNewPage = $("#isNewPage").val();
var platform = $("#platform").val();
Category.isNew = !!isNew ? isNew : Category.isNew;
Category.isHot = !!isHot ? isHot : Category.isHot;
Category.separativeSign = !!separativeSign ? separativeSign : Category.separativeSign;
Category.isNewPage = !!isNewPage ? isNewPage : Category.isNewPage;
Category.platform = platform.replace(/\|/g, ",");
delete Category.categories;
//console.log(Category);
... ...
... ... @@ -539,7 +539,7 @@ li.sortable-placeholder {
}
.dd-handle:hover {background: #fff; }
.dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 5px 0; padding: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: transparent; font-size: 12px; line-height: 1; text-align: center; font-weight: bold; }
.dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 16px 0; padding: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: transparent; font-size: 12px; line-height: 1; text-align: center; font-weight: bold;font-size: 20px; }
.dd-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; }
.dd-item > button[data-action="collapse"]:before { content: '-'; }
... ...
... ... @@ -136,15 +136,15 @@
<div class="form-group">
<label class="col-sm-1 control-label">显示平台</label>
<div class="col-sm-8">
<input type="checkbox" value="iphone" style="width:18px;height:18px;margin-left:5px;" name="platform" id="checkboxiphone"> IOS手机
<input type="checkbox" value="ipad" style="width:18px;height:18px;margin-left:5px;" name="platform" id="checkboxipad"> IOS Pad
<input type="checkbox" value="android" style="width:18px;height:18px;margin-left:5px;" name="platform" id="checkboxandroid"> 安卓手机
<input type="checkbox" value="androidpad" style="width:18px;height:18px;margin-left:5px;" name="platform" id="checkboxandroidpad"> 安卓Pad
<input type="checkbox" value="h5" style="width:18px;height:18px;margin-left:5px;" name="platform" id="checkboxh5"> 手机网站
<input type="checkbox" value="web" style="width:18px;height:18px;margin-left:5px;" name="platform" id="checkboxweb"> 网站
<input type="checkbox" value="platform" style="width:18px;height:18px;margin-left:5px;" name="platform" id="checkboxplatform"> 平台
</div>
<input type="hidden" id="platform" for="radio" value="[[platform]]">
<input type="checkbox" value="iphone" style="width:18px;height:18px;margin-left:5px;" name="platform"> IOS手机
<input type="checkbox" value="ipad" style="width:18px;height:18px;margin-left:5px;" name="platform"> IOS Pad
<input type="checkbox" value="android" style="width:18px;height:18px;margin-left:5px;" name="platform"> 安卓手机
<input type="checkbox" value="androidpad" style="width:18px;height:18px;margin-left:5px;" name="platform"> 安卓Pad
<input type="checkbox" value="h5" style="width:18px;height:18px;margin-left:5px;" name="platform"> 手机网站
<input type="checkbox" value="web" style="width:18px;height:18px;margin-left:5px;" name="platform"> 网站
<input type="checkbox" value="platform" style="width:18px;height:18px;margin-left:5px;" name="platform"> 平台
</div>
<input type="hidden" id="platform" for="checkbox" value="[[platform]]">
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-1 control-label">排序</label>
... ...