作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

@@ -7,10 +7,10 @@ @@ -7,10 +7,10 @@
7 </ul> 7 </ul>
8 <form method="post" class="js-ajax-form margin-top-20" role="form" action="{:url('adminSetup/setupPost')}"> 8 <form method="post" class="js-ajax-form margin-top-20" role="form" action="{:url('adminSetup/setupPost')}">
9 <div class="form-group"> 9 <div class="form-group">
10 - <label>旁听金额(单位:元)</label> 10 + <label>押金金额(单位:元)</label>
11 <div class="row"> 11 <div class="row">
12 <div class="col-md-8"> 12 <div class="col-md-8">
13 - <input type="number" class="form-control" name="commission" placeholder="单位:元" value="{$setup.price}"> 13 + <input type="number" class="form-control" name="price" placeholder="单位:元" value="{$setup.price}">
14 </div> 14 </div>
15 <div class="col-md-8"> 15 <div class="col-md-8">
16 </div> 16 </div>
@@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
22 <label>客服电话</label> 22 <label>客服电话</label>
23 <div class="row"> 23 <div class="row">
24 <div class="col-md-8"> 24 <div class="col-md-8">
25 - <input type="text" class="form-control" name="refund_time" min="1" max="100" placeholder="使用整数表示,单位:小时(如:24小时填写24即可)" value="{$setup.service_phone}"> 25 + <input type="text" class="form-control" name="service_phone" min="1" max="100" placeholder="使用整数表示,单位:小时(如:24小时填写24即可)" value="{$setup.service_phone}">
26 </div> 26 </div>
27 <div class="col-md-8"> 27 <div class="col-md-8">
28 <!--<input type="text" class="form-control" name="file_types[image][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$file_types.image.extensions|default='jpg,jpeg,png,gif,bmp'}">--> 28 <!--<input type="text" class="form-control" name="file_types[image][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$file_types.image.extensions|default='jpg,jpeg,png,gif,bmp'}">-->
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 <label>计费规则</label> 35 <label>计费规则</label>
36 <div class="row"> 36 <div class="row">
37 <div class="col-md-8"> 37 <div class="col-md-8">
38 - <script type="text/plain" id="agreement" name="agreement">{$setup.bill_rules}</script> 38 + <script type="text/plain" id="bill_rules" name="bill_rules">{$setup.bill_rules}</script>
39 </div> 39 </div>
40 <div class="col-md-8"> 40 <div class="col-md-8">
41 <!--<input type="text" class="form-control" name="file_types[image][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$file_types.image.extensions|default='jpg,jpeg,png,gif,bmp'}">--> 41 <!--<input type="text" class="form-control" name="file_types[image][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$file_types.image.extensions|default='jpg,jpeg,png,gif,bmp'}">-->
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 <label>使用须知</label> 48 <label>使用须知</label>
49 <div class="row"> 49 <div class="row">
50 <div class="col-md-8"> 50 <div class="col-md-8">
51 - <script type="text/plain" id="disclaimer" name="disclaimer">{$setup.directions}</script> 51 + <script type="text/plain" id="directions" name="directions">{$setup.directions}</script>
52 </div> 52 </div>
53 <div class="col-md-8"> 53 <div class="col-md-8">
54 <!--<input type="text" class="form-control" name="file_types[image][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$file_types.image.extensions|default='jpg,jpeg,png,gif,bmp'}">--> 54 <!--<input type="text" class="form-control" name="file_types[image][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="{$file_types.image.extensions|default='jpg,jpeg,png,gif,bmp'}">-->
@@ -74,28 +74,14 @@ @@ -74,28 +74,14 @@
74 $(function () { 74 $(function () {
75 75
76 editorcontent = new baidu.editor.ui.Editor(); 76 editorcontent = new baidu.editor.ui.Editor();
77 - editorcontent.render('agreement'); 77 + editorcontent.render('bill_rules');
78 try { 78 try {
79 editorcontent.sync(); 79 editorcontent.sync();
80 } catch (err) { 80 } catch (err) {
81 } 81 }
82 82
83 editorcontent = new baidu.editor.ui.Editor(); 83 editorcontent = new baidu.editor.ui.Editor();
84 - editorcontent.render('disclaimer');  
85 - try {  
86 - editorcontent.sync();  
87 - } catch (err) {  
88 - }  
89 -  
90 - editorcontent = new baidu.editor.ui.Editor();  
91 - editorcontent.render('rule');  
92 - try {  
93 - editorcontent.sync();  
94 - } catch (err) {  
95 - }  
96 -  
97 - editorcontent = new baidu.editor.ui.Editor();  
98 - editorcontent.render('about_us'); 84 + editorcontent.render('directions');
99 try { 85 try {
100 editorcontent.sync(); 86 editorcontent.sync();
101 } catch (err) { 87 } catch (err) {