@@ -440,7 +440,6 @@ define(['jquery', 'dialog'], function ($, dialog) { | |||||
if (data.code == 200) { | if (data.code == 200) { | ||||
var content = data.data; | var content = data.data; | ||||
console.log(content) | console.log(content) | ||||
content[13].configValue = 'red' | |||||
if (content[13].configValue == 'red'){ | if (content[13].configValue == 'red'){ | ||||
themeColor = 'red'; | themeColor = 'red'; | ||||
document.documentElement.style.setProperty('--color', '#e8041f'); | document.documentElement.style.setProperty('--color', '#e8041f'); | ||||
@@ -543,6 +543,14 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
goSearchKeyWord = function(){ | goSearchKeyWord = function(){ | ||||
var type = $('input[name="transaction"]:checked').val(); | var type = $('input[name="transaction"]:checked').val(); | ||||
var searchKeyWord = $('#searchKeyWord').val(); | var searchKeyWord = $('#searchKeyWord').val(); | ||||
console.log($('#searchKeyWord').val()) | |||||
console.log(type) | |||||
if($('#searchKeyWord').val() == '' && type== 'warrant'){ | |||||
tools.initDialog('提示', '经营权证编号不可为空', function () { | |||||
return; | |||||
}, '确定') | |||||
return; | |||||
} | |||||
if(type == 'warrant'){ | if(type == 'warrant'){ | ||||
tools.skip('view/announcement/warrantDetail.html?type='+type+'&searchKeyWord='+searchKeyWord) | tools.skip('view/announcement/warrantDetail.html?type='+type+'&searchKeyWord='+searchKeyWord) | ||||
}else{ | }else{ | ||||
@@ -137,11 +137,10 @@ define(['jquery', "template", "Tools", "interactApi", "paging"], function ($, te | |||||
module.data.searchType = 'YES'; | module.data.searchType = 'YES'; | ||||
module.data.turnPage = 'NO'; | module.data.turnPage = 'NO'; | ||||
module.data.pageNum = 1 ; | module.data.pageNum = 1 ; | ||||
console.log('aaa') | |||||
document.getElementById('interact').style.display = 'none'; | document.getElementById('interact').style.display = 'none'; | ||||
document.getElementById('search').style.display = 'block'; | document.getElementById('search').style.display = 'block'; | ||||
tools.doGet(interactSearch, {deptId:100,title:searchTitle,content:searchContent,pageNum:1,pageSize:module.data.pageSize}, module.searchInteractInformation,true) | |||||
tools.doGet(interactSearch, {deptId:100,title:searchTitle,content:searchContent,pageNum:1,pageSize:module.data.pageSize,reply:'notnull'}, module.searchInteractInformation,true) | |||||
} | } | ||||
turnThePage = function (pageNum) { | turnThePage = function (pageNum) { | ||||
@@ -16,7 +16,29 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
module.data.type = getQueryVariable("type") | module.data.type = getQueryVariable("type") | ||||
//网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) | //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号) | ||||
tools.getWebConfig(); | tools.getWebConfig(); | ||||
setTimeout(function(){ | |||||
//主题图片切换 | |||||
module.switchTheme(); | |||||
},500) | |||||
}; | }; | ||||
//主题图片切换 | |||||
module.switchTheme = function(){ | |||||
if(themeColor == 'red'){ | |||||
if (getQueryVariable('type')){ | |||||
document.getElementById('registerTit').src = '../../static/images/registerTit_red.png' | |||||
}else{ | |||||
document.getElementById('icon1').src = '../../static/images/register_icon2_red.png' | |||||
document.getElementById('icon2').src = '../../static/images/register_icon1_red.png' | |||||
} | |||||
}else if(themeColor == 'green'){ | |||||
if (getQueryVariable('type')){ | |||||
document.getElementById('registerTit').src = '../../static/images/registerTit.png' | |||||
}else{ | |||||
document.getElementById('icon2').src = '../../static/images/register_icon1.png' | |||||
document.getElementById('icon1').src = '../../static/images/register_icon2.png' | |||||
} | |||||
} | |||||
} | |||||
//底部友情链接 | //底部友情链接 | ||||
module.bottomFriendsLinks = function (data) { | module.bottomFriendsLinks = function (data) { | ||||
@@ -113,10 +113,10 @@ | |||||
<div class="registerView"> | <div class="registerView"> | ||||
<p class="registerTit">请选择要注册的用户类型</p> | <p class="registerTit">请选择要注册的用户类型</p> | ||||
<a href="registerExplain.html?type=1"> | <a href="registerExplain.html?type=1"> | ||||
<img src="../../static/images/register_icon2.png" alt="" style="margin: 45px 95px 50px 0px;"/> | |||||
<img src="" id="icon1" alt="" style="margin: 45px 95px 50px 0px;"/> | |||||
</a> | </a> | ||||
<a href="registerExplain.html?type=2"> | <a href="registerExplain.html?type=2"> | ||||
<img src="../../static/images/register_icon1.png" alt="" style="margin: 45px 0px 50px 0px;;"/> | |||||
<img src="" alt="" id="icon2" style="margin: 45px 0px 50px 0px;;"/> | |||||
</a> | </a> | ||||
<p>个人用户:参与农村产权交易的自然人;</p> | <p>个人用户:参与农村产权交易的自然人;</p> | ||||
<p>单位用户:主要是参与农村产权交易的机关单位、社会组织、农业企业、家庭农场、合作社等。</p> | <p>单位用户:主要是参与农村产权交易的机关单位、社会组织、农业企业、家庭农场、合作社等。</p> | ||||
@@ -111,7 +111,7 @@ | |||||
<div class="registerBody" id="registerBody"> | <div class="registerBody" id="registerBody"> | ||||
<div class="w-1200"> | <div class="w-1200"> | ||||
<div class="explainView"> | <div class="explainView"> | ||||
<img src="../../static/images/registerTit.png" alt=""/> | |||||
<img src="" id="registerTit" alt=""/> | |||||
<p class="p-t-15 m-t-20 p-b-10" style="border-top: 1px solid #e3e3e3"> | <p class="p-t-15 m-t-20 p-b-10" style="border-top: 1px solid #e3e3e3"> | ||||
为营造公开、公平、公正的网络交易环境,维护农村产权交易平台(以下简称平台)会员秩序,确保网络交易的顺利进行,特将有关事项告知如下: | 为营造公开、公平、公正的网络交易环境,维护农村产权交易平台(以下简称平台)会员秩序,确保网络交易的顺利进行,特将有关事项告知如下: | ||||
</p> | </p> | ||||