a087d3f4 by 田浩浩
2 parents dca764ad 2c0d81ad
# Summary
Date : 2020-12-23 16:04:29
Directory e:\门户网站\portalStaticPage
Total : 169 files, 73670 codes, 5132 comments, 4635 blanks, all 83437 lines
[details](details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 74 | 49,224 | 4,035 | 3,817 | 57,076 |
| CSS | 42 | 20,766 | 995 | 375 | 22,136 |
| HTML | 34 | 3,449 | 99 | 83 | 3,631 |
| XML | 17 | 211 | 3 | 357 | 571 |
| JSON | 1 | 19 | 0 | 0 | 19 |
| Markdown | 1 | 1 | 0 | 3 | 4 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 169 | 73,670 | 5,132 | 4,635 | 83,437 |
| staticCss | 37 | 20,761 | 990 | 375 | 22,126 |
| staticCss\convenienceService | 4 | 19 | 0 | 3 | 22 |
| staticImages | 16 | 16 | 0 | 0 | 16 |
| staticImages\share | 13 | 13 | 0 | 0 | 13 |
| staticJs | 48 | 37,031 | 868 | 230 | 38,129 |
| staticJs\convenienceService | 4 | 5 | 0 | 4 | 9 |
| staticJs\onlineApply | 8 | 911 | 420 | 54 | 1,385 |
| staticLib | 33 | 12,412 | 3,175 | 3,944 | 19,531 |
| staticLib\jquery | 4 | 12,165 | 3,145 | 3,587 | 18,897 |
| staticLib\layui | 28 | 228 | 30 | 357 | 615 |
| staticLib\layui\css | 5 | 5 | 5 | 0 | 10 |
| staticLib\layui\css\modules | 3 | 3 | 3 | 0 | 6 |
| staticLib\layui\css\modules\laydate | 1 | 1 | 1 | 0 | 2 |
| staticLib\layui\css\modules\laydate\default | 1 | 1 | 1 | 0 | 2 |
| staticLib\layui\css\modules\layer | 1 | 1 | 1 | 0 | 2 |
| staticLib\layui\css\modules\layer\default | 1 | 1 | 1 | 0 | 2 |
| staticLib\layui\font | 1 | 195 | 3 | 357 | 555 |
| staticLib\layui\lay | 20 | 23 | 20 | 0 | 43 |
| staticLib\layui\lay\modules | 20 | 23 | 20 | 0 | 43 |
| staticLib\wdyy | 1 | 19 | 0 | 0 | 19 |
| staticViews | 33 | 3,111 | 94 | 80 | 3,285 |
| staticViews\convenienceService | 4 | 148 | 0 | 4 | 152 |
| staticViews\onlineApply | 7 | 911 | 21 | 24 | 956 |
[details](details.md)
\ No newline at end of file
......@@ -134,6 +134,9 @@ div.navigation {
.release div {
display: inline-block;
}
.release div p {
display: inline-block;
}
.mainbody .DividingLine {
width: 1200px;
height: 1px;
......
......@@ -104,7 +104,7 @@
}
.business_titleList li a {
display: block;
height: 80px;
height: 142px;
border: 1px solid #eee;
border-radius: 5px;
text-align: center;
......@@ -112,7 +112,7 @@
}
.business_titleList li p:nth-child(1) {
font-size: 18px;
margin-top: 15px;
margin-top: 39px;
}
.itemTitleActive {
border-color: #0091FF!important;
......@@ -200,3 +200,8 @@
.business_name {
width: 330px;
}
.noData {
text-align: center;
padding-top: 30px;
display: none;
}
\ No newline at end of file
......
.central_area {
min-height:calc(100vh - 190px);
min-height:calc(100vh - 525px);
margin-top: 20px;
color: #4A4A4A;
}
......@@ -140,7 +140,7 @@
}
.item_info {
padding: 30px;
height: 180px;
height: 193px;
}
.item_info li{
width: 100%;
......@@ -184,3 +184,8 @@
.business {
cursor: pointer;
}
.noData {
text-align: center;
padding-top: 30px;
display: none;
}
\ No newline at end of file
......
......@@ -105,6 +105,7 @@
}
.item_list .button{
float: right;
margin-top: 10px;
}
.button a{
color: #fff;
......
......@@ -690,11 +690,11 @@ div.navigation {
.zcfg-top {
width: 200px;
height: 14px;
font-size: 14px;
font-weight: bold;
color: #4A4A4A;
line-height: 20px;
margin-bottom: 5px;
}
.zcfg-body {
......@@ -714,106 +714,13 @@ div.navigation {
color: #9B9B9B;
margin-top: 10px;
}
/* -----------------底部start----------------------------- */
div.footer {
background-color: #233042;
width: 100%;
}
div.footer .system_service {
width: 100%;
border-bottom: 1px solid #4A4A4A;
}
div.footer .system_service ul {
padding: 40px 0;
width: 1400px;
margin: 0 auto;
font-size: 0;
}
div.footer .system_service ul li {
width: 20%;
display: inline-block;
text-align: center;
height: 18px;
box-sizing: border-box;
}
div.footer .system_service ul li:not(:last-child) {
border-right: 1px solid #6D7278;
}
div.footer .system_service ul li a {
font-size: 16px;
font-weight: 400;
color: #DEDEDE;
}
div.footer .system_service ul li a:hover {
color: #f46143;
}
.footer .subject {
width: 80%;
margin: 0 auto;
padding: 40px 0;
overflow: hidden;
}
.footer .subject .footer_logo {
float: left;
}
.footer .subject .footer_logo a {
display: block;
width: 64px;
height: 74px;
padding: 10px;
}
.footer .subject .footer_logo a img {
width: 100%;
height: 100%;
}
.footer .subject ul, ol {
float: left;
color: #CBCBCB;
text-align: left;
}
.footer .subject ul {
width: 73%;
box-sizing: border-box;
padding-left: 40px;
margin-top: 10px;
}
.footer .subject ul li {
width: 30%;
display: inline-block;
text-align: left;
margin-bottom: 30px;
}
.footer .subject ol li {
display: inline-block;
text-align: center;
}
.footer .subject ol li:last-child {
margin-left: 60px;
}
.footer .subject ol li img {
width: 80px;
height: 80px;
}
.footer .subject ol li p {
/* 来源 */
.source {
color: #6D7278;
font-size: 12px;
color: #CBCBCB;
margin-top: 5px;
margin-top: 30px;
}
.source p:nth-child(2) {
color: #4A4A4A;
font-size: 14px;
}
\ No newline at end of file
......
......@@ -61,8 +61,13 @@ function getCookie() {
* 验证手机号码
*/
function validatorTel(content) {
// 正则验证格式
eval("var reg = /^1[34578]\\d{9}$/;");
return RegExp(reg).test(content);
}
// 验证身份证
function isCardNo(card) {
var pattern = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
return pattern.test(card);
}
\ No newline at end of file
......
......@@ -22,7 +22,7 @@ function newsDetail() {
if (result.code == 200 && result.data != null) {
$('.newsTitle').html(result.data.headline)
$('.releaseTime').html(result.data.addtime)
$('.source').html(result.data.source)
$('#source').html(result.data.source)
newsDetail.append(result.data.content)
}
}
......
......@@ -71,7 +71,6 @@ document.writeln(" <dl class=\'layui-nav-child\'>");
document.writeln(" <!-- 二级菜单 -->");
document.writeln(" <dd><a href=\'" + localhostPaht + "/staticViews/convenienceService/fileQuery.html\'>档案查询</a></dd>");
document.writeln(" <dd><a href=\'" + localhostPaht + "/staticViews/convenienceService/recordInquiry.html\'>合同备案查询</a></dd>");
document.writeln(" <dd><a href=\'" + localhostPaht + "/staticViews/convenienceService/certificateQuery.html\'>二三维不动产证书查验</a></dd>");
document.writeln(" <dd><a href=\'" + localhostPaht + "/staticViews/convenienceService/certificateVerification.html\'>证书核验</a></dd>");
document.writeln(" </dl>");
document.writeln(" </li>");
......
......@@ -65,6 +65,11 @@ function applicationMethod() {
for(var i=0;i<$('.conImageUpdate').length;i++) {
$('.conImageUpdate').eq(i).find('.imageUpdateTitle').css('height', $('.conImageUpdate').eq(i).height()-60);
}
$('.consigneePhone').blur(function() {
if (!validatorTel($(this).val())) {
layer.msg('请输入正确手机号!');
}
})
}
//读取受理信息
......@@ -186,7 +191,7 @@ function authorityPerson() {
'<div class="layui-inline">' +
'<label class="layui-form-label">姓名</label>' +
'<div class="layui-input-block">' +
'<input type="text" name="name" required lay-verify="name" placeholder="请输权利人" class="layui-input">' +
'<input type="text" name="sqrmc" required lay-verify="sqrmc" placeholder="请输权利人" class="layui-input">' +
'</div>' +
'</div>' +
'<div class="layui-inline idCard">' +
......@@ -201,13 +206,13 @@ function authorityPerson() {
'<div class="layui-inline">' +
'<label class="layui-form-label">证件号码</label>' +
'<div class="layui-input-block">' +
'<input type="tel" name="card" maxlength="18" required lay-verify="card" placeholder="请输证件号码" class="layui-input">' +
'<input type="tel" name="zjhm" maxlength="18" required lay-verify="card" placeholder="请输证件号码" class="layui-input zjhm">' +
'</div>' +
'</div>' +
'<div class="layui-inline">' +
'<label class="layui-form-label">联系方式</label>' +
'<div class="layui-input-block">' +
'<input type="tel" name="phone" maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input">' +
'<input type="tel" name="dhhm" maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input dhhm">' +
'</div>' +
'</div>' +
'<i class="layui-icon layui-icon-reduce-circle"></i>' +
......@@ -226,6 +231,16 @@ function authorityPerson() {
$(document).on("click", ".layui-icon-reduce-circle", function (e) {
$(this).parent().remove()
})
$(document).on("blur", ".zjhm", function (e) {
if (!isCardNo($(this).val())) {
layer.msg('请输入正确证件号码!');
}
})
$(document).on("blur", ".dhhm", function (e) {
if (!validatorTel($(this).val())) {
layer.msg('请输入正确手机号!');
}
})
}
// 图片上传
// 领证方式
......@@ -430,6 +445,7 @@ function _saveSQR() {
sqrList = sqrList.concat(tLists)
for (var i = 0; i < sqrList.length; i++) {
sqrList[i].sqrlx = 1;
sqrList[i].sqrlb = slsqxx.sqrlb;
}
// 领证方式-邮寄地址
var addMailRecordRequest = {};
......@@ -448,7 +464,6 @@ function _saveSQR() {
data: JSON.stringify({
'bsmSlsq': slsqxx.bsmSlsq,
'gyfsbm': gyfsmc,
'sqrlb': slsqxx.sqrlb,
'lzfs': lzfs,
'sqrList': sqrList,
'addMailRecordRequest': addMailRecordRequest
......
......@@ -209,8 +209,10 @@ function paged(pageCount, curr) {
})
if (pageCount == 0) {
$('#page').hide();
$('.noData').show();
}else {
$('#page').show();
$('.noData').hide();
}
}
......
......@@ -34,7 +34,7 @@ function _initData(currentPage = 1) {
if (records[i].state == '0') {
li += '<div class="item_title success">'
li += '<h3>预约成功</h3>'
li += '<a href="./yyjg.html?appointmentId='+records[i].appointmentId+'">查看<i class="layui-icon layui-icon-right"></i></a>'
li += '<a href="./yyjg.html?appointmentId=' + records[i].appointmentId + '">查看<i class="layui-icon layui-icon-right"></i></a>'
li += '</div>'
} else if (records[i].state == '1') {
li += '<div class="item_title success">'
......@@ -72,7 +72,16 @@ function _initData(currentPage = 1) {
// 用户取消预约
$(document).on("click", ".cancel_reservation", function (e) {
_cancleAppointment($(this).attr('appointmentId'), $(this).attr('jgid'), $(this).attr('periodRulesId'), getCookie('myCookie').userid)
let that = this;
layui.use('layer', function () {
layer.confirm('此操作将取消预约', {
btn: ['是', '否'] //按钮
}, function () {
_cancleAppointment($(that).attr('appointmentId'), $(that).attr('jgid'), $(that).attr('periodRulesId'), getCookie('myCookie').userid)
}, function () {
layer.msg('已取消');
});
})
})
function _cancleAppointment(appointmentId, jgid, periodRulesId, userid) {
......@@ -92,7 +101,10 @@ function _cancleAppointment(appointmentId, jgid, periodRulesId, userid) {
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200) {
layui.use('layer', function () {
var layer = layui.layer;
layer.msg('取消预约成功');
})
_initData();
}
}
......@@ -118,6 +130,13 @@ function paged(pageCount, curr) {
}
});
})
if (pageCount == 0) {
$('#page').hide();
$('.noData').show();
} else {
$('#page').show();
$('.noData').hide();
}
}
var dataList = {
......
$(function () {
let Mydate = new Date()
let year = Mydate.getFullYear();
let minutes = Mydate.getMinutes()
let hour = Mydate.getHours();
let date = Mydate.getDate()
let month = Mydate.getMonth();
$('.date div:first-child').text(year)
$('.date div:nth-child(2)').text(month + 1 + "/" + date)
$('.date div:last-child').text(hour + ":" + minutes)
LawsData()
HotArticle();
PolicyHotArticle();
......@@ -27,9 +18,12 @@ function LawsData() {
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 && result.data != null) {
console.log(999,result.data)
$('.newsTitle').html(result.data.headline)
newsList.append(result.data.content)
$('.newsTitle').html(result.data.headline);
newsList.append(result.data.content);
$('.source p').eq(1).text(result.data.source);
$('#years').text((result.data.addtime.split(' ')[0]).split('-')[0]);
$('#month').text((result.data.addtime.split(' ')[0]).split('-')[1] + '/' + (result.data.addtime.split(' ')[0]).split('-')[2]);
$('#time').text((result.data.addtime.split(' ')[1]).split('-')[0].split(':')[0] + ':' +(result.data.addtime.split(' ')[1]).split('-')[0].split(':')[1])
}
}
});
......@@ -50,7 +44,9 @@ function HotArticle() {
if (result.code == 200 && result.data != null) {
for (var i = 0; i < result.data.length; i++) {
li = '<li class="tj">';
if (result.data[i].cover) {
li += '<img src="' + result.data[i].cover + '">';
}
li += '<span class="tj-title">'+result.data[i].headline+'</span>';
li += '<span class="tj-date">'+result.data[i].deadtime+'</span>';
li += '</li>';
......
......@@ -22,7 +22,7 @@
<div class="mainbody">
<div class="title newsTitle"></div>
<div class="release">
<div class="source"></div>
<div>发布单位:<p id="source"></p></div>
<div>发布日期:<p class="releaseTime"></p></div>
</div>
<div class="DividingLine"></div>
......
......@@ -254,7 +254,7 @@
<div class="layui-input-block">
<input type="tel" maxlength="11" id="consigneePhone" name="consigneePhone"
lay-verify="consigneePhone" autocomplete="off" placeholder="请输入手机号码"
class="layui-input">
class="layui-input consigneePhone">
</div>
</div>
</div>
......
......@@ -24,7 +24,7 @@
</div>
<!-- -----------------个人信息------------------------ -->
<div class="central_area">
<div class="perinfo contentBox">
<div class="perinfo contentBox cardItem">
<div class="perinfo_left">
<img src="../staticImages/person.png" alt="">
<ul>
......@@ -80,6 +80,9 @@
<!-- -------------预约列表--------------- -->
<div class="contentBox">
<ul class="appintmentList"></ul>
<div class="noData">
暂无数据
</div>
<div id="page"></div>
</div>
</div>
......
......@@ -44,6 +44,7 @@
<div class="contentBox">
<ul class="appointment_list"></ul>
<div id="page"></div>
<div class="noData">暂无数据</div>
</div>
</div>
</div>
......
......@@ -29,9 +29,9 @@
<div class="left2">
<div class="left-left">
<div class="date">
<div></div>
<div>10/27</div>
<div>20:53</div>
<div id="years"></div>
<div id="month">10/27</div>
<div id="time">20:53</div>
</div>
<div class="readNum">
<div>
......@@ -41,6 +41,10 @@
<span>1132</span>
</div>
</div>
<div class="source">
<p>信息来源</p>
<p></p>
</div>
<div class="share">
<span>-分享-</span>
<div class="imaglist">
......