代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>品代网(pdw123.com)--国内首家建材行业供应链交易平台,F2B2C运营模式开创网络建材市场新纪元。</title>
<meta name="keywords" content="代理,加盟,招商,批发,零售,建材网上商城,PPR,PVC,PE,管材,管件,波纹管,缠绕管,卫浴,陶瓷,龙头,浴缸,地漏,吊顶,灯具,开关,插线板,插座,电线,电缆,水暖五金,地板,油漆,地暖,太阳能,净水器,装修材料" />
<meta name="description" content="品代网(pindai123.com)是中国首家采用云管理系统,互联网加实体营销管理为一体的交易平台。专业的建材行业综合网上购物平台,销售管材管件,水暖卫浴,厨卫洁具,灯具开关,板材五金,油漆涂料,电线电缆,家装材料,建筑材料,五金配件,防水等。正品低价,品质保证,便捷操作,诚信服务。">
<meta name="author" content="Administrator">
<meta name="viewport" content="width=device-width; initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--css-->
<link rel="stylesheet" href="css/head.css" />
<link rel="stylesheet" href="css/index2.css" />
<link rel="stylesheet" href="css/topbannerSecond.css" />
<link rel="stylesheet" href="css/indent.css" />
<link rel="stylesheet" href="css/add.css" />
<link rel="stylesheet" href="css/footercom.css" />
<link rel="stylesheet" href="css/applicationAgency.css" />
<!-- 申请代理 -->
<!--js-->
<script src="js/jquery-1.7.2.min.js"></script>
<script src="js/json2.js" type="text/javascript"></script>
<script type="text/javascript" src="js/right-side/right_side.js"></script>
<script type="text/javascript" src="js/cookie.js"></script>
<script type="text/javascript" src="js/jquery.goup.js"></script>
<script type="text/javascript" src="js/hd_nav.js"></script>
</head>
<body>
<!-- gg_top -->
{$ad_head_html}
{$user_head_html}
<div class="apply_head">
<div class="wrap_1200 clearfix">
<div class="apply_head_title">
<a href="index.php"><img src="images/head/logo.png" class="apply_head_img" /></a>
<p>申请厂家代理</p>
<div class="apply_head_text" style="display: none;"><a href="applicationRecord.html"><i class="apply_head_text_icon"></i>我的申请记录</a></div>
</div>
</div>
</div>
<!--申请页面-->
<div id="appliAgencyBox">
<div class="wrap_1200 clearfix">
<div class="appliAgencyBig">
<div class="appliAgency_buttom">
<div class="apply_box_title">申请厂家代理</div>
<div class="appliAgency_box_left">
<!--基本信息-->
<div class="apply_basic_info">
<span class="apply_basic_info_title">基本信息</span>
<div class="apply_basic_info_div">
申请人:<span id="name"></span></br>
联系方式:<span id="tel"></span></br>
所在地区:<span id="address"></span></br>
备注信息:<span id="remark" </span></br>
</div>
</div>
<!--选择代理系列-->
<div class="apply_choose_daili">
<div class="apply_choose_daili_title">选择代理系列</br><span>{*单选}</span></div>
<ul class="apply_choose_daili_div">
</ul>
</div>
<!--选择代理级别-->
<div class="apply_daili_level">
<div class="apply_daili_level_title">选择代理级别</br><span>{*单选}</span></div>
<ul class="apply_daili_level_div">
<li class="choose_daili_level">总(市)代</li>
<li class="choose_daili_level">区(县)代</li>
<li class="choose_daili_level">街道(乡)代</li>
</ul>
</div>
</div>
<div class="appliAgency_box_right">
<div class="appliAgency_til4 clearfix">
<span class="appli_contact_choose">选择厂家代理</span>
<ul class="appliFactory" id="lv1">
</ul>
</div>
<div class="appliAgency_box_submit">提交</div>
</div>
</div>
</div>
</div>
</div>
<!--申请流程-->
<div class="apply_flow">
<div class="wrap_1200 clearfix">
<img src="images/images/images/apply_flow.png" class="apply_flow_img" />
</div>
</div>
<div class="apply_daili">
<div class="wrap_1200 clearfix">
<img class="apply_daili_img" src="images/images/images/apply_daili_con.png" />
</div>
</div>
<!--footer-->
<div class="comfooter1">
{$foot_html}
</div>
<script>
var intentId = 0;
$(document).ready(function(){
loadSeries();
// 选择代理系列
$('.apply_choose_daili_div li').click(function(){
$(this).css('background','#FFA700').siblings().css('background','#a1a1a1');
// if($(this).hasClass('abtn')){
// $(this).css('background','#a1a1a1').removeClass('abtn');
// }else{
// $(this).css('background','#FFA700').addClass('abtn');
// }
});
// 选择代理级别
$('.apply_daili_level_div li').click(function(){
$(this).css('background','#FFA700').siblings().css('background','#a1a1a1');
$(this).addClass('lvCheck').siblings().removeClass('lvCheck');
});
(function($) {
$.getUrlParam = function(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null)
return unescape(r[2]);
return null;
};
})(jQuery);
intentId = $.getUrlParam('id');
loadIntentInfo(intentId);
});
function loadIntentInfo(intentId){
$.ajax({
type:"post",
url:"api.php?act=getIntentInfo",
data:{
id:intentId
},
async:true,
success:function(result){
if(result != "Failure"){
result = $.parseJSON(result);
$.each(result, function(n,value) {
$('#name').html(value.name);
$('#tel').html(value.tel);
$('#address').html(value.province + value.city + value.district + value.street);
$('#remark').html(value.remark);
});
}
}
});
}
function loadSeries(){
$.ajax({
type:"post",
url:"api.php?act=factorytype",
async:false,
success:function(result){
result = $.parseJSON(result);
var html = '';
$.each(result, function(n,value) {
html += '<li class="choose_daili_con" sid="'+value.SeriesId+'">'+value.SeriesName+'</li>';
});
$('.apply_choose_daili_div').html(html);
$('.apply_choose_daili_div li').on('click',function(){
var seriesId = $(this).attr('sid');
loadFactory(seriesId);
});
}
});
}
function loadFactory(seriesId){
$.ajax({
type:"post",
url:"api.php?act=factoryListByTypes",
data:{
seriesId:seriesId
},
async:true,
success:function(result){
if(result != 'Failure'){
result = $.parseJSON(result);
var html = '';
$.each(result, function(n,value) {
html += '<li class="appliFactoryLi" fid="'+ value.FactoryId +'">';
html += '<a href="javascript:;">';
html += '<img src="'+ value.ListPic +'">';
html += '<div class="appliFactoryName">' + value.Abbreviation + '</div>';
html += '<div class="appliFactoryLiMask" style="display: none;">选择</div>';
html += '<i class="appliFactoryGou" style="display:none"></i>'
html += '</a>';
html += '</li>';
});
$('.appliFactory').html(html)
//显示申请
$('.appliFactoryLi').mouseover(function() {
$(this).find('.appliFactoryLiMask').show();
});
$('.appliFactoryLi').mouseout(function() {
$(this).find('.appliFactoryLiMask').hide();
});
$('.appliFactoryLi').on('click',function(){
if($(this).hasClass('ficon')){
$(this).removeClass('ficon').find('.appliFactoryGou').hide();
$(this).find('.appliFactoryLiMask').text('选择');
}else{
$(this).addClass('ficon').find('.appliFactoryGou').show();
$(this).find('.appliFactoryLiMask').text('已选择');
}
});
}
}
});
}
$('.appliAgency_box_submit').on('click',function(){
var factorys = $('.ficon');
if(factorys.length > 0){
var proxyLv = $('.lvCheck');
if(proxyLv.length > 0){
var intent = '用户' + $('#name').html() + '电话' + $('#tel').html() + '意向成为厂商:';
factorys.each(function(){
intent += $(this).find('.appliFactoryName').html() + ',';
});
intent += '的' + proxyLv.html();
$.ajax({
type:"post",
url:"api.php?act=userIntentImprove",
data:{
intentId:intentId,
intent:intent
},
async:true,
success:function(result){
if(result == "success"){
alert("提交成功!");
window.location.href = 'index.php';
}
}
});
}
else{
alert("请选择意向代理级别!");
}
}
else{
alert("请选择意向代理的厂商!");
}
});
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。