|
@@ -66,7 +66,7 @@ $(function(){
|
|
|
}
|
|
|
}
|
|
|
verticalFlag = true;
|
|
|
- hm+='<div><img src="/images/entcommunity/mainperson'+index+'.png">'
|
|
|
+ hm+='<div><img src="'+cdn+'/images/entcommunity/mainperson'+index+'.png">'
|
|
|
+'<span><font class="b-com-name">'+obj[i].Name+'</font><font class="ent-positionName">'+positionName+'</font></span></div>';
|
|
|
//竖线
|
|
|
if(tmp == maxCout && i != obj.length-1){
|
|
@@ -96,7 +96,7 @@ $(function(){
|
|
|
}
|
|
|
//联系地址
|
|
|
if($address){
|
|
|
- loadJS("/js/jquery.cxselect.js",function(){
|
|
|
+ loadJS(cdn+"/js/jquery.cxselect.js",function(){
|
|
|
$('#city_china').cxSelect({
|
|
|
selects: ['province', 'city', 'area'],
|
|
|
required:0
|
|
@@ -158,7 +158,7 @@ $(function(){
|
|
|
function initMap(){
|
|
|
//获取地图的经纬度
|
|
|
loadJS("http://api.map.baidu.com/getscript?v=2&ak=AFd8b176f363f23e6a23d516f4cfb742&services=&t=20150522093217",function(){
|
|
|
- loadJS("/js/geocoder.js",function(){
|
|
|
+ loadJS(cdn+"/js/geocoder.js",function(){
|
|
|
doOptions();
|
|
|
});
|
|
|
});
|
|
@@ -208,10 +208,10 @@ function initRelation(){
|
|
|
}else{
|
|
|
$("#entrelation-limit,#entrelation-nologin").addClass("hide");
|
|
|
$(".entrelation").height($(".ent-tab-content").height());
|
|
|
- loadJS("/js/d3.v3.min.js",function(){
|
|
|
- loadJS("/js/geometry.js",function(){
|
|
|
- loadJS("/js/provinceData.min.js",function(){
|
|
|
- loadJS("/js/relation.js",function(){
|
|
|
+ loadJS(cdn+"/js/d3.v3.min.js",function(){
|
|
|
+ loadJS(cdn+"/js/geometry.js",function(){
|
|
|
+ loadJS(cdn+"/js/provinceData.min.js",function(){
|
|
|
+ loadJS(cdn+"/js/relation.js",function(){
|
|
|
relationEntity = new Relation(legcerNo,regNo,regCapCurName,relation);
|
|
|
relationEntity.init();
|
|
|
});
|
|
@@ -261,7 +261,7 @@ function initRelation(){
|
|
|
function CopyrightEntity(){
|
|
|
//著作权
|
|
|
if(typeof(copyright) != "undefined" && copyright != null){
|
|
|
- loadJS("/js/frontpaging.js",function(){
|
|
|
+ loadJS(cdn+"/js/frontpaging.js",function(){
|
|
|
var workCopyRight = copyright.WorkCopyRight;
|
|
|
if(typeof(workCopyRight) != "undefined" && workCopyRight != null){
|
|
|
workCopyRight.sort(function(a,b){
|
|
@@ -373,7 +373,7 @@ function ServicePaging(){
|
|
|
}
|
|
|
var flag = typeof(r[i].s_isshow) != "undefined" && r[i].s_isshow != null && r[i].s_isshow.indexOf("3")>-1;
|
|
|
html += '<tr>'
|
|
|
- +'<td rowspan="2" width="130"><img src="'+(r[i].s_images==""?"null":r[i].s_images)+'" onerror="this.src=\'/images/services/default.png\'"></td>'
|
|
|
+ +'<td rowspan="2" width="130"><img src="'+(r[i].s_images==""?"null":(cdn+r[i].s_images))+'" onerror="this.src=\''+cdn+'/images/services/default.png\'"></td>'
|
|
|
+'<td class="b-com-name">';
|
|
|
if(flag){
|
|
|
html += '<a href="/market/detail/'+r[i]._id+'.html">';
|
|
@@ -409,7 +409,7 @@ function ServicePaging(){
|
|
|
this.initServiceList();
|
|
|
}else{
|
|
|
var thisClass = this;
|
|
|
- loadJS("/js/paging.js",function(){
|
|
|
+ loadJS(cdn+"/js/paging.js",function(){
|
|
|
hasLoadPagingJs = true;
|
|
|
thisClass.initServiceList();
|
|
|
});
|
|
@@ -445,7 +445,7 @@ function DishonestyPaging(){
|
|
|
this.initDishonesty();
|
|
|
}else{
|
|
|
var thisClass = this;
|
|
|
- loadJS("/js/paging.js",function(){
|
|
|
+ loadJS(cdn+"/js/paging.js",function(){
|
|
|
hasLoadPagingJs = true;
|
|
|
thisClass.initDishonesty();
|
|
|
});
|