瀏覽代碼

缺陷修改

wangshan 6 年之前
父節點
當前提交
ca017f0dd6

+ 1 - 1
src/web/staticres/css/pc.css

@@ -2408,7 +2408,7 @@ form{
 	color: #1d1d1d;
 }
 .aboutus-page .j-com-title>img{
-	margin: 0px 20px;
+	margin: 0px 15px;
 	vertical-align: middle;
 }
 .aboutus-page .j-com-title img:first-of-type{

+ 3 - 1
src/web/templates/pc/biddetail.html

@@ -626,7 +626,9 @@ $(function(){
 	$(".com-original").attr("href",originalUrl);
 	$(".com-original").click(function(event){
 		event.preventDefault();
-		window.location.href = '/front/transfer?url='+encodeURIComponent($(this).attr("href"));
+		var url =document.location.protocol+"//"+ window.location.host+"/front/transfer?url="+encodeURIComponent($(this).attr("href"))
+		window.open('javascript:window.name', '<script>location.replace("'+url+'")<\/script>');
+		//window.location.href = '/front/transfer?url='+encodeURIComponent($(this).attr("href"));
 	});
 	
 	//var sds = {{.T.keywords}};

+ 3 - 1
src/web/templates/pc/biddetail_rec.html

@@ -1190,7 +1190,9 @@ $(function(){
 	$(".com-original").attr("href",originalUrl);
 	$(".com-original").click(function(event){
 		event.preventDefault();
-		window.location.href = '/front/transfer?url='+encodeURIComponent($(this).attr("href"));
+		var url =document.location.protocol+"//"+ window.location.host+"/front/transfer?url="+encodeURIComponent($(this).attr("href"))
+		window.open('javascript:window.name', '<script>location.replace("'+url+'")<\/script>');
+		//window.location.href = '/front/transfer?url='+encodeURIComponent($(this).attr("href"));
 	});
 	
 	//var sds = {{.T.keywords}};

+ 3 - 1
src/web/templates/weixin/wxinfocontent.html

@@ -1349,7 +1349,9 @@ $(function(){
 	})
 	$(".abs>.original").click(function(event){
 		event.preventDefault();
-		window.location.href = '/front/transfer?url='+encodeURIComponent($(this).attr("href"));
+		var url =document.location.protocol+"//"+ window.location.host+"/front/transfer?url="+encodeURIComponent($(this).attr("href"))
+		window.open('javascript:window.name', '<script>location.replace("'+url+'")<\/script>');
+		//window.location.href = '/front/transfer?url='+encodeURIComponent($(this).attr("href"));
 	});
 })
 function reward(){

+ 3 - 1
src/web/templates/weixin/wxinfocontent_rec.html

@@ -1653,7 +1653,9 @@ $(function(){
 	})
 	$(".abs>.original").click(function(event){
 		event.preventDefault();
-		window.location.href = '/front/transfer?url='+encodeURIComponent($(this).attr("href"));
+		var url =document.location.protocol+"//"+ window.location.host+"/front/transfer?url="+encodeURIComponent($(this).attr("href"))
+		window.open('javascript:window.name', '<script>location.replace("'+url+'")<\/script>');
+		//window.location.href = '/front/transfer?url='+encodeURIComponent($(this).attr("href"));
 	});
 })
 function reward(){