优化报告页面
This commit is contained in:
+1
-1
@@ -436,7 +436,7 @@ public class CcbRentController {
|
|||||||
OutputStream os = null;
|
OutputStream os = null;
|
||||||
try {
|
try {
|
||||||
os = response.getOutputStream();
|
os = response.getOutputStream();
|
||||||
ITextRenderer renderer = new ITextRenderer(35, 20);
|
ITextRenderer renderer = new ITextRenderer(35, 21);
|
||||||
ITextFontResolver fontResolver = renderer.getFontResolver();
|
ITextFontResolver fontResolver = renderer.getFontResolver();
|
||||||
String fontUrl = ActionContext.getContext().getServletContext().getRealPath("/") + "fonts" + File.separator + "simsun.ttc";
|
String fontUrl = ActionContext.getContext().getServletContext().getRealPath("/") + "fonts" + File.separator + "simsun.ttc";
|
||||||
fontResolver.addFont(fontUrl, BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);
|
fontResolver.addFont(fontUrl, BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);
|
||||||
|
|||||||
@@ -29,11 +29,13 @@
|
|||||||
color: #1E90FF;
|
color: #1E90FF;
|
||||||
}
|
}
|
||||||
.title1 {
|
.title1 {
|
||||||
font-size: 14px;
|
font-size: 15px;
|
||||||
color: #1E90FF;
|
color: #1E90FF;
|
||||||
|
margin-top: 2px;
|
||||||
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
.p {
|
.p {
|
||||||
font-size: 12px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
.table {
|
.table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -319,9 +321,9 @@
|
|||||||
<td class="td01">' + d.city + '</td> \
|
<td class="td01">' + d.city + '</td> \
|
||||||
<td class="td02">' + d.region + '</td> \
|
<td class="td02">' + d.region + '</td> \
|
||||||
<td>' + d.districtName + '</td> \
|
<td>' + d.districtName + '</td> \
|
||||||
<td>' + d.totalPrice + '</td> \
|
<td>' + (d.totalPrice != undefined ? d.totalPrice : '') + '</td> \
|
||||||
<td>' + d.area + '</td> \
|
<td>' + (d.area != undefined ? d.area : '') + '</td> \
|
||||||
<td>' + d.room + '</td> \
|
<td>' + (d.room != undefined ? d.room : '') + '</td> \
|
||||||
<td>' + hall + '</td> \
|
<td>' + hall + '</td> \
|
||||||
<td>' + fitment + '</td> \
|
<td>' + fitment + '</td> \
|
||||||
<td>' + formatDate(d.tradeDate) + '</td> \
|
<td>' + formatDate(d.tradeDate) + '</td> \
|
||||||
@@ -340,10 +342,10 @@
|
|||||||
<td class="td01">' + d.city + '</td> \
|
<td class="td01">' + d.city + '</td> \
|
||||||
<td class="td02">' + d.region + '</td> \
|
<td class="td02">' + d.region + '</td> \
|
||||||
<td>' + d.districtName + '</td> \
|
<td>' + d.districtName + '</td> \
|
||||||
<td>' + d.totalPrice + '</td> \
|
<td>' + (d.totalPrice != undefined ? d.totalPrice : '') + '</td> \
|
||||||
<td>' + d.area + '</td> \
|
<td>' + (d.area != undefined ? d.area : '') + '</td> \
|
||||||
<td>' + d.room + '</td> \
|
<td>' + (d.room != undefined ? d.room : '') + '</td> \
|
||||||
<td>' + d.hall + '</td> \
|
<td>' + (d.hall != undefined ? d.hall : '')+ '</td> \
|
||||||
<td>' + fitment + '</td> \
|
<td>' + fitment + '</td> \
|
||||||
<td>' + date + '</td> \
|
<td>' + date + '</td> \
|
||||||
</tr>');
|
</tr>');
|
||||||
@@ -359,9 +361,9 @@
|
|||||||
$('#sameDistricts').append('<tr class=""> \
|
$('#sameDistricts').append('<tr class=""> \
|
||||||
<td class="td01">' + d.city + '</td> \
|
<td class="td01">' + d.city + '</td> \
|
||||||
<td class="td02">' + d.region + '</td> \
|
<td class="td02">' + d.region + '</td> \
|
||||||
<td>' + d.districtName + '</td> \
|
<td>' + (d.districtName != undefined ? d.districtName:'' ) + '</td> \
|
||||||
<td>' + d.roomPrice + '</td> \
|
<td>' + (d.roomPrice != undefined ? d.roomPrice:'') + '</td> \
|
||||||
<td>' + d.room + '</td> \
|
<td>' + (d.room != undefined ? d.room:'') + '</td> \
|
||||||
<td>1</td> \
|
<td>1</td> \
|
||||||
</tr>');
|
</tr>');
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -31,16 +31,18 @@
|
|||||||
color: #1E90FF;
|
color: #1E90FF;
|
||||||
}
|
}
|
||||||
.title1 {
|
.title1 {
|
||||||
font-size: 14px;
|
font-size: 15px;
|
||||||
color: #1E90FF;
|
color: #1E90FF;
|
||||||
|
margin-top: 2px;
|
||||||
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
.p {
|
.p {
|
||||||
font-size: 12px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
.table {
|
.table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
overflow-x: scroll
|
overflow-x: scroll;
|
||||||
}
|
}
|
||||||
.inline {
|
.inline {
|
||||||
width: 550px;
|
width: 550px;
|
||||||
@@ -122,7 +124,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="title1">6 已租房源</div>
|
<div class="title1">6 已租房源</div>
|
||||||
<div class="p table">
|
<div class="p table">
|
||||||
<table class="inline">
|
<table class="inline" style="width: 800px">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="bg">
|
<tr class="bg">
|
||||||
<th class="th01">城市</th>
|
<th class="th01">城市</th>
|
||||||
@@ -161,13 +163,13 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="title1">7 样本参考</div>
|
<div class="title1">7 样本参考</div>
|
||||||
<div class="p table">
|
<div class="p table">
|
||||||
<table class="inline">
|
<table class="inline" style="width: 800px">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="bg">
|
<tr class="bg">
|
||||||
<th class="th01">城市</th>
|
<th class="th01">城市</th>
|
||||||
<th>区域</th>
|
<th>区域</th>
|
||||||
<th>小区名</th>
|
<th>小区名</th>
|
||||||
<th>租金</th>
|
<th>租 金</th>
|
||||||
<th>面积</th>
|
<th>面积</th>
|
||||||
<th>室</th>
|
<th>室</th>
|
||||||
<th>厅</th>
|
<th>厅</th>
|
||||||
@@ -200,7 +202,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="title1">8 周边同类小区租金</div>
|
<div class="title1">8 周边同类小区租金</div>
|
||||||
<div class="p table">
|
<div class="p table">
|
||||||
<table class="inline" style="width: 300px">
|
<table class="inline" style="width: 500px">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="bg">
|
<tr class="bg">
|
||||||
<th class="th01">城市</th>
|
<th class="th01">城市</th>
|
||||||
@@ -220,7 +222,7 @@
|
|||||||
<td><#if bo.districtName??>${bo.districtName}</#if></td>
|
<td><#if bo.districtName??>${bo.districtName}</#if></td>
|
||||||
<td><#if bo.totalPrice??>${bo.totalPrice}</#if></td>
|
<td><#if bo.totalPrice??>${bo.totalPrice}</#if></td>
|
||||||
<td><#if bo.room??>${bo.room}</#if></td>
|
<td><#if bo.room??>${bo.room}</#if></td>
|
||||||
<td><#if bo.hall??>${bo.hall}</#if></td>
|
<td><#if bo.hall??>${bo.hall}<#else>1</#if></td>
|
||||||
</tr>
|
</tr>
|
||||||
</#list>
|
</#list>
|
||||||
<#else>
|
<#else>
|
||||||
|
|||||||
Reference in New Issue
Block a user