diff --git a/index.html b/index.html index 97eb1b0..5744655 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ diff --git a/static/css/bidding/biddingBigData.css b/static/css/bidding/biddingBigData.css index 4db39d3..af6b453 100644 --- a/static/css/bidding/biddingBigData.css +++ b/static/css/bidding/biddingBigData.css @@ -1,5 +1,5 @@ .main{ - background: url("../../images/bigData_bg.png") no-repeat center; + background: #000426 url("../../images/bigData_bg2.png") no-repeat center; background-size: 100% 100%; width: 100vw; height: 100vh; @@ -205,6 +205,185 @@ select{ color: #ffffff!important; } +.topTit_content{ + width: 98%; + border: 1px solid #0071ff; + margin: 2vh auto 0; + display: flex; + justify-content: space-between; + align-items: center; +} + +.topTit_content_left{ + display: flex; + justify-content: space-between; + width: 60%; + align-items: center; +} + +.topTit_content_left p:first-child{ + color: #9cc8ff; + background-image: linear-gradient(#001f7c,#003686,#001f7c); + padding: 2vh .7vw; +} + +.topTit_content_left p:nth-child(2){ + color: #ffa90b; + font-size: 3vh; + width: 70%; + text-align: center; +} + +.topTit_content_left p:nth-child(3){ + color: #00144e; + background: #21d2ea; + padding: .5vh 1vw; + border-radius: 5px; +} + +.topTit_content_center{ + width: 19%; + border-left: 1px solid #0071ff; + text-align: center; +} + +.topTit_content_center p{ + color: #9cc8ff; +} + +.topTit_content_center p:nth-child(2){ + color: #ffa90b; +} + +.topTit_content_center p:nth-child(2) span{ + font-size: 5vh; + font-weight: bold; +} + +.content_box{ + display: flex; + width: 98%; + margin: 1vw auto 0; + justify-content: space-between; +} + +.content_box_right{ + border: 1px solid #0071ff; + width: 38%; +} + +.content_box_right_tit{ + background: #133194; + padding: 1vh 2vw; + color: #21d3ed; + font-weight: bold; + margin-top: 1vh; +} + +.content_box_right_titBox{ + background: #133194; + padding: 1vh 2vw; + color: #21d3ed; + font-weight: bold; + margin-top: 1vh; + display: flex; + justify-content: space-between; +} + +.content_box_right_titBox_check{ + display: flex; + align-items: center; + color: #ffa90b; +} + +.content_box_right_tit span{ + +} + +.content_box_right_tit2{ + color: #dddddd; + text-align: center; + font-weight: bold; + margin: 2vh 0; +} + +.content_box_right_time{ + color: #dddddd; + text-align: center; + margin-bottom: 2vh; +} + +.content_box_right_time span{ + color: #ffa90b; + font-weight: bold; + font-size: 3vh; + background: #133194; + padding: 1vh .5vw; + margin-right: .3vw; +} + +.content_box_right_money{ + display: flex; + text-align: center; + padding: 0 2vw; + justify-content: space-between; + margin-bottom: 2vh; +} + +.content_box_right_money div{ + background: rgba(0,48,134,0.6); + width: 48%; + padding: 2vh 0 1vh; + border-radius: 5px; +} + +.content_box_right_num{ + text-align: center; + background: rgba(0,48,134,0.6); + padding: 2vh 0 1vh; + border-radius: 5px; + width: calc(100% - 4vw); + margin: 0 auto; +} + +.content_box_right_num p{ + color: #dddddd; +} + +.content_box_right_num p:last-child{ + color: #25e8ff; + font-weight: bold; + font-size: 2.5vh; +} + +.content_box_right_money p{ + color: #dddddd; +} + +.content_box_right_money p:last-child{ + color: #ffa90b; + font-weight: bold; + font-size: 2.5vh; +} + +.ruleTable{ + width: calc(100% - 4vw); + margin: 0 auto; + margin-top: 1vh; +} + +.ruleTable tr td{ + padding: 1vh 0; +} + +.ruleTable tr td:nth-child(odd){ + color: #9cc8ff; +} + +.ruleTable tr td:nth-child(even){ + color: #ffffff; +} + @keyframes horizontalAnmia1 { 0% { opacity: 1; diff --git a/static/images/bigData_bg2.png b/static/images/bigData_bg2.png new file mode 100644 index 0000000..f30c931 Binary files /dev/null and b/static/images/bigData_bg2.png differ diff --git a/static/images/tt_border.png b/static/images/tt_border.png new file mode 100644 index 0000000..607d084 Binary files /dev/null and b/static/images/tt_border.png differ diff --git a/static/js/project/announcementList/announcementDetail.js b/static/js/project/announcementList/announcementDetail.js index e076567..9d5c25a 100644 --- a/static/js/project/announcementList/announcementDetail.js +++ b/static/js/project/announcementList/announcementDetail.js @@ -24,7 +24,26 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/announcementList/announcementList.js b/static/js/project/announcementList/announcementList.js index 3941891..4909c60 100644 --- a/static/js/project/announcementList/announcementList.js +++ b/static/js/project/announcementList/announcementList.js @@ -56,7 +56,27 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/announcementList/attestation.js b/static/js/project/announcementList/attestation.js index e3df3f7..b55815d 100644 --- a/static/js/project/announcementList/attestation.js +++ b/static/js/project/announcementList/attestation.js @@ -26,7 +26,27 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/announcementList/inviteTendersDetail.js b/static/js/project/announcementList/inviteTendersDetail.js index 3a786a2..e0ff2b6 100644 --- a/static/js/project/announcementList/inviteTendersDetail.js +++ b/static/js/project/announcementList/inviteTendersDetail.js @@ -26,7 +26,27 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/announcementList/warrantDetail.js b/static/js/project/announcementList/warrantDetail.js index 3a73c10..b8bb4d5 100644 --- a/static/js/project/announcementList/warrantDetail.js +++ b/static/js/project/announcementList/warrantDetail.js @@ -26,7 +26,27 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/announcementList/winTheBiddingDetail.js b/static/js/project/announcementList/winTheBiddingDetail.js index ac7e4da..e35ac40 100644 --- a/static/js/project/announcementList/winTheBiddingDetail.js +++ b/static/js/project/announcementList/winTheBiddingDetail.js @@ -26,7 +26,27 @@ define(['jquery', "template", "Tools", "announApi", "paging", 'swiper'], functio //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/bidding/biddingList.js b/static/js/project/bidding/biddingList.js index 84d640a..636bacc 100644 --- a/static/js/project/bidding/biddingList.js +++ b/static/js/project/bidding/biddingList.js @@ -110,7 +110,26 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/demand/demand.js b/static/js/project/demand/demand.js index 9430b34..98c26a8 100644 --- a/static/js/project/demand/demand.js +++ b/static/js/project/demand/demand.js @@ -63,7 +63,26 @@ define(['jquery', "template", "Tools", "demandApi", "paging", 'swiper'], functio //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/demand/demandDetail.js b/static/js/project/demand/demandDetail.js index 64a411a..beacc47 100644 --- a/static/js/project/demand/demandDetail.js +++ b/static/js/project/demand/demandDetail.js @@ -42,7 +42,26 @@ define(['jquery', "template", "Tools", "demandApi", "paging","user", 'swiper'], //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/index.js b/static/js/project/index.js index bb24eb3..2a54bc1 100644 --- a/static/js/project/index.js +++ b/static/js/project/index.js @@ -203,8 +203,28 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa //焦点图数据 module.focusNewsTop = function (data) { + if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../static/images/banner1.png' + },{ + picUrl:'../static/images/banner2.png' + },{ + picUrl:'../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); @@ -215,6 +235,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa }) } + } //焦点图数据 @@ -324,7 +345,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa //标的物所在地 module.deptLocation = function (data) { - console.log(data) + //console.log(data) if (data.code == 200) { var content = data.data ; var contentList = []; @@ -448,9 +469,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa for (let i = 0 ; i < 5 ; i++){ - console.log(content[i]) + //console.log(content[i]) if (content[i]==undefined){ - console.log('aaaaaaaaaa') + //console.log('aaaaaaaaaa') module.data.collectiveAssetsList.push({ id :'', projectName :'', @@ -655,7 +676,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa focusListNext.push({img:serverApi+imgStrs,title:data.data[i].projectName,id:data.data[i].id}) } } - console.log(data) + //console.log(data) module.data.focusListNext = focusListNext; var bannerFocusBottomData = template('bannerFocusBottomData', module.data); $("#bannerFocusNextContent").html(bannerFocusBottomData); @@ -699,7 +720,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa var newTop = oldTop + 1; divScroll.scrollTop = newTop; var counst = divScroll.scrollHeight - divScroll.scrollTop - divScroll.clientHeight; - console.log(counst) + //console.log(counst) if (2 > counst) { divScroll.scrollTop = 0; } diff --git a/static/js/project/interact/interact.js b/static/js/project/interact/interact.js index fac85a2..f0771b2 100644 --- a/static/js/project/interact/interact.js +++ b/static/js/project/interact/interact.js @@ -50,7 +50,26 @@ define(['jquery', "template", "Tools", "interactApi", "paging", 'swiper'], funct //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/listingItems/bond.js b/static/js/project/listingItems/bond.js index 534b0c3..079edc7 100644 --- a/static/js/project/listingItems/bond.js +++ b/static/js/project/listingItems/bond.js @@ -31,7 +31,26 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/listingItems/items.js b/static/js/project/listingItems/items.js index ce1a120..655a3b1 100644 --- a/static/js/project/listingItems/items.js +++ b/static/js/project/listingItems/items.js @@ -46,7 +46,26 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/listingItems/itemsList.js b/static/js/project/listingItems/itemsList.js index 7eda625..b984500 100644 --- a/static/js/project/listingItems/itemsList.js +++ b/static/js/project/listingItems/itemsList.js @@ -143,7 +143,26 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime', 'swiper //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/listingItems/itemsNeedsDetail.js b/static/js/project/listingItems/itemsNeedsDetail.js index a884ed5..b4d2e71 100644 --- a/static/js/project/listingItems/itemsNeedsDetail.js +++ b/static/js/project/listingItems/itemsNeedsDetail.js @@ -24,7 +24,26 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'swiper'], function //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/new/new.js b/static/js/project/new/new.js index 9003d83..93012c5 100644 --- a/static/js/project/new/new.js +++ b/static/js/project/new/new.js @@ -41,7 +41,26 @@ define(['jquery', "template", "Tools", "newApi", "paging", 'swiper'], function ( //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/new/newDetail.js b/static/js/project/new/newDetail.js index ff6f832..47061cc 100644 --- a/static/js/project/new/newDetail.js +++ b/static/js/project/new/newDetail.js @@ -28,7 +28,26 @@ define(['jquery', "template", "Tools", "newApi", 'swiper'], function ($, templat //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/policy/policy.js b/static/js/project/policy/policy.js index 8c768b4..e6f5f9d 100644 --- a/static/js/project/policy/policy.js +++ b/static/js/project/policy/policy.js @@ -61,7 +61,26 @@ define(['jquery', "template", "Tools", "policyApi", "paging", 'swiper'], functio //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/policy/policyDetail.js b/static/js/project/policy/policyDetail.js index 59db194..e1e6c34 100644 --- a/static/js/project/policy/policyDetail.js +++ b/static/js/project/policy/policyDetail.js @@ -39,7 +39,26 @@ define(['jquery', "template", "Tools", "newApi", 'swiper'], function ($, templat //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/static/js/project/user/index.js b/static/js/project/user/index.js index c09e22a..4d73a59 100644 --- a/static/js/project/user/index.js +++ b/static/js/project/user/index.js @@ -68,7 +68,26 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", //焦点图数据 module.focusNewsTop = function (data) { if (data.code == 200) { - module.data.focusListTop = data.data; + + let focusArray = []; + + if(data.data.length<1){ + focusArray.push({ + picUrl:'../../../static/images/banner1.png' + },{ + picUrl:'../../../static/images/banner2.png' + },{ + picUrl:'../../../static/images/banner3.png' + }) + }else{ + data.data.forEach(res=>{ + focusArray.push({ + picUrl:'/api'+res.picUrl + }) + }) + } + + module.data.focusListTop = focusArray; var bannerFocusDataTop = template('bannerFocusDataTop', module.data); $("#bannerFocusTopContent").html(bannerFocusDataTop); diff --git a/view/announcement/announcement.html b/view/announcement/announcement.html index b75304f..408f6ca 100644 --- a/view/announcement/announcement.html +++ b/view/announcement/announcement.html @@ -23,7 +23,7 @@ diff --git a/view/announcement/announcementDetail.html b/view/announcement/announcementDetail.html index dc87a5f..9fef68d 100644 --- a/view/announcement/announcementDetail.html +++ b/view/announcement/announcementDetail.html @@ -20,7 +20,7 @@ diff --git a/view/announcement/attestation.html b/view/announcement/attestation.html index 1c4ef41..93dba88 100644 --- a/view/announcement/attestation.html +++ b/view/announcement/attestation.html @@ -20,7 +20,7 @@ diff --git a/view/announcement/inviteTendersDetail.html b/view/announcement/inviteTendersDetail.html index 53a479b..84d5d52 100644 --- a/view/announcement/inviteTendersDetail.html +++ b/view/announcement/inviteTendersDetail.html @@ -20,7 +20,7 @@ diff --git a/view/announcement/warrantDetail.html b/view/announcement/warrantDetail.html index 7bc7cf9..34e456d 100644 --- a/view/announcement/warrantDetail.html +++ b/view/announcement/warrantDetail.html @@ -20,7 +20,7 @@ diff --git a/view/announcement/winTheBiddingDetail.html b/view/announcement/winTheBiddingDetail.html index 7864f6b..ae87f10 100644 --- a/view/announcement/winTheBiddingDetail.html +++ b/view/announcement/winTheBiddingDetail.html @@ -20,7 +20,7 @@ diff --git a/view/bidding/biddingBigDataDetail.html b/view/bidding/biddingBigDataDetail.html new file mode 100644 index 0000000..0f63069 --- /dev/null +++ b/view/bidding/biddingBigDataDetail.html @@ -0,0 +1,170 @@ + + + + + + 农燊高科-新闻列表 + + + + + + + + + + +
+ + + +
+
+

线上竞价交易动态

+
+
+
+
+
+
+
+
+
+
+ + +
+
2023.03.20
+
13:44:00
+ +
+
+ +
+
+




+

平度市田庄镇拥有的南京路13-5平度市田庄镇拥有的南京路13-5号106户商铺出租项目

+

终止项目

+
+ +
+

当前项目有效报名人数

+

9

+
+ +
+

已参与出价人数

+

9

+
+
+ +
+
+
+

实时出价记录

+

显示出价人姓名、联系电话

+
+ + + + + + + + + +
状态出价人联系电话出价编号出价(元)出价时间
+
+ + + + + + + + + + + + + + + + + +
进行中张三1531403111100651000916,316,535.002023.05.03
进行中张三1531403111100651000916,316,535.002023.05.03
+
+
+ +
+

服务器时间:2303-03-30 14:17:29

+ +

距结束还有

+ +

+ 0 + 0 + 0天 + 0 + 0时 + 0 + 0分 + 0 + 0秒 +

+ +
+
+

底价

+ +

345,113.00

+
+
+

目前最低出价

+ +

345,113.00

+
+
+ +
+

当前最新出价人编号

+ +

345,113.00

+
+ +

竞价规则

+ + + + + + + + + + + + + + + + + + + + + + + + +
竞价类型:反向在线自由竞价减价幅度:100元
最低限价:3232,33,22.00元出价延时:20秒/次
已延时次数:0次最高限价:3232,33,22.00元
自由竞价期:2023-03-15 14:00:00 — 2023-03-15 15:00:00
+ +
+
+
+ + + + + \ No newline at end of file diff --git a/view/bidding/biddingList.html b/view/bidding/biddingList.html index d86e4e9..3918aa6 100644 --- a/view/bidding/biddingList.html +++ b/view/bidding/biddingList.html @@ -23,7 +23,7 @@ diff --git a/view/demand/demand.html b/view/demand/demand.html index 2efc631..dbaf3b2 100644 --- a/view/demand/demand.html +++ b/view/demand/demand.html @@ -21,7 +21,7 @@ diff --git a/view/demand/demandDetail.html b/view/demand/demandDetail.html index a8bc5e6..d4005a0 100644 --- a/view/demand/demandDetail.html +++ b/view/demand/demandDetail.html @@ -21,7 +21,7 @@ diff --git a/view/interact/interactList.html b/view/interact/interactList.html index b24b25a..c5341c5 100644 --- a/view/interact/interactList.html +++ b/view/interact/interactList.html @@ -21,7 +21,7 @@ diff --git a/view/listingItems/bond.html b/view/listingItems/bond.html index e33cbb6..c255bb1 100644 --- a/view/listingItems/bond.html +++ b/view/listingItems/bond.html @@ -20,7 +20,7 @@ diff --git a/view/listingItems/itemsDetail.html b/view/listingItems/itemsDetail.html index 546ef5f..a0f8dae 100644 --- a/view/listingItems/itemsDetail.html +++ b/view/listingItems/itemsDetail.html @@ -26,7 +26,7 @@ diff --git a/view/listingItems/itemsList.html b/view/listingItems/itemsList.html index 2c5c229..aba4c81 100644 --- a/view/listingItems/itemsList.html +++ b/view/listingItems/itemsList.html @@ -25,7 +25,7 @@ diff --git a/view/listingItems/itemsNeedsDetail.html b/view/listingItems/itemsNeedsDetail.html index 6b85465..326d600 100644 --- a/view/listingItems/itemsNeedsDetail.html +++ b/view/listingItems/itemsNeedsDetail.html @@ -20,7 +20,7 @@ diff --git a/view/new/newDetail.html b/view/new/newDetail.html index 8643b40..fb70289 100644 --- a/view/new/newDetail.html +++ b/view/new/newDetail.html @@ -20,7 +20,7 @@ diff --git a/view/new/newList.html b/view/new/newList.html index 9ee99cb..2f29686 100644 --- a/view/new/newList.html +++ b/view/new/newList.html @@ -21,7 +21,7 @@ diff --git a/view/policy/policy.html b/view/policy/policy.html index 71e6015..4a570d2 100644 --- a/view/policy/policy.html +++ b/view/policy/policy.html @@ -23,7 +23,7 @@ diff --git a/view/policy/policyDetail.html b/view/policy/policyDetail.html index 09fe8da..4b34924 100644 --- a/view/policy/policyDetail.html +++ b/view/policy/policyDetail.html @@ -20,7 +20,7 @@ diff --git a/view/user/user.html b/view/user/user.html index 320f3ad..fcdff06 100644 --- a/view/user/user.html +++ b/view/user/user.html @@ -23,7 +23,7 @@