From 0b44fb850522a4d09ed63a99e6a1b2bae59b9c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Mon, 18 Dec 2023 17:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=A3=E6=88=90=E4=BA=A7=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 363 +++++++++++++++++++++------------ static/css/index.css | 49 +++-- static/images/address_icon.png | Bin 0 -> 357 bytes static/js/project/index.js | 26 ++- 4 files changed, 291 insertions(+), 147 deletions(-) create mode 100644 static/images/address_icon.png diff --git a/index.html b/index.html index d024d3b..dd7fc79 100644 --- a/index.html +++ b/index.html @@ -154,7 +154,7 @@

公示公告

更多 > -
+

成交公告

鉴证公告

招标公告

@@ -209,27 +209,134 @@

交易项目

更多 >
-
-

供应项目

-

需求项目

+
+

供应项目

+

需求项目

+ +
+ +
-
-

- 竞价大厅 -

-

- 更多> -

+
+

竞价大厅

+ 更多 >
-
+
- +
@@ -237,7 +344,7 @@ - +
项目名称 竞价方式竞价开始时间 标的底价 当前报价竞价剩余时间竞价状态 操作
@@ -279,124 +386,124 @@
-
- -
-
-

- 供应项目 -

- - - + + + + + + + + + + + + + + + + + + + + - + - -
-
- -

- - - - - - - - - -
项目名称转出价格转出方报名结束竞价结束
-
- -
-
-
-
-

- 需求项目 -

- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - -
-
- -

- - - - - - - - - -
项目名称需求价格需求方名称需求开始时间需求结束时间电话
-
- -
-
-
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/static/css/index.css b/static/css/index.css index 97b748f..32d01cc 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -229,6 +229,12 @@ } .bannerLeft_tab { position: relative; + background-color: #f1f1f1; + color: #000000; + text-align: center; + font-size: 16px; + font-weight: 400; + margin-top: 10px; } .bannerLeft_tab div{ border-bottom: 1px solid #e3e3e3; @@ -240,8 +246,11 @@ .bannerLeft_tab p{ display: inline-block; font-size: 18px; - padding: 5px 0; - margin-left: 20px; + padding: 15px 0; + width: 20%; + text-align: center; + border-bottom: 3px solid transparent; + transition: all 0.4s ease-in-out; } .bannerLeft_tab span{ margin-top: 10px; @@ -255,6 +264,7 @@ color: var(--color); cursor: pointer; border-bottom: 3px solid var(--color); + transition: all 0.4s ease-in-out; } .bannerLeft_tab p.active{ @@ -262,8 +272,16 @@ border-bottom: 3px solid var(--color); } -.bannerLeft_tab p:first-child{ - margin-left: 0px; +.bannerLeft_tab tr td { + width: 8%; +} + +.bannerLeft_tab tr td:first-child { + width: 16%; +} + +.bannerLeft_tab tr td:last-child { + width: 8%; } .bannerLeft-top ul li { @@ -465,9 +483,10 @@ .centerLeft-center-middle { position: relative; - width: 252px; + width: 275px; border: 1px solid #e3e3e3; display: inline-block; + margin-top: 20px; } .centerLeft-center-middle div { @@ -513,6 +532,11 @@ .centerLeft-center-middle-ul li:first-child p { font-size: 14px; color: #d21313; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; + word-break: break-all; + overflow: hidden; } .centerLeft-center-middle-ul li:first-child p i{ @@ -535,14 +559,12 @@ } .centerLeft-center-bottom p:first-child { - background: var(--icon) 0px no-repeat; + background: url('../images/address_icon.png') 0px no-repeat; padding-left: 16px; width: 66%; - border-right: 1px solid #e3e3e3; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; - float: left; } .centerLeft-center-bottom p:nth-child(2) { width: 30%; @@ -985,7 +1007,6 @@ select { } .tableType { - background-color: #e4e4e4; padding: 10px 25px; text-align: right; } @@ -1226,7 +1247,6 @@ label input[type="radio"]:checked+span { } .tableHead { - background-color: #e4e4e4; color: #000000; text-align: center; font-size: 16px; @@ -1306,8 +1326,9 @@ label input[type="radio"]:checked+span { } .bidding input[type='button'] { - border: 1px solid #a6a6a6; - border-radius: 20px; + background: #cadbf1; + color: #1269d3; + border: none; padding: 4px 10px; } @@ -1482,3 +1503,7 @@ label input[type="radio"]:checked+span { .bannerLeft_tt_jyxm{ background: url("../images/index_center_left_icon_03.png") no-repeat left center!important; } + +.bannerLeft_tt_jjdt{ + background: url("../images/index_center_left_icon_02.png") no-repeat left center!important; +} diff --git a/static/images/address_icon.png b/static/images/address_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..71f0c5090d6e2eac7e83911979815416b62d1483 GIT binary patch literal 357 zcmV-r0h<1aP)0003jNklE-6Pde86tzUQfP-iD6yrJRN^g3q|aU+kxm6ly~S{rM@l zzzj}9QHbUzoYw(@x^RNN6#9jhBov-s$G;r>2gLw=!C=zZL?`y}72lKIN6Z#6o|sqo zff`D9LSr2IEoO$pOYI4C7`Il6^#@F1BgwQD;`B^m)z>&nyeg)X`aVFriP4QU^q?2b zn8I9=sTAU>tBE;}{}{klTu7!{Y-h)9!h`n}?o`X}^oY@Skd?UAm*WN<;b$G-0OhPm zp`cYP<-FgRNR2!cw20;SeT=buAp8+;X#qFbdDX--Hk&m5z6_1z00000NkvXXu0mjf D!Jw&A literal 0 HcmV?d00001 diff --git a/static/js/project/index.js b/static/js/project/index.js index d3d4e50..3ad7b45 100644 --- a/static/js/project/index.js +++ b/static/js/project/index.js @@ -123,10 +123,10 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa //tools.doGet(websiteNew + '/2/0/6', {}, module.NewsInformation , true); //政策法规 - tools.doGet(websiteNew + '/3/0/6', {}, module.policiesRegulations , true); + //tools.doGet(websiteNew + '/3/0/6', {}, module.policiesRegulations , true); //交易规则 - tools.doGet(websiteNew + '/4/0/6', {}, module.tradingRules , true); + //tools.doGet(websiteNew + '/4/0/6', {}, module.tradingRules , true); //资料下载 //tools.doGet(websiteNew + '/5/0/6', {}, module.dataDownload, true); @@ -135,7 +135,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa // tools.doGet(webDept, {deptId:''}, module.deptLocation , true); //标的物类型 - tools.doGet(webDeptType+"/project_type", {}, module.deptType, true); + //tools.doGet(webDeptType+"/project_type", {}, module.deptType, true); //标的物类型下拉菜单 // tools.doGet(webDeptType+"/project_type", {}, module.deptTypeSelect, true); @@ -147,10 +147,10 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); //供应项目 - tools.doGet(itemsList, {projectNumber:'',pageSize:'5',pageNum:'1'}, module.itemList, true); + tools.doGet(itemsList, {projectNumber:'',pageSize:'4',pageNum:'1'}, module.itemList, true); //需求项目 - tools.doGet(needProjectList, {projectNumber:'',pageSize:'5',pageNum:'1'}, module.itemLists, true); + tools.doGet(needProjectList, {projectNumber:'',pageSize:'4',pageNum:'1'}, module.itemLists, true); //农业生产设备 // tools.doGet(webListing + '/9/0/5', {}, module.productionEquipment, true); @@ -439,7 +439,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa //console.log(data) module.data.serverApi = serverApi; var content = data.rows; - for (let i = 0 ; i < 5 ; i++){ + for (let i = 0 ; i < 4 ; i++){ if (content[i]==undefined){ module.data.landListList.push({ projectShowStatus:'', @@ -467,7 +467,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa module.data.serverApi = serverApi; var content = data.rows; - for (let i = 0 ; i < 5 ; i++){ + for (let i = 0 ; i < 4 ; i++){ //console.log(content[i]) if (content[i]==undefined){ @@ -792,6 +792,18 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa document.getElementById(type+'Btn').className = 'active'; } + //切换 + tabClickGYXQ = function (type) { + + document.getElementById('landListContent').style.display = 'none'; + document.getElementById('collectiveAssetsContent').style.display = 'none'; + document.getElementById('landListBtn').className = ''; + document.getElementById('collectiveAssetsBtn').className = ''; + + document.getElementById(type+'Content').style.display = 'block'; + document.getElementById(type+'Btn').className = 'active'; + } + goDetail = function (id) { if (!id)return; tools.skip('view/listingItems/itemsDetail.html?id='+id);