本帖最后由 江南南岸 于 2022-9-26 23:51 编辑
# X0 x! K3 v* p0 U
) _& s+ s& _0 o; q$ T' t# N; w 落地页在手机上打开后,一步步操作,到最后一步,点击callbutton按钮,跳转到offer页面,最后这一步在手机上一直出问题,点击callbutton对应的url就是追踪里的click url,我用的是自定义二级域名的url(追踪要求用二级域名),但是点击callbutton跳转的时候,直接就跳到了这个二级域名对应的一级域名,就卡在这里了。即:我的clickurl用的是http://xx.aaa.com/click ,结果点击callbutton跳转到了aaa.com,当然这个aaa.com是打不开的,因为这就是为了追踪而做的一个自定义域名。而且奇怪的是只有手机打开会出现这种情况,电脑上能正常跳转,这个是怎么回事呢,求大佬指点一下.代码和报错截图如下# K/ R5 C6 A; _4 A4 k
. E& H; O$ J* m
- o- _" c/ W- \$ F* k9 @6 i. K script type="text/javascript">
, X; O: d* N: I. N8 V0 J window.addEvent('domready', function() { 6 H1 S% X& e: v1 X% h) Z
var spinner = document.getElementById("spin");
+ r) h3 {! X2 e% x swal({
6 I& i! [1 c) c2 M) Q: T( Z. j& _ title: "话术1!!!!",
: c# i1 Y. V: M) r# N! m: b text: "话术二",
6 V. z) q0 x" a imageUrl: 'index_files/win.png', 0 }' U( `) [3 Q0 a3 n- F3 ]2 Z
},function(){
! e$ e% k& Z1 j7 ~ spinner.className = spinner.className + 'spinAround';
% \$ S# H2 |, q' F$ h5 f setTimeout(function(){ 6 F8 k& W T- |$ a
swal_2(); 9 l# M1 G6 w6 P
},6500); # B7 m$ W2 H8 j# h7 o0 U C
* l9 |4 m- f- ^7 Z! R* ?: D }); / s% y' P2 v; k. f) V+ k
var swal_2 = function (){
$ k# l9 X: F" e( O1 j- J swal({
' h$ C3 j9 P3 |9 w2 P7 P& _ q title: "话术三!", j1 t3 Y9 q x s6 R& [
text: "话术4!",
( H* A0 E3 M* @- y type: "success"
" g1 a/ q. E# O9 h& N0 ~- \ },function(){ ) ^, j( C% `. i2 B9 D8 q+ o
spinner.className = spinner.className + ' spinAround2';
D+ K. y" b! ]+ {# [* L setTimeout(function(){
- _+ L* w/ c8 W+ d N* ]1 k swal_3();
! q1 ^* q' ?+ n },6500);
. g5 Y B* m+ x* i" ^2 Z 7 L, `7 d+ k" W! L" `
}); 9 E: B) ~: ]# z3 \# D0 B, `1 z
}
' X% g5 v- C# `* m; z: s7 ~7 r# D var swal_3 = function (){
# l8 a$ w! z3 T5 t- X7 a swal({ 4 M; h' e* y" o* D+ k6 u1 f" L
title: "话术五", 5 b7 f# ?- P6 G- Y L+ k# m3 _; [
text: "话术六 ",
- e$ e' q. s. h* ` type: "success" * q5 \5 [# u. f' ~/ l0 x
},function(){ , J2 S$ g$ ]& d* w# Y8 x2 T- M1 D/ @
document.location = document.getElementById("target_link").href; & h; @& m) |3 l5 R" D0 W
});
! S" I4 V2 ^4 e8 `9 y0 V } # W+ a8 Z# B% n: N1 G u) ?
}); + o/ }' F$ C+ f g! Q
/ o* e. b# d7 S! X </script> 4 `7 o" o7 ~; l
<script type="text/javascript" src="https://xxx.aa.online/track.js?rtkcmpid=63aefaa1913def0001f38h0b"></script>
( q) |) B; Q6 ] </head> - L- [6 E. y+ O' {4 H& @ b
<body class="stop-scrolling"> ! m A, ]% F. [( a# M* \
<div class="container">
2 W& s8 y- F( I; B# r <div class="bar-nav"></div>
n/ I& }8 S; c- c <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;"> ; K( R* D. _# r7 j0 `3 H
<p>话术7</p></h1> ! P( W' W0 {# b% Y$ J
<main>
P: L l: a! g; ~' i* s <div class="content">
5 {, V9 s6 ]3 p0 R <div class="main-content"> 2 `+ I- F7 n7 j2 B1 Z
<div class="header clearfix"> 4 G2 L4 l( a0 J, F G2 Y0 S2 N- ~6 A
<h2 class="headline" style="text-align:center;"><strong>
+ `% y; \2 n" p* p 话术八</strong></h2> : b; ^, B" ?7 A
</div> & `, o% Q) S' ]. Z* B
<div id="spinner">
, Z- Z0 ^. P6 s- N <img id="spinBG" width="435" src="./index_files/11.gif">
+ ]5 G3 Y2 d6 n1 I; X <img id="spin" src="./index_files/prizewheel_ip8b.png">
" M0 u( ]& e! o3 H3 D: e* n <img id="win" src="./index_files/33.png"> 3 t. \& ]7 t; _( i! _
</div> $ s9 _) h% y# M) v
</div> ) G. ~: @$ M/ n5 T$ N
</div> & _4 I, ]8 \0 |( ?
</main> ( h$ V1 }) h1 n, b; h& T" S! ^
</div>
; r4 h" O6 u* }: V9 n <footer>
- \+ i2 A' e7 y# ~2 H' S6 J <div class="legal_links" style="margin-top:2em!important;">Torpedo Digital 。</div>
+ \" x' V6 m8 R: s3 x3 L </footer> 3 A& _) r0 V5 C) ]
<!-- <script type="text/javascript"> ) q) Y ]# u6 f5 s
(function(window, location) {
. L0 b B8 \9 {$ u! N var url_with_variables = location.href;
; l! D8 F9 S" _8 N" z. `! i: e) B history.replaceState(null, document.title, location.pathname + location.search + "#!/back"); # v' k) v7 H3 P; i% K/ {
history.pushState(null, document.title, location.pathname + location.search); # p4 [; y, Z- e/ B
window.addEventListener("popstate", function() { ! d& m& U2 g) ^2 k5 L
if(location.hash === "#!/back") {
' z7 z \* }7 l history.replaceState(null, document.title, location.pathname + location.search);
0 x. F% A- t b6 e setTimeout(function() {
9 [0 o5 ^0 t/ p# v! _ location.replace(url_with_variables);
2 s9 n$ a9 O& n* j y$ H }, 0);
( F& T6 y: l4 i( E' a7 V- V; b } 1 x5 S1 \4 m- b
}, false); / M# N/ }$ G: i& p
}(window, location));
5 V% D( b" L% L( ~" u3 T </script>-->
" {" J- i a1 J* f1 ^* V 0 ~ n1 c+ o2 m) @; _" k
<a id="target_link" class="visible" href="http://xxx.aa.online/click"></a>
! P9 j* @: h6 Q' Z, G % k. @# [0 V' G$ } ^# W' F
' q/ c0 q3 j" w. {1 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
相关帖子