|
|
本帖最后由 江南南岸 于 2022-9-26 23:51 编辑
+ o' p7 c" V* {( a' A7 ~3 W3 b3 r0 F
落地页在手机上打开后,一步步操作,到最后一步,点击callbutton按钮,跳转到offer页面,最后这一步在手机上一直出问题,点击callbutton对应的url就是追踪里的click url,我用的是自定义二级域名的url(追踪要求用二级域名),但是点击callbutton跳转的时候,直接就跳到了这个二级域名对应的一级域名,就卡在这里了。即:我的clickurl用的是http://xx.aaa.com/click,结果点击callbutton跳转到了aaa.com,当然这个aaa.com是打不开的,因为这就是为了追踪而做的一个自定义域名。而且奇怪的是只有手机打开会出现这种情况,电脑上能正常跳转,这个是怎么回事呢,求大佬指点一下.代码和报错截图如下
c- J' D2 S7 m$ b6 |5 D, {2 V: Q) Z/ z$ ]/ s0 l; z: h6 u
6 d: h( e0 I/ u. L
script type="text/javascript">
* J( W1 w6 D: V2 ?* h window.addEvent('domready', function() {
( Q; [% c; l ]; v1 _$ n5 x var spinner = document.getElementById("spin");
3 }1 g: L1 y0 X/ L. e swal({
5 g3 L5 W A- S' u5 W7 u title: "话术1!!!!",9 [) V" j6 Q4 S' h3 @3 Y4 X
text: "话术二",
$ U/ y, z7 J5 Y6 Z* B% y imageUrl: 'index_files/win.png',
; H6 k; ^: _4 \ V },function(){+ j( T+ `8 _* S% Q; H
spinner.className = spinner.className + 'spinAround';
4 _1 f5 c2 H+ I; _# ?6 q; Q setTimeout(function(){
9 x* I" p7 y/ Q3 o H* u. S% G9 R swal_2();2 Z9 h5 }5 m( w f4 l$ H3 J
},6500);: d6 A, X* R0 e) @2 B5 h
7 ?0 W0 x3 `4 g });/ _1 Y; H% P& A$ e0 [- t0 e
var swal_2 = function (){
# u- [. b+ w7 v5 { swal({. O8 w% }7 z6 \! J& }
title: "话术三!",
: k- d# [- s3 z( o- d: S text: "话术4!",
L0 [' I/ x# z' u- b# ^, F type: "success"( v" C7 c) g' ?2 Z+ b
},function(){
. [0 G8 w0 w" R* h# X spinner.className = spinner.className + ' spinAround2';
6 R5 X# a- ^3 C6 | setTimeout(function(){8 G, {% F: k8 s8 U3 _- D3 m
swal_3();& g! [5 m7 b9 U4 h) ~
},6500);
; Y* l: n2 r0 ^9 p$ d( L' N _
2 f8 t& h; k0 b$ ^3 B4 C5 M });8 J1 y( M% ?: v
}
/ L& I, R, K; ]4 c var swal_3 = function (){
9 K1 k' h% y1 i- S4 E' p% }) P swal({ N6 ?8 I* [" a2 f8 c6 K+ A0 A
title: "话术五",
- n+ S* z0 k, k( p: c) ? text: "话术六 ",
0 E$ }! u0 r: j2 ^- V type: "success"; S% J, H1 p" [! m2 t. E7 ^
},function(){1 x( P& r8 w# }3 S- h
document.location = document.getElementById("target_link").href;. L" [- S- X6 Z" Q6 Z# H2 ]9 q: h* v
});! U# h& c0 [7 @9 e( b: J
}
, q) q9 E, k7 n. k; _ });
" o6 W0 N0 c% l+ e7 Q8 q
! A) s3 ]5 V1 Z </script>% K$ k, N, v1 H% l
<script type="text/javascript" src="https://xxx.aa.online/track.js?rtkcmpid=63aefaa1913def0001f38h0b"></script>
: w" E5 H1 Y0 g2 Y& E: g0 ^</head>+ r; Y! E5 ~) l
<body class="stop-scrolling">
9 C2 R2 a. s8 L( X<div class="container">
/ P( \# Z L; n+ ?! E3 M<div class="bar-nav"></div>
* g2 k3 f# y3 x/ ^) x* H0 L/ z<h1 class="scroll-left" colspan="2" style="width:100%; color:#ffffff; text-align: center; display: block; margin: 0 auto; background-color:#1d71cf; font-size: 22px; letter-spacing: 2px; text-transform: uppercase;">5 o+ S( E9 Z$ ^% b5 X
<p>话术7</p></h1>6 Y' ?6 E. A( t+ J) u4 a+ e/ e
<main>
* M ?, U) M8 `5 u3 @/ o<div class="content">1 w4 y# \% R! W! v5 R" J
<div class="main-content">& R* _5 s0 I9 q; y; F4 b: ?- @1 D
<div class="header clearfix">& J+ h9 \# n2 I- O
<h2 class="headline" style="text-align:center;"><strong>5 O; K+ B% C( w- [$ Z7 n
话术八</strong></h2>
' e) n+ P7 C2 g+ ]# u* w" v, Q</div>
# Q* Y# ^4 I* g" x<div id="spinner">
" _" K% P Z: p; |$ S<img id="spinBG" width="435" src="./index_files/11.gif">
/ i) M7 T1 T' R1 l<img id="spin" src="./index_files/prizewheel_ip8b.png">( ] {. y$ C+ }" Y l8 s
<img id="win" src="./index_files/33.png">; j7 u" t. o3 U2 @( X. M
</div>
9 ^# j* b, q; \4 X</div>
% }) q9 D% q9 |/ n</div>, }8 J- O: V! X" l
</main>. P/ V- I2 G; Y8 O5 ]0 L
</div>) F4 f i7 S7 h& P* ^6 }/ p* _6 x
<footer>1 d) Z8 ]0 e q
<div class="legal_links" style="margin-top:2em!important;">Torpedo Digital 。</div>* e7 n4 g) k# ^, `6 I) d
</footer>! j# P0 U6 Z! X# |* s
<!-- <script type="text/javascript">4 P X" B2 S6 t/ e
(function(window, location) {* {1 B# S4 U4 N6 h1 V4 q/ E3 @
var url_with_variables = location.href;4 t; j1 i9 M. o+ ]# m
history.replaceState(null, document.title, location.pathname + location.search + "#!/back");
5 b/ ~( e; v+ t9 m history.pushState(null, document.title, location.pathname + location.search);
! J! f! K! E& y' y" m; Q8 P window.addEventListener("popstate", function() { G* T ]5 N& A9 H: I+ l- ?5 \
if(location.hash === "#!/back") {
- p# |. G9 ^: m) U2 e! t. |7 z history.replaceState(null, document.title, location.pathname + location.search);, Q' P/ t" i6 g; x) E& l
setTimeout(function() {5 H: S/ e9 `7 @) t# Y; L
location.replace(url_with_variables);: n C) d; R6 y! l6 C6 ~' x& D4 G8 V7 l
}, 0);9 m; S5 e6 K, s6 ?) P, W/ ~
}3 N% i7 w* @- q3 ^ u$ {, C) Y
}, false); W) u3 A# W& R
}(window, location));
, O1 f' |9 M8 h& Y( `; v p5 h; R </script>-->5 @. K! o' A7 A( {4 z
L2 x4 A! K" p<a id="target_link" class="visible" href="http://xxx.aa.online/click"></a>; S8 B9 X; T. H7 A- ~) z0 {8 t
3 m2 t; p' I2 T
* A, r) a# a7 Y* h# C2 s |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|