-
Notifications
You must be signed in to change notification settings - Fork 0
/
sellinfo.html
289 lines (275 loc) · 13.6 KB
/
sellinfo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Dasgras | 广州市房地产数据分析与预测</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap v3.3.7 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Font Awesome v4.7.0 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Ionicons v2.0.0 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/ionicons/2.0.0/css/ionicons.min.css">
<!-- Theme style v2.4.2 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/admin-lte/2.4.2/css/AdminLTE.min.css">
<!-- DataTables v1.10.16 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/datatables/1.10.16/css/dataTables.bootstrap.min.css">
<!-- AdminLTE Skins.v2.4.2 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/admin-lte/2.4.2/css/skins/skin-blue.css">
<!-- jQuery UI CSS v1.12.1 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Google Font -->
<!--添加中科大CDN-->
<link rel="stylesheet"
href="https://fonts.lug.ustc.edu.cn/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<!--
BODY TAG OPTIONS:
=================
Apply one or more of the following classes to get the
desired effect
|---------------------------------------------------------|
|LAYOUT OPTIONS | fixed |
| | layout-boxed |
| | layout-top-nav |
| | sidebar-collapse |
| | sidebar-mini |
|---------------------------------------------------------|
-->
<body class="hold-transition skin-blue fixed sidebar-mini">
<div class="wrapper">
<!-- Main Header -->
<header class="main-header" id="main-header"></header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar" id="main-sidebar"></aside>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
历史成交信息
<small>获取小区历年成交记录</small>
</h1>
<!--<ol class="breadcrumb">-->
<!--<li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>-->
<!--<li class="active">Here</li>-->
<!--</ol>-->
</section>
<!-- Main content -->
<section class="content container-fluid">
<!--------------------------
| Your Page Content Here |
-------------------------->
<!-- 表单数据开始 -->
<div class="box box-body box-primary">
<!-- 提示框开始 -->
<div class="col-xs-4 col-md-offset-4">
<div class="row" id="alert">
</div>
</div>
<!-- 提示框结束 /.row -->
<!-- 表单标题开始 -->
<div class="col-xs-4 col-md-offset-4">
<div class="text-center">
<h4>获取小区历年成交记录</h4>
</div>
</div>
<!-- 表单标题结束 -->
<!-- 表单开始 -->
<div class="row">
<div class="col-xs-6">
<div class="form-group">
<label for="form-community">小区名称:</label>
<input type="text" id="form-community"
class="form-control autocomplete"
placeholder="请输入小区名称(如:辉洋苑)" autocomplete="off">
</div>
<div class="form-group">
<label for="form-startTime">开始时间:</label>
<input type="date" id="form-startTime" class="form-control" value="2016-01-01"
placeholder="请选择开始时间">
</div>
<div class="form-group">
<label for="form-x-value">X轴数据:</label>
<select id="form-x-value" class="form-control">
<option value="dealDate" selected="selected">成交时间</option>
<option value="unitPrice">单价</option>
<option value="totalPrice">总价</option>
<option value="decoration">装修</option>
<option value="houseType">户型</option>
</select>
</div>
<div class="form-group">
<label for="form-dealTime-interval">X轴时间间隔:</label>
<select id="form-dealTime-interval" class="form-control">
<option value="month">每月</option>
<option value="quarter" selected="selected">每季度</option>
<option value="halfYear">半年</option>
<option value="year">一年</option>
</select>
</div>
</div>
<div class="col-xs-6">
<div class="form-group">
<label for="form-graphType">图表类型:</label>
<select id="form-graphType" class="form-control">
<option selected="selected" value="barGraph">柱状图</option>
<option value="lineGraph">曲线图</option>
</select>
</div>
<div class="form-group">
<label for="form-endTime">结束时间:</label>
<input type="date" id="form-endTime" class="form-control" value=""
placeholder="请选择结束时间">
</div>
<div class="form-group">
<label for="form-y-value">Y轴数据:</label>
<select id="form-y-value" class="form-control">
<option value="dealDate">成交时间</option>
<option value="unitPrice" selected="selected">单价</option>
<option value="totalPrice">总价</option>
<option value="decoration">装修</option>
<option value="houseType">户型</option>
</select>
</div>
</div>
</div>
<!-- 表单结束 -->
<!-- 提交按钮开始 -->
<div class="col-xs-2 col-md-offset-5">
<div class="input-group-btn">
<button class="btn btn-block btn-primary" type="button" onclick="getSellInfoByCommunity()">提交
</button>
</div>
</div>
<!-- 提交按钮结束 -->
</div>
<!-- 表单数据结束 /.row -->
<!-- 分析图表开始 -->
<div class="row">
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">这里有个表格</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-minus"></i>
</button>
</div>
</div>
<div class="box-body">
<div id="chart-container">
<canvas id="mycanvas"></canvas>
</div>
</div>
</div>
</div>
</div>
<!-- 分析图表开始结束 -->
<!-- 获取小区成交房源详细分析列表开始 -->
<div class="row">
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title" id="records_result">搜索结果:</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="records_table" class="table table-bordered table-striped">
<thead>
<tr>
<th>房源标题</th>
<th>房源面积</th>
<th>房源户型</th>
<th>房源朝向</th>
<th>所在楼层</th>
<th>装修类型</th>
<th>建筑年代</th>
<th>成交来源</th>
<th>成交单价</th>
<th>成交总价</th>
<th>成交日期</th>
</tr>
</thead>
<tbody>
<tr>
<td>Trident</td>
<td>Internet Explorer 4.0</td>
<td>Win 95+</td>
<td>4</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
<td>X</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>小区名称</th>
<th>区县</th>
<th>参考均价</th>
<th>在售房源</th>
<th>建筑年代</th>
<th>建筑类型</th>
<th>物业公司</th>
<th>物业费</th>
<th>开发商</th>
<th>建筑栋数</th>
<th>房屋总数</th>
</tr>
</tfoot>
</table>
</div>
<!-- /.box-body -->
</div>
</div>
</div>
<!-- 获取小区成交房源详细分析列表结束 /.row -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<!-- Main Footer -->
<!--navbar-fixed-bottom 修复错版问题-->
<footer class="main-footer" id="main-footer"></footer>
</div>
<!-- ./wrapper -->
<!-- REQUIRED JS SCRIPTS -->
<!-- jQuery v3.3.1 -->
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<!-- Bootstrap v3.3.7 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- AdminLTE App v2.4.2 -->
<script src="https://cdn.bootcss.com/admin-lte/2.4.2/js/adminlte.min.js"></script>
<!-- DataTables v1.10.16 -->
<script src="https://cdn.bootcss.com/datatables/1.10.16/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.bootcss.com/datatables/1.10.16/js/dataTables.bootstrap.min.js"></script>
<!-- 页面js -->
<script src="dist/js/sellinfo.js"></script>
<!-- ChartJS v1.0.2 最新2.7.2 -->
<script src="https://cdn.bootcss.com/Chart.js/2.7.2/Chart.min.js"></script>
<!-- jQuery UI 1.12.1 fixed the bugs-->
<script src="https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.js"></script>
<!--SlimScroll-->
<!--<script src="bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>-->
<!--FastClick-->
<!--<script src="bower_components/fastclick/lib/fastclick.js"></script>-->
<!--Optionally, you can add Slimscroll and FastClick plugins.-->
<!--Both of these plugins are recommended to enhance the user experience. -->
</body>
</html>