diff --git a/index.html b/index.html index e16b9af..3469758 100644 --- a/index.html +++ b/index.html @@ -31,43 +31,43 @@ - -
- - -
-
- 左云县农村产权交易网 -

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

+
+
+
+
+ +
-
-
- - -
- -
+
+
+
+ + + +
+ - -
@@ -150,500 +149,204 @@ 四荒地 更多>

-
+ +

集体资产 更多>

-
+ +

- 生产及水利设备 + 农业生产设备 更多>

-
+ +

- 知识产权及其他 + 小型水利设施 更多>

-
+ +
@@ -703,28 +406,16 @@

成交公告更多>

-
    -
  • -

    天津市农村产权交易所关于宁河区宁河镇江洼口村设...

    -

    项目编号:TD-ZC-202136852021-03-23

    -
  • -
  • -

    天津市农村产权交易所关于宁河区宁河镇江洼口村设...

    -

    项目编号:TD-ZC-202136852021-03-23

    -
  • + +
    @@ -732,27 +423,27 @@ @@ -842,7 +533,24 @@
    - + +
    diff --git a/static/css/index.css b/static/css/index.css index d460005..c65553d 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -101,11 +101,12 @@ } -.top {} +.top { + border-bottom: 2px solid #007b76; +} .top ul { padding-bottom: 5px; - border-bottom: 2px solid #007b76; } .top ul li { @@ -144,7 +145,7 @@ } .bannerLeft-top ul li { - margin: 12px 40px 0px 0px; + margin: 12px 38px 0px 0px; display: inline-block; } @@ -173,6 +174,10 @@ color: #adadad; } +.bannerLeft-top ul li:last-child a:hover { + color: #007b76; +} + .bannerLeft-buttom ul li { margin: 12px 15px 0px 0px; @@ -198,6 +203,10 @@ color: #adadad; } +.bannerLeft-buttom ul li:last-child a:hover { + color: #007b76; +} + .bannerRight { width: 800px; height: 300px; diff --git a/static/css/main.css b/static/css/main.css index 71197a3..64566cf 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -286,6 +286,8 @@ body { !important; } +/*三角形*/ + /*全局CSS*/ .hide { display: none; diff --git a/static/js/api/index.js b/static/js/api/index.js index 6ec4a21..26e8df5 100644 --- a/static/js/api/index.js +++ b/static/js/api/index.js @@ -22,7 +22,7 @@ var websiteNew = '/transaction/website/news' //网站新闻类接口 @param number:新闻类型字典编号 */ -var websiteNewPage = '/transaction/website/news' +var websiteNewPage = '/transaction/website/news'// /* @purl /transaction/website/deptList/{deptId} @@ -30,23 +30,58 @@ var websiteNewPage = '/transaction/website/news' deptId:查询当前平台级别下一级的部门列表 传参 0 查询某一级别下一级的部门列表 传参网址url中的deptId */ -var webDept = '/transaction/website/deptList' +var webDept = '/transaction/website/deptList'//标的物所在地 /* @purl /system/dict/data/type/ + dictType @param dictType:project_type */ -var webDeptType = '/system/dict/data/type/project_type' +var webDeptType = '/transaction/website/data/type'//标的物类型查询接口 /* @purl /transaction/website/config @param */ -var webConfig = '/transaction/website/config' +var webConfig = '/transaction/website/config'//查询网站配置信息 /* @purl /transaction/website/links @param */ -var friendsLinks = '/transaction/website/links' \ No newline at end of file +var friendsLinks = '/transaction/website/links'//查询网站底部友情链接 + +/* +@purl /transaction/website/links +@param + dictType:0 +*/ +var allViewCount = '/transaction/website/outproject/allViewCount'//查询挂牌项目浏览总次数 + +/* +@purl /transaction/website/outproject/{projectNumberArr}/{deptId}/{limit} +@param + projectNumberArr:土地林地四荒地模块,传参 1,2,3 + 集体资产,传参 4 + 农业生产设备,传参 5 + 小型水利设施,传参 6 + deptId:行政区划部门ID + limit:需要获取的数据条数(如获取3条,参数设置为 3) +*/ +var webListing = '/transaction/website/outproject'//查询挂牌项目信息列表 + +/* +@purl /transaction/website/outproject/publicity/{deptId}/{limit} +@param + deptId:行政区划部门ID + limit:需要获取的数据条数 +*/ +var announcementList = '/transaction/website/outproject/publicity'//成交公示 + +/* +@purl /transaction/website/biddinglist/{deptId}/{limit} +@param + deptId:行政区划部门ID + limit:需要获取的数据条数 +*/ +var biddingHallList = '/transaction/website/biddinglist'//竞价大厅列表 \ No newline at end of file diff --git a/static/js/project/index.js b/static/js/project/index.js index 8a3a9a4..482958f 100644 --- a/static/js/project/index.js +++ b/static/js/project/index.js @@ -22,7 +22,19 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa //网站配置信息 webConfigInformationList:[], //底部友情链接 - friendsLinksList:[] + friendsLinksList:[], + //土地林地四荒地数据 + landListList:[], + //集体资产数据 + collectiveAssetsList:[], + //小型水利设施数据 + waterConservancyFacilitiesList:[], + //农业生产设备数据 + productionEquipmentList:[], + //挂牌项目总浏览次数 + allViewCountList:[], + //成交公示数据 + announcementListList:[] }, //柱状图参数 option: { @@ -81,25 +93,25 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa module.init = function (page) { //获取焦点图信息 - tools.doGet(websiteNew + '/1/4', {}, module.focusNews); + tools.doGet(websiteNew + '/1/0/4', {}, module.focusNews); //新闻资讯 - tools.doGet(websiteNew + '/2/6', {}, module.NewsInformation); + tools.doGet(websiteNew + '/2/0/6', {}, module.NewsInformation); //政策法规 - tools.doGet(websiteNew + '/3/6', {}, module.policiesRegulations); + tools.doGet(websiteNew + '/3/0/6', {}, module.policiesRegulations); //交易规则 - tools.doGet(websiteNew + '/4/6', {}, module.tradingRules); + tools.doGet(websiteNew + '/4/0/6', {}, module.tradingRules); //资料下载 - tools.doGet(websiteNew + '/5/6', {}, module.dataDownload); + tools.doGet(websiteNew + '/5/0/6', {}, module.dataDownload); //标的物所在地 tools.doGet(webDept + '/0', {}, module.deptLocation); //标的物类型 - tools.doGet(webDeptType, {}, module.deptType); + tools.doGet(webDeptType+"/project_type", {}, module.deptType); //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) tools.doGet(webConfig, {}, module.webConfigInformation); @@ -107,6 +119,28 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa //底部友情链接 tools.doGet(friendsLinks, {}, module.bottomFriendsLinks); + //土地 + tools.doGet(webListing + '/1,2,3/0/3', {}, module.landList); + + //集体资产 + tools.doGet(webListing + '/4/0/3', {}, module.collectiveAssets); + + //农业生产设备 + tools.doGet(webListing + '/5/0/3', {}, module.productionEquipment); + + //小型水利设施 + tools.doGet(webListing + '/6/0/3', {}, module.waterConservancyFacilities); + + //查询挂牌项目浏览总次数 + tools.doGet(allViewCount + '/100', {}, module.allViewCount); + + //查询挂牌项目浏览总次数 + tools.doGet(announcementList + '/0/4', {}, module.announcementList); + + + //查询挂牌项目浏览总次数 + tools.doGet(biddingHallList + '/0/10', {}, module.biddingHallList); + //竞价大厅-滚动 module.hallRolling(); @@ -198,7 +232,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa if (data.code == 200) { var content = [] ; console.log(data.data) - for (var i = 0 ; i < 7 ; i++){ + for (var i = 0 ; i < 4 ; i++){ content[i] = data.data[i]; } module.data.deptTypeList = content; @@ -217,6 +251,17 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa } } + //查询挂牌项目浏览总次数 + module.allViewCount = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.allViewCountList = content.toString().split(""); + var allViewCountData = template('allViewCountData', module.data); + $("#allViewCount").html(allViewCountData); + } + } + //底部友情链接 module.bottomFriendsLinks = function (data) { if (data.code == 200) { @@ -227,6 +272,72 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa } } + //土地林地四荒地 + module.landList = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.landListList = content; + var landListData = template('landListData', module.data); + $("#landListContent").html(landListData); + } + } + + //集体资产 + module.collectiveAssets = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.collectiveAssetsList = content; + var collectiveAssetsData = template('collectiveAssetsData', module.data); + $("#collectiveAssetsContent").html(collectiveAssetsData); + } + } + + //小型水利设施 + module.waterConservancyFacilities = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.waterConservancyFacilitiesList = content; + var waterConservancyFacilitiesData = template('waterConservancyFacilitiesData', module.data); + $("#waterConservancyFacilitiesContent").html(waterConservancyFacilitiesData); + } + } + + //农业生产设备 + module.productionEquipment = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.productionEquipmentList = content; + var productionEquipmentData = template('productionEquipmentData', module.data); + $("#productionEquipmentContent").html(productionEquipmentData); + } + } + + //成交公示列表 + module.announcementList = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.announcementListList = content; + var announcementListData = template('announcementListData', module.data); + $("#announcementListContent").html(announcementListData); + } + } + + //竞价大厅列表 + module.biddingHallList = function (data) { + if (data.code == 200) { + var content = data.data; + console.log(content) + module.data.biddingHallListList = content; + var biddingHallListData = template('biddingHallListData', module.data); + $("#biddingHallListContent").html(biddingHallListData); + } + } + ///竞价大厅-滚动 module.hallRolling = function () { var divScroll = document.getElementById('tableList'); @@ -252,6 +363,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa } }, 30) } + //切换 module.tabCheck = function (type) { document.getElementById('supply').style.display = 'none'; diff --git a/view/new/newDetail.html b/view/new/newDetail.html new file mode 100644 index 0000000..566549b --- /dev/null +++ b/view/new/newDetail.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + \ No newline at end of file diff --git a/view/new/newList.html b/view/new/newList.html new file mode 100644 index 0000000..610ab34 --- /dev/null +++ b/view/new/newList.html @@ -0,0 +1,70 @@ + + + + + + 农燊高科-新闻列表 + + + + + + + + + +
    + +
    +
    +

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

    +
    + + + + + + +

    返回主站

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

    +
    +
    +
    +
    + + +
    + +
    +
    +
    +
    + + + +
    + + \ No newline at end of file
    1惠城区桥东街道... 阶梯竞价