锘縱ar phone = ''; var mobile = ''; var ajax_url = 'https://yl.wsgjp.com/home/api'; var base_url = 'https://yl.wsgjp.com' var urlHref = window.location.href; if (urlHref.indexOf("stage") != -1) { ajax_url = "https://ylstage.wsgjp.com/home/api"; base_url = "https://ylstage.wsgjp.com"; } else if ((urlHref.indexOf(".199") != -1) || (urlHref.indexOf("localhost") != -1)) { ajax_url = "http://gateway.yl.ca.com/home/api"; base_url = 'http://gateway.yl.ca.com' } var showIndex = 0; if (urlHref.indexOf("www.wsgjp.com.cn") != -1 || urlHref.indexOf("www.mygjp.com") != -1 || urlHref.indexOf("erp.wsgjp.com.cn") != -1 || urlHref.indexOf("erp.wsgjp.com") != -1 || urlHref.indexOf("stage.wsgjp.com") != -1 || urlHref.indexOf("localhost:58920") != -1 || urlHref.indexOf("172.17.0.199:8062") != -1) { if (urlHref.indexOf("cancelLogin=true") > -1) { showIndex = 1; } } var ftpLeft = '' if (urlHref.indexOf("https://") != -1) { ftpLeft = 'https://' } else { ftpLeft = 'http://' } var url = ftpLeft + 'pay.wsgjp.com.cn/'; //鎴戠殑璁㈠崟銆佹垜鐨勫彂绁 var logonUrl = ftpLeft + 'www.mygjp.com.cn/' //鐧诲綍妯″潡 var registerUrl = ftpLeft + 'register.wsgjp.com.cn/'; //娉ㄥ唽Url var luntan = ftpLeft + 'bbs.wsgjp.com.cn';//璁哄潧 var indexUrl = ftpLeft + 'www.wsgjp.com.cn/'; //缃戠珯瀵艰埅椤 var oldlogonUrl = ftpLeft + 'login.wsgjp.com.cn/' //鐧诲綍妯″潡 if (urlHref.indexOf('.com.cn')) { registerUrl = ftpLeft + "register.wsgjp.com.cn/" } else { registerUrl = ftpLeft + "register.wsgjp.com/" } if (urlHref.indexOf("erp.wsgjp.com.cn") != -1) { indexUrl = ftpLeft + 'erp.wsgjp.com.cn/'; } else if (urlHref.indexOf("erp.wsgjp.com") != -1) { indexUrl = ftpLeft + 'erp.wsgjp.com/'; } else if (urlHref.indexOf("mygjp") != -1) { url = ftpLeft + 'pay.mygjp.com/' //鎴戠殑璁㈠崟銆佹垜鐨勫彂绁 logonUrl = ftpLeft + 'www.mygjp.com.cn/' //鐧诲綍妯″潡 registerUrl = ftpLeft + 'register.mygjp.com/' //娉ㄥ唽Url luntan = ftpLeft + 'bbs.wsgjp.com'//璁哄潧 indexUrl = ftpLeft + 'www.mygjp.com/' //缃戠珯瀵艰埅椤 } else if (urlHref.indexOf("stage") != -1) { oldlogonUrl = ftpLeft + 'loginstage.wsgjp.com/' //鐧诲綍妯″潡 url = ftpLeft + 'paystage.zhangyuxia.com.cn/' //鎴戠殑璁㈠崟銆佹垜鐨勫彂绁 logonUrl = ftpLeft + 'stage.zyxerp.com/' //鐧诲綍妯″潡 registerUrl = ftpLeft + 'registerstage.wsgjp.com/' //娉ㄥ唽Url indexUrl = ftpLeft + 'stage.wsgjp.com/' //缃戠珯瀵艰埅椤 luntan = ftpLeft + 'bbsstage.wsgjp.com'//璁哄潧 } else if (urlHref.indexOf("localhost:58920") != -1) { indexUrl = ftpLeft + 'localhost:58920/' //缃戠珯瀵艰埅椤 } else if (urlHref.indexOf("172.17.0.199") != -1) { indexUrl = ftpLeft + '172.17.0.199:8062/' //缃戠珯瀵艰埅椤 } // 瑙e喅缂撳瓨闂鐨則ime var currentDate = new Date() var timeStr = currentDate.getTime() var imgUrl = ftpLeft + 'www.wsgjp.com.cn/' //缃戠珯瀵艰埅椤 var header = '
' + '' + '
' + '
' + '
' + '
' + ' 璐拱鍜ㄨ' + '
' + '

' + '

153-2807-1757

' + '
' + ' 鎵爜蹇€熸嫧鎵撶數璇? + '
' + '
' + /* '

锛孅/p>

' +*/ '
' + '
' if (urlHref.indexOf(ftpLeft + 'erp.wsgjp.com.cn') != -1 || urlHref.indexOf(ftpLeft + 'erp.wsgjp.com') != -1 || urlHref.indexOf(ftpLeft + 'www.wsgjp.com.cn') != -1 || urlHref.indexOf(ftpLeft + 'www.mygjp.com') != -1 || urlHref.indexOf(ftpLeft + 'stage.wsgjp.com') != -1 || urlHref.indexOf(ftpLeft + 'localhost:58920') != -1 || urlHref.indexOf(ftpLeft + 'www.wsgjp.com') != -1 || urlHref.indexOf(ftpLeft + '172.17.0.199:8062') != -1) { var aHref = ' 鎴戠殑璁㈠崟' //' 鎴戠殑鍙戠エ' } else { var aHref = '' } // 浠g悊鍔犵洘 var cancelLogin = GetQueryString('cancelLogin') var channelDom = '' var wxDom = '' var cnDom = '' //if (urlHref.indexOf('wsgjp.com') != -1 && urlHref.indexOf('.cn') == -1 ) { //channelDom = '
  • ' + // '娓犻亾鍚堜綔' + // '
  • ';//} cnDom = '
  • ' + '瑙e喅鏂规' + '
  • '; if (urlHref.indexOf('wsgjp.com') != -1 && urlHref.indexOf('.cn') == -1) { //channelDom = '
  • ' + // '娓犻亾鍚堜綔' + // '
  • '; //wxDom = '
  • ' + // '浼佷笟寰俊' + // '
  • ' } var lastHtml = ' ' + '
    ' + '
    ' + '
    ' + '
    ' + '
    ' + '
    ' + ' ' + ' ' + ' ' + '
    ' + '
    ' + '
    ' + '
    ' + '
    ' if (showIndex == 1) { $('#topHeader').html(header + aHref + lastHtml + price + priceLast + CompanyNews + last) } else { $('#topHeader').html(header + aHref + lastHtml + priceLast + CompanyNews + last) } var daili = 'http://channel.wsgjp.com.cn/search.aspx' var footer = '
    ' + '
    ' + '

    寰俊瑙嗛鍙饵/p>' + ' ' + '

    鍏虫敞缃戜笂绠″濠嗚棰戝彿

    ' + '
    ' + '
    ' + '

    寰俊鍏紬鍙饵/p>' + ' ' + '

    鍏虫敞缃戜笂绠″濠嗗叕浼楀彿

    ' + '
    ' + ' ' + '
    ' $('#bomFooter').html(footer + footerNext + footerLast) //var post_url = '' //if (urlHref.indexOf(".199") != -1) { // post_url = "http://gateway.yl.ca.com/home/api"; //} else if (urlHref.indexOf("localhost") != -1) { // post_url = "http://gateway.yl.ca.com/home/api"; //} else { // post_url = "https://ylstage.wsgjp.com/home/api"; //} //$.ajax({ // url: ajax_url + '/contact/getData', // type: 'POST', // data: {}, // success: function (res) { // if (res.data) { // } else { // res = JSON.parse(res) // } // $('#headerphone').html(res.data.phone) // $('#headermobile').html(res.data.mobile) // $('#footerphone').html(res.data.phone) // $('#footermobile').html(res.data.mobile) // }, // error: function () { // } //}) loadJs(); /*$('body').append('