Authored by chenchao

1. fix style

2. init date plugin
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 17
18 <div class="form-group"> 18 <div class="form-group">
19 <label class="col-sm-2 control-label">渠道</label> 19 <label class="col-sm-2 control-label">渠道</label>
20 - <div class="col-sm-3"> 20 + <div class="col-sm-6">
21 <label class="radio-inline" style="padding-left: 0"> 21 <label class="radio-inline" style="padding-left: 0">
22 <input type="checkbox" name="fitChannel" value="1">有货官网</label> 22 <input type="checkbox" name="fitChannel" value="1">有货官网</label>
23 <label class="radio-inline"> 23 <label class="radio-inline">
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
53 53
54 <div class="form-group"> 54 <div class="form-group">
55 <label class="col-sm-2 control-label">状态 <span class="red">*</span></label> 55 <label class="col-sm-2 control-label">状态 <span class="red">*</span></label>
56 - <div class="col-sm-2"> 56 + <div class="col-sm-4">
57 <label class="radio-inline"> 57 <label class="radio-inline">
58 <input type="radio" name="status" value="1">启用</label> 58 <input type="radio" name="status" value="1">启用</label>
59 <label class="radio-inline"> 59 <label class="radio-inline">
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 19
20 <div class="form-group"> 20 <div class="form-group">
21 <label class="col-sm-2 control-label">渠道</label> 21 <label class="col-sm-2 control-label">渠道</label>
22 - <div class="col-sm-3"> 22 + <div class="col-sm-6">
23 <label class="radio-inline" style="padding-left: 0"> 23 <label class="radio-inline" style="padding-left: 0">
24 <input type="checkbox" name="fitChannel" value="1">有货官网</label> 24 <input type="checkbox" name="fitChannel" value="1">有货官网</label>
25 <label class="radio-inline"> 25 <label class="radio-inline">
@@ -55,7 +55,7 @@ @@ -55,7 +55,7 @@
55 55
56 <div class="form-group"> 56 <div class="form-group">
57 <label class="col-sm-2 control-label">状态 <span class="red">*</span></label> 57 <label class="col-sm-2 control-label">状态 <span class="red">*</span></label>
58 - <div class="col-sm-2"> 58 + <div class="col-sm-4">
59 <label class="radio-inline"> 59 <label class="radio-inline">
60 <input type="radio" name="status" value="1">启用</label> 60 <input type="radio" name="status" value="1">启用</label>
61 <label class="radio-inline"> 61 <label class="radio-inline">
@@ -10,7 +10,9 @@ var saveConfig={ @@ -10,7 +10,9 @@ var saveConfig={
10 } 10 }
11 11
12 $(document).on('click', '#'+saveConfig._btnId, function () { 12 $(document).on('click', '#'+saveConfig._btnId, function () {
13 - 13 + var e = new common.edit('#'+saveConfig.formId);
  14 + //todo ,改edit 更细粒度地划分出文件 时间控件
  15 + e.init();
14 var _title=common.util.__input("title"); 16 var _title=common.util.__input("title");
15 var _description=$("#description").text(); 17 var _description=$("#description").text();
16 var _fitChannel=$("#fitChannel").val(); 18 var _fitChannel=$("#fitChannel").val();