| @@ -276,27 +276,34 @@ | |||
| <span onclick="goListing()">更多></span> | |||
| </p> | |||
| <script id="collectiveAssetsData" type="text/html"> | |||
| {{if collectiveAssetsList}} | |||
| {{each collectiveAssetsList as value i}} | |||
| <div class="centerLeft-center-middle" onclick="goDetail({{value.id}})"> | |||
| <!-- 项目<br />公示--> | |||
| {if value.projectShowStatus == '已经成交'}} | |||
| {{if value.projectShowStatus == '已经成交'}} | |||
| <p class="centerLeft-center-lable" style="background: #d7d7d7;color: #626262"> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '项目公示'}} | |||
| {{# value.projectShowStatus.slice(0,2)+'<br/>'+value.projectShowStatus.slice(2)}} | |||
| </p> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '项目公示'}} | |||
| <p class="centerLeft-center-lable" style="background: #007b76"> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '正在报名'}} | |||
| {{# value.projectShowStatus.slice(0,2)+'<br/>'+value.projectShowStatus.slice(2)}} | |||
| </p> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '正在报名'}} | |||
| <p class="centerLeft-center-lable" style="background: #e8041f"> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '等待竞价' || value.projectShowStatus == '等待成交'}} | |||
| {{# value.projectShowStatus.slice(0,2)+'<br/>'+value.projectShowStatus.slice(2)}} | |||
| </p> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '等待竞价' || value.projectShowStatus == '等待成交'}} | |||
| <p class="centerLeft-center-lable" style="background: #e7851c"> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '正在竞价'}} | |||
| {{# value.projectShowStatus.slice(0,2)+'<br/>'+value.projectShowStatus.slice(2)}} | |||
| </p> | |||
| {{/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}} | |||
| <img src="{{serverApi}}{{# value.fileUrl}}" alt="" width="100%" height="152px" /> | |||
| <div> | |||
| <p class="centerLeft-center-middle-tit01"> | |||
| @@ -335,7 +342,6 @@ | |||
| </div> | |||
| </div> | |||
| {{/each}} | |||
| {{/if}} | |||
| </script> | |||
| <div class="container" id="collectiveAssetsContent"></div> | |||
| </div> | |||
| @@ -348,7 +354,7 @@ | |||
| {{each productionEquipmentList as value i}} | |||
| <div class="centerLeft-center-middle" onclick="goDetail({{value.id}})"> | |||
| <!-- 项目<br />公示--> | |||
| {if value.projectShowStatus == '已经成交'}} | |||
| {{if value.projectShowStatus == '已经成交'}} | |||
| <p class="centerLeft-center-lable" style="background: #d7d7d7;color: #626262"> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '项目公示'}} | |||
| @@ -415,7 +421,7 @@ | |||
| {{each waterConservancyFacilitiesList as value i}} | |||
| <div class="centerLeft-center-middle" onclick="goDetail({{value.id}})"> | |||
| <!-- 项目<br />公示--> | |||
| {if value.projectShowStatus == '已经成交'}} | |||
| {{if value.projectShowStatus == '已经成交'}} | |||
| <p class="centerLeft-center-lable" style="background: #d7d7d7;color: #626262"> | |||
| {{/if}} | |||
| {{if value.projectShowStatus == '项目公示'}} | |||
| @@ -755,8 +761,8 @@ | |||
| <script id="communicateData" type="text/html"> | |||
| {{each communicateList as value i}} | |||
| <tr> | |||
| <td width="600">{{i+1}}. {{value.content}}</td> | |||
| <td>已回复</td> | |||
| <td width="650">{{i+1}}. {{value.content}}</td> | |||
| <td width="70">已回复</td> | |||
| <td>{{value.replyTime}}</td> | |||
| </tr> | |||
| {{/each}} | |||
| @@ -789,7 +789,7 @@ select { | |||
| } | |||
| .notStart-row { | |||
| color: var(--color); | |||
| color: #007b76; | |||
| } | |||
| .tableType { | |||
| @@ -811,7 +811,7 @@ select { | |||
| } | |||
| .tableType p:nth-child(1) { | |||
| color: var(--color); | |||
| color: #007b76; | |||
| } | |||
| .tableType p:nth-child(2) { | |||
| @@ -823,7 +823,7 @@ select { | |||
| } | |||
| .tableType p:nth-child(1) i { | |||
| background-color: var(--color); | |||
| background-color: #007b76; | |||
| } | |||
| .tableType p:nth-child(2) i { | |||
| @@ -440,6 +440,7 @@ define(['jquery', 'dialog'], function ($, dialog) { | |||
| if (data.code == 200) { | |||
| var content = data.data; | |||
| console.log(content) | |||
| content[13].configValue = 'red' | |||
| if (content[13].configValue == 'red'){ | |||
| themeColor = 'red'; | |||
| document.documentElement.style.setProperty('--color', '#e8041f'); | |||
| @@ -40,6 +40,7 @@ define(['jquery', "template", "Tools", "announApi", "paging"], function ($, temp | |||
| } | |||
| } | |||
| module.announDetail = function(data){ | |||
| console.log(data) | |||
| module.data.jyqzNumOne = data.rows[0].jyqzNumOne | |||
| module.data.jyqzNumTwo = data.rows[0].jyqzNumTwo | |||
| tools.doGet(announDetail+'/'+data.rows[0].publicityId, {}, module.announInformation,true); | |||
| @@ -96,8 +96,20 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT | |||
| console.log(res) | |||
| } | |||
| }) | |||
| }; | |||
| setTimeout(function(){ | |||
| //主题图片切换 | |||
| module.switchTheme(); | |||
| },500) | |||
| }; | |||
| //主题图片切换 | |||
| module.switchTheme = function(){ | |||
| if(themeColor == 'red'){ | |||
| document.getElementById('bannerBottom').src = '../../static/images/bannerBottom_red.jpg' | |||
| }else if(themeColor == 'green'){ | |||
| document.getElementById('bannerBottom').src = '../../static/images/bannerBottom.jpg' | |||
| } | |||
| } | |||
| //挂牌项目列表 | |||
| module.biddingList = function (data) { | |||
| if (data.code == 200) { | |||
| @@ -16,7 +16,9 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te | |||
| //每页数量 | |||
| pageSize: 5, | |||
| //总页数 | |||
| pageCount:0 | |||
| pageCount:0, | |||
| questionsUrl:'', | |||
| answerUrl:'' | |||
| }, | |||
| }; | |||
| var tools = new Tools(); | |||
| @@ -29,12 +31,27 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te | |||
| goSearch() | |||
| } | |||
| //互动交流 | |||
| tools.doGet(interactList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize,reply:'notnull'}, module.interactInformation,true); | |||
| //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) | |||
| tools.getWebConfig(); | |||
| setTimeout(function(){ | |||
| //主题图片切换 | |||
| module.switchTheme(); | |||
| //互动交流 | |||
| tools.doGet(interactList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize,reply:'notnull'}, module.interactInformation,true); | |||
| },500) | |||
| }; | |||
| //主题图片切换 | |||
| module.switchTheme = function(){ | |||
| if(themeColor == 'red'){ | |||
| module.data.questionsUrl='../../static/images/questions_red.png'; | |||
| module.data.answerUrl='../../static/images/answer_red.png'; | |||
| }else if(themeColor == 'green'){ | |||
| module.data.questionsUrl='../../static/images/questions.png'; | |||
| module.data.answerUrl='../../static/images/answer.png'; | |||
| } | |||
| } | |||
| //获取地址栏参数 | |||
| function getQueryVariable(variable){ | |||
| var query = window.location.search.substring(1); | |||
| @@ -22,7 +22,9 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"], | |||
| //用户资料form | |||
| form:{ | |||
| } | |||
| }, | |||
| modifyUrl:'', | |||
| detailUrl:'' | |||
| }, | |||
| }; | |||
| var tools = new Tools(); | |||
| @@ -48,8 +50,23 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"], | |||
| var type = tools.getParam('type'); | |||
| module.getType(type); | |||
| setTimeout(function(){ | |||
| //主题图片切换 | |||
| module.switchTheme(); | |||
| },500) | |||
| }; | |||
| //主题图片切换 | |||
| module.switchTheme = function(){ | |||
| if(themeColor == 'red'){ | |||
| module.data.modifyUrl = '../../static/images/modify_red.png'; | |||
| module.data.detailUrl = '../../static/images/detail_red.png'; | |||
| }else if(themeColor == 'green'){ | |||
| module.data.modifyUrl = '../../static/images/modify.png'; | |||
| module.data.detailUrl = '../../static/images/detail.png'; | |||
| } | |||
| } | |||
| //底部友情链接 | |||
| module.bottomFriendsLinks = function (data) { | |||
| if (data.code == 200) { | |||
| @@ -742,28 +759,44 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor"], | |||
| document.getElementById('icon1').src = '../../static/images/user_index_icon1.png' | |||
| } | |||
| document.getElementById('icon-list1').onmouseover = function(){ | |||
| document.getElementById('icon1').src = '../../static/images/user_index_icon5.png' | |||
| if(themeColor == 'red'){ | |||
| document.getElementById('icon1').src = '../../static/images/user_index_icon5_red.png' | |||
| }else if(themeColor == 'green'){ | |||
| document.getElementById('icon1').src = '../../static/images/user_index_icon5.png' | |||
| } | |||
| } | |||
| document.getElementById('icon-list2').onmouseout = function(){ | |||
| document.getElementById('icon2').src = '../../static/images/user_index_icon2.png' | |||
| } | |||
| document.getElementById('icon-list2').onmouseover = function(){ | |||
| document.getElementById('icon2').src = '../../static/images/user_index_icon6.png' | |||
| if(themeColor == 'red'){ | |||
| document.getElementById('icon2').src = '../../static/images/user_index_icon6_red.png' | |||
| }else if(themeColor == 'green') { | |||
| document.getElementById('icon2').src = '../../static/images/user_index_icon6.png' | |||
| } | |||
| } | |||
| document.getElementById('icon-list3').onmouseout = function(){ | |||
| document.getElementById('icon3').src = '../../static/images/user_index_icon3.png' | |||
| } | |||
| document.getElementById('icon-list3').onmouseover = function(){ | |||
| document.getElementById('icon3').src = '../../static/images/user_index_icon7.png' | |||
| if(themeColor == 'red'){ | |||
| document.getElementById('icon3').src = '../../static/images/user_index_icon7_red.png' | |||
| }else if(themeColor == 'green') { | |||
| document.getElementById('icon3').src = '../../static/images/user_index_icon7.png' | |||
| } | |||
| } | |||
| document.getElementById('icon-list4').onmouseout = function(){ | |||
| document.getElementById('icon4').src = '../../static/images/user_index_icon4.png' | |||
| } | |||
| document.getElementById('icon-list4').onmouseover = function(){ | |||
| document.getElementById('icon4').src = '../../static/images/user_index_icon8.png' | |||
| if(themeColor == 'red'){ | |||
| document.getElementById('icon4').src = '../../static/images/user_index_icon8_red.png' | |||
| }else if(themeColor == 'green') { | |||
| document.getElementById('icon4').src = '../../static/images/user_index_icon8.png' | |||
| } | |||
| } | |||
| @@ -221,7 +221,7 @@ | |||
| </tr> | |||
| </table> | |||
| </div> | |||
| <img src="../../static/images/bannerBottom.jpg" alt="" class="m-t-30"/> | |||
| <img src="" id="bannerBottom" alt="" class="m-t-30"/> | |||
| <div class="tableType" style="background: none"> | |||
| <p><i></i>未开始</p> | |||
| <p><i></i>进行中</p> | |||
| @@ -142,13 +142,13 @@ | |||
| {{each interactInformationList as value i}} | |||
| <li> | |||
| <div class="m-b-20"> | |||
| <img src="../../static/images/questions.png" alt="" class="fl m-r-20"/> | |||
| <img src="{{questionsUrl}}" alt="" class="fl m-r-20"/> | |||
| <p class="fl">{{i+1}}.{{value.title}}?</p> | |||
| <p class="fr">{{value.logintime}}</p> | |||
| <div class="clear"></div> | |||
| </div> | |||
| <div> | |||
| <img src="../../static/images/answer.png" alt="" class="fl m-r-20"/> | |||
| <img src="{{answerUrl}}" alt="" class="fl m-r-20"/> | |||
| <p class="fl wid80">{{value.reply}}</p> | |||
| <p class="fr">{{value.replyTime}}</p> | |||
| <div class="clear"></div> | |||
| @@ -169,13 +169,13 @@ | |||
| {{each searchInformationList as value i}} | |||
| <li> | |||
| <div class="m-b-20"> | |||
| <img src="../../static/images/questions.png" alt="" class="fl m-r-20"/> | |||
| <img src="{{questionsUrl}}" alt="" class="fl m-r-20"/> | |||
| <p class="fl">{{i+1}}.{{value.title}}?</p> | |||
| <p class="fr">{{value.logintime}}</p> | |||
| <div class="clear"></div> | |||
| </div> | |||
| <div> | |||
| <img src="../../static/images/answer.png" alt="" class="fl m-r-20"/> | |||
| <img src="{{answerUrl}}" alt="" class="fl m-r-20"/> | |||
| <p class="fl wid80">{{value.reply}}</p> | |||
| <p class="fr">{{value.replyTime}}</p> | |||
| <div class="clear"></div> | |||
| @@ -226,7 +226,23 @@ | |||
| {{each itemsInformationList as value i}} | |||
| <div class="centerLeft-center-middle m-t-40"> | |||
| <a href="itemsDetail.html?id={{value.id}}"> | |||
| <p class="centerLeft-center-lable">{{# value.projectShowStatus.slice(0,2)+'<br/>'+value.projectShowStatus.slice(2)}}</p> | |||
| {{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}} | |||
| @@ -356,12 +356,12 @@ | |||
| <td width="130"> | |||
| {{if value.isAuditStatus == 'N'}} | |||
| <div class="fl" onclick="selectUserSupply({{value.id}})"> | |||
| <img src="../../static/images/modify.png" alt="" class="fl"/> | |||
| <img src="{{modifyUrl}}" alt="" class="fl"/> | |||
| <p class="fl">修改</p> | |||
| <div class="clear"></div> | |||
| </div> | |||
| <div class="fr" onclick="deleteUserSupply({{value.id}})"> | |||
| <img src="../../static/images/detail.png" alt="" class="fl"/> | |||
| <img src="{{detailUrl}}" alt="" class="fl"/> | |||
| <p class="fl">删除</p> | |||
| <div class="clear"></div> | |||
| </div> | |||