Browse Source

Merge branch 'dev2.7.4' of http://192.168.3.207:10080/qmx/jy into dev2.7.4

xuzhiheng 6 years ago
parent
commit
285613a65f
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/jfw/modules/app/src/web/staticres/jyapp/js/popup/tap.js

+ 3 - 2
src/jfw/modules/app/src/web/staticres/jyapp/js/popup/tap.js

@@ -25,7 +25,7 @@
 		var lastAlertDate=localStorage.getItem("lastAlertDate")
 		if (!lastAlertDate||new Date().getTime()>parseInt(lastAlertDate)+1000*60*60*24*30){
 			var tapHtml = '<div class="modal fade" id="myModal-tap" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="true">'
-			+'<div class="modal-dialog">'
+			+'<div class="modal-dialog" style="height:100%;margin:0px">'
 			+'<div class="pop-new" style="width: 5.6rem;height: 7.2rem;background: url(../images/search/dataexportAd.png);background-size: cover;border-radius: 8px;position: relative;top: 3.5rem;left: 50%;margin-left: -2.8rem;">'
 			+'<div style="position: absolute;top: -1rem;left: 5.25rem;height: 1rem; border-left: 1px solid #fff;font-family: 微软雅黑;"></div>'
 			+'<div style="position: absolute;color: #0687DB;font-size: 14px;bottom: .6rem;left: 50%;margin-left: -2.3rem;font-family: 微软雅黑;width: 4.6rem;border: 1px solid #fff;border-radius: 6px;text-align: center;cursor: pointer;height: .8rem;line-height: .8rem;" onclick="details()"></div>'
@@ -51,7 +51,8 @@ function popClose(){
 
 function details(){
 	popClose();
-	JyObj.openExternalLink("http://res.jianyu360.com/sjdc/index.html","");
+	var href=window.location.protocol+"//"+window.location.host+"/sjdc/index.html"
+	JyObj.openExternalLink(href,"");
 //	var loginFlag = true
 //	var tapRefer = "N"
 //	var link = "http://res.jianyu360.com/sjdc/index.html";