From ac9ea3244cd52c4d203f1ab4116c434556ea21bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Tue, 20 Jul 2021 16:11:59 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BC=98=E5=8C=96=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 18 ++-- package-lock.json | 3 + static/css/user/user.css | 3 +- static/js/common/main.js | 2 - static/js/common/tools.js | 8 +- .../announcementList/announcementDetail.js | 11 ++- .../announcementList/announcementList.js | 12 +++ .../project/announcementList/attestation.js | 13 ++- .../project/announcementList/warrantDetail.js | 12 +++ static/js/project/bidding/biddingList.js | 13 ++- static/js/project/demand/demand.js | 13 ++- static/js/project/demand/demandDetail.js | 12 +++ static/js/project/index.js | 2 + static/js/project/interact/interact.js | 13 ++- static/js/project/listingItems/bond.js | 13 ++- static/js/project/listingItems/items.js | 13 +++ static/js/project/listingItems/itemsList.js | 13 ++- static/js/project/new/new.js | 12 +++ static/js/project/new/newDetail.js | 13 ++- static/js/project/policy/policy.js | 13 ++- static/js/project/user/index.js | 18 +++- static/js/project/user/login.js | 12 +++ static/js/project/user/register.js | 12 +++ static/js/project/user/registerFrom.js | 12 +++ view/announcement/announcement.html | 46 +++++----- view/announcement/announcementDetail.html | 46 +++++----- view/announcement/attestation.html | 46 +++++----- view/announcement/warrantDetail.html | 46 +++++----- view/bidding/biddingList.html | 48 +++++----- view/demand/demand.html | 46 +++++----- view/demand/demandDetail.html | 46 +++++----- view/interact/interactList.html | 46 +++++----- view/listingItems/bond.html | 46 +++++----- view/listingItems/itemsDetail.html | 8 +- view/listingItems/itemsList.html | 46 +++++----- view/login/login.html | 8 +- view/login/register.html | 8 +- view/login/registerExplain.html | 8 +- view/login/registerFrom.html | 8 +- view/new/newDetail.html | 46 +++++----- view/new/newList.html | 46 +++++----- view/policy/policy.html | 46 +++++----- view/user/user.html | 92 ++++++++++--------- 43 files changed, 579 insertions(+), 419 deletions(-) create mode 100644 package-lock.json diff --git a/index.html b/index.html index 47ad876..2cf92b2 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@

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

-

返回主站

+ 返回主站 @@ -82,17 +82,17 @@
  • - 我的供求 + 我的供求
  • - 我的咨询 + 我的咨询
  • - 我的竞价 + 我的竞价
  • @@ -731,15 +731,11 @@ {{/each}} -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    +

    +

  • - +

    关注公众号 了解详情

    diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..48e341a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +} diff --git a/static/css/user/user.css b/static/css/user/user.css index c74e328..7b1b3b9 100644 --- a/static/css/user/user.css +++ b/static/css/user/user.css @@ -119,7 +119,6 @@ color: #ffffff; border: none; border-radius: 20px; - float: right; margin-bottom: 10px; } @@ -131,7 +130,7 @@ } .iWanna{ - margin: 0!important; + margin: 0 auto!important; border: 1px solid #626262!important; background: #ffffff!important; color: #626262!important; diff --git a/static/js/common/main.js b/static/js/common/main.js index 9f65c0f..b108d98 100644 --- a/static/js/common/main.js +++ b/static/js/common/main.js @@ -79,7 +79,6 @@ requirejs.config({ require(['jquery', 'addressApi']); require(["jquery", "nprogress"], function ($, nprogress) { - //ajax加载页面跳转 $(document).ajaxStart(function () { // $('.loading').show(); @@ -107,7 +106,6 @@ require(["jquery", "nprogress"], function ($, nprogress) { require(["jquery", "Tools","addressApi"], function ($, Tools) { var tools = new Tools(); - // document.getElementById('dress').onmouseover = function(){ // document.getElementById('dressList').style.display = 'block'; // }; diff --git a/static/js/common/tools.js b/static/js/common/tools.js index a489dc1..c410738 100644 --- a/static/js/common/tools.js +++ b/static/js/common/tools.js @@ -1,4 +1,5 @@ var serverApi = ''; +var friendsLinksList = []; define(['jquery', 'dialog'], function ($, dialog) { // 工具类 function Tool() { @@ -437,14 +438,15 @@ define(['jquery', 'dialog'], function ($, dialog) { webConfigInformation: function (data) { if (data.code == 200) { var content = data.data; + console.log(content) $("#webConfigName").html(content[0].configValue); - $("#webConfigRecord").html(content[1].configValue + content[2].configValue); - $("#webConfigAddress").html(content[0].configValue + ' ' + content[3].configValue); + $("#webConfigRecord").html(content[1].configValue + '' + content[2].configValue); + $("#webConfigAddress").html(content[0].configValue + '' + content[3].configValue); serverApi = content[11].configValue; } }, /** - * webConfigInformation 网站配置信息 + * removeAllCookie 清除所有Cookie * @param */ removeAllCookie: function () { diff --git a/static/js/project/announcementList/announcementDetail.js b/static/js/project/announcementList/announcementDetail.js index 7aa23ab..f6bf97d 100644 --- a/static/js/project/announcementList/announcementDetail.js +++ b/static/js/project/announcementList/announcementDetail.js @@ -17,7 +17,16 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) tools.getWebConfig(); }; - + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //获取地址栏参数 function getQueryVariable(variable){ var query = window.location.search.substring(1); diff --git a/static/js/project/announcementList/announcementList.js b/static/js/project/announcementList/announcementList.js index 6866710..9c307d9 100644 --- a/static/js/project/announcementList/announcementList.js +++ b/static/js/project/announcementList/announcementList.js @@ -24,6 +24,8 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp var tools = new Tools(); module.init = function (page) { + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //成交公告 tools.doGet(announList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.announInformation,true); var type = getQueryVariable('type'); @@ -40,6 +42,16 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) tools.getWebConfig(); }; + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //获取地址栏参数 function getQueryVariable(variable){ var query = window.location.search.substring(1); diff --git a/static/js/project/announcementList/attestation.js b/static/js/project/announcementList/attestation.js index 87e8de4..42b0d52 100644 --- a/static/js/project/announcementList/attestation.js +++ b/static/js/project/announcementList/attestation.js @@ -11,7 +11,8 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp var tools = new Tools(); module.init = function (page) { - + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //鉴证公告 tools.doGet(attestationDetail+'/'+getQueryVariable('id'), {}, module.announInformation,true); //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) @@ -28,6 +29,16 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp } return(false); } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //项目公告数据 module.announInformation = function (data) { diff --git a/static/js/project/announcementList/warrantDetail.js b/static/js/project/announcementList/warrantDetail.js index 07423c2..69b68a6 100644 --- a/static/js/project/announcementList/warrantDetail.js +++ b/static/js/project/announcementList/warrantDetail.js @@ -11,6 +11,8 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp var tools = new Tools(); module.init = function (page) { + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //成交公告 tools.doGet(jyqzSearch, {jyqzNum:getQueryVariable('searchKeyWord'),deptId:100}, module.announDetail,true); //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) @@ -27,6 +29,16 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp } return(false); } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } module.announDetail = function(data){ module.data.jyqzNumOne = data.rows[0].jyqzNumOne module.data.jyqzNumTwo = data.rows[0].jyqzNumTwo diff --git a/static/js/project/bidding/biddingList.js b/static/js/project/bidding/biddingList.js index 7147582..6fec5db 100644 --- a/static/js/project/bidding/biddingList.js +++ b/static/js/project/bidding/biddingList.js @@ -51,7 +51,8 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT var tools = new Tools(); module.init = function (page) { - + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //新闻资讯 tools.doGet(biddingList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.biddingList,true); @@ -247,6 +248,16 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT } document.getElementById('status'+id).className = 'auction_hall_table_tab auction_hall_table_tab_select' } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } goSearch = function(){ module.data.itemsInformationList = ''; diff --git a/static/js/project/demand/demand.js b/static/js/project/demand/demand.js index 2414bfe..6946e90 100644 --- a/static/js/project/demand/demand.js +++ b/static/js/project/demand/demand.js @@ -26,7 +26,8 @@ define(['jquery', "template", "Tools", "demandApi", "paging"], function ($, temp var tools = new Tools(); module.init = function (page) { - + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //个人供应 tools.doGet( demandList, @@ -54,6 +55,16 @@ define(['jquery', "template", "Tools", "demandApi", "paging"], function ($, temp //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) tools.getWebConfig(); }; + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //个人供求数据 module.supplyInformation = function (data) { diff --git a/static/js/project/demand/demandDetail.js b/static/js/project/demand/demandDetail.js index 7079778..a0008de 100644 --- a/static/js/project/demand/demandDetail.js +++ b/static/js/project/demand/demandDetail.js @@ -26,6 +26,8 @@ define(['jquery', "template", "Tools", "demandApi", "paging","user"], function ( var tools = new Tools(); module.init = function (page) { + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) tools.getWebConfig(); @@ -51,6 +53,16 @@ define(['jquery', "template", "Tools", "demandApi", "paging","user"], function ( tools.doGet(demandImageList+'/'+getQueryVariable('id'), {}, module.demandImageDetail,true); } } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } module.demandImageDetail = function(data){ console.log(data) diff --git a/static/js/project/index.js b/static/js/project/index.js index ea83253..0922492 100644 --- a/static/js/project/index.js +++ b/static/js/project/index.js @@ -301,6 +301,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa module.webConfigInformation = function (data) { if (data.code == 200) { var content = data.data; + console.log(content) $("#webConfigName").html(content[0].configValue); $("#webConfigRecord").html(content[1].configValue + content[2].configValue); $("#webConfigAddress").html(content[0].configValue+' '+content[3].configValue); @@ -321,6 +322,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa module.bottomFriendsLinks = function (data) { if (data.code == 200) { var content = data.data; + console.log(content) module.data.friendsLinksList = content; var friendsLinksData = template('friendsLinksData', module.data); $("#friendsLinksContent").html(friendsLinksData); diff --git a/static/js/project/interact/interact.js b/static/js/project/interact/interact.js index 8a5c3cb..595fcef 100644 --- a/static/js/project/interact/interact.js +++ b/static/js/project/interact/interact.js @@ -22,7 +22,8 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te var tools = new Tools(); module.init = function (page) { - + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); if(getQueryVariable('keyWord')){ $('#searchTitle').val(getQueryVariable('keyWord')); goSearch() @@ -73,6 +74,16 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te $("#interactInformationContent").html(interactInformationData); } } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //新闻资讯数据 module.searchInteractInformation = function (data) { if (data.code == 200) { diff --git a/static/js/project/listingItems/bond.js b/static/js/project/listingItems/bond.js index 99cd053..50d37c1 100644 --- a/static/js/project/listingItems/bond.js +++ b/static/js/project/listingItems/bond.js @@ -10,7 +10,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function }; var tools = new Tools(); - module.init = function (page) { + module.init = function (page) {//底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); document.getElementById('realName').value = tools.getCookie('userName'); document.getElementById('userNum').value = tools.getCookie('phone'); document.getElementById('userBank').value = tools.getCookie('bankAddress'); @@ -21,6 +22,16 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) tools.getWebConfig(); }; + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //获取地址栏参数 function getQueryVariable(variable){ diff --git a/static/js/project/listingItems/items.js b/static/js/project/listingItems/items.js index 2b1a1d2..1fca189 100644 --- a/static/js/project/listingItems/items.js +++ b/static/js/project/listingItems/items.js @@ -12,6 +12,9 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi'], function ($, templ var tools = new Tools(); module.init = function (page) { + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); + module.data.loginNow = tools.getCookie('Admin-Token'); //浏览次数 tools.doGet(outProject, {id:getQueryVariable('id')}, module.projectNum,true); @@ -55,6 +58,16 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi'], function ($, templ module.data.know = content[6].configValue; } } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } module.dataCompare = function(signupStartTime,signupStopTime,biddingStartTime,biddingStopTime){ var signupStartTime = signupStartTime; var signupStopTime = signupStopTime; diff --git a/static/js/project/listingItems/itemsList.js b/static/js/project/listingItems/itemsList.js index 6dbbff0..250f0e1 100644 --- a/static/js/project/listingItems/itemsList.js +++ b/static/js/project/listingItems/itemsList.js @@ -58,7 +58,8 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi var tools = new Tools(); module.init = function (page) { - + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); if (getQueryVariable('projectCode') || getQueryVariable('projectName') || getQueryVariable('projectNumber')) { console.log('首页进入') tools.doGet(itemsList, { @@ -237,6 +238,16 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi document.getElementById('allDept').onclick = allDept; tools.doGet(webDept + '/0', {}, module.deptLocation, true); } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } turnThePage = function (pageNum) { module.data.pageNum = pageNum; diff --git a/static/js/project/new/new.js b/static/js/project/new/new.js index c42eb4a..33147f5 100644 --- a/static/js/project/new/new.js +++ b/static/js/project/new/new.js @@ -20,6 +20,8 @@ define(['jquery', "template", "Tools", "newApi", "paging"], function ($, templat var tools = new Tools(); module.init = function (page) { + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); if(getQueryVariable('title') ){ console.log('搜索进入') //新闻资讯 @@ -42,6 +44,16 @@ define(['jquery', "template", "Tools", "newApi", "paging"], function ($, templat } return(false); } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //新闻资讯数据 module.NewsInformation = function (data) { diff --git a/static/js/project/new/newDetail.js b/static/js/project/new/newDetail.js index 27abf5c..877e3f7 100644 --- a/static/js/project/new/newDetail.js +++ b/static/js/project/new/newDetail.js @@ -11,7 +11,8 @@ define(['jquery', "template", "Tools", "newApi"], function ($, template, Tools ) var tools = new Tools(); module.init = function (page) { - + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); console.log(getQueryVariable('id')) //新闻资讯 tools.doGet(newDetail + '/'+getQueryVariable('id'), {}, module.NewsInformation,true); @@ -19,6 +20,16 @@ define(['jquery', "template", "Tools", "newApi"], function ($, template, Tools ) //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) tools.getWebConfig(); }; + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //获取地址栏参数 function getQueryVariable(variable){ diff --git a/static/js/project/policy/policy.js b/static/js/project/policy/policy.js index 05f2cef..c79d665 100644 --- a/static/js/project/policy/policy.js +++ b/static/js/project/policy/policy.js @@ -24,7 +24,8 @@ define(['jquery', "template", "Tools", "policyApi", "paging"], function ($, temp var tools = new Tools(); module.init = function (page) { - + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); var type = getQueryVariable('type'); if(type != undefined && type != ''){ console.log('搜索进入') @@ -63,6 +64,16 @@ define(['jquery', "template", "Tools", "policyApi", "paging"], function ($, temp } return(false); } + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //政策法规数据 module.policyInformation = function (data) { diff --git a/static/js/project/user/index.js b/static/js/project/user/index.js index b2ea4e4..a5e1604 100644 --- a/static/js/project/user/index.js +++ b/static/js/project/user/index.js @@ -27,7 +27,8 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"], }; var tools = new Tools(); module.init = function (page) { - + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //用户资料 tools.doGet(userData, {}, module.userData); @@ -49,6 +50,16 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"], module.getType(type); }; + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //获取类型 module.getType = function(type){ @@ -741,5 +752,10 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"], tools.doGet(supplyDemandImg+'/'+content.id, {}, module.showSupplyImage); console.log(data) } + + goProject = function(id){ + tools.skip('../listingItems/itemsDetail.html?id='+id) + } + 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 54ec5b3..9d619a5 100644 --- a/static/js/project/user/login.js +++ b/static/js/project/user/login.js @@ -13,6 +13,8 @@ define(['jquery', "Tools","user"], function ($, Tools) { //默认进入页面加载方法 module.init = function (page) { + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //点击登录 $('#login-submit').on('click', module.login) //点击图形验证码 @@ -25,6 +27,16 @@ define(['jquery', "Tools","user"], function ($, Tools) { tools.getWebConfig(); }; + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } /*-----------------------------自定义方法-------------------------------------*/ //登录方式切换 loginTab = function(type){ diff --git a/static/js/project/user/register.js b/static/js/project/user/register.js index 4540824..8843e2b 100644 --- a/static/js/project/user/register.js +++ b/static/js/project/user/register.js @@ -11,6 +11,8 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa var tools = new Tools(); module.init = function (page) { + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //背景高度 module.register(); module.data.type = getQueryVariable("type") @@ -18,6 +20,16 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa tools.getWebConfig(); }; + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //获取地址栏参数 function getQueryVariable(variable){ var query = window.location.search.substring(1); diff --git a/static/js/project/user/registerFrom.js b/static/js/project/user/registerFrom.js index f0c70a5..d79de1d 100644 --- a/static/js/project/user/registerFrom.js +++ b/static/js/project/user/registerFrom.js @@ -11,6 +11,8 @@ define(['jquery', "template", "Tools", "echarts", 'register', 'swiper'], functio var tools = new Tools(); module.init = function (page) { + //底部友情链接 + tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //点击注册 $('#register-submit').on('click', module.register) //点击图形验证码 @@ -24,6 +26,16 @@ define(['jquery', "template", "Tools", "echarts", 'register', 'swiper'], functio }; + //底部友情链接 + module.bottomFriendsLinks = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.friendsLinksList = content; + var friendsLinksData = template('friendsLinksData', module.data); + $("#friendsLinksContent").html(friendsLinksData); + } + } //获取地址栏参数 function getQueryVariable(variable){ var query = window.location.search.substring(1); diff --git a/view/announcement/announcement.html b/view/announcement/announcement.html index 5d11e40..900ca2e 100644 --- a/view/announcement/announcement.html +++ b/view/announcement/announcement.html @@ -23,7 +23,7 @@

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

    -

    返回主站

    + 返回主站 @@ -86,17 +86,17 @@
  • - 我的供求 + 我的供求
  • - 我的咨询 + 我的咨询
  • - 我的竞价 + 我的竞价
  • @@ -173,29 +173,25 @@
  • - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    -
    -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    -
    - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    - -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    - - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    - -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    - - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    - -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    - diff --git a/view/demand/demand.html b/view/demand/demand.html index 9748c1d..c78eef6 100644 --- a/view/demand/demand.html +++ b/view/demand/demand.html @@ -21,7 +21,7 @@

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

    -

    返回主站

    + 返回主站 @@ -84,17 +84,17 @@
  • - 我的供求 + 我的供求
  • - 我的咨询 + 我的咨询
  • - 我的竞价 + 我的竞价
  • @@ -187,29 +187,25 @@
  • - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    -
    -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    - - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    - -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    - - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    - -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    - diff --git a/view/listingItems/itemsDetail.html b/view/listingItems/itemsDetail.html index 2e801c8..6841fea 100644 --- a/view/listingItems/itemsDetail.html +++ b/view/listingItems/itemsDetail.html @@ -26,7 +26,7 @@

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

    -

    返回主站

    + 返回主站 @@ -89,17 +89,17 @@
  • - 我的供求 + 我的供求
  • - 我的咨询 + 我的咨询
  • - 我的竞价 + 我的竞价
  • diff --git a/view/listingItems/itemsList.html b/view/listingItems/itemsList.html index 3544c15..76f270c 100644 --- a/view/listingItems/itemsList.html +++ b/view/listingItems/itemsList.html @@ -23,7 +23,7 @@

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

    -

    返回主站

    + 返回主站 @@ -86,17 +86,17 @@
  • - 我的供求 + 我的供求
  • - 我的咨询 + 我的咨询
  • - 我的竞价 + 我的竞价
  • @@ -279,29 +279,25 @@
  • diff --git a/view/login/login.html b/view/login/login.html index ffe737b..6847653 100644 --- a/view/login/login.html +++ b/view/login/login.html @@ -20,7 +20,7 @@ -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    -
    - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    - -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    - - -

    - 鲁公网安备12011502000077号京ICP备 17061038号-1 -

    -

    - 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 -

    - -
    - -

    关注公众号 了解详情

    +
    +
    + + + +

    +

    +
    +
    + +

    关注公众号 了解详情

    +
    +
    -
    -