<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('场地详情')"/>
    <style>
        .field-detail-avatar{
            width: 146px;
            height: 146px;
        }
        .field-detail-avatar-certificates{
            width: 300px;
            height: 200px;
        }
        .form-btns{
            padding-bottom: 20px;
        }
        .form-dis{
            display: none;
        }
    </style>
</head>
<body class="white-bg">
<form class="form-horizontal m-t" id="signupForm">
    <div class="form-group">
        <label class="col-sm-2 control-label">场地名称：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.name}"></div>
        <label class="col-sm-2 control-label">场地logo：</label>
        <div class="form-control-static col-sm-9">
            <img class="field-detail-avatar" th:src="${fieldInfo.logo}" alt="">
        </div>
        <label class="col-sm-2 control-label">场地背景图：</label>
        <div class="form-control-static col-sm-9">
            <img class="field-detail-avatar" th:src="${fieldInfo.background}" alt="">
        </div>
        <label class="col-sm-2 control-label">场地创建时间：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.builtDate}"></div>
        <label class="col-sm-2 control-label">地区：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.provinceName + fieldInfo.cityName + fieldInfo.districtName}"></div>
        <label class="col-sm-2 control-label">坐标：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.longitude + ',' + fieldInfo.latitude}"></div>
        <label class="col-sm-2 control-label">地址详情：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.address}"></div>
        <label class="col-sm-2 control-label">介绍：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.description}"></div>
        <label class="col-sm-2 control-label">场地负责人姓名：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.contactName}"></div>
        <label class="col-sm-2 control-label">联系方式：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.contactEmail}"></div>
    </div>
    <div class="form-group" th:class="${fieldInfo.companiesVo != null ? '' : 'form-dis'}">
        <label class="col-sm-2 control-label">企业名称：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.companiesVo == null ? '' : fieldInfo.companiesVo.name}"></div>
        <label class="col-sm-2 control-label">营业执照编号：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.companiesVo == null ? '' : fieldInfo.companiesVo.licenseCode}"></div>
        <label class="col-sm-2 control-label">营业执照：</label>
        <div class="form-control-static col-sm-9" >
            <img class="field-detail-avatar-certificates" th:src="${fieldInfo.companiesVo == null ? '' : fieldInfo.companiesVo.licenseImg}" alt="">
        </div>
        <label class="col-sm-2 control-label">法人代表名称：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.companiesVo == null ? '' : fieldInfo.companiesVo.legalName}"></div>
        <label class="col-sm-2 control-label">法人代表身份证号：</label>
        <div class="form-control-static col-sm-9" th:text="${fieldInfo.companiesVo == null ? '' : fieldInfo.companiesVo.legalIdentity}"></div>
        <label class="col-sm-2 control-label">法人证件正面照：</label>
        <div class="form-control-static col-sm-9">
            <img class="field-detail-avatar-certificates" th:src="${fieldInfo.companiesVo == null ? '' : fieldInfo.companiesVo.legalIdentityObverse}" alt="">
        </div>
        <label class="col-sm-2 control-label">法人证件反面照：</label>
        <div class="form-control-static col-sm-9">
            <img class="field-detail-avatar-certificates" th:src="${fieldInfo.companiesVo == null ? '' : fieldInfo.companiesVo.legalIdentityReverse}" alt="">
        </div>
    </div>
</form>
</body>
<th:block th:include="include :: footer" />
<script th:inline="javascript">


</script>
</html>