admin管理员组文章数量:1532346
2024年3月13日发(作者:)
220 var P = UrlParams;
221 var T = {
222 category: "jump",
223 des: "productDetail"
224 };
225 if (Type && Value) {
226 Type = Type;
227 Value = Value;
228 if (P && !Type && !Value) {
229 Type = Type;
230 Value = Value
231 }
232 }
233 if (P) {
234 for (var U in P) {
235 if (U && P[U]) {
236 ('"' + U + '":"' + P[U] + '"')
237 }
238 }
239 } else {
240 for (var U in T) {
241 if (U && T[U]) {
242 ('"' + U + '":"' + T[U] + '"')
243 }
244 }
245 }
246 try {
247 var Q = ies();
248 if (Q) {
249 var W = (Q);
250 = encodeURIComponent(e("__jdv"));
251 = encodeURIComponent(e("unpl"));
252 _xid = encodeURIComponent(e("mt_xid"));
253 _subsite = encodeURIComponent(e("mt_subsite"))
254 }
255 var S = {
256 mt_subsite: encodeURIComponent(e("mt_subsite")),
257 __jdv: encodeURIComponent(e("__jdv")),
258 unpl: encodeURIComponent(e("unpl")),
259 __jda: encodeURIComponent(e("__jda"))
260 };
261 Q = ify(W);
262 ('"m_param":' + Q);
263 ('"SE":' + ify(S))
264 } catch (R) {
265 ('"m_param":null')
266 }
267 var M = "{" + (",") + "}";
268 var O = ("?");
269 var L = null;
270 if ( == 2) {
271 L = O[0] + "?" + O[1] + "¶ms=" + M
272 } else {
273 L = O[0] + "?params=" + M
274 }
275 return L
276 }
277
278 function y(L) {
279 return "intent:///#Intent;scheme=" + L + ";package=;end"
280 }
281
282 function n(L) {
283 if (pBtnId) {
284 B[pBtnId] = L;
285 G(pBtnId, pEventId);
286 bind(pBtnId, "click", function() {
287 var P = ribute("id");
288 var M = B[P];
289 if (!t) {
290 var N = Element("iframe");
291 = iframe;
292 Child(N);
293 mentById(iframe).y = "none";
294 mentById(iframe). = "0px";
295 mentById(iframe). = "0px";
296 t = true
297 }
298 var O = Flag ? "downloadAppPlugIn_downCloseDate_" + Flag : "downloadAppPlugIn_downCloseDate";
299 l(O, () + "_2592000000", 60, "/", "");
300 l(O, () + "_2592000000", 60, "/", "");
301 openApp(M, true)
302 })
303 }
304 }
305
306 function D(M) {
307 if (anelBtnId && anelId) {
308 B[anelBtnId] = M;
309 G(anelBtnId, anelEventId);
310 var Q = Flag ? "downloadAppPlugIn_downCloseDate_" + Flag : "downloadAppPlugIn_downCloseDate";
311 var O = e(Q);
312 var P = null;
313 if (O) {
314 P = ("_");
315 if ( == 2) {
316 P[0] = parseInt(P[0], 10);
317 P[1] = parseInt(P[1], 10)
318 } else {
319 P = null
320 }
321 }
322 var L = ();
323 if (Html5Plus() || (!rd && P && == 2 && (L - P[0]) < P[1])) {
324 elector("#" + anelId).y = "none";
325 if (allblack) {
326 var N = allblackSource ? allblackSource : null;
327 (N)
328 }
329 return
330 } else {
331 elector("#" + anelId).y = "block"
332 }
333 bind(anelBtnId, "click", function() {
334 var U = ribute("id");
335 var R = B[U];
336 var T = Flag ? "downloadAppPlugIn_downCloseDate_" + Flag : "downloadAppPlugIn_downCloseDate";
337 if (!rd) {
338 l(T, () + "_259200000", 60, "/", "");
339 l(T, () + "_259200000", 60, "/", "")
340 }
341 elector("#" + anelId).y = "none";
342 if (allblack) {
343 var S = allblackSource ? allblackSource : null;
344 (S)
345 }
346 })
347 }
348 }
349
350 function Html5Plus() { // htmlplus
351 if (f("Html5Plus") >= 0) {
352 return true
353 } else {
354 return false
355 }
356 }
357
358 function G(P, M) {
359 try {
360 var O = mentById(P);
361 var L = ame;
362 if (L) {
363 L = L + " J_ping"
364 } else {
365 L = "J_ping"
366 }
367 ame = L;
368 ribute("report-eventid", M)
369 } catch (N) {}
370 }
371
372 function C(L) {
373 var M = F(L);
374 n(M);
375 D(M)
376 }
377 adAppPlugIn = C;
378 adAppPlugInOpenApp = function(L) {
379 var M = F(L);
380 openApp(M);
381 }
382 });
版权声明:本文标题:京东在html5页面中打开本地app的解决方案 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1710335954a260197.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论