index.html
3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<include file="public@header" />
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a>系统参数设置</a></li>
</ul>
<!--class="js-ajax-form margin-top-20"-->
<form method="post" class="js-ajax-form margin-top-20" role="form" action="{:url('admin_set_up/setupPost')}">
<div class="form-group">
<label>押金金额(单位:元)</label>
<div class="row">
<div class="col-md-8">
<input type="number" class="form-control" name="price" 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="service_phone" 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="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'}">-->
</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="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'}">-->
</div>
</div>
<p class="help-block">设置检测报告的免责声明</p>
</div>
<div class="form-group">
<!--js-ajax-submit-->
<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('bill_rules');
try {
editorcontent.sync();
} catch (err) {
}
editorcontent = new baidu.editor.ui.Editor();
editorcontent.render('directions');
try {
editorcontent.sync();
} catch (err) {
}
});
</script>