diff --git a/index.html b/index.html index 6d65806..feb7efe 100644 --- a/index.html +++ b/index.html @@ -17,71 +17,92 @@
-
-

Hi,欢迎来到农村产权交易中心

-
- - - - - - -

返回主站

+
+

Hi,欢迎来到农村产权交易中心

+

返回主站

+
+ +

威海市

+
+
+
+
- 左云县农村产权交易网 -

+ 左云县农村产权交易网 +

- - + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + @@ -393,8 +414,6 @@

当前均价:650元/亩/年

相较去年:上升15.2%

- -

本站“均价”统计自该网站已挂牌土地类项目数据

@@ -403,12 +422,12 @@

证书查询

证书类型: - - + +
- - + +

项目查询

@@ -416,26 +435,27 @@ - + - +
项目编号:
项目名称:
型: -
- +
@@ -595,84 +615,30 @@
-

个人供应

-

个人需求

- +

个人供应

+

个人需求

+ +
+ +
@@ -692,28 +658,16 @@ 更多>

- - - - - - - - - - - - - - - - - - - - - -
1. 我在乳山紫锦嘉苑一期买个地下车位,这个车位是不是公摊面积的车位?能答...已回复03-11 15:02
2. 我在乳山紫锦嘉苑一期买个地下车位,这个车位是不是公摊面积的车位?能答...已回复03-11 15:02
3. 我在乳山紫锦嘉苑一期买个地下车位,这个车位是不是公摊面积的车位?能答...已回复03-11 15:02
4. 我在乳山紫锦嘉苑一期买个地下车位,这个车位是不是公摊面积的车位?能答...已回复03-11 15:02
+ +
diff --git a/static/css/dateTime.css b/static/css/dateTime.css new file mode 100644 index 0000000..0cb2dc0 --- /dev/null +++ b/static/css/dateTime.css @@ -0,0 +1,153 @@ +.dateTimeWrap{ + display: none; + -webkit-user-select:none; + -moz-user-select:none; + -ms-user-select:none; + -o-user-select:none; + user-select:none; + background: #494a4a; + padding:10px; + position: fixed; + left:0; + top:0; + z-index:999; + font-size:14px; + color:#e2e2e2; + width:240px; +} +.dateTimeWrap .datePart li.curDay{ + color:#1ea0fa; +} +.dateTimeWrap #dayDat li:hover{ + border:2px double #fff; + background: #1ea0fa; + color:#fff; +} +.dateTimeWrap #dateTime{ + *float:left +} +.dateTimeWrap .dateTimeHead{ + *overflow:hidden; + padding:8px 0px 4px; +} +.dateTimeWrap .datePart li{ + border:2px double transparent; + float: left; + cursor: default; + vertical-align: middle; + width: 30px; + height: 26px; + text-align: center; + line-height: 26px; +} +.dateTimeWrap .datePart ul{ + overflow: hidden; +} +.dateTimeWrap .changeMonth{ + float: right +} +.dateTimeWrap .changeMonth #pre,.changeMonth #next{ + display: inline-block; + width:20px; + height:20px; + cursor: default; + color:#333; + background: #fff; + text-align: center; + line-height:20px; +} +.dateTimeWrap .changeMonth #next{ + margin-left: 10px; +} +.dateTimeWrap .dateTimeFoot span,.timeFooter span{ + cursor: pointer; + display: inline-block; + background: #fff; + color: #333; + height:20px; + line-height: 20px; + width:50px; + text-align: center; + margin-left: 6px; + float:right; +} +.dateTimeWrap .timePart{ + text-align:center; + color:#333; + line-height: 22px; +} +.dateTimeWrap .timePart p,.timePart ul{ + background: #fff; +} +.dateTimeWrap .timePart>ul>li{ + float: left; + width:119px; + background: #fff; + color:#333; + border:1px solid #ccc; + border-right:none; +} +.dateTimeWrap .timePart ul{ + overflow: hidden; +} +.dateTimeWrap .timePart>ul>li p{ + line-height: 30px; + border-bottom:1px solid #ccc; +} +.dateTimeWrap .timePart ol{ + height:180px; + overflow-y: hidden; + *overflow-y: auto; + overflow-x: hidden; +} +.dateTimeWrap .timePart ol:hover{ + overflow-y:auto; +} +.dateTimeWrap .timePart ol:hover li{ + padding-left:17px; + *padding-left:0; +} +.dateTimeWrap .timePart ol li{ + line-height: 30px; +} +.dateTimeWrap .timePart ol li.cur{ + background: #1ea0fa; + color: #fff +} +.dateTimeWrap .dateTimeFoot,.timeFooter{ + overflow:hidden; + margin-top: 10px; + height: 20px; +} +.dateTimeWrap .timeFooter span{ + width:80px; +} +.dateTimeWrap .timeFooter #ensure{ + width:50px; +} +.dateTimeWrap .dateTimeFoot .selTime,.timeFooter .selTime{ + float:left; + margin-left:0; + display:none; +} +.dateTimeWrap .selTime{ + width:80px!important; +} +.dateTimeWrap #yearSelect{ + margin-right: 6px; + width:auto; + color: #FFF; +} +.dateTimeWrap #yearSelect option{ + color: #000; +} +.dateTimeWrap #monthSelect option{ + color: #000; +} +.dateTimeWrap #monthSelect{ + width: auto; + color: #FFF; +} +.dateTimeWrap .darkgrey{ + color:#d0d0d0 !important; +} \ No newline at end of file diff --git a/static/css/index.css b/static/css/index.css index f72a2df..d309f90 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -77,6 +77,10 @@ margin-left: 15px; } +.logoSearch-div:first-child img,.logoSearch-div:first-child h1{ + cursor: pointer; +} + .logoSearch .searchClass { border: 2px solid #007b76; border-radius: 20px; @@ -1063,12 +1067,21 @@ label input[type="radio"]:checked+span { text-align: right; } +.interactionTableLeft tr td:first-child { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: block; +} + .interactionTableLeft tr:hover { color: #007b76; } .userName{ font-size: 12px; + color: #000!important; + margin: 0!important; } .userName:hover{ @@ -1087,13 +1100,14 @@ label input[type="radio"]:checked+span { box-shadow: 0px 0px 5px #e1e1e1; } -.headHover ul li p{ +.headHover ul li a{ line-height: 12px; font-size: 12px; margin-left: 5px; + color: #000; } -.headHover ul li p:hover{ +.headHover ul li a:hover{ cursor: pointer; color: #007b76; } @@ -1115,7 +1129,7 @@ label input[type="radio"]:checked+span { font-size: 14px; border-bottom: 1px solid #e3e3e3; padding-bottom: 15px; - + line-height: 14px; } .headHover ul li:last-child p{ @@ -1129,15 +1143,17 @@ label input[type="radio"]:checked+span { .dressPc{ position: absolute; - right: 100px; + right: 97px; z-index: 9; background: #FFF; - padding: 5px 10px; + padding: 5px 12px; box-shadow: 0px 0px 5px #e1e1e1; + top: 32px; } .dressPc ul li{ margin-bottom: 5px; + cursor: pointer; } .dressPc ul li:last-child{ @@ -1150,7 +1166,7 @@ label input[type="radio"]:checked+span { border-top: 1px solid #8f8f94; border-right: 1px solid #8f8f94; transform: rotate(45deg); - margin-top: 10px; + margin-top: 8px; margin-left: 10px; display: block; float: left; diff --git a/static/css/listingItems/items.css b/static/css/listingItems/items.css index 3fd11f9..aa8a828 100644 --- a/static/css/listingItems/items.css +++ b/static/css/listingItems/items.css @@ -348,7 +348,7 @@ line-height: 42px; } -.swiperInput table tr:nth-child(2) td:nth-child(2) div{ +.swiperInput .sign{ background-color: #c21f3a; color: #FFFFFF; padding: 6px 0px; @@ -358,15 +358,15 @@ margin-top: 12px; } -.swiperInput table tr:nth-child(2) td:nth-child(2) p:nth-child(1){ +.swiperInput .sign p:nth-child(1){ font-size: 16px; } -.swiperInput table tr:nth-child(2) td:nth-child(2) p:nth-child(2){ +.swiperInput .sign p:nth-child(2){ font-size: 12px; } -.swiperInput table tr:nth-child(3) td:nth-child(2) img{ +.swiperInput table tr:last-child td:nth-child(2) img{ margin-left: 10px; margin-top: 8px; } @@ -535,4 +535,45 @@ .clickBtm:hover{ background: #EEEEEE; color: #cccccc; +} + +.bondTable tr td{ + padding: 5px 0px; +} +.bondTable tr td:nth-child(odd){ + text-align: right; +} + +.bondTable input[type='text']{ + border: 1px solid #e3e3e3; + width: 90%; + height: 30px; + margin-left: 10px; + padding-left: 10px; +} + +.bondTable tr td span{ + color: red; +} + +.preservation{ + color: #ffffff; + background: #007b76; + border-radius: 0; + width: 20%; + margin: 0 auto; + border: none; + padding: 8px; +} + +.rule p{ + font-size: 12px; + margin-top: 10px; +} + +.projectInformation{ + padding: 15px 20px; + ine-height: 40px; + background: #f9f9f9; + border: 1px solid #e8e8e8; } \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css index 61b3d64..36d60a7 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -222,6 +222,10 @@ button:focus { outline: none } +select{ + outline:none; +} + body { word-wrap: break-word; font-size: 14px; diff --git a/static/css/user/user.css b/static/css/user/user.css index 6a41d45..66bf43a 100644 --- a/static/css/user/user.css +++ b/static/css/user/user.css @@ -82,6 +82,8 @@ border-radius: 0; width: 90%; margin-left: 10px; + background: #007b76; + color: #ffffff; } .supplyTable{ diff --git a/static/js/api/announcementList.js b/static/js/api/announcementList.js index 365dc1a..852efcb 100644 --- a/static/js/api/announcementList.js +++ b/static/js/api/announcementList.js @@ -36,3 +36,11 @@ var attestationDetail = '/transaction/website/jzlist/id'//鉴证公告详情 type: 传递字典类型参数,获取相应的字典值列表List */ var Dictionaries = '/transaction/website/data/type'//成交公告字典 + +/* +@purl /transaction/website/jzsSearch +@param + projectName: 输入框输入的搜索内容(证书关联的项目名称) + deptId:行政区划部门ID +*/ +var jzsSearch = '/transaction/website/jzsSearch'//鉴证公告搜索 diff --git a/static/js/api/index.js b/static/js/api/index.js index 4b9ef2a..920c52a 100644 --- a/static/js/api/index.js +++ b/static/js/api/index.js @@ -92,4 +92,28 @@ var biddingHallList = '/transaction/website/biddinglist'//竞价大厅列表 deptId:行政区划部门ID limit:需要获取的数据条数 */ -var attestationList = '/transaction/website/jzlist'//竞价大厅列表 \ No newline at end of file +var attestationList = '/transaction/website/jzlist'//竞价大厅列表 + +/* +@purl /transaction/website/supplyDemand +@param + deptId:行政区划部门ID + limit:需要获取的数据条数 +*/ +var supplyDemand = '/transaction/website/supplyDemand'//竞价大厅列表 + +/* +@purl /transaction/website/communicateList +@param + deptId:行政区划部门ID + limit:需要获取的数据条数 +*/ +var communicateList = '/transaction/website/communicateList'//互动交流列表 + +/* +@purl /transaction/website/outproject/statistics/{deptId} +@param + deptId:行政区划部门ID + limit:需要获取的数据条数 +*/ +var statistics = '/transaction/website/outproject/statistics'//土地挂牌价格走势统计图 \ No newline at end of file diff --git a/static/js/api/interact.js b/static/js/api/interact.js index 9162bfb..dc023db 100644 --- a/static/js/api/interact.js +++ b/static/js/api/interact.js @@ -10,3 +10,12 @@ pageSize:每页显示记录数 */ var interactList = '/transaction/website/communicateList' //网站新闻类接口 + +/* +@purl /transaction/website/communicateSearch +@param + deptId:行政区划部门ID + title:项目编号 + content:项目名称 +*/ +var interactSearch = '/transaction/website/communicateSearch' //互动交流查询接口 diff --git a/static/js/api/items.js b/static/js/api/items.js index 8edee9e..db93141 100644 --- a/static/js/api/items.js +++ b/static/js/api/items.js @@ -55,3 +55,17 @@ var showImg = '/transaction/website/outproject/showImg/id'//展示图片 id: 主键ID */ var biddinglist = '/transaction/website/biddinglist/projectId'//展示图片 + +/* +@purl /transaction/signup/getSignupByMemberIdAndProId +@param + id: 主键ID +*/ +var signup = '/transaction/signup/getSignupByMemberIdAndProId'//判断当前登录用户报名的某一项目是否被审核通过 + +/* +@purl /transaction/signup +@param + id: 主键ID +*/ +var signupSubmit = '/transaction/signup'//项目报名接口 diff --git a/static/js/api/register.js b/static/js/api/register.js new file mode 100644 index 0000000..68d93c5 --- /dev/null +++ b/static/js/api/register.js @@ -0,0 +1,9 @@ +/*-------------- +* 用户注册类 +-----------------*/ + +/* +@purl /transaction/website/addMember +@param +*/ +var userRegister = '/transaction/website/addMember' //修改用户信息类接口 \ No newline at end of file diff --git a/static/js/api/user.js b/static/js/api/user.js index eee1a15..e067753 100644 --- a/static/js/api/user.js +++ b/static/js/api/user.js @@ -6,7 +6,7 @@ @purl /transaction/website/member/{id} @param */ -var userUpdate = '/transaction/website/member' //修改用户信息类接口 +var userUpdate = '/transaction/member' //修改用户信息类接口 /* @purl /getInfo @@ -36,4 +36,22 @@ var userConsulting = '/transaction/communicate/communicateList/member' //我的 @purl /transaction/outproject/biddinglist/member @param */ -var userBidding = '/transaction/outproject/biddinglist/member' //我的竞价类接口 \ No newline at end of file +var userBidding = '/transaction/outproject/biddinglist/member' //我的竞价类接口 + +/* +@purl /transaction/demand +@param +*/ +var userDemand = '/transaction/demand' //新增供求类接口 + +/* +@purl /transaction/demand/{ids} +@param +*/ +var deleteSupply = '/transaction/demand' //删除供求类接口 + +/* +@purl /transaction/communicate +@param +*/ +var userCommunicate = '/transaction/communicate' //添加咨询类接口 \ No newline at end of file diff --git a/static/js/common/main.js b/static/js/common/main.js index 3e40798..3a174f7 100644 --- a/static/js/common/main.js +++ b/static/js/common/main.js @@ -17,7 +17,9 @@ requirejs.config({ nprogress: 'lib/nprogress/nprogress', //页面加载loading组件 echarts: 'lib/echarts/echarts.min', //echarts组件 laydata:'lib/laydata/laydata', - paging:'lib/paging/page_common', + paging:'lib/paging/page_common',//分页插件 + cupload:'lib/cupload/cupload',//上传图片插件 + dateTime:'lib/dateTime/dateTime.min',//时间选择器 //自己写的路径配置 Tools: 'common/tools', @@ -29,7 +31,8 @@ requirejs.config({ demandApi: 'api/demand', //个人供求接口 policyApi: 'api/policy',//政策法规接口 interactApi: 'api/interact',//互动交流接口 - user: 'api/user'//用户信息接口 + user: 'api/user',//用户信息接口 + register:'api/register',//用户注册接口 }, shim: { bootstrap: { @@ -54,9 +57,9 @@ requirejs.config({ deps: ['jquery'], exports: 'paging' }, - uploader:{ - deps: ['jquery','webuploader','flashonly','flashonlyMin'], - exports: 'uploader' + dateTime: { + deps: ['jquery'], + exports: 'dateTime' } } }); @@ -89,4 +92,56 @@ require(["jquery", "nprogress"], function ($, nprogress) { }); return; } +}) + +require(["jquery", "Tools","addressApi"], function ($, Tools) { + var tools = new Tools(); + + document.getElementById('dress').onmouseover = function(){ + document.getElementById('dressList').style.display = 'block'; + }; + document.getElementById('dressList').onmouseover = function(){ + document.getElementById('dressList').style.display = 'block'; + }; + document.getElementById('dress').onmouseout = function(){ + document.getElementById('dressList').style.display = 'none'; + }; + document.getElementById('dressList').onmouseout = function(){ + document.getElementById('dressList').style.display = 'none'; + }; + if(tools.getCookie('Admin-Token') != ''){ + document.getElementById('userInfo').style.display = 'block'; + document.getElementById('userLogin').style.display = 'none'; + document.getElementById('userRealName').innerHTML = tools.getCookie('userName'); + document.getElementById('userRealName2').innerHTML = tools.getCookie('userName'); + document.getElementById('userInfo').onmouseover = function(){ + document.getElementById('headHover').style.display = 'block'; + }; + document.getElementById('headHover').onmouseover = function(){ + document.getElementById('headHover').style.display = 'block'; + }; + document.getElementById('userInfo').onmouseout = function(){ + document.getElementById('headHover').style.display = 'none'; + }; + document.getElementById('headHover').onmouseout = function(){ + document.getElementById('headHover').style.display = 'none'; + }; + }else{ + document.getElementById('userLogin').style.display = 'block'; + } + + outLogin = function(){ + tools.removeCookie('Admin-Token'); + tools.removeCookie('userName'); + location.reload(); + } + + goIndex = function(){ + tools.skip('/'); + } + + searchAllNew = function () { + var searchAllTitle = $('#searchAllTitle').val(); + tools.skip('view/new/newList.html?title='+searchAllTitle); + } }) \ No newline at end of file diff --git a/static/js/common/tools.js b/static/js/common/tools.js index 1327436..44e56f1 100644 --- a/static/js/common/tools.js +++ b/static/js/common/tools.js @@ -136,6 +136,67 @@ define(['jquery', 'dialog'], function ($, dialog) { var code = data.code; var msg = data.msg; if (code === 401) { + _this.removeCookie('Admin-Token'); + _this.removeCookie('userName'); + + _this.initDialog('系统提示', '登录状态已过期,您可以继续留在该页面,或者重新登录', function () { + _this.skip('/view/login/login.html') + }, '重新登录', function () { }, "取消") + } else if (code === 500) { + _this.initError(msg) + } else if (code != 200) { + _this.initError(msg) + } else { + cb(data); + } + }, + error: function (data) { + console.log(data) + } + }); + }, + /** + * ajax delete + * @param url(String) + * @param data(Json) 需要提交的数据 + * @param cb(Function) 回调函数 + * @param noHead(Boolean) 是否需要Bearer,不需要传true + */ + doDelete: function (uri, data, cb, Bearer) { + var _this = this; + var url = ajaxJsUrl + uri + '?'; + var headAttribute = '' + if (Bearer && Bearer == true || _this.getCookie('Admin-Token') == '') { + headAttribute = function (xhr) { + xhr.setRequestHeader("Content-Type", 'application/json;charset=utf-8'); + } + } else { + headAttribute = function (xhr) { + xhr.setRequestHeader("Content-Type", 'application/json;charset=utf-8'); + xhr.setRequestHeader('Authorization', 'Bearer ' + _this.getCookie('Admin-Token')) + } + } + if (data) { + url += $.map(data, function (n, i) { + if (i == data.length - 1) { + return i + '=' + n; + } else { + return i + '=' + n + '&'; + } + }).join(''); + } + + $.ajax({ + url: url, + type: 'delete', + beforeSend: headAttribute, + success: function (data) { + var code = data.code; + var msg = data.msg; + if (code === 401) { + _this.removeCookie('Admin-Token'); + _this.removeCookie('userName'); + _this.initDialog('系统提示', '登录状态已过期,您可以继续留在该页面,或者重新登录', function () { _this.skip('/view/login/login.html') }, '重新登录', function () { }, "取消") @@ -278,6 +339,38 @@ define(['jquery', 'dialog'], function ($, dialog) { if (url != '') { window.location = url } + }, + /** + * skip 页面跳转 + * @param url 跳转页面链接 + */ + getNowFormatDate:function () { + var date = new Date(); + var seperator1 = "-"; + var seperator2 = ":"; + var month = date.getMonth() + 1; + var day = date.getDate(); + var hours = date.getHours(); + var minutes = date.getMinutes(); + var seconds = date.getSeconds(); + if (month >= 1 && month <= 9) { + month = "0" + month; + } + if (day >= 0 && day <= 9) { + day = "0" + day; + } + if (hours >= 0 && hours <= 9) { + hours = "0" + hours; + } + if (minutes >= 0 && minutes <= 9) { + minutes = "0" + minutes; + } + if (seconds >= 0 && seconds <= 9) { + seconds = "0" + seconds; + } + var currentdate = date.getFullYear() + seperator1 + month + seperator1 + day + " " + hours + seperator2 + minutes + seperator2 + seconds; + console.log(currentdate) + return currentdate; } }); diff --git a/static/js/lib/cupload/cupload.js b/static/js/lib/cupload/cupload.js new file mode 100644 index 0000000..c1874ff --- /dev/null +++ b/static/js/lib/cupload/cupload.js @@ -0,0 +1,636 @@ +(function(window, document) { + + //定义上传类 + var Cupload = function(options) { + + //初始化 new对象 + if (!(this instanceof Cupload)) { + return new Cupload(options) + } + + //设置默认参数 + this.localValue = { + ele: '#cupload', + name: 'image', + num: 1, + width: 148, + height: 148, + } + + //参数覆盖 + this.opt = this.extend(this.localValue, options, true) + + //所需变量 + this.i = 0; + this.imageArr = new Array();//图片 + this.widthArr = new Array();//图片宽度 + this.heightArr = new Array();//图片高度 + this.imageBox = new Array();//图片盒子 + this.imagePreview = new Array();//图片预览 + this.imageInput = new Array();//图片input + this.imageDelete = new Array();//图片删除遮罩 + this.deleteBtn = new Array();//图片删除按钮 + this.sortLeftBtn = new Array();//图片左排序按钮 + this.sortRightBtn = new Array();//图片右排序按钮 + + if ((typeof options.ele) === "string") { + this.opt.ele = document.querySelector(options.ele) + } else { + this.opt.ele = options.ele + } + + this.initDom(); + } + + Cupload.prototype = { + constructor: this, + + //初始化 + initDom: function() { + this.cteateImageList() + this.createUploadBox() + this.createOverlay() + if (this.opt.data) { + this.showImagePreview() + } + }, + + //参数覆盖 + extend: function(o, n, override) { + for (var key in n) { + if (n.hasOwnProperty(key) && (!o.hasOwnProperty(key) || override)) { + o[key] = n[key] + } + } + return o + }, + + //创建图片列表 + cteateImageList: function() { + this.imageList = document.createElement('ul') + this.imageList.className = 'cupload-image-list' + this.imageList.style.margin = 0 + this.imageList.style.padding = 0 + this.imageList.style.display = 'inline-block' + this.imageList.style.minHeight = this.opt.height + this.opt.ele.appendChild(this.imageList) + this.imageList.ondragstart = function(event) { + console.log('start') + } + }, + + //创建上传框 + createUploadBox: function() { + this.uploadBox = document.createElement('div') + this.uploadBox.className = 'cupload-upload-box' + this.uploadBox.style.position = 'relative' + this.uploadBox.style.display = 'inline-block' + this.uploadBox.style.textAlign = 'center' + this.uploadBox.style.backgroundColor = '#fbfdff' + this.uploadBox.style.border = '1px dashed #c0ccda' + this.uploadBox.style.borderRadius = '6px' + this.uploadBox.style.WebkitBoxSizing = 'border-box' + this.uploadBox.style.boxSizing = 'border-box' + this.uploadBox.style.width = this.opt.width + 'px' + this.uploadBox.style.height = this.opt.height + 'px' + this.uploadBox.style.lineHeight = this.opt.height + 'px' + this.opt.ele.appendChild(this.uploadBox) + this.createUploadBtn() + this.createUploadInput() + var _this = this + this.uploadBox.onmouseover = function() { + _this.uploadBox.style.borderColor = '#007b76' + } + this.uploadBox.onmouseout = function() { + _this.uploadBox.style.borderColor = '#c0ccda' + } + }, + + //创建遮罩 + createOverlay: function() { + this.overlay = document.createElement('div') + this.overlay.className = 'cupload-overlay' + this.overlay.style.display = "none" + this.overlay.style.position = "fixed" + this.overlay.style.textAlign = "center" + this.overlay.style.top = 0 + this.overlay.style.right = 0 + this.overlay.style.bottom = 0 + this.overlay.style.left = 0 + this.overlay.style.zIndex = 9115 + this.overlay.style.backgroundColor = "rgba(0,0,0,.3)" + this.opt.ele.appendChild(this.overlay) + var _this = this + this.overlay.onclick = function() { + _this.zoomOutImage() + } + }, + + //创建上传按钮 + createUploadBtn: function() { + this.uploadBtn = document.createElement('span') + this.uploadBtn.className = 'cupload-upload-btn' + this.uploadBtn.style.position = 'absolute' + this.uploadBtn.style.left = this.opt.width/2 - 14 + 'px' + this.uploadBtn.style.fontSize = '28px' + this.uploadBtn.style.color = '#8c939d' + this.uploadBtn.innerHTML = '+' + this.uploadBox.appendChild(this.uploadBtn) + }, + + //创建上传input + createUploadInput: function() { + this.uploadInput = document.createElement('input') + this.uploadInput.className = 'cupload-upload-input' + this.uploadInput.style.position = 'absolute' + this.uploadInput.style.top = 0 + this.uploadInput.style.right = 0 + this.uploadInput.style.width = '100%' + this.uploadInput.style.height = '100%' + this.uploadInput.style.opacity = 0 + this.uploadInput.style.cursor = 'pointer' + this.uploadInput.type = 'file' + this.uploadInput.multiple = 'multiple' + this.uploadInput.accept = 'image/*' + this.uploadInput.title = '' + this.uploadBox.appendChild(this.uploadInput) + var _this = this + this.uploadInput.onchange = function() { + _this.removeUploadBox() + _this.uploadImage() + } + }, + + //上传图片 + uploadImage: function() { + if(this.uploadInput.files.length + this.imageList.children.length > this.opt.num) { + this.createUploadBox() + alert('图片数量超出限制,请重新选择') + return + } + for(j = 0; j < this.uploadInput.files.length; j++){ + var file = this.uploadInput.files[j] + if (!file || this.limitedSize(file)) { + this.createUploadBox() + return false + } + var reader = new FileReader() + var _this = this + reader.filename = file.name; + reader.onload = function(e) { + _this.limitedWidthAndHeight(e.target.result, e.target.filename) + } + reader.readAsDataURL(file); + } + if (this.uploadInput.files.length + this.imageList.children.length < this.opt.num) { + this.createUploadBox() + } + }, + + //检测图片大小限制 + limitedSize: function(file) { + if (this.opt.minSize && file.size < this.opt.minSize * 1024) { + alert('图片' + file.name + '大小未到最小限制,请重新选择') + return true + } + if (this.opt.maxSize && file.size > this.opt.maxSize * 1024) { + alert('图片' + file.name + '大小超出最大限制,请重新选择') + return true + } + if (this.opt.limitedSize && file.size > this.opt.limitedSize * 1024) { + alert('图片' + file.name + '大小不符合要求,请重新选择') + return true + } + return false + }, + + //检测图片像素限制 + limitedWidthAndHeight: function(src, name) { + var tempImage = new Image() + tempImage.src = src + var _this = this + tempImage.onload = function() { + if (_this.opt.minWidth && this.width < _this.opt.minWidth) { + alert('图片' + name + '宽度未到最小限制,请重新选择') + _this.isCreateUploadBox() + return false + } + if (_this.opt.minHeight && this.height < _this.opt.minHeight) { + alert('图片' + name + '高度未到最小限制,请重新选择') + _this.isCreateUploadBox() + return false + } + if (_this.opt.maxWidth && this.width > _this.opt.maxWidth) { + alert('图片' + name + '宽度超出最大限制,请重新选择') + _this.isCreateUploadBox() + return false + } + if (_this.opt.maxHeight && this.height > _this.opt.maxHeight) { + alert('图片' + name + '高度超出最大限制,请重新选择') + _this.isCreateUploadBox() + return false + } + if (_this.opt.limitedWidth && this.width != _this.opt.limitedWidth) { + alert('图片' + name + '宽度不符合要求,请重新选择') + _this.isCreateUploadBox() + return false + } + if (_this.opt.limitedHeight && this.height != _this.opt.limitedHeight) { + alert('图片' + name + '高度不符合要求,请重新选择') + _this.isCreateUploadBox() + return false + } + _this.foreachNum(src, name, this.width, this.height) + } + }, + + //检测图片数量 + foreachNum: function(src, name, width, height) { + if(this.opt.url) { + var key = this.opt.name + var data = {} + data[key] = src + var _this = this + this.ajaxUploadImage(data, function(res) { + _this.createImageBox(res.responseText, res.responseText, width, height) + }) + } else { + this.createImageBox(src, name, width, height) + } + }, + + //图片异步上传 + ajaxUploadImage: function(data,success) { + var xhr = null; + if(window.XMLHttpRequest){ + xhr = new XMLHttpRequest() + } else { + xhr = new ActiveXObject('Microsoft.XMLHTTP') + } + if(typeof data == 'object'){ + var str = ''; + for(var key in data){ + str += key+'='+data[key]+'&'; + } + data = str.replace(/&$/, ''); + } + xhr.open('POST', this.opt.url, true); + xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); + xhr.send(data); + xhr.onreadystatechange = function(){ + if(xhr.readyState == 4){ + if(xhr.status == 200){ + success(xhr) + } else { + alert(((xhr.responseText).split("

")[0]).split("

")[1]) + return false + } + } + } + }, + + //创建图片框 + createImageBox: function(src, name, width, height, state = true) { + this.imageArr[this.i] = src + this.widthArr[this.i] = width + this.heightArr[this.i] = height + this.imageBox[this.i] = document.createElement('li') + this.imageBox[this.i].className = 'cupload-image-box' + this.imageBox[this.i].style.position = 'relative' + this.imageBox[this.i].style.display = 'inline-block' + this.imageBox[this.i].style.marginRight = 8 + 'px' + this.imageBox[this.i].style.backgroundColor = '#fbfdff' + this.imageBox[this.i].style.border = '1px solid #007b76' + this.imageBox[this.i].style.borderRadius = '6px' + this.imageBox[this.i].style.WebkitBoxSizing = 'border-box' + this.imageBox[this.i].style.boxSizing = 'border-box' + this.imageBox[this.i].style.width = this.opt.width + 'px' + this.imageBox[this.i].style.height = this.opt.height + 'px' + this.imageList.appendChild(this.imageBox[this.i]) + this.createImagePreview(src, width, height) + this.createImageInput(src) + this.createImageDelete(name) + if (!state) { + this.setDefaultImage() + } + var _this = this + for (var m = 0; m <= this.i; m++) { + this.imageBox[m].index = m + this.imageBox[m].onmouseover = function(n) { + return function() { + _this.showImageDelete(n) + } + }(m) + + this.imageBox[m].onmouseout = function(n) { + return function() { + _this.hideImageDelete(n) + } + }(m) + } + this.i++ + }, + + //创建图片预览框 + createImagePreview: function(src, width, height) { + this.imagePreview[this.i] = document.createElement('img') + this.imagePreview[this.i].className = 'cupload-image-preview' + this.imagePreview[this.i].style.position = 'absolute' + this.imagePreview[this.i].style.top = 0 + this.imagePreview[this.i].style.left = 0 + this.imagePreview[this.i].style.right = 0 + this.imagePreview[this.i].style.bottom = 0 + this.imagePreview[this.i].style.margin = 'auto' + this.imagePreview[this.i].src = src + this.setImageAttribute(width, height) + this.imageBox[this.i].appendChild(this.imagePreview[this.i]) + }, + + //创建图片input + createImageInput: function(src) { + this.imageInput[this.i] = document.createElement('input') + this.imageInput[this.i].type = 'hidden' + this.imageInput[this.i].name = this.opt.name + '[]' + this.imageInput[this.i].value = src + this.imageBox[this.i].appendChild(this.imageInput[this.i]) + }, + + //创建删除 + createImageDelete: function(name) { + this.imageDelete[this.i] = document.createElement('div') + this.imageDelete[this.i].className = 'cupload-image-delete' + this.imageDelete[this.i].style.position = 'absolute' + this.imageDelete[this.i].style.width = '100%' + this.imageDelete[this.i].style.height = '100%' + this.imageDelete[this.i].style.left = 0 + this.imageDelete[this.i].style.top = 0 + this.imageDelete[this.i].style.textAlign = 'center' + this.imageDelete[this.i].style.color = '#fff' + this.imageDelete[this.i].style.opacity = 0 + this.imageDelete[this.i].style.cursor = 'zoom-in' + this.imageDelete[this.i].style.backgroundColor = 'rgba(0,0,0,.5)' + this.imageDelete[this.i].style.WebkitTransition = '.3s' + this.imageDelete[this.i].style.transition = '.3s' + this.imageDelete[this.i].title = name + this.imageBox[this.i].appendChild(this.imageDelete[this.i]) + this.createDeleteBtn() + this.createSortBtn() + var _this = this + for (var m = 0; m <= this.i; m++) { + this.imageDelete[m].onclick = function(n) { + return function() { + _this.zoomInImage(n) + } + }(m) + } + }, + + //创建删除按钮 + createDeleteBtn: function() { + this.deleteBtn[this.i] = document.createElement('span') + this.deleteBtn[this.i].className = 'cupload-delete-btn' + this.deleteBtn[this.i].style.position = 'absolute' + this.deleteBtn[this.i].style.top = 0 + this.deleteBtn[this.i].style.right = 0 + this.deleteBtn[this.i].style.margin = 0 + this.deleteBtn[this.i].style.padding = 0 + this.deleteBtn[this.i].style.fontSize = '18px' + this.deleteBtn[this.i].style.width = '24px' + this.deleteBtn[this.i].style.height = '24px' + this.deleteBtn[this.i].style.cursor = 'pointer' + this.deleteBtn[this.i].style.backgroundImage = "url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAAwUlEQVRYhe2WwQ3CMAxFPxXqOjAAqGwHo3QNCIxSxuBzcaRStcRxcin4XSJHjv2aNkoBRwHJhmSgnhvJpqbAPqN5ZKeprbU8ydhvEgDoJ2uqCHQyXhW5Maf7mrUEyYdhu7WEab+5HXiZzJXPp88Uijsm6tQ7KkZcYF0CckSDNi5i7uudzqXipbkx63oFLuACPymwzcy/4/NKTcV2/Dp2AQBPACB5sBYneRzXyl18qfAXHDlbBFqRGAoaD1KjzRb4G96BvtfyCUSIygAAAABJRU5ErkJggg==')" + this.deleteBtn[this.i].style.backgroundSize = '18px 18px' + this.deleteBtn[this.i].style.backgroundRepeat = 'no-repeat' + this.deleteBtn[this.i].style.backgroundPosition = 'right top' + this.deleteBtn[this.i].innerHTML = '' + this.deleteBtn[this.i].title = '删除' + this.imageDelete[this.i].appendChild(this.deleteBtn[this.i]) + var _this = this + for (var m = 0; m <= this.i; m++) { + this.deleteBtn[m].onclick = function(n) { + return function() { + _this.deleteImage(n) + } + }(m) + } + }, + + createSortBtn: function() { + this.sortLeftBtn[this.i] = document.createElement('span') + this.sortLeftBtn[this.i].className = 'cupload-sort-left' + this.sortLeftBtn[this.i].style.position = 'absolute' + this.sortLeftBtn[this.i].style.bottom = 0 + this.sortLeftBtn[this.i].style.left = 0 + this.sortLeftBtn[this.i].style.margin = 0 + this.sortLeftBtn[this.i].style.padding = 0 + this.sortLeftBtn[this.i].style.fontSize = '18px' + this.sortLeftBtn[this.i].style.width = '24px' + this.sortLeftBtn[this.i].style.height = '24px' + this.sortLeftBtn[this.i].style.cursor = 'pointer' + this.sortLeftBtn[this.i].style.backgroundImage = "url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAABP0lEQVRYhe2UIUsEURRGv7suGza4sCBoENYgGMwWs/4A/4AWwWRyMfgHRCyKGhWsYtegRYOCCGoUk1kwKLiws8dywRFGcXZ23yDMiW8e75z3YK5UUPBfAQbzlK8BEbCa9axySrFJ2pC0klWcGsCALb7Y8aAg8gHgICZfDyJ2eQU4dnEHCPf8QBU4dXkELIaU14BLl7eB+ZDyOnDt8g9gLqR8BHhw+Rsw00/ft98IaEg6lzTmS2eSbnroiyTtm9lT4ldgm/6z+9sLTPoLDPnSraTk2u5oSdo0s7sfdwATwLPXvgBTPQz4G0ADePSIV2A6j4hh4N4j3oHZPCLqwJVHtAg5D2IRNeDCI8JOxFhEFTjxiA6wnEdEBTiKRTTziCgDh7GhspT1zFKazWbWlrQgac+XRrMGdA0wDqS6QEFBEp/yS6NBq8E1tgAAAABJRU5ErkJggg==')" + this.sortLeftBtn[this.i].style.backgroundSize = '18px 18px' + this.sortLeftBtn[this.i].style.backgroundRepeat = 'no-repeat' + this.sortLeftBtn[this.i].style.backgroundPosition = 'left bottom' + this.sortLeftBtn[this.i].innerHTML = '' + this.sortLeftBtn[this.i].title = '左移' + this.imageDelete[this.i].appendChild(this.sortLeftBtn[this.i]) + + this.sortRightBtn[this.i] = document.createElement('span') + this.sortRightBtn[this.i].className = 'cupload-sort-right' + this.sortRightBtn[this.i].style.position = 'absolute' + this.sortRightBtn[this.i].style.bottom = 0 + this.sortRightBtn[this.i].style.right = 0 + this.sortRightBtn[this.i].style.margin = 0 + this.sortRightBtn[this.i].style.padding = 0 + this.sortRightBtn[this.i].style.fontSize = '18px' + this.sortRightBtn[this.i].style.width = '24px' + this.sortRightBtn[this.i].style.height = '24px' + this.sortRightBtn[this.i].style.cursor = 'pointer' + this.sortRightBtn[this.i].style.backgroundImage = "url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAA4UlEQVRYhe3WMUpDQRCA4XkKWlhIqnQWwc4iKbyBTVohJ/AC2lh4gxxBA7lAqhwgvbWtpYWVnVgI4mfhghKeEPCFSeD93cIu8w+7OzMRLS3bDga4Qy9LYOqbZ5xkCBzjqUi84DRD4giPReIVZxkSXTwUiTcMMyQ6uC8S7xhlSBxgUSQ+cJEhsY95kfjEVYbEHmZ+GNftq2oOHkbETkMeuxExiYjzsh5XVXXz525cWz+Xv2MuZ6qhzFdms66gSVZ9hOsKnvcNZRYimaVYZjOS2Y5lDyQ2YCTr41bWUNrS8l++ABQQn/PCTE8cAAAAAElFTkSuQmCC')" + this.sortRightBtn[this.i].style.backgroundSize = '18px 18px' + this.sortRightBtn[this.i].style.backgroundRepeat = 'no-repeat' + this.sortRightBtn[this.i].style.backgroundPosition = 'right bottom' + this.sortRightBtn[this.i].innerHTML = '' + this.sortRightBtn[this.i].title = '右移' + this.imageDelete[this.i].appendChild(this.sortRightBtn[this.i]) + var _this = this + for (var m = 0; m <= this.i; m++) { + this.sortLeftBtn[m].onclick = function(n) { + return function() { + _this.sortLeft(event, n) + } + }(m) + + this.sortRightBtn[m].onclick = function(n) { + return function() { + _this.sortRight(event, n) + } + }(m) + } + }, + + //设置默认图片 + setDefaultImage: function() { + this.imageBox[this.i].style.backgroundColor = "#B2B2B2" + this.imageDelete[this.i].title = '图片不存在' + this.imagePreview[this.i].src = 'data:image/png;base64,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' + if (130 / this.opt.width > 105 / this.opt.height) { + this.imagePreview[this.i].style.width = this.opt.width - 2 + 'px' + this.imagePreview[this.i].style.height = 105 / (130 / this.opt.width) - 2 + 'px' + } else { + this.imagePreview[this.i].style.width = 130 / (105 / this.opt.height) - 2 + 'px' + this.imagePreview[this.i].style.height = this.opt.height - 2 + 'px' + } + }, + + //设置图片宽高 + setImageAttribute: function(width, height) { + if (width / this.opt.width > height / this.opt.height) { + this.imagePreview[this.i].style.width = this.opt.width - 2 + 'px' + this.imagePreview[this.i].style.height = height / (width / this.opt.width) - 2 + 'px' + } else { + this.imagePreview[this.i].style.width = width / (height / this.opt.height) - 2 + 'px' + this.imagePreview[this.i].style.height = this.opt.height - 2 + 'px' + } + }, + + //data图片预览 + showImagePreview: function() { + var obj = this.opt.data + if (obj.length >= this.opt.num) { + this.removeUploadBox() + } + var _this = this + var tempImage = new Image() + tempImage.src = obj[this.i] + tempImage.onload = function() { + _this.createImageBox(obj[_this.i], obj[_this.i], this.width, this.height) + setTimeout(function() { + if (obj[_this.i]) { + _this.showImagePreview() + } + }, 0); + } + tempImage.onerror = function() { + _this.createImageBox(obj[_this.i], obj[_this.i], 0, 0, false) + setTimeout(function() { + if (obj[_this.i]) { + _this.showImagePreview() + } + }, 0); + } + }, + + //图片放大预览 + zoomInImage: function(n) { + if(event.target.classList[0] === 'cupload-delete-btn' || event.target.classList[0] === 'cupload-sort-right' || event.target.classList[0] === 'cupload-sort-left') { + return; + } + if(this.imagePreview[n].src == 'data:image/png;base64,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') { + alert('图片不存在') + return; + } + this.zommImage = document.createElement('img') + this.zommImage.style.display = "inline-block" + this.zommImage.style.verticalAlign = "middle" + this.zommImage.style.position= "absolute"; + this.zommImage.style.top="50%"; + this.zommImage.style.transform="translate(-50%,-50%)"; + this.zommImage.src = this.imageArr[n] + if (this.widthArr[n] / window.innerWidth > this.heightArr[n] / window.innerHeight) { + this.zommImage.style.width = 0.8 * window.innerWidth + 'px' + this.zommImage.style.height = 0.8 * this.heightArr[n] / (this.widthArr[n] / window.innerWidth) + 'px' + } else { + this.zommImage.style.width = 0.8 * this.widthArr[n] / (this.heightArr[n] / window.innerHeight) + 'px' + this.zommImage.style.height = 0.8 * window.innerHeight + 'px' + } + this.overlay.appendChild(this.zommImage) + this.overlay.style.lineHeight = window.innerHeight + 'px' + this.overlay.style.cursor = "zoom-out" + this.overlay.style.display = "block" + }, + + //关闭图片放大预览 + zoomOutImage: function() { + this.overlay.style.display = "none" + this.zommImage.remove() + }, + + //检测当前图片数量,判断是否创建上传框 + isCreateUploadBox: function() { + this.removeUploadBox() + if (this.imageList.children.length < this.opt.num) { + this.createUploadBox() + } + }, + + //删除图片 + deleteImage: function(n) { + this.imageBox[n].remove() + this.removeUploadBox() + if (this.imageList.children.length < this.opt.num) { + this.createUploadBox() + } + if(this.opt.deleteUrl) { + var xhr = null; + var key = this.opt.name + var data = {} + data[key] = this.imageArr[n] + if(window.XMLHttpRequest){ + xhr = new XMLHttpRequest() + } else { + xhr = new ActiveXObject('Microsoft.XMLHTTP') + } + if(typeof data == 'object'){ + var str = ''; + for(var key in data){ + str += key+'='+data[key]+'&'; + } + data = str.replace(/&$/, ''); + } + xhr.open('POST', this.opt.deleteUrl, true); + xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); + xhr.send(data); + xhr.onreadystatechange = function(){ + if(xhr.readyState == 4){ + if(xhr.status == 200){ + console.log(xhr.response) + } else { + alert(((xhr.responseText).split("

")[0]).split("

")[1]) + return false + } + } + } + } + }, + + sortLeft: function(event, n) { + if(this.imageBox[n].previousSibling) { + this.imageList.insertBefore(this.imageBox[n], this.imageBox[n].previousSibling) + } + }, + + sortRight: function(event, n) { + if(this.imageBox[n].nextSibling) { + this.imageList.insertBefore(this.imageBox[n].nextSibling, this.imageBox[n]) + } + }, + + //移除上传框 + removeUploadBox: function() { + this.uploadBox.remove() + }, + + //显示图片删除 + showImageDelete: function(m) { + this.imageDelete[m].style.opacity = 1 + }, + + //隐藏图片删除 + hideImageDelete: function(m) { + this.imageDelete[m].style.opacity = 0 + }, + } + + window.Cupload = Cupload; +})(window, document) diff --git a/static/js/lib/dateTime/dateTime.min.js b/static/js/lib/dateTime/dateTime.min.js new file mode 100644 index 0000000..4677e35 --- /dev/null +++ b/static/js/lib/dateTime/dateTime.min.js @@ -0,0 +1 @@ +(function(o){"use strict";"function"==typeof define&&define.amd?define(["jquery"],o):o(jQuery)})(function(o){var t,i=[31,29,31,30,31,30,31,31,30,31,30,31],e=[31,28,31,30,31,30,31,31,30,31,30,31],n=new Date,p=n.getFullYear(),l=n.getMonth(),a=n.getDate(),u=n.getHours(),v=n.getMinutes(),s=null,r={type:"date",background:"#494a4a"},c=!1;o.extend(o.fn,{datetime:function(d){return this.each(function(){function h(){var t=o('

< >
    选择时间关闭今天
    ');o("body").append(t),c=!0}function m(o,t){var i=new Date(t,o,1);return i.getDay()}function f(o,t){var n=t%4,p=t%100,l=t%400;return 0==n&&0!=p||0==l?i[o]:e[o]}function g(){var t="",i=f(l,p);a>i&&(a=i),console.log(a);for(var e,n=m(l,p),u=0;u";for(u=1;u<=i;u++)e=u==a?"class = 'curDay'":"",t+="
  • "+u+"
  • ";o("#dayDat").html(t)}function y(){for(var t="",i="",e=0;e<24;e++)e<10&&(e="0"+e),t+=e==u?"
  • "+e+"
  • ":"
  • "+e+"
  • ";for(e=0;e<60;e++)e<10&&(e="0"+e),i+=e==v?"
  • "+e+"
  • ":"
  • "+e+"
  • ";o("#selHour ol").html(t),o("#selMinute ol").html(i)}function T(){o(".dateTimeWrap").show();var i=t.type;if("date"!=i){y(),o(".datePart").hide().siblings(".timePart").show();var e=o("#selHour .cur");o("#selHour ol").scrollTop(e.offset().top-o("#selHour ol").offset().top+o("#selHour ol").scrollTop()-e.outerHeight());var n=o("#selMinute .cur");o("#selMinute ol").scrollTop(n.offset().top-o("#selMinute ol").offset().top+o("#selMinute ol").scrollTop()-n.outerHeight())}"time"!=i&&(g(),o(".datePart").show().siblings(".timePart").hide(),o("#yearSelect").val(p),o("#monthSelect").val(l)),"datetime"==i?o(".selTime").show():o(".selTime").hide()}function M(){var o=t.type,i=t.value,e=!0;return i&&i.length>0&&("datetime"==o&&(5!=i.length||i[0]>2050||i[0]<1920||i[1]>12||i[1]<1||i[2]>31||i[2]<1||i[3]>23||i[3]<1||i[4]>59||i[4]<1)&&(e=!1),"date"==o&&(3!=i.length||i[0]>2050||i[0]<1920||i[1]>12||i[1]<1||i[2]>31||i[2]<1)&&(e=!1),"time"==o&&(2!=i.length||i[0]>23||i[0]<1||i[1]>59||i[1]<1)&&(e=!1)),e}function P(){var i,e,n=t.type;(i="date"==n?p+"-"+(parseInt(l)+1)+"-"+a:"time"==n?u+":"+v:p+"-"+(parseInt(l)+1)+"-"+a+" "+u+":"+v,s.val(i),o(".dateTimeWrap").hide(),t.success&&"function"==typeof t.success)&&(e="date"==n?[p,parseInt(l)+1,parseInt(a)]:"time"==n?[u,v]:[p,parseInt(l)+1,parseInt(a),u,v],t.success(e))}var S=o(this);t=o.extend(!0,{},r,d),c||h(),o("#selcurday,#close,#dayDat,.changeMonth span,.selTime").unbind("click"),o("#yearSelect,#monthSelect").unbind("change"),o("#yearSelect,#monthSelect").change(function(){l=o("#monthSelect").val(),p=o("#yearSelect").val(),g()}),o(".changeMonth span").click(function(){"pre"==this.id?(l-=1,-1==l&&(l=11,p-=1)):(l+=1,12==l&&(l=0,p+=1)),g(),o("#yearSelect").val(p),o("#monthSelect").val(l)}),o("#selcurday").click(function(){var i=new Date;p=i.getFullYear(),l=i.getMonth(),a=i.getDate(),g(),o("#yearSelect").val(p),o("#monthSelect").val(l),"datetime"!=t.type?P():o(".datePart").hide().siblings(".timePart").show()}),o("#close").click(function(){o(".dateTimeWrap").hide()}),o("#dayDat").on("click","li",function(){a=o(this).html(),"datetime"!=t.type?P():o(".datePart").hide().siblings(".timePart").show()}),o(".selTime").click(function(){"选择时间"==o(this).html()?o(".datePart").hide().siblings(".timePart").show():o(".datePart").show().siblings(".timePart").hide()}),o(".timePart ol,.timeFooter #ensure,.timeFooter #curTime").unbind("click"),o(".timePart ol").on("click","li",function(){o(this).addClass("cur").siblings("li").removeClass("cur");var t=o(this).parent();t.animate({scrollTop:o(this).offset().top-t.offset().top+t.scrollTop()-o(this).outerHeight()},100)}),o(".timeFooter #ensure").click(function(){u=o("#selHour ol .cur").html(),v=o("#selMinute ol .cur").html(),P(),o(".dateTimeWrap").hide()}),o(".timeFooter #curTime").click(function(){u=n.getHours(),v=n.getMinutes(),parseInt(u)<10&&(u="0"+u),parseInt(v)<10&&(v="0"+v),y(u,v),P()}),S.click(function(){if(t=o.extend(!0,{},r,d),!M())return alert("参数错误"),!1;var i=this.value;if(i){i=i.replace(/-/g,"/");var e=new Date(i)}"date"==t.type?this.value?(l=e.getMonth(),p=e.getFullYear(),a=e.getDate()):(l=t.value[1]-1,p=t.value[0],a=t.value[2]):"time"==t.type?this.value?(u=this.value.split(":")[0],v=this.value.split(":")[1]):(v=t.value[1],u=t.value[0]):this.value?(l=e.getMonth(),p=e.getFullYear(),a=e.getDate(),u=e.getHours(),v=e.getMinutes()):(l=t.value[1]-1,p=t.value[0],a=t.value[2],v=t.value[4],u=t.value[3]),s=o(this),T();var n=S.offset().left,c=S.offset().top+S.outerHeight()+4;o(".dateTimeWrap").css({background:t.background,top:c,left:n})})}),this}})}); \ No newline at end of file diff --git a/static/js/project/announcementList/announcementList.js b/static/js/project/announcementList/announcementList.js index c913fee..834e389 100644 --- a/static/js/project/announcementList/announcementList.js +++ b/static/js/project/announcementList/announcementList.js @@ -14,7 +14,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp //页码集合 pageList: [], //每页数量 - pageSize: 1, + pageSize: 50, //总页数 pageCount:0, //选中卡ID @@ -24,16 +24,32 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp var tools = new Tools(); module.init = function (page) { - //成交公告 tools.doGet(announList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.announInformation,true); - - //鉴证公告 - tools.doGet(attestationList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.attestationInformation,true); - - + var type = getQueryVariable('type'); + var keyWord = getQueryVariable('searchKeyWord'); + if(type != undefined && type != ''){ + console.log('搜索进入') + tabList(type); + tools.doGet(jzsSearch, {deptId:100,projectName:keyWord,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.attestationInformation,true); + }else{ + console.log('正常进入') + //鉴证公告 + tools.doGet(attestationList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.attestationInformation,true); + } }; + //获取地址栏参数 + function getQueryVariable(variable){ + var query = window.location.search.substring(1); + var vars = query.split("&"); + for (var i=0;i 18) { + $('#password')[0].focus() + tools.initTips('请输入正确格式密码', 'right', $('#password')[0], 2000) + return false; + } + /*图形验证码*/ + if (module.uuid == '' || codeVal == '') { + $('#code')[0].focus() + tools.initTips('请输入图形验证码', 'right', $('#code')[0], 2000) + return false; + } + return true; + } //个人中心选项卡鼠标悬浮 module.userListHover = function(){ document.getElementById('icon-list1').onmouseout = function(){ @@ -272,21 +428,5 @@ define(['jquery', "template", "Tools", "user", "paging"], function ($, template, } - - //用户资料鼠标悬浮 - module.userHover = function () { - document.getElementById('userName').onmouseover = function(){ - document.getElementById('headHover').style.display = 'block'; - }; - document.getElementById('headHover').onmouseover = function(){ - document.getElementById('headHover').style.display = 'block'; - }; - document.getElementById('userName').onmouseout = function(){ - document.getElementById('headHover').style.display = 'none'; - }; - document.getElementById('headHover').onmouseout = function(){ - document.getElementById('headHover').style.display = 'none'; - }; - } return module; }); \ No newline at end of file diff --git a/static/js/project/user/login.js b/static/js/project/user/login.js index 3a4961f..c87fafa 100644 --- a/static/js/project/user/login.js +++ b/static/js/project/user/login.js @@ -3,7 +3,7 @@ * Created by admin on 2021/4/5. * */ -define(['jquery', "Tools"], function ($, Tools) { +define(['jquery', "Tools","user"], function ($, Tools) { //数据存储 var module = { uuid: '' //验证码uuid @@ -89,10 +89,39 @@ define(['jquery', "Tools"], function ($, Tools) { } //登录校验 module.loginData = function (data) { + console.log(data) if (data.code == 500) { module.verificationCode() } else { tools.setCookie('Admin-Token', data.token, 24 * 60 * 60) + //用户资料 + tools.doGet(userData, {}, module.userData); + //tools.skip('/') + } + } + //个人中心用户信息 + module.userData = function(data){ + if (data.code == 200) { + var content = data.user; + console.log(content) + tools.doGet(userMember + '/' + content.userId, {}, module.userMember);//memberType 1个人 2单位 + } + } + + //个人中心用户资料 + module.userMember = function(data){ + if (data.code == 200) { + var content = data.data; + console.log(data) + console.log(content.realname) + tools.setCookie('userName', content.realname, 24 * 60 * 60); + tools.setCookie('memberId', content.id, 24 * 60 * 60); + tools.setCookie('idCardNum',content.idCardNum,24 * 60 * 60) + tools.setCookie('phone',content.phone,24 * 60 * 60) + tools.setCookie('address',content.address,24 * 60 * 60) + tools.setCookie('bankAddress',content.bankAddress,24 * 60 * 60) + tools.setCookie('bankCardName',content.bankCardName,24 * 60 * 60) + tools.setCookie('bankCardNum',content.bankCardNum,24 * 60 * 60) tools.skip('/') } } diff --git a/static/js/project/user/register.js b/static/js/project/user/register.js index 9f18dec..23cb3ec 100644 --- a/static/js/project/user/register.js +++ b/static/js/project/user/register.js @@ -5,7 +5,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa //数据存储 var module = { data: { - + type:0 }, }; var tools = new Tools(); @@ -13,21 +13,31 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa module.init = function (page) { //背景高度 module.register(); - - //注册须知按钮跳转 - module.goRegister(); + module.data.type = getQueryVariable("type") }; + //获取地址栏参数 + function getQueryVariable(variable){ + var query = window.location.search.substring(1); + var vars = query.split("&"); + for (var i=0;i 18) { + $('#password')[0].focus() + tools.initTips('请输入正确格式密码', 'right', $('#password')[0], 2000) + return false; + }else if($('#password').val() != $('#passwordAgain').val()){ + $('#password')[0].focus() + tools.initTips('两次密码输入不一致', 'right', $('#password')[0], 2000) + return false; + } + /*图形验证码*/ + if (module.uuid == '' || codeVal == '') { + $('#code')[0].focus() + tools.initTips('请输入图形验证码', 'right', $('#code')[0], 2000) + return false; + } + + console.log($('#iAgree:checked').val()) + if ($('#iAgree:checked').val() == undefined){ + tools.initTips('请选择我已同意', 'right', $('#iAgree')[0], 2000) + return false; + } + return true; + } + return module; +}); \ No newline at end of file diff --git a/view/announcement/announcement.html b/view/announcement/announcement.html index 7c9bbd1..596dde5 100644 --- a/view/announcement/announcement.html +++ b/view/announcement/announcement.html @@ -21,25 +21,46 @@
    -
    -

    Hi,欢迎来到农村产权交易中心

    -
    - - - - - - -

    返回主站

    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    +
    - 左云县农村产权交易网 -

    左云县农村产权交易网

    + 左云县农村产权交易网 +

    左云县农村产权交易网

    @@ -47,9 +68,47 @@
    -
    - 请登录 - 免费注册 + + +
    diff --git a/view/announcement/announcementDetail.html b/view/announcement/announcementDetail.html index 558bce1..5ca032e 100644 --- a/view/announcement/announcementDetail.html +++ b/view/announcement/announcementDetail.html @@ -18,25 +18,46 @@
    -
    -

    Hi,欢迎来到农村产权交易中心

    -
    - - - - - - -

    返回主站

    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    +
    - 左云县农村产权交易网 -

    左云县农村产权交易网

    + 左云县农村产权交易网 +

    左云县农村产权交易网

    @@ -44,9 +65,47 @@
    -
    - 请登录 - 免费注册 + + +
    diff --git a/view/announcement/attestation.html b/view/announcement/attestation.html index a0f1b18..a95d66e 100644 --- a/view/announcement/attestation.html +++ b/view/announcement/attestation.html @@ -18,25 +18,46 @@
    -
    -

    Hi,欢迎来到农村产权交易中心

    -
    - - - - - - -

    返回主站

    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    +
    - 左云县农村产权交易网 -

    左云县农村产权交易网

    + 左云县农村产权交易网 +

    左云县农村产权交易网

    @@ -44,9 +65,47 @@
    -
    - 请登录 - 免费注册 + + +
    diff --git a/view/bidding/biddingList.html b/view/bidding/biddingList.html index 25d518f..3ef3411 100644 --- a/view/bidding/biddingList.html +++ b/view/bidding/biddingList.html @@ -14,31 +14,53 @@ +
    -
    -

    Hi,欢迎来到农村产权交易中心

    -
    - - - - - - -

    返回主站

    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    +
    - 左云县农村产权交易网 -

    左云县农村产权交易网

    + 左云县农村产权交易网 +

    左云县农村产权交易网

    @@ -46,9 +68,47 @@
    -
    - 请登录 - 免费注册 + + +
    @@ -78,7 +138,7 @@
    @@ -89,47 +149,46 @@ 标的所在地
    -
    全部
    +
    全部
    -
    -
    +
    -
    -
    全部
    -
    昆明
    -
    曲靖
    -
    玉溪
    -
    保山
    -
    昭通
    -
    丽江
    -
    普洱市
    -
    临沧
    -
    楚雄
    -
    红河
    -
    文山
    -
    西双版纳
    -
    大理
    -
    德宏
    -
    怒江
    -
    迪庆
    + - -
    项目状态 -
    全部
    -
    竞价中
    -
    竞价结束
    +
    全部 +
    + +
    正在报名
    + +
    等待竞价
    + +
    正在竞价
    + +
    等待成交
    + +
    已经成交
    + @@ -157,7 +216,7 @@ data_input -
    查询
    +
    查询
    diff --git a/view/demand/demand.html b/view/demand/demand.html index 8740638..6dbbb1a 100644 --- a/view/demand/demand.html +++ b/view/demand/demand.html @@ -19,25 +19,46 @@
    -
    -

    Hi,欢迎来到农村产权交易中心

    -
    - - - - - - -

    返回主站

    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    +
    - 左云县农村产权交易网 -

    左云县农村产权交易网

    + 左云县农村产权交易网 +

    左云县农村产权交易网

    @@ -45,9 +66,47 @@
    -
    - 请登录 - 免费注册 + + +
    diff --git a/view/interact/interactList.html b/view/interact/interactList.html index 5eaf682..cccd1da 100644 --- a/view/interact/interactList.html +++ b/view/interact/interactList.html @@ -19,25 +19,46 @@
    -
    -

    Hi,欢迎来到农村产权交易中心

    -
    - - - - - - -

    返回主站

    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    +
    - 左云县农村产权交易网 -

    左云县农村产权交易网

    + 左云县农村产权交易网 +

    左云县农村产权交易网

    @@ -45,9 +66,47 @@
    -
    - 请登录 - 免费注册 + + +
    @@ -70,10 +129,10 @@

    标题:

    - +

    内容:

    - - + +
    diff --git a/view/listingItems/bond.html b/view/listingItems/bond.html new file mode 100644 index 0000000..4352940 --- /dev/null +++ b/view/listingItems/bond.html @@ -0,0 +1,203 @@ + + + + + + 农燊高科-新闻详情 + + + + + + + + + + +
    + +
    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    + +
    +
    + +
    +
    + 左云县农村产权交易网 +

    左云县农村产权交易网

    +
    +
    +
    +
    + + +
    + + + +
    +
    +
    +
    + + + +
    +
    +

    项目名称:管家堡乡左云村500亩水田出租

    +

    需缴纳保证新:1000元

    +
    +
    +

    1.竞买人请确认以下事项并勾选

    +

    · 已阅读并知晓:拍下不买的后果,即保证金不予退还并承担相应的后果包括处罚等

    +

    · 已阅读并知晓:本次报名仅代表本人,未接受他人委托参与竞买。(如需办理委托,请在报名前联系处置单位将双方信息录入系统

    +

    · 已阅读并知晓:如您报名成功,您的姓名、证件号码、手机号、联系地址等信息将披露给资产处置单位及相关服务提供方,用于核实竞买人的真是身份、竞买资格及相关服务提供

    +

    · 已阅读并知晓:竞买人如果没有进行实地看样,视为接受标的所有瑕疵等细则

    +

    · 已阅读并知晓:已阅读并同意《竞拍服务协议》

    +

    本人已知晓并同意以上所有事项

    +
    +
    +

    2.竞买人身份确认

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    *名:
    *会员账号:
    *开户银行:
    *银行卡号:
    *身份证号:
    *上传相关凭证:
    + +
    +
    + + +
    + + + \ No newline at end of file diff --git a/view/listingItems/itemsDetail.html b/view/listingItems/itemsDetail.html index 4bb1256..8a49fd6 100644 --- a/view/listingItems/itemsDetail.html +++ b/view/listingItems/itemsDetail.html @@ -25,25 +25,46 @@
    -
    -

    Hi,欢迎来到农村产权交易中心

    -
    - - - - - - -

    返回主站

    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    +
    - 左云县农村产权交易网 -

    左云县农村产权交易网

    + 左云县农村产权交易网 +

    左云县农村产权交易网

    @@ -51,9 +72,47 @@
    -
    - 请登录 - 免费注册 + + +
    @@ -164,14 +223,19 @@ -
    -

    立即报名

    -

    保证金¥{{outProjectInformationDetail.deposit}}

    + +
    +
    +

    立即报名

    +

    保证金¥{{outProjectInformationDetail.deposit}}

    +
    +

    !如何交钱报名

    -

    !如何交钱报名

    - + diff --git a/view/listingItems/itemsList.html b/view/listingItems/itemsList.html index d7026ee..7b7f955 100644 --- a/view/listingItems/itemsList.html +++ b/view/listingItems/itemsList.html @@ -14,31 +14,53 @@ +
    -
    -

    Hi,欢迎来到农村产权交易中心

    -
    - - - - - - -

    返回主站

    +
    +

    Hi,欢迎来到农村产权交易中心

    +

    返回主站

    +
    + +

    威海市

    +
    +
    +
    +
    - 左云县农村产权交易网 -

    左云县农村产权交易网

    + 左云县农村产权交易网 +

    左云县农村产权交易网

    @@ -46,9 +68,47 @@
    -
    - 请登录 - 免费注册 + + +
    @@ -76,9 +136,9 @@
    @@ -92,13 +152,14 @@
    全部
    - -
    +
    + +