Quellcode durchsuchen

荣成产交

RongCheng
庞东旭 vor 1 Jahr
Ursprung
Commit
0b44fb8505
4 geänderte Dateien mit 291 neuen und 147 gelöschten Zeilen
  1. +235
    -128
      index.html
  2. +37
    -12
      static/css/index.css
  3. BIN
      static/images/address_icon.png
  4. +19
    -7
      static/js/project/index.js

+ 235
- 128
index.html Datei anzeigen

@@ -154,7 +154,7 @@
<p>公示公告</p> <p>公示公告</p>
<a href="view/announcement/announcement.html"><span>更多 ></span></a> <a href="view/announcement/announcement.html"><span>更多 ></span></a>
</div> </div>
<div class="bannerLeft_tab tableHead" style="text-align: left;padding-left: 15px;">
<div class="bannerLeft_tab" style="text-align: left;">
<p class="active" id="cjggBtn" onclick="tabClick('cjgg')">成交公告</p> <p class="active" id="cjggBtn" onclick="tabClick('cjgg')">成交公告</p>
<p id="jzggBtn" onclick="tabClick('jzgg')">鉴证公告</p> <p id="jzggBtn" onclick="tabClick('jzgg')">鉴证公告</p>
<p id="zbggBtn" onclick="tabClick('zbgg')">招标公告</p> <p id="zbggBtn" onclick="tabClick('zbgg')">招标公告</p>
@@ -209,27 +209,134 @@
<p class="bannerLeft_tt_jyxm">交易项目</p> <p class="bannerLeft_tt_jyxm">交易项目</p>
<a href="view/announcement/announcement.html"><span>更多 ></span></a> <a href="view/announcement/announcement.html"><span>更多 ></span></a>
</div> </div>
<div class="bannerLeft_tab tableHead" style="text-align: left;padding-left: 15px;">
<p class="active" id="gyxmBtn" onclick="tabClick('gyxm')">供应项目</p>
<p id="xqxmBtn" onclick="tabClick('xqxm')">需求项目</p>
<div class="bannerLeft_tab" style="text-align: left;">
<p class="active" id="landListBtn" onclick="tabClickGYXQ('landList')">供应项目</p>
<p id="collectiveAssetsBtn" onclick="tabClickGYXQ('collectiveAssets')">需求项目</p>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<script id="landListData" type="text/html">
{{each landListList as value i}}
<div class="centerLeft-center-middle" onclick="goDetail({{value.id}})" style="cursor: pointer;">
<!-- 项目<br />公示-->
{{if value.projectShowStatus == '已经成交'}}
<p class="centerLeft-center-lable" style="background: #d7d7d7;color: #626262">
{{/if}}
{{if value.projectShowStatus == '项目公示'}}
<p class="centerLeft-center-lable" style="background: #007b76">
{{/if}}
{{if value.projectShowStatus == '正在报名'}}
<p class="centerLeft-center-lable" style="background: #e8041f">
{{/if}}
{{if value.projectShowStatus == '等待竞价' || value.projectShowStatus == '等待成交'}}
<p class="centerLeft-center-lable" style="background: #e7851c">
{{/if}}
{{if value.projectShowStatus == '正在竞价'}}
<p class="centerLeft-center-lable" style="background: #1c58bb">
{{/if}}
{{# value.projectShowStatus.slice(0,2)+'<br/>'+value.projectShowStatus.slice(2)}}
</p>
{{if value.fileUrl == null}}
<img src="/static/images/zwtp.jpg" alt="" width="100%" height="152px"/>
{{else}}
<img src="{{serverApi}}{{value.fileUrl}}" alt="" width="100%" height="152px"/>
{{/if}}
<div>
<p class="centerLeft-center-middle-tit01">
<span>{{# value.rollout}}</span>{{# value.projectName}}
</p>
<ul class="centerLeft-center-middle-ul">
<li>
<p>
<span>挂牌价格</span>
<i>{{# value.price}}</i>{{# value.unit}}
</p>
</li>
<li>
<p>
<span>转<i></i>出<i></i>方</span>
{{# value.outName}}
</p>
</li>
<li>
<p>
<span>报名结束</span>
{{# value.signupStopTime}}
</p>
</li>
<li>
<p>
<span>竞价结束</span>
{{# value.biddingStopTime}}
</p>
</li>
</ul>
</div>
<div class="centerLeft-center-bottom container">
<p>{{# value.locationName}}</p>
</div>
</div>
{{/each}}
</script>
<div class="container" id="landListContent"></div>
<script id="collectiveAssetsData" type="text/html">
{{each collectiveAssetsList as value i}}
<div class="centerLeft-center-middle" onclick="goDetail({{value.id}})" style="cursor: pointer;">
<!-- 项目<br />公示-->
{{if value.fileUrl == null}}
<img src="/static/images/zwtp.jpg" alt="" width="100%" height="152px"/>
{{else}}
<img src="{{serverApi}}{{value.fileUrl}}" alt="" width="100%" height="152px"/>
{{/if}}
<div>
<p class="centerLeft-center-middle-tit01">
{{# value.projectName}}
</p>
<ul class="centerLeft-center-middle-ul">
<li>
<p>
<span>需求描述</span>
{{# value.price}}
</p>
</li>
<li>
<p>
<span>需<i></i>求<i></i>方</span>
{{# value.needname}}
</p>
</li>
<li>
<p>
<span>开始时间</span>
{{# value.needStartTime}}
</p>
</li>
<li>
<p>
<span>结束时间</span>
{{# value.needStopTime}}
</p>
</li>
</ul>
</div>
<div class="centerLeft-center-bottom container">
<p>{{# value.phone}}</p>
</div>
</div>
{{/each}}
</script>
<div class="container" style="display: none" id="collectiveAssetsContent"></div>
</div> </div>


<!--竞价大厅 --> <!--竞价大厅 -->
<div class="m-t-40 bidding"> <div class="m-t-40 bidding">
<div class="biddingTit container">
<p class="biddingTit-tit01">
<span>竞价</span>大厅
</p>
<p class="biddingTit-tit02" onclick="goBidding()">
更多>
</p>
<div class="bannerLeft_tt">
<p class="bannerLeft_tt_jjdt">竞价大厅</p>
<a href="view/bidding/biddingList.html"><span>更多 ></span></a>
</div> </div>
<div class="m-t-25">
<div class="m-t-15">
<img src="static/images/hf_01.png" width="100%"/> <img src="static/images/hf_01.png" width="100%"/>
</div> </div>
<table width="100%" class="tableHead" style="table-layout: fixed;" >
<table width="100%" class="tableHead" style="table-layout: fixed;width: 1178px;" >
<tr> <tr>
<td style="text-align: left;padding-left: 2%;">项目名称</td> <td style="text-align: left;padding-left: 2%;">项目名称</td>
<td>竞价方式</td> <td>竞价方式</td>
@@ -237,7 +344,7 @@
<td>竞价开始时间</td> <td>竞价开始时间</td>
<td>标的底价</td> <td>标的底价</td>
<td>当前报价</td> <td>当前报价</td>
<td>竞价剩余时间</td>
<td>竞价状态</td>
<td>操作</td> <td>操作</td>
</tr> </tr>
</table> </table>
@@ -279,124 +386,124 @@
</div> </div>


<!--内容 --> <!--内容 -->
<div class="m-t-35 center">
<!--交易项目 -->
<div class="centerLeft">
<div class="centerLeft-top container">
<p class="centerLeft-top-tit01">
<span>供应</span>项目
</p>
<!-- <script id="allViewCountData" type="text/html">-->
<!-- {{each allViewCountList as value i}}-->
<!-- <span>{{# value}}</span>-->
<!-- <div class="m-t-35 center">-->
<!-- &lt;!&ndash;交易项目 &ndash;&gt;-->
<!-- <div class="centerLeft">-->
<!-- <div class="centerLeft-top container">-->
<!-- <p class="centerLeft-top-tit01">-->
<!-- <span>供应</span>项目-->
<!-- </p>-->
<!--&lt;!&ndash; <script id="allViewCountData" type="text/html">&ndash;&gt;-->
<!--&lt;!&ndash; {{each allViewCountList as value i}}&ndash;&gt;-->
<!--&lt;!&ndash; <span>{{# value}}</span>&ndash;&gt;-->
<!--&lt;!&ndash; {{/each}}&ndash;&gt;-->
<!--&lt;!&ndash; 次围观&ndash;&gt;-->
<!--&lt;!&ndash; </script>&ndash;&gt;-->
<!--&lt;!&ndash; <p class="centerLeft-top-tit02" id="allViewCount"></p>&ndash;&gt;-->
<!-- </div>-->
<!-- <div class="centerLeft-center">-->
<!-- <script id="deptTypeData" type="text/html">-->
<!-- <span class="m-r-20 active" id="tab0" onclick="goListingChange(0)">全部</span>-->
<!-- {{each deptTypeList as value i}}-->
<!-- <span class="m-r-20" id="tab{{value.dictValue}}" onclick="goListingChange({{value.dictValue}})">{{# value.dictLabel}}</span>-->
<!-- {{/each}}--> <!-- {{/each}}-->
<!-- 次围观-->
<!-- <span onclick="goListing()">更多></span>-->
<!-- </script>--> <!-- </script>-->
<!-- <p class="centerLeft-top-tit02" id="allViewCount"></p>-->
</div>
<div class="centerLeft-center">
<script id="deptTypeData" type="text/html">
<span class="m-r-20 active" id="tab0" onclick="goListingChange(0)">全部</span>
{{each deptTypeList as value i}}
<span class="m-r-20" id="tab{{value.dictValue}}" onclick="goListingChange({{value.dictValue}})">{{# value.dictLabel}}</span>
{{/each}}
<span onclick="goListing()">更多></span>
</script>
<p class="centerleft-center-tit01" id="deptTypeContent"></p>
<table width="100%" class="tableHead" style="table-layout: fixed;background: #d7f0d2;" >
<tr>
<td>项目名称</td>
<td>转出价格</td>
<td>转出方</td>
<td>报名结束</td>
<td>竞价结束</td>
<!-- <td>地址</td>-->
</tr>
</table>
<div class="tableList">
<script id="landListData" type="text/html">
{{each landListList as value i}}
<tr onclick="goDetail({{value.id}})">
<td title="{{value.projectName}}" style="text-align: left;">
{{if value.projectShowStatus == '已经成交'}}
<span style="background: #d7d7d7;color: #626262">
{{/if}}
{{if value.projectShowStatus == '项目公示'}}
<span style="background: #007b76;color: #ffffff">
{{/if}}
{{if value.projectShowStatus == '正在报名'}}
<span style="background: #e8041f;color: #ffffff">
{{/if}}
{{if value.projectShowStatus == '等待竞价' || value.projectShowStatus == '等待成交'}}
<span style="background: #e7851c;color: #ffffff">
{{/if}}
{{if value.projectShowStatus == '正在竞价'}}
<span style="background: #1c58bb;color: #ffffff">
{{/if}}
{{# value.projectShowStatus}}
</span>
{{# value.projectName}}
</td>
<td>{{# value.price}}{{# value.unit}}</td>
<td style="text-align: left;">{{# value.outName}}</td>
<td>{{# value.signupStopTime}}</td>
<td>{{# value.biddingStopTime}}</td>
<!-- <td style="text-align: left;">{{# value.locationName}}</td>-->
</tr>
{{/each}}
</script>
<table width="100%;" cellspacing="0" cellpadding="0" style="table-layout: fixed;" id="landListContent"></table>
</div>
</div>
<div class="centerLeft-top container m-t-35">
<p class="centerLeft-top-tit01">
<span>需求</span>项目
</p>
<!-- <script id="allViewCountData" type="text/html">-->
<!-- {{each allViewCountList as value i}}-->
<!-- <span>{{# value}}</span>-->
<!-- <p class="centerleft-center-tit01" id="deptTypeContent"></p>-->
<!-- <table width="100%" class="tableHead" style="table-layout: fixed;background: #d7f0d2;" >-->
<!-- <tr>-->
<!-- <td>项目名称</td>-->
<!-- <td>转出价格</td>-->
<!-- <td>转出方</td>-->
<!-- <td>报名结束</td>-->
<!-- <td>竞价结束</td>-->
<!--&lt;!&ndash; <td>地址</td>&ndash;&gt;-->
<!-- </tr>-->
<!-- </table>-->
<!-- <div class="tableList">-->
<!-- <script id="landListData" type="text/html">-->
<!-- {{each landListList as value i}}-->
<!-- <tr onclick="goDetail({{value.id}})">-->
<!-- <td title="{{value.projectName}}" style="text-align: left;">-->
<!-- {{if value.projectShowStatus == '已经成交'}}-->
<!-- <span style="background: #d7d7d7;color: #626262">-->
<!-- {{/if}}-->
<!-- {{if value.projectShowStatus == '项目公示'}}-->
<!-- <span style="background: #007b76;color: #ffffff">-->
<!-- {{/if}}-->
<!-- {{if value.projectShowStatus == '正在报名'}}-->
<!-- <span style="background: #e8041f;color: #ffffff">-->
<!-- {{/if}}-->
<!-- {{if value.projectShowStatus == '等待竞价' || value.projectShowStatus == '等待成交'}}-->
<!-- <span style="background: #e7851c;color: #ffffff">-->
<!-- {{/if}}-->
<!-- {{if value.projectShowStatus == '正在竞价'}}-->
<!-- <span style="background: #1c58bb;color: #ffffff">-->
<!-- {{/if}}-->
<!-- {{# value.projectShowStatus}}-->
<!-- </span>-->
<!-- {{# value.projectName}}-->
<!-- </td>-->
<!-- <td>{{# value.price}}{{# value.unit}}</td>-->
<!-- <td style="text-align: left;">{{# value.outName}}</td>-->
<!-- <td>{{# value.signupStopTime}}</td>-->
<!-- <td>{{# value.biddingStopTime}}</td>-->
<!--&lt;!&ndash; <td style="text-align: left;">{{# value.locationName}}</td>&ndash;&gt;-->
<!-- </tr>-->
<!-- {{/each}}-->
<!-- </script>-->
<!-- <table width="100%;" cellspacing="0" cellpadding="0" style="table-layout: fixed;" id="landListContent"></table>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="centerLeft-top container m-t-35">-->
<!-- <p class="centerLeft-top-tit01">-->
<!-- <span>需求</span>项目-->
<!-- </p>-->
<!--&lt;!&ndash; <script id="allViewCountData" type="text/html">&ndash;&gt;-->
<!--&lt;!&ndash; {{each allViewCountList as value i}}&ndash;&gt;-->
<!--&lt;!&ndash; <span>{{# value}}</span>&ndash;&gt;-->
<!--&lt;!&ndash; {{/each}}&ndash;&gt;-->
<!--&lt;!&ndash; 次围观&ndash;&gt;-->
<!--&lt;!&ndash; </script>&ndash;&gt;-->
<!--&lt;!&ndash; <p class="centerLeft-top-tit02" id="allViewCount"></p>&ndash;&gt;-->
<!-- </div>-->
<!-- <div class="centerLeft-center">-->
<!-- <script id="deptTypeData1" type="text/html">-->
<!-- <span class="m-r-20 active" id="tabs0" onclick="goListingChanges(0)">全部</span>-->
<!-- {{each deptTypeList1 as value i}}-->
<!-- <span class="m-r-20" id="tabs{{value.dictValue}}" onclick="goListingChanges({{value.dictValue}})">{{# value.dictLabel}}</span>-->
<!-- {{/each}}--> <!-- {{/each}}-->
<!-- 次围观-->
<!-- <span onclick="goListing('collectiveAssets')">更多></span>-->
<!-- </script>--> <!-- </script>-->
<!-- <p class="centerLeft-top-tit02" id="allViewCount"></p>-->
</div>
<div class="centerLeft-center">
<script id="deptTypeData1" type="text/html">
<span class="m-r-20 active" id="tabs0" onclick="goListingChanges(0)">全部</span>
{{each deptTypeList1 as value i}}
<span class="m-r-20" id="tabs{{value.dictValue}}" onclick="goListingChanges({{value.dictValue}})">{{# value.dictLabel}}</span>
{{/each}}
<span onclick="goListing('collectiveAssets')">更多></span>
</script>
<p class="centerleft-center-tit01" id="deptTypeContent1"></p>
<table width="100%" class="tableHead" style="table-layout: fixed;background: #c9e0fd;" >
<tr>
<td>项目名称</td>
<td>需求价格</td>
<td>需求方名称</td>
<td>需求开始时间</td>
<td>需求结束时间</td>
<td>电话</td>
</tr>
</table>
<div class="tableList">
<script id="collectiveAssetsData" type="text/html">
{{each collectiveAssetsList as value i}}
<tr onclick="goDetail({{value.id}})">
<td title="{{value.projectName}}">{{# value.projectName}}</td>
<td>{{# value.price}}</td>
<td>{{# value.needname}}</td>
<td>{{# value.needStartTime}}</td>
<td>{{# value.needStopTime}}</td>
<td>{{# value.phone}}</td>
</tr>
{{/each}}
</script>
<table width="100%;" cellspacing="0" cellpadding="0" style="table-layout: fixed;" id="collectiveAssetsContent"></table>
</div>
</div>
</div>
</div>
<!-- <p class="centerleft-center-tit01" id="deptTypeContent1"></p>-->
<!-- <table width="100%" class="tableHead" style="table-layout: fixed;background: #c9e0fd;" >-->
<!-- <tr>-->
<!-- <td>项目名称</td>-->
<!-- <td>需求价格</td>-->
<!-- <td>需求方名称</td>-->
<!-- <td>需求开始时间</td>-->
<!-- <td>需求结束时间</td>-->
<!-- <td>电话</td>-->
<!-- </tr>-->
<!-- </table>-->
<!-- <div class="tableList">-->
<!-- <script id="collectiveAssetsData" type="text/html">-->
<!-- {{each collectiveAssetsList as value i}}-->
<!-- <tr onclick="goDetail({{value.id}})">-->
<!-- <td title="{{value.projectName}}">{{# value.projectName}}</td>-->
<!-- <td>{{# value.price}}</td>-->
<!-- <td>{{# value.needname}}</td>-->
<!-- <td>{{# value.needStartTime}}</td>-->
<!-- <td>{{# value.needStopTime}}</td>-->
<!-- <td>{{# value.phone}}</td>-->
<!-- </tr>-->
<!-- {{/each}}-->
<!-- </script>-->
<!-- <table width="100%;" cellspacing="0" cellpadding="0" style="table-layout: fixed;" id="collectiveAssetsContent"></table>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->


</div> </div>




+ 37
- 12
static/css/index.css Datei anzeigen

@@ -229,6 +229,12 @@
} }
.bannerLeft_tab { .bannerLeft_tab {
position: relative; position: relative;
background-color: #f1f1f1;
color: #000000;
text-align: center;
font-size: 16px;
font-weight: 400;
margin-top: 10px;
} }
.bannerLeft_tab div{ .bannerLeft_tab div{
border-bottom: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3;
@@ -240,8 +246,11 @@
.bannerLeft_tab p{ .bannerLeft_tab p{
display: inline-block; display: inline-block;
font-size: 18px; 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{ .bannerLeft_tab span{
margin-top: 10px; margin-top: 10px;
@@ -255,6 +264,7 @@
color: var(--color); color: var(--color);
cursor: pointer; cursor: pointer;
border-bottom: 3px solid var(--color); border-bottom: 3px solid var(--color);
transition: all 0.4s ease-in-out;
} }


.bannerLeft_tab p.active{ .bannerLeft_tab p.active{
@@ -262,8 +272,16 @@
border-bottom: 3px solid var(--color); 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 { .bannerLeft-top ul li {
@@ -465,9 +483,10 @@


.centerLeft-center-middle { .centerLeft-center-middle {
position: relative; position: relative;
width: 252px;
width: 275px;
border: 1px solid #e3e3e3; border: 1px solid #e3e3e3;
display: inline-block; display: inline-block;
margin-top: 20px;
} }


.centerLeft-center-middle div { .centerLeft-center-middle div {
@@ -513,6 +532,11 @@
.centerLeft-center-middle-ul li:first-child p { .centerLeft-center-middle-ul li:first-child p {
font-size: 14px; font-size: 14px;
color: #d21313; 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{ .centerLeft-center-middle-ul li:first-child p i{
@@ -535,14 +559,12 @@
} }


.centerLeft-center-bottom p:first-child { .centerLeft-center-bottom p:first-child {
background: var(--icon) 0px no-repeat;
background: url('../images/address_icon.png') 0px no-repeat;
padding-left: 16px; padding-left: 16px;
width: 66%; width: 66%;
border-right: 1px solid #e3e3e3;
white-space:nowrap; white-space:nowrap;
text-overflow:ellipsis; text-overflow:ellipsis;
overflow:hidden; overflow:hidden;
float: left;
} }
.centerLeft-center-bottom p:nth-child(2) { .centerLeft-center-bottom p:nth-child(2) {
width: 30%; width: 30%;
@@ -985,7 +1007,6 @@ select {
} }


.tableType { .tableType {
background-color: #e4e4e4;
padding: 10px 25px; padding: 10px 25px;
text-align: right; text-align: right;
} }
@@ -1226,7 +1247,6 @@ label input[type="radio"]:checked+span {
} }


.tableHead { .tableHead {
background-color: #e4e4e4;
color: #000000; color: #000000;
text-align: center; text-align: center;
font-size: 16px; font-size: 16px;
@@ -1306,8 +1326,9 @@ label input[type="radio"]:checked+span {
} }


.bidding input[type='button'] { .bidding input[type='button'] {
border: 1px solid #a6a6a6;
border-radius: 20px;
background: #cadbf1;
color: #1269d3;
border: none;
padding: 4px 10px; padding: 4px 10px;
} }


@@ -1482,3 +1503,7 @@ label input[type="radio"]:checked+span {
.bannerLeft_tt_jyxm{ .bannerLeft_tt_jyxm{
background: url("../images/index_center_left_icon_03.png") no-repeat left center!important; 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;
}

BIN
static/images/address_icon.png Datei anzeigen

Vorher Nachher
Breite: 13  |  Höhe: 16  |  Größe: 357 B

+ 19
- 7
static/js/project/index.js Datei anzeigen

@@ -123,10 +123,10 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
//tools.doGet(websiteNew + '/2/0/6', {}, module.NewsInformation , true); //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); //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(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); // 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(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); // tools.doGet(webListing + '/9/0/5', {}, module.productionEquipment, true);
@@ -439,7 +439,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
//console.log(data) //console.log(data)
module.data.serverApi = serverApi; module.data.serverApi = serverApi;
var content = data.rows; var content = data.rows;
for (let i = 0 ; i < 5 ; i++){
for (let i = 0 ; i < 4 ; i++){
if (content[i]==undefined){ if (content[i]==undefined){
module.data.landListList.push({ module.data.landListList.push({
projectShowStatus:'', projectShowStatus:'',
@@ -467,7 +467,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
module.data.serverApi = serverApi; module.data.serverApi = serverApi;
var content = data.rows; var content = data.rows;


for (let i = 0 ; i < 5 ; i++){
for (let i = 0 ; i < 4 ; i++){


//console.log(content[i]) //console.log(content[i])
if (content[i]==undefined){ if (content[i]==undefined){
@@ -792,6 +792,18 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa
document.getElementById(type+'Btn').className = 'active'; 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) { goDetail = function (id) {
if (!id)return; if (!id)return;
tools.skip('view/listingItems/itemsDetail.html?id='+id); tools.skip('view/listingItems/itemsDetail.html?id='+id);


Laden…
Abbrechen
Speichern