Browse Source

专利二维码生成

luyanan 7 years ago
parent
commit
ccb8e4013c
2 changed files with 3 additions and 3 deletions
  1. 1 1
      css/share.css
  2. 2 2
      js/patentShow.js

+ 1 - 1
css/share.css

@ -226,7 +226,7 @@ ul.tagList>li .h2Font{color: #666;}
226 226
.invitebody2 input.form-control:-ms-input-placeholder,textarea:-ms-input-placeholder {color:#bbb;}
227 227
.invitebody2 input.form-control::-webkit-input-placeholder,textarea::-webkit-input-placeholder {color:#bbb;}
228 228
.invitebody2 .canPoint{color: #fff;background: #f75243;opacity: 1;}
229
.formTit{color:#781f1d;font-weight: bold;font-size:18px;line-height: 28px;margin:10px 0;}
229
.formTit{color:#781f1d;font-weight: bold;font-size:18px;line-height: 28px;margin:10px 0;max-height: 60px;}
230 230
.invitebody2 .inforbox2{width: 80%;margin: auto;text-align: center;font-size:16px;color: #d79222;}
231 231
.invitebody2 .inforbox2 .btn{margin: 20px 0 6px;}
232 232
.invitebody2 .inforbox2 h4{color:#781F1D;font-size:17px;}

+ 2 - 2
js/patentShow.js

@ -170,9 +170,9 @@ $(document).ready(function() {
170 170
		function makeCode(){
171 171
			var hurl = window.location.host;
172 172
			if(userid) {
173
				var elurl = "http://" + hurl + "/e/I.html?i=" + s16to64(patentId)+"&d="+s16to64(userid)+"&f=1";
173
				var elurl = "http://" + hurl + "/e/I.html?i=" + s16to64(GetQueryString("patentId"))+"&d="+s16to64(userid)+"&f=1";
174 174
			} else{
175
				var elurl = "http://" + hurl + "/e/I.html?i=" + s16to64(patentId)+"&f=1";
175
				var elurl = "http://" + hurl + "/e/I.html?i=" + s16to64(GetQueryString("patentId"))+"&f=1";
176 176
			} 
177 177
			qrcode.makeCode(elurl);
178 178
		}