<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN" xml:lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>农村资源信息港</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="" />
    <meta name="description" cxontent="" />
    <link href="static/css/main.css" rel="stylesheet" type="text/css" />
    <link href="static/css/index.css" rel="stylesheet" type="text/css" />
    <link href="static/css/property.css" rel="stylesheet" type="text/css" />
    <link href="static/css/page_common.css" rel="stylesheet" type="text/css" />
    <link href="../static/css/ol/ol.css" rel="stylesheet" type="text/css" />
    <script src="../static/js/common/ol.js"></script>
</head>

<body>
    <div class="main" id="page">

        <div class="header flex_dom flex_item_between flex_item_mid">
            <p id="titContent">
                <script id="titData" type="text/html">
                    {{webList.top.contentValue}}
                </script>
            </p>
            <div class="select">
                <select id="treeselectContent" onchange="selectChange()">
                    <script id="treeselectData" type="text/html">
                        {{each treeselect as value i}}
                        <option value="{{value.value}}">{{value.label}}</option>
                        {{/each}}
                    </script>
                </select>
                <select id="treeselectSecondContent" onchange="selectSecondChange()">
                    <script id="treeselectSecondData" type="text/html">
                        {{each treeselectSecond as value i}}
                        <option value="{{value.value}}">{{value.label}}</option>
                        {{/each}}
                    </script>
                </select>
                <select id="useTypeContent" style="display: none;" onchange="useTypeChange()">
                    <option value="">全部</option>
                    <option value="2" selected>闲置</option>
                    <option value="3">出租</option>
<!--                    <script id="useTypeData" type="text/html">-->
<!--                        {{each useType as value i}}-->
<!--                        {{/each}}-->
<!--                    </script>-->
                </select>
            </div>

            <div class="wid25 flex_dom flex_item_between flex_item_mid">
                <div class="header_nav">
                    <a href="index.html">
                        <div>
                            <i class="i1"></i>
                        </div>
                        <p>新闻资讯</p>
                    </a>
                </div>
                <div class="header_nav">
                    <a href="property.html">
                        <div>
                            <i class="i2"></i>
                        </div>
                        <p>资产信息</p>
                    </a>
                </div>
                <div class="header_nav active">
                    <a href="resourceNew.html">
                        <div>
                            <i class="i3"></i>
                            <img src="static/images/nav_bg.png" class="i_bg xuanzhuan" alt="">
                        </div>
                        <p>资源信息</p>
                    </a>
                </div>
                <div class="header_nav">
                    <a href="homestead.html">
                        <div>
                            <i class="i4"></i>
                        </div>
                        <p>宅基地信息</p>
                    </a>
                </div>
            </div>
        </div>

        <div class="new">

            <div class="table_main">
                <table align="center" cellspacing="0" cellpadding="0" border="0" width="100%" id="propertyContent">
                    <script id="propertyData" type="text/html">
                        <tr>
                            <td>镇</td>
                            <td>村</td>
                            <td>资源编码</td>
                            <td>资源名称</td>
                            <td>资源分类</td>
                            <td>资源类型</td>
                            <td>面积/亩</td>
                            <td>使用情况</td>
                        </tr>
                        {{each propertyList as value i}}
                            <tr onclick="openDialog({{value.id}})">
                                <td>{{value.townName}}</td>
                                <td>{{value.deptName}}</td>
                                <td>{{value.code}}</td>
                                <td style="text-align: left;padding: 0 10px;">{{value.name}}</td>
                                <td>{{value.resourceType}}</td>
                                <td>{{value.resourceSort}}</td>
                                <td>{{value.totalArea}}</td>
                                <td>{{value.useType==2?'闲置':'出租'}}</td>
                            </tr>
                        {{/each}}
                    </script>
                </table>
            </div>
            <div class="pageNum">
                <div style="display: inline-block;margin: 0 auto;" class="page_s1"></div>
                <p style="display: inline-block;margin: 0 auto;" id="page_s1"></p>
            </div>
            <div id="map_main" style="box-shadow: 0px 5px 20px #999 inset;width: 100%;height: 16vh;position:relative;">
                <div id="container"></div>
                <img src="static/images/openBig.png" id="open" onclick="openBig()" style="position:absolute;right: 10px;top: 10px;" alt="">
                <img src="static/images/closeBig.png" id="close" onclick="closeBig()" style="display:none;position:absolute;right: 10px;top: 10px;" alt="">
            </div>
        </div>

        <div class="dialog" id="dialog" style="display: none;">
            <div class="bg-mengban"></div>
            <div class="dialog_table" id="propertyDetailContent">
                <script id="propertyDetailData" type="text/html">
                <div class="dialog_header">
                    <p><img src="static/images/dialog_icon_1.png" alt=""></p>
                    <p class="name">基本信息</p>
                    <p class="bigWin" onclick="window.location='resourceNewDetail.html?id='+{{propertyDetail.id}}"><img src="static/images/dialog_icon_2.png" alt=""></p>
                    <p class="phoneIcon"><img src="static/images/dialog_icon_3.png" alt=""></p>
                    <i class="sanjiao-left"></i>
                    <p class="phone">{{phone}} {{leader}}</p>
                    <img src="static/images/dialog_icon_close.png" onclick="closeDialog()" style="margin-left: auto;" alt="">
                </div>

                <div class="dialog_main">
                    <table cellpadding="0" cellspacing="0" width="100%">

                        <tr>
                            <td>镇</td>
                            <td>{{propertyDetail.townName}}</td>
                            <td>村</td>
                            <td>{{propertyDetail.deptName}}</td>
                            <td>资源编码</td>
                            <td>{{propertyDetail.code}}</td>
                        </tr>

                        <tr>
                            <td>资源名称</td>
                            <td>{{propertyDetail.name}}</td>
                            <td>资源分类</td>
                            <td>{{propertyDetail.resourceType}}</td>
                            <td>资源类型</td>
                            <td>{{propertyDetail.resourceSort}}</td>
                        </tr>

                        <tr>
                            <td>面积/亩</td>
                            <td>{{propertyDetail.totalArea}}</td>
                            <td>使用情况</td>
                            <td>{{propertyDetail.useType==2?'闲置':'出租'}}</td>
                            <td></td>
                            <td></td>
                        </tr>

                    </table>
                </div>
                </script>
            </div>
        </div>

        <div class="footer" id="webContent">

            <script id="webData" type="text/html">
                <div class="footer_link">
                    <!--                    <p class="footer_link_tit">友情链接</p>-->
                    <!--                    {{each webList.botoom1 as value i}}-->
                    <!--                        <a class="hotFile" target="_blank" href="{{value.contentUrl}}">{{value.contentValue}}</a>-->
                    <!--                    {{/each}}-->
                    <img src="static/images/link_00.png" alt="">
                    <!--                    <a href=""><img src="static/images/link_01.png" alt="" ></a>-->
                    <!--                    <a href=""><img src="static/images/link_02.png" alt=""></a>-->
                    {{each webList.botoom1 as value i}}
                    <a href="{{value.contentUrl}}" style="background: url('static/images/{{value.contentIcon}}.png') no-repeat center;background-size: 100% 100%;" target="_blank">
                        <!--                            <img src="static/images/{{value.contentIcon}}.png" alt="" >-->
                        <p class="link_tt">{{value.contentValue}}</p>
                    </a>
                    {{/each}}
                </div>

                <div class="footer_link_filings">
                    {{each webList.botoom2 as value i}}
                    <div class="footer_link_filings_left">
                        <p style="background-image: url('static/images/{{value.contentIcon}}')">{{value.contentTitle}}</p>
                        <a href="#">{{value.contentValue}}</a>
                    </div>
                    {{/each}}
                </div>

                <div class="footer_link_company">
                    {{each webList.botoom3 as value i}}
                    <div>
                        <p>{{value.contentTitle}}</p>
                        <a target="{{value.contentUrl ? '_blank' : '_self' }}" href="{{value.contentUrl ? value.contentUrl : 'javascript:void(0)' }}">{{value.contentValue}}</a>
                    </div>
                    {{/each}}
                </div>
            </script>

        </div>


    </div>
</body>
<script src="./static/js/common/require.js" data-main="./static/js/common/main.js?t=101" id="require-page" target-module="./static/js/project/resourceNew.js" defer type="text/javascript"></script>
</html>
