优化报告页面

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