diff --git a/index.html b/index.html
index 0149cb0..e16b9af 100644
--- a/index.html
+++ b/index.html
@@ -11,8 +11,6 @@
-
-
@@ -40,7 +38,7 @@
友情链接
-
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
乡村动力
-
-
+
+
+
鲁公网安备12011502000077号京ICP备 17061038号-1
-
+
左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123
diff --git a/static/css/index.css b/static/css/index.css
index 89a47fd..d460005 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -886,7 +886,7 @@ select {
width: 1000px;
}
-.bottomLink-linkList p {
+.bottomLink-linkList a {
width: 90px;
margin-top: 15px;
display: inline-block;
diff --git a/static/css/main.css b/static/css/main.css
index b6144ac..71197a3 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -2480,6 +2480,17 @@ Basic Swiper Styles
float: left;
}
+.swiper-slide p{
+ position: absolute;
+ bottom: 0;
+ color: #FFF;
+ background: rgba(0,0,0,0.2);
+ width: 100%;
+ height: 50px;
+ line-height: 50px;
+ text-indent: 2em;
+}
+
.swiper-slide img {
width: 100%;
height: 100%;
diff --git a/static/js/api/index.js b/static/js/api/index.js
index db09d52..6ec4a21 100644
--- a/static/js/api/index.js
+++ b/static/js/api/index.js
@@ -16,9 +16,37 @@ var getInfo_get = '/getInfo' //获取用户信息
limit: 要查询的数据条数
*/
var websiteNew = '/transaction/website/news' //网站新闻类接口
+
/*
@purl /transaction/website/news/{number}
@param
number:新闻类型字典编号
*/
-var websiteNewPage = '/transaction/website/news'
\ No newline at end of file
+var websiteNewPage = '/transaction/website/news'
+
+/*
+@purl /transaction/website/deptList/{deptId}
+@param
+ deptId:查询当前平台级别下一级的部门列表 传参 0
+ 查询某一级别下一级的部门列表 传参网址url中的deptId
+*/
+var webDept = '/transaction/website/deptList'
+
+/*
+@purl /system/dict/data/type/ + dictType
+@param
+ dictType:project_type
+*/
+var webDeptType = '/system/dict/data/type/project_type'
+
+/*
+@purl /transaction/website/config
+@param
+*/
+var webConfig = '/transaction/website/config'
+
+/*
+@purl /transaction/website/links
+@param
+*/
+var friendsLinks = '/transaction/website/links'
\ No newline at end of file
diff --git a/static/js/project/index.js b/static/js/project/index.js
index 49f0963..8a3a9a4 100644
--- a/static/js/project/index.js
+++ b/static/js/project/index.js
@@ -12,7 +12,17 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
//政策法规数据
policiesRegulationsList: [],
//交易规则数据
- tradingRulesList: []
+ tradingRulesList: [],
+ //资料下载数据
+ dataDownloadList: [],
+ //标的物所在地
+ deptLocationList:[],
+ //标的物类型
+ deptTypeList:[],
+ //网站配置信息
+ webConfigInformationList:[],
+ //底部友情链接
+ friendsLinksList:[]
},
//柱状图参数
option: {
@@ -82,6 +92,20 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
//交易规则
tools.doGet(websiteNew + '/4/6', {}, module.tradingRules);
+ //资料下载
+ tools.doGet(websiteNew + '/5/6', {}, module.dataDownload);
+
+ //标的物所在地
+ tools.doGet(webDept + '/0', {}, module.deptLocation);
+
+ //标的物类型
+ tools.doGet(webDeptType, {}, module.deptType);
+
+ //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号)
+ tools.doGet(webConfig, {}, module.webConfigInformation);
+
+ //底部友情链接
+ tools.doGet(friendsLinks, {}, module.bottomFriendsLinks);
//竞价大厅-滚动
module.hallRolling();
@@ -90,6 +114,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
var chartDom = document.getElementById('chart');
var myChart = echarts.init(chartDom);
module.option && myChart.setOption(module.option);
+
};
//焦点图数据
@@ -99,8 +124,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
var focusList = [];
for (var i = 0; i < content.length; i++) {
var imgStrs = content[i].content.match(/
/g)
+ var title = content[i].title
if (imgStrs != null && imgStrs != '') {
- focusList.push(imgStrs[0])
+ focusList.push({img:imgStrs[0],title:title})
}
}
module.data.focusList = focusList;
@@ -141,8 +167,64 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
var tradingRulesData = template('tradingRulesData', module.data);
$("#tradingRulesContent").html(tradingRulesData);
}
+ }
+
+ //资料下载
+ module.dataDownload = function (data) {
+ if (data.code == 200) {
+ var content = data.data;
+ module.data.dataDownloadList = content;
+ var dataDownloadData = template('dataDownloadData', module.data);
+ $("#dataDownloadContent").html(dataDownloadData);
+ }
+ }
+
+ //标的物所在地
+ module.deptLocation = function (data) {
+ if (data.code == 200) {
+ var content = [] ;
+ for (var i = 0 ; i < 7 ; i++){
+ content[i] = data.data[i];
+ }
+ module.data.deptLocationList = content;
+ var deptLocationData = template('deptLocationData', module.data);
+ $("#deptLocationContent").html(deptLocationData);
+ }
+ }
+
+ //标的物类型
+ module.deptType = function (data) {
+ console.log(data)
+ if (data.code == 200) {
+ var content = [] ;
+ console.log(data.data)
+ for (var i = 0 ; i < 7 ; i++){
+ content[i] = data.data[i];
+ }
+ module.data.deptTypeList = content;
+ var deptTypeData = template('deptTypeData', module.data);
+ $("#deptTypeContent").html(deptTypeData);
+ }
+ }
+ //网站配置信息
+ module.webConfigInformation = function (data) {
+ if (data.code == 200) {
+ var content = data.data;
+ $("#webConfigName").html(content[0].configValue);
+ $("#webConfigRecord").html(content[1].configValue + content[2].configValue);
+ $("#webConfigAddress").html(content[0].configValue+' '+content[3].configValue);
+ }
+ }
+ //底部友情链接
+ module.bottomFriendsLinks = function (data) {
+ if (data.code == 200) {
+ var content = data.data;
+ module.data.friendsLinksList = content;
+ var friendsLinksData = template('friendsLinksData', module.data);
+ $("#friendsLinksContent").html(friendsLinksData);
+ }
}
///竞价大厅-滚动