2020-08-04 14:26:26 +08:00

440 lines
18 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.tenwa.httpclient.pypafhtml;
public class PyHtmlBase {
public static final String header = "<html>\n" +
" <head> \n" +
" <meta charset=\"UTF-8\" /> \n" +
" <title>主机对主机_全国个人信息查询</title> \n" +
" <style>\n" +
"body { \n" +
"\tfont-family: simsun; \n" +
"\tfont-size: 14px; \n" +
"\tcolor: #000; \n" +
"\tbackground: #FFF; \n" +
"\tmargin: 0; \n" +
"\tpadding: 15px 0; \n" +
"\tword-wrap: break-word; \n" +
"}\n" +
".report {\n" +
"\twidth: 800px;\n" +
"\tfont-size: 12px;\n" +
"\tmargin: 0 auto;\n" +
"}\n" +
"\n" +
".report.pdf {\n" +
"\twidth: 100%;\n" +
"}\n" +
"\n" +
".report table {\n" +
"\tmargin-bottom: 16px;\n" +
"\twidth: 100%;\n" +
"\tborder-spacing: 0;\n" +
"\tfont-family: simsun; \n" +
"\tfont-size: 13px; \n" +
"\tcolor: #000; \n" +
"\tbackground: #FFF; \n" +
"\tmargin: 0; \n" +
"\tword-wrap: break-word; \n" +
"\ttable-layout: fixed;\n" +
"}\n" +
"\n" +
".report table.report-title {\n" +
"\theight: 65px;\n" +
"\tfont-size: 27px;\n" +
"\tfont-weight: bold;\n" +
"\ttext-align: center;\n" +
"\tfont-family: simsun;\n" +
"}\n" +
"\n" +
".report table.list-title2 td {\n" +
"\tcolor: purple;\n" +
"\tfont-size: 12px;\n" +
"}\n" +
".more{\n" +
"\ttext-align:right;\n" +
"}\n" +
"\n" +
".report table.section-title {\n" +
"\tmargin-bottom: 4px;\n" +
"\tcolor: purple;\n" +
"\tfont-size: 14px;\n" +
"\tfont-weight: bold;\n" +
"}\n" +
"\n" +
"\n" +
".report table.section-title-black {\n" +
"\tmargin-bottom: 4px;\n" +
"\tcolor: black;\n" +
"\tfont-size: 14px;\n" +
"\tfont-weight: bold;\n" +
"}\n" +
".section-title td {\n" +
" padding-top: 5px;\n" +
"\tpadding-bottom: 5px;\n" +
"}\n" +
"\n" +
".section-title.border td {\n" +
"\tborder-bottom: 2px solid #660066;\n" +
"}\n" +
"\n" +
".section-title td.pole {\n" +
"\twidth: 13px;\n" +
"\tpadding-bottom: 0;\n" +
"}\n" +
"\n" +
".report table.list-title {\n" +
"\tmargin-top: 10px;\n" +
"\tmargin-bottom: 5px;\n" +
"\tfont-size: 14px;\n" +
"\tfont-weight: bold;\n" +
"}\n" +
"\n" +
".list {\n" +
"\ttable-layout: fixed;\n" +
"\tborder-collapse: collapse;\n" +
"}\n" +
"\n" +
".list.mb-0 {\n" +
"\tmargin-bottom: 0;\n" +
"}\n" +
"\n" +
".list td, .list th {\n" +
" border: 1px solid #000;\n" +
"\tpadding: 5px;\n" +
"\tvertical-align: middle;\n" +
"}\n" +
"\n" +
".pdf .list .field {\n" +
"\tbackground-color: #f0f0f0;\n" +
"\tfont-weight: bold;\n" +
"}\n" +
"\n" +
".pdf .list .field2 {\n" +
"\tbackground-color: #f0f0f0;\n" +
"}\n" +
"\n" +
".list .field {\n" +
"\tbackground-color: #ccc;\n" +
"\tfont-weight: bold;\n" +
"}\n" +
"\n" +
".list .field2 {\n" +
"\tbackground-color: #ccc;\n" +
"}\n" +
"/* 蓝底,用于显示一些合计总结性数据 */\n" +
".list .field3 {\n" +
"\tbackground-color: #9DC3E6;\n" +
"}\n" +
"\n" +
".list .td-style1 {\n" +
" padding: 0px;\n" +
" border:0px;\n" +
"}\n" +
"\n" +
".list .td-style2 {\n" +
" border-right:0px;\n" +
"}\n" +
".text-center {\n" +
"\ttext-align: center;\n" +
"}\n" +
"\n" +
".text-right {\n" +
"\ttext-align: right;\n" +
"}\n" +
"\n" +
".bold {\n" +
"\tfont-weight: bold;\n" +
"}\n" +
"\n" +
".red {\n" +
"\tcolor: red;\n" +
"}\n" +
".green {\n" +
"\tcolor: green;\n" +
"}\n" +
".blue {\n" +
"\tcolor: blue;\n" +
"}\n" +
".darkblue {\n" +
"\tcolor: #069;\n" +
"}\n" +
".normal {\n" +
"\tcolor: #000;\n" +
"\tfont-weight: normal;\n" +
"}\n" +
".error-msg {\n" +
"\tcolor: #FF0000;\n" +
"\tfont-weight: bold;\n" +
"\tbackground: #F2F2F2;\n" +
"}\n" +
".no-result-msg {\n" +
"\tcolor: #000000;\n" +
"\tfont-weight: bold;\n" +
"\tbackground: #F2F2F2;\n" +
"}\n" +
"\n" +
"table.tips-word-area {\n" +
"\tmargin-top: 15px;\n" +
"}\n" +
"\n" +
"table.tips-word-area td {\n" +
"\tbackground-color: #E1E1E1;\n" +
"\theight: 20px;\n" +
"}\n" +
"\n" +
"table.tips-word-area td.tips-word {\n" +
"\tpadding-left: 30px;\n" +
"\tline-height: 20px;\n" +
"}\n" +
"\n" +
"a {text-decoration:none;color:blue; }\n" +
" a:link { }\n" +
" a:visited { }\n" +
" a:hover { color: #c30; text-decoration: underline; }\n" +
" a:active { }\n" +
"\n" +
"\t/* Table */\n" +
".table-style { margin-bottom: 15px; border-collapse: collapse;}\n" +
".table-style th, .table-style td { padding: 0 5px; height: 24px; line-height: 24px; border:1px solid #000; vertical-align: middle;}\n" +
".table-style th { background: #ccc; font-weight: bold;}\n" +
".table-style h3 { font-size: 14px; color:#e76800; }\n" +
"\n" +
"/* Table */\n" +
".table-style1 { border:1px solid #666666; margin-bottom: -1px;clear:both;}\n" +
" .table-style1 th, .table-style1 td { padding: 5px; }\n" +
" .table-style1 th { background: #d7d7d7; border:1px solid #666666; }\n" +
" .table-style1 td { border:1px solid #666666;}\n" +
" .table-style1 h3 { font-size: 14px; color:#e76800; }\n" +
"/*无边界*/\n" +
".table-style2 { border:0px;}\n" +
" .table-style2 th, .table-style2 td { padding: 5px; }\n" +
" .table-style2 th { background: #d7d7d7; border:0px }\n" +
" .table-style2 td { border:0px}\n" +
" .table-style2 h3 { font-size: 14px; color:#e76800; }\n" +
"/*有边界无margin-bottom*/\n" +
".table-style3 { border-collapse: collapse;}\n" +
".table-style3 th, .table-style3 td { padding: 0 5px; height: 24px; line-height: 24px; border:1px solid #000; vertical-align: middle;}\n" +
".table-style3 th { background: #ccc;}\n" +
".table-style3 h3 { font-size: 14px; color:#e76800; }\n" +
"\n" +
".table-style4 { border:1px solid #666666;}\n" +
".table-style4 th, .table-style4 td { padding: 0 5px; height: 24px; line-height: 24px; border:1px solid #000; vertical-align: middle;}\n" +
".table-style4 th { background: #ccc; font-weight: bold;}\n" +
".table-style4 h3 { font-size: 14px; color:#e76800; }\n" +
"<!-- risk info css -->\n" +
"\n" +
" /*提示信息样式,无边框,有背景色 */\n" +
".table-tips { border:0px;}\n" +
" .table-tips th, .table-tips td { padding: 5px;background-color: #ccc;}\n" +
" .table-tips th { border:0px;font-weight: bold; }\n" +
" .table-tips td { border:0px}\n" +
" /*提示信息样式2有边框有背景色 */\n" +
".table-tips2 { border:1px solid #666666; margin-bottom: -1px;clear:both;}\n" +
" .table-tips2 th, .table-tips2 td { padding: 5px;background-color: #ccc;}\n" +
" .table-tips2 th { border:0px;font-weight: bold; }\n" +
" .table-tips2 td { border:0px}\t\n" +
" /*提示信息样式3有边框无背景色 */\n" +
".table-tips3 { border:1px solid #666666; margin-bottom: -1px;clear:both;}\n" +
" .table-tips3 th, .table-tips3 td { padding: 5px;}\n" +
" .table-tips3 th { border:0px;font-weight: bold; }\n" +
" .table-tips3 td { border:0px}\t\n" +
" /*提示信息样式4无边框无背景色 */\n" +
".table-tips4 { border:0px;}\n" +
" .table-tips4 th, .table-tips4 td { padding: 5px;}\n" +
" .table-tips4 th { border:0px;font-weight: bold; }\n" +
" .table-tips4 td { border:0px}\n" +
".td-head {\n" +
" background: none repeat scroll 0 0 #D7D7D7;\n" +
"}\n" +
"\n" +
".td-head-pdf {\n" +
" background: none repeat scroll 0 0 #E6E6E6;\n" +
"}\n" +
"\n" +
".text-center {\n" +
" text-align: center;\n" +
"}\n" +
".text-left{\n" +
"\ttext-align: left;\n" +
"}\n" +
".text-normal {\n" +
" color: #000;\n" +
"}\n" +
".num_link {\n" +
"\n" +
" text-decoration: underline;\n" +
"}\n" +
"\n" +
".title_link {\n" +
"\n" +
" text-decoration: underline;\n" +
"}\n" +
"\n" +
".file_pdf_link {\n" +
"\n" +
" text-decoration: underline;\n" +
"}\n" +
"\n" +
".file_src_link {\n" +
"\n" +
" text-decoration: underline;\n" +
"}\n" +
"\n" +
".num_link_disabled {\n" +
" text-decoration: none;\n" +
" color: #000;\n" +
"}\n" +
"\n" +
"\n" +
".clear {\n" +
" clear: both;\n" +
"}\n" +
"\n" +
".summaryInfo {\n" +
" margin: 15px 0px;\n" +
" /* border: 1px solid #cdcdcd;\n" +
" border-radius: 4px; */\n" +
"}\n" +
"\n" +
".summaryTitle {\n" +
" /* background-color: #EAEAEA; */\n" +
" padding: 5px 2px;\n" +
"}\n" +
"\n" +
".detailInfo {\n" +
" margin: 15px 0px;\n" +
" clear: both;\n" +
" /* border: 1px solid #cdcdcd;\n" +
" border-radius: 4px; */\n" +
"}\n" +
"\n" +
".detailTitle {\n" +
" padding: 5px 2px;\n" +
" margin: 5px 0px;\n" +
" background-color: #EAEAEA;\n" +
"}\n" +
"\n" +
".btn {\n" +
" padding: 3px 5px;\n" +
" margin: 3px 5px;\n" +
"}\n" +
"\n" +
".thw{ width: 18% }\n" +
".risk-cate-title {\n" +
" font-size: 14px;\n" +
" margin-bottom: 5px;\n" +
"}\n" +
".risk-cate-subtitle {\n" +
" background: none repeat scroll 0 0 #E6E6E6;\n" +
" border-top: 1px solid #666666;\n" +
" border-right: 1px solid #666666;\n" +
" border-left: 1px solid #666666;\n" +
" font-size: 12px;\n" +
" padding: 5px;\n" +
" margin-bottom: 0px;\n" +
"}\n" +
".subNormalTitle{padding: 5px 0 5px 0;font-weight:bold;font-size: 12px}\n" +
".subNormalInfo{padding: 5px 0 5px 0;font-weight:normal;font-size: 12px}\n" +
".subMaxTitle{padding: 5px 0 5px 0;font-weight:bold;font-size: 14px}\n" +
".subMaxInfo{padding: 5px 0 5px 0;font-weight:normal;font-size: 14px}\n" +
".more-dropdown { font-size:12px; }\n" +
".static-brief,.static-brief2 {\n" +
" border: 1px solid #CCCCCC;\n" +
" cursor: pointer;\n" +
" margin-bottom: 2px;\n" +
" overflow: hidden;\n" +
" padding: 5px;\n" +
"}\n" +
".report-brief { border:1px solid #ccc; padding:5px; margin-bottom: 2px; overflow:hidden; zoom:1; cursor:pointer;}\n" +
".report-brief:hover { background: #D6E7F3;}\n" +
".brief-title { display:inline-block; width:12em; font-weight:bold; padding: 2px 0px;}\n" +
".brief-fun { float:right; margin: 0 5px; +margin: -12px 5px 0 0;}\n" +
".noborder { border: 1px solid #fff;}\n" +
".brief-content { display:none;}\n" +
".td-bottom {padding-bottom:10px}\n" +
".report-ip-brief { border:1px solid #ccc; padding:5px; margin-bottom: 2px; overflow:hidden; zoom:1; cursor:pointer;}\n" +
".brief-ip-fun { float:right; margin: 0 5px; +margin: -12px 5px 0 0;display: none}\n" +
"<!-- risk info css end -->\n" +
"\n" +
"\n" +
" </style> \n" +
" </head> <body> \n" +
" <!--查询条件begin-->\n" +
" <!-- 卡核查及交易查询附加条件 -->\n" +
" <!-- 卡多笔交易查询附加条件 -->\n" +
" <!--查询条件end-->\n" +
" <!-- 被冻结及被屏蔽直接返回系统错误,不在展示子报告模块 -->\n" +
" <!--反欺诈分析综述begin-->\n" +
" <!--反欺诈分析综述end-->\n" +
" <!--欺诈风险指数begin-->\n" +
" <!--欺诈风险指数end-->\n" +
" <!--证件号码校验信息begin-->\n" +
" <!--证件号码校验信息end-->\n" +
" <!--身份认证begin-->\n" +
" <!--身份认证end-->\n" +
" <!--手机认证begin-->\n" +
" <!--手机认证end-->\n" +
" <!--手机号码状态时长begin-->\n" +
" <!--手机号码状态时长end-->\n" +
" <!--风险名单begin-->\n" +
" <!--风险名单end-->\n" +
" <!--司法风险汇总begin-->\n" +
" <!--司法风险汇总end-->\n" +
" <table class=\"report\" align=\"center\"> \n" +
" <tbody>\n" +
" <tr> \n" +
" <td> \n" +
" <table class=\"report-title\"> \n" +
" <tbody>\n" +
" <tr> \n" +
" <td>个人信息报告</td> \n" +
" </tr> \n" +
" </tbody>\n" +
" </table> </td> \n" +
" </tr> \n" +
" <!--查询条件begin--> \n" +
" <tr> \n" +
" <td> \n" +
" <table class=\"section-title border\"> \n" +
" <tbody>\n" +
" <tr> \n" +
" <td class=\"pole\"><img src=\"image/image_list.png\" /></td> \n" +
" <td>查询条件</td> \n" +
" <td class=\"text-right normal\">报告编号:";
public static final String tail = " <tr> \n" +
" <td> \n" +
" <table style=\"margin-top: 40px;\"> \n" +
" <tbody>\n" +
" <tr> \n" +
" <td class=\"bold\">报告使用说明:</td> \n" +
" </tr> \n" +
" </tbody>\n" +
" </table> </td> \n" +
" </tr> \n" +
" <tr> \n" +
" <td> \n" +
" <table style=\"margin-top: 20px;\"> \n" +
" <tbody>\n" +
" <tr> \n" +
" <td>1. 本报告著作权属于鹏元征信有限公司,未经书面许可,不得复制、摘录、转载和发表。</td> \n" +
" </tr> \n" +
" <tr> \n" +
" <td>2. 本报告仅供使用者参考,鹏元征信有限公司不承担据此报告产生的任何法律责任。</td> \n" +
" </tr> \n" +
" <tr> \n" +
" <td>3. 鹏元征信有限公司客服热线0755-82873169电子邮箱credit@pycredit.cn 。</td> \n" +
" </tr> \n" +
" <tr> \n" +
" <td>4. 公司地址深圳市深南大道7008号阳光高尔夫大厦四楼。</td> \n" +
" </tr> \n" +
" </tbody>\n" +
" </table> </td> \n" +
" </tr> \n" +
" </tbody>\n" +
" </table> \n" +
" </body>\n" +
"</html>" ;
}