Browse Source

微信二维码修正

lyn7568 5 years ago
parent
commit
78f7500bc1
2 changed files with 2 additions and 1 deletions
  1. 1 0
      js/unPatentShow.js
  2. 1 1
      unPatentShow.html

+ 1 - 0
js/unPatentShow.js

@ -2,6 +2,7 @@ $(document).ready(function() {
2 2
	loginStatus(); //判断个人是否登录
3 3
	var userid = $.cookie("userid");
4 4
	var resourceId = GetQueryString("id");
5
	console.log(userid)
5 6
	if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)) {
6 7
		location.href = "http://" + window.location.host + "/e/3.html?id=" + resourceId;
7 8
	}

+ 1 - 1
unPatentShow.html

@ -164,7 +164,7 @@
164 164
	});
165 165
	function makeCode(){
166 166
		var hurl = window.location.host;
167
		var resourceId =  GetQueryString("productId");
167
		var resourceId =  GetQueryString("id");
168 168
		var elurl = "http://" + hurl + "/e/3.html?id=" + resourceId ; 
169 169
		qrcode.makeCode(elurl);
170 170
	}