...
|
...
|
@@ -7,10 +7,10 @@ |
|
|
</ul>
|
|
|
<form method="post" class="js-ajax-form margin-top-20" role="form" action="{:url('adminSetup/setupPost')}">
|
|
|
<div class="form-group">
|
|
|
<label>旁听金额(单位:元)</label>
|
|
|
<label>押金金额(单位:元)</label>
|
|
|
<div class="row">
|
|
|
<div class="col-md-8">
|
|
|
<input type="number" class="form-control" name="commission" placeholder="单位:元" value="{$setup.price}">
|
|
|
<input type="number" class="form-control" name="price" placeholder="单位:元" value="{$setup.price}">
|
|
|
</div>
|
|
|
<div class="col-md-8">
|
|
|
</div>
|
...
|
...
|
@@ -22,7 +22,7 @@ |
|
|
<label>客服电话</label>
|
|
|
<div class="row">
|
|
|
<div class="col-md-8">
|
|
|
<input type="text" class="form-control" name="refund_time" min="1" max="100" placeholder="使用整数表示,单位:小时(如:24小时填写24即可)" value="{$setup.service_phone}">
|
|
|
<input type="text" class="form-control" name="service_phone" min="1" max="100" placeholder="使用整数表示,单位:小时(如:24小时填写24即可)" value="{$setup.service_phone}">
|
|
|
</div>
|
|
|
<div class="col-md-8">
|
|
|
<!--<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 @@ |
|
|
<label>计费规则</label>
|
|
|
<div class="row">
|
|
|
<div class="col-md-8">
|
|
|
<script type="text/plain" id="agreement" name="agreement">{$setup.bill_rules}</script>
|
|
|
<script type="text/plain" id="bill_rules" name="bill_rules">{$setup.bill_rules}</script>
|
|
|
</div>
|
|
|
<div class="col-md-8">
|
|
|
<!--<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 @@ |
|
|
<label>使用须知</label>
|
|
|
<div class="row">
|
|
|
<div class="col-md-8">
|
|
|
<script type="text/plain" id="disclaimer" name="disclaimer">{$setup.directions}</script>
|
|
|
<script type="text/plain" id="directions" name="directions">{$setup.directions}</script>
|
|
|
</div>
|
|
|
<div class="col-md-8">
|
|
|
<!--<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 @@ |
|
|
$(function () {
|
|
|
|
|
|
editorcontent = new baidu.editor.ui.Editor();
|
|
|
editorcontent.render('agreement');
|
|
|
editorcontent.render('bill_rules');
|
|
|
try {
|
|
|
editorcontent.sync();
|
|
|
} catch (err) {
|
|
|
}
|
|
|
|
|
|
editorcontent = new baidu.editor.ui.Editor();
|
|
|
editorcontent.render('disclaimer');
|
|
|
try {
|
|
|
editorcontent.sync();
|
|
|
} catch (err) {
|
|
|
}
|
|
|
|
|
|
editorcontent = new baidu.editor.ui.Editor();
|
|
|
editorcontent.render('rule');
|
|
|
try {
|
|
|
editorcontent.sync();
|
|
|
} catch (err) {
|
|
|
}
|
|
|
|
|
|
editorcontent = new baidu.editor.ui.Editor();
|
|
|
editorcontent.render('about_us');
|
|
|
editorcontent.render('directions');
|
|
|
try {
|
|
|
editorcontent.sync();
|
|
|
} catch (err) {
|
...
|
...
|
|