本帖最后由 江南南岸 于 2022-9-26 23:51 编辑 ( A7 }& _, g) m5 |8 b3 x
, `3 t. `, U- Z) Q' I+ Y
落地页在手机上打开后,一步步操作,到最后一步,点击callbutton按钮,跳转到offer页面,最后这一步在手机上一直出问题,点击callbutton对应的url就是追踪里的click url,我用的是自定义二级域名的url(追踪要求用二级域名),但是点击callbutton跳转的时候,直接就跳到了这个二级域名对应的一级域名,就卡在这里了。即:我的clickurl用的是http://xx.aaa.com/click,结果点击callbutton跳转到了aaa.com,当然这个aaa.com是打不开的,因为这就是为了追踪而做的一个自定义域名。而且奇怪的是只有手机打开会出现这种情况,电脑上能正常跳转,这个是怎么回事呢,求大佬指点一下.代码和报错截图如下4 p" v) I. d6 D
- r! o% `/ J1 I8 j D$ [9 V4 }: H9 R" d3 B; U( J
script type="text/javascript">0 k! Z; p, e; Y. t
window.addEvent('domready', function() {$ k6 ]3 s. u2 Y7 b7 b5 z
var spinner = document.getElementById("spin");
( v. d0 W9 I. L! s$ a swal({- z3 z/ L; p( N
title: "话术1!!!!",
. @6 F( l. B M4 _; ] text: "话术二",
& G. }6 E! `; g imageUrl: 'index_files/win.png',
4 k) U( f, K, O3 s8 L },function(){" @- o) f3 _" S8 ^. P2 G2 ?) @
spinner.className = spinner.className + 'spinAround';" E2 x8 T; c$ F8 z' j- X
setTimeout(function(){% R: ^+ n; ?! t- q" S6 Q0 O# T# {
swal_2();# y: X: V0 y6 y) P# g) H8 v
},6500);9 m; B* C+ r. {/ ~) \$ k
0 e ~1 j9 ?% l5 ]9 [! } });
3 A- {- A4 S) f0 m0 Z% v var swal_2 = function (){
* @' |' A, V; v7 p! d# H swal({
9 S5 C* z' T! y" Q( M, z, k title: "话术三!",; y% T4 m% r' r5 s! C. J
text: "话术4!",! x( U5 k% v% O
type: "success"
7 F) D) b5 L) i; I6 r: Q6 b* e },function(){
# J: Q" A! x6 m4 N4 N spinner.className = spinner.className + ' spinAround2';
" q4 @, H+ @/ F2 f setTimeout(function(){
* B! S; E; k" d- y# ~& a- _ swal_3();/ ?) y ^! x1 u! R( o. o; A1 I
},6500);0 W! J! L: m2 Y/ V! B: p, n
/ X ], T: `- F4 W7 i$ n });
( h; N" N% O7 f% i5 }# C/ i7 s }5 X3 q( ^8 Q% m: ]; n
var swal_3 = function (){
1 g- P- k( l+ t# q4 J i swal({
' `1 ^* f8 T1 g) j6 O2 p/ m, G title: "话术五",* N$ h' M; s9 A6 M7 e$ R
text: "话术六 ",% j9 n/ P$ ?% {( D) p6 x+ Q
type: "success"
0 n* ?. |# J0 Q0 Y" F1 S( i2 t3 K },function(){
* T2 q+ F7 a1 `" m& x& a document.location = document.getElementById("target_link").href;# S$ [: a2 L3 f" g) J
});% Y' U0 H- u6 J* C n( S: Q. Y4 p* T
}
* v" e& H% ]/ X6 x1 Z# k });
) l" z: M5 ^& r( |- ^' q : \% s; \, D* R% I% P& t8 h2 Z
</script>- b, K' {9 d$ G+ s$ ^: o2 {
<script type="text/javascript" src="https://xxx.aa.online/track.js?rtkcmpid=63aefaa1913def0001f38h0b"></script>2 s6 B1 {; ~1 @* ^: O( n: u& O
</head>+ i& A% T$ z) Y% v5 o2 H- E
<body class="stop-scrolling">) I u) [8 M9 c! p( @+ W
<div class="container">
* V: B9 N" A: B<div class="bar-nav"></div>
l& @# ?% F& G# }<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;">
4 s$ j) L: I# r+ [1 r+ u! q<p>话术7</p></h1>
) P0 ~) V# C$ u3 C! O0 F% z<main>
7 Q, Y7 C; m$ E9 ^<div class="content">
$ r% K- E- N7 T, ~6 p5 a0 Z1 n<div class="main-content">+ z; ^8 h* T6 t1 e5 G: \0 j$ s9 Y& W
<div class="header clearfix">" u5 P4 K# q5 ^* U
<h2 class="headline" style="text-align:center;"><strong>
) K' W% l* u. d/ U话术八</strong></h2>
% s3 ~, V6 d% p' s6 q</div>5 u' t, |8 ]1 {1 g C/ c
<div id="spinner">
. k e3 `9 g; Y* ^( q y<img id="spinBG" width="435" src="./index_files/11.gif">
! r2 R1 {' }* ^+ r9 \3 }<img id="spin" src="./index_files/prizewheel_ip8b.png">
% E# c' ?6 ]6 w# L3 U7 w ~4 |<img id="win" src="./index_files/33.png">9 Z% j- X7 N) `3 h) q6 U
</div>
( i7 r$ |: S1 ?) U5 Z2 D</div>9 | h" t: n7 {5 j! k
</div>/ n5 T8 |- K. g8 ~6 q z
</main>
. y' F( L. q8 c2 L3 J H</div>
: j( z. F" s/ k- M<footer>
) j9 W! Z( _. y<div class="legal_links" style="margin-top:2em!important;">Torpedo Digital 。</div>7 f$ ]& I2 R9 v
</footer>
+ G& D4 ?; j0 g7 q+ i" f& k<!-- <script type="text/javascript"># m2 b7 N; J K/ j/ L+ a
(function(window, location) {
& C, ~, H) q- b L7 T var url_with_variables = location.href;2 t, `" a \, q C& j7 k) y$ P" ^7 F
history.replaceState(null, document.title, location.pathname + location.search + "#!/back");3 Y' |3 ]- a! o$ l( R
history.pushState(null, document.title, location.pathname + location.search);7 t) ^# K4 {. ]5 R
window.addEventListener("popstate", function() { ^* U" X. }2 F& |$ \- o, X
if(location.hash === "#!/back") {6 n4 A, T( S% F, v( x
history.replaceState(null, document.title, location.pathname + location.search);
: B2 M( a \' e# X. M% P setTimeout(function() {8 e" o/ y& N- c9 p; J; X$ e8 P8 w
location.replace(url_with_variables);) _7 W/ J4 y0 E4 ?
}, 0);3 J9 @ o; w+ b/ x; S3 z4 K! |1 |
}! R8 N; P3 u4 A5 i$ e% {
}, false);, P. E* q$ k4 [, n% y; m O
}(window, location));5 Q j! V' k- f* J8 s
</script>-->
4 s0 ]! r9 Q: r9 k4 L+ Z1 C
( R, p& p& W* t/ z' [1 m<a id="target_link" class="visible" href="http://xxx.aa.online/click"></a>4 R( ^# f/ z2 _; u9 w3 l( L2 b" _
/ c& Z, q, ?4 G$ i% ?
% b2 \" z, j6 f. ]+ l3 d. ~8 a |