{template '_header'}
<div class="page-header">当前位置：<span class="text-primary">客服设置</span></div>
<div class="page-content">
    <form action="" method="post" class="form-horizontal form-validate">
    	<div class="form-group">
            <label class="col-lg control-label">商城状态</label>
            <div class="col-sm-9 col-xs-12">
                <label class="radio-inline" style="display:none;">
                    <input type="radio" name="parameter[config_service_type]" value='0' <?php if( $data['config_service_type']==0){ ?>checked<?php } ?> /> 狮子鱼云客服
                </label>
                <label class="radio-inline">
                    <input type="radio" name="parameter[config_service_type]" value='1' <?php if( $data['config_service_type']==1){ ?>checked<?php } ?> /> 微信客服（小程序服务通知）
                </label>
            </div>
        </div>
        <div class="form-group" style="display:none;">
            <label class="col-lg control-label">网页客服接待人数</label>
            <div class="col-sm-9 col-xs-12">
                <input type="text" name="parameter[config_service_user_number]" class="form-control" value="{$data['config_service_user_number']}" />
                <span class='help-block'>单个卖家客服可接待几个用户</span>
            </div>
        </div>
        <div class="form-group" style="display:none;">
            <label class="col-lg control-label">自动回复内容</label>
            <div class="col-sm-9 col-xs-12">
                <textarea name="parameter[config_service_reply_content]" class="form-control richtext"rows="5">{$data['config_service_reply_content']}</textarea>
                <span class='help-block'>客服不在线时，自动回复。</span>
            </div>
        </div>
        <div class="form-group" style="display:none;">
            <label class="col-lg control-label">当天第一次收到买家消息自动回复</label>
            <div class="col-sm-9 col-xs-12">
                <textarea name="parameter[config_service_first_reply_content]" class="form-control richtext"rows="5">{$data['config_service_first_reply_content']}</textarea>
                <span class='help-block'>客服无论是否在线，客服24小时内发送消息，首次将自动回复，不设置内容不回复。</span>
            </div>
        </div>

        <div class="form-group">
            <label class="col-lg control-label"></label>
            <div class="col-sm-9 col-xs-12">
                <input type="submit" value="提交" class="btn btn-primary"/>
            </div>
        </div>
    </form>
</div>

{template '_footer'}
