detail.html 9.8 KB
<include file="public@header"/>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
    .dingwei{
        position: relative;
        width: 20%;
    }
    .day_tian{
        position: absolute;
        right: 4px;
        line-height: 33px;
        top: 0;
    }
</style>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <!--<li><a href="{:url('Bank/index')}">银行列表</a></li>-->
        <!--<li class="active"><a href="{:url('Bank/add')}">添加银行</a></li>-->
    </ul>
        <form action="{:url('Need/change')}" method="post" class="form-horizontal js-ajax-form margin-top-20" enctype="multipart/form-data" >
        <div class="row">
            <div class="col-md-9">
                <table class="table table-bordered">
                    <input class="form-control" type="hidden" name="id"
                           value="{$list['id']}"/>
                    <tr>
                        <th width="15%">用户名</th>
                        <td><input class="form-control" type="text" name="user_name" readonly="readonly"
                                   value="{$list['user_name']}" />

                        </td>
                    </tr>
                    <tr>
                        <th width="15%">地区</th>
                        <td><input class="form-control" type="text" name="city"
                                   value="{$list['city']}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">小区</th>
                        <td><input class="form-control" type="text" name="quarters"  value="{$list['quarters']}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">具体房号</th>
                        <td><input class="form-control" type="text" name="room"
                                   value="{$list['room']}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">楼层</th>
                        <td><input class="form-control" type="text" name="floor"
                                   value="{$list['floor']}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">户型</th>
                        <td><input class="form-control" type="text" name="house_type"
                                   value="{$list['house_type']}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">装修</th>
                        <td><input class="form-control" type="text" name="renovation"
                                   value="{$list['renovation']}" />
                        </td>
                    </tr>
                    <tr>

                        <th width="15%">建筑面积</th>
                        <td>
                            <div class="dingwei">
                            <input class="form-control" type="text" name="area"
                                   value="{$list['area']}" style="width: 100%;" />
                                <span class="day_tian">平方米</span>
                            </div>
                        </td>

                    </tr>
                    <tr>
                        <th width="15%">是否首套房</th>
                        <td>
                            <select style="border: 1px solid #dce4ec; width: 20%;">
                                <option name="is_first" value="1" <eq name="list.is_first" value="1">selected</eq>>首套房</option>
                                <option name="is_first" value="2" <eq name="list.is_first" value="2">selected</eq>>两套及以上</option>
                            </select>
                        </td>
                    </tr>


                    <tr>
                        <th width="15%">贷款</th>
                        <td>
                            <select style="border: 1px solid #dce4ec; width: 20%;">
                                <option name="loan" value="1" <eq name="list.loan" value="1">selected</eq>>贷款</option>
                                <option name="loan" value="2" <eq name="list.loan" value="2">selected</eq>>全款</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">是否是包干价</th>
                        <td>
                            <select style="border: 1px solid #dce4ec; width: 20%;">
                                <option name="contract" value="1" <eq name="list.contract" value="1">selected</eq>>是</option>
                                <option name="contract" value="2" <eq name="list.contract" value="2">selected</eq>>否</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">报价时间</th>
                        <td>
                            <div class="dingwei">
                            <input class="form-control" type="text" name="quotation_time"
                                   value="{$list['quotation_time']}" style="width: 100%;"/>
                            <span class="day_tian"></span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">联系人姓名</th>
                        <td><input class="form-control" type="text" name="name"
                                   value="{$list['name']}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">联系人手机号</th>
                        <td><input class="form-control" type="text" name="tel"  value="{$list['tel']}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">备注</th>
                        <td><input class="form-control" type="text" name="else"  value="{$list['else']}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">报价人数</th>
                        <td>
                            <div class="dingwei">
                            <input class="form-control" type="text" name="people"  value="{$list['people']}" />
                            <span class="day_tian"></span>
            </div>
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">创建时间</th>
                        <td><input class="form-control" type="text" name="create_time"  value="{$list['create_time']|date='Y-m-d H:i:s',###}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="18%">更新时间</th>
                        <td><input class="form-control" type="text" name="update_time"  value="{$list['update_time']|date='Y-m-d H:i:s',###}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="18%">支付保证金时间</th>
                        <td><input class="form-control" type="text" name="pay_time"  value="{$list['pay_time']|date='Y-m-d H:i:s',###}" />
                        </td>
                    </tr>
                    <tr>
                        <th width="18%">待选择开始时间</th>
                        <td><input class="form-control" type="text" name="choose_time"  value="{$list['choose_time']|date='Y-m-d H:i:s',###}" />
                        </td>
                    </tr>
                    <tr>
                        <th>状态</th>
                        <td>
                            <eq name="list.status" value="1">未交保证金</eq>
                            <eq name="list.status" value="2">待发布</eq>
                            <eq name="list.status" value="3">待报价</eq>
                            <eq name="list.status" value="4">报价人数不足</eq>
                            <eq name="list.status" value="5">待选择中介</eq>
                            <eq name="list.status" value="6">未选择中介</eq>
                            <eq name="list.status" value="7">待中介确认</eq>
                            <eq name="list.status" value="10">待评价</eq>
                            <eq name="list.status" value="11">已评价</eq>
                        </td>
                    </tr>
                </table>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                        <a class="btn btn-default" href="{:url('Need/index')}">{:lang('BACK')}</a>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" 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>
<script type="text/javascript">
    $(function () {

        editorcontent = new baidu.editor.ui.Editor();
        editorcontent.render('content');
        try {
            editorcontent.sync();
        } catch (err) {
        }

        $('.btn-cancel-thumbnail').click(function () {
            $('#thumbnail-preview').attr('src', '__TMPL__/public/assets/images/default-thumbnail.png');
            $('#thumbnail').val('');
        });

    });

</script>
</body>
</html>