<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">设置小程序->个人信息->客服电话</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"> </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"> </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>