|
|
<include file="public@header" />
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="wrap">
|
|
|
<ul class="nav nav-tabs">
|
|
|
<li class="active"><a>系统参数设置</a></li>
|
|
|
</ul>
|
|
|
<form method="post" class="js-ajax-form margin-top-20" role="form" action="{:url('adminSetup/setupPost')}">
|
|
|
<div class="form-group">
|
|
|
<label>旁听金额(单位:元)</label>
|
|
|
<div class="row">
|
|
|
<div class="col-md-8">
|
|
|
<input type="number" class="form-control" name="commission" placeholder="单位:元" value="{$setup.price}">
|
|
|
</div>
|
|
|
<div class="col-md-8">
|
|
|
</div>
|
|
|
</div>
|
|
|
<p class="help-block">设置用户旁听问题需要缴纳的金额</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
<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}">
|
|
|
</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'}">-->
|
|
|
</div>
|
|
|
</div>
|
|
|
<p class="help-block">当用户提问的问题专家未回答时,会在此设置时间之后将提问取消,并将提问金额返回给提问者。使用整数表示,单位:小时(如:24小时填写24即可)</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
<label>计费规则</label>
|
|
|
<div class="row">
|
|
|
<div class="col-md-8">
|
|
|
<script type="text/plain" id="agreement" name="agreement">{$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'}">-->
|
|
|
</div>
|
|
|
</div>
|
|
|
<p class="help-block">设置成为答主的服务协议</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
<label>使用须知</label>
|
|
|
<div class="row">
|
|
|
<div class="col-md-8">
|
|
|
<script type="text/plain" id="disclaimer" name="disclaimer">{$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'}">-->
|
|
|
</div>
|
|
|
</div>
|
|
|
<p class="help-block">设置检测报告的免责声明</p>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
<script src="__STATIC__/js/admin.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
//编辑器路径定义
|
|
|
var editorURL = GV.WEB_ROOT;
|
|
|
</script>
|
|
|
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.config.js"></script>
|
|
|
<script type="text/javascript" src="__STATIC__/js/ueditor/ueditor.all.min.js"></script>
|
|
|
</body>
|
|
|
</html>
|
|
|
<script>
|
|
|
$(function () {
|
|
|
|
|
|
editorcontent = new baidu.editor.ui.Editor();
|
|
|
editorcontent.render('agreement');
|
|
|
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');
|
|
|
try {
|
|
|
editorcontent.sync();
|
|
|
} catch (err) {
|
|
|
}
|
|
|
|
|
|
|
|
|
});
|
|
|
</script> |
|
|
\ No newline at end of file |
...
|
...
|
|