本帖最后由 江南南岸 于 2022-9-26 23:51 编辑 ; K9 O& `: O8 i( b
! Z! ]. r/ F; y8 [
落地页在手机上打开后,一步步操作,到最后一步,点击callbutton按钮,跳转到offer页面,最后这一步在手机上一直出问题,点击callbutton对应的url就是追踪里的click url,我用的是自定义二级域名的url(追踪要求用二级域名),但是点击callbutton跳转的时候,直接就跳到了这个二级域名对应的一级域名,就卡在这里了。即:我的clickurl用的是http://xx.aaa.com/click ,结果点击callbutton跳转到了aaa.com,当然这个aaa.com是打不开的,因为这就是为了追踪而做的一个自定义域名。而且奇怪的是只有手机打开会出现这种情况,电脑上能正常跳转,这个是怎么回事呢,求大佬指点一下.代码和报错截图如下7 P4 l) X9 K' k# Z# I' W# B
, d4 s/ z9 e2 o5 i2 p
5 n2 X3 s1 H5 E0 G( Z
script type="text/javascript">
5 C! P' m) Z+ ^ window.addEvent('domready', function() {
) ? l1 V3 A9 }. y N& ~ var spinner = document.getElementById("spin");
1 }3 c) L- V! } R# Y swal({ ' c8 J, q3 b# ~, r- t! c' P' U! U
title: "话术1!!!!", " S- F$ R. d$ `. a# d
text: "话术二", 6 B: n+ e- z, T) e( B
imageUrl: 'index_files/win.png', 1 }5 U3 E {0 e
},function(){ ' d$ q2 g x! b9 O2 I! K7 V
spinner.className = spinner.className + 'spinAround';
9 }- L! {( u0 S6 C F: W: j setTimeout(function(){ 2 Q. ^% k( g5 K( w. M+ V6 y7 s
swal_2(); # g! ^6 Z# ^$ d+ L& q: p
},6500);
( r/ k* r# v* n1 D* C$ \) V3 T7 f $ } g/ }- p5 p" J; I2 b; l3 r
}); 2 M- G/ F! q! b- A1 z$ n
var swal_2 = function (){
+ {9 G# i6 D R& z8 ?$ y' T" p4 S swal({ # A+ w0 ]9 P3 L) {
title: "话术三!",
8 G1 A Z7 u1 u/ y1 R text: "话术4!", : F. {4 |% J7 x1 W9 \ F; L/ |
type: "success" : L# Z' t) W. K+ A
},function(){
* B0 ^# h/ g4 a# A: A spinner.className = spinner.className + ' spinAround2'; % y0 G( i# x/ l& V. w9 V) ]" [
setTimeout(function(){
5 s: U$ ^5 C3 R; t swal_3();
- z$ i; {2 j# {, [ },6500); 1 E9 E$ n9 R- l7 T% ~- |2 O+ h# u
* n2 `; U# P" E' U4 E- d });
% J3 M) D5 Q1 G9 z. v' d }
2 Q0 V5 L' X$ |5 c+ ~" } var swal_3 = function (){
) [+ q% i- Q2 G% g) N0 M swal({ 8 G. }* k T( e' V
title: "话术五",
4 o" p+ H' w2 ^$ r& H- I text: "话术六 ",
" u, R* r% J, q5 G8 V type: "success"
$ Q+ h4 R# R# X* j& V& E },function(){
% m2 u6 i8 L4 E C document.location = document.getElementById("target_link").href;
* N& o; ~$ R. \! V+ B });
1 U% {$ a6 \" ~. P# U }
2 U) ]( ]- C7 n& H1 E }); 5 t- C6 L2 a r7 s8 N( o
" m* \. s6 e1 @
</script> , X& }' i I# F) O7 {
<script type="text/javascript" src="https://xxx.aa.online/track.js?rtkcmpid=63aefaa1913def0001f38h0b"></script>
" K5 S3 u) o$ w% @ </head>
) q0 ?% F( g. l9 s5 g7 ^1 O <body class="stop-scrolling">
! Z4 E$ X; }, l: D+ a <div class="container"> ! h/ a/ q2 n7 U0 K! X
<div class="bar-nav"></div>
2 k0 a3 M! b& Z5 O3 Y3 [/ t) m, _ <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;">
1 u8 ^8 v" F1 A. l+ ~ <p>话术7</p></h1>
0 l, G9 R6 g# |' U$ {1 `1 j <main>
# S: ~. |5 p& \' z: C* B8 a* U) L <div class="content">
# R7 H) V: c3 _9 [8 \- M$ g <div class="main-content">
- {; D% i: N, E/ t <div class="header clearfix"> B- Q9 P: w) K, v3 n
<h2 class="headline" style="text-align:center;"><strong> 3 H0 t0 n. z. k2 f
话术八</strong></h2>
. O4 Y! b% d6 X" H8 p+ a </div> ( y* q2 F* i4 `8 n3 @7 k
<div id="spinner"> ; X4 H" o' s7 ?* H: J8 s+ [8 q
<img id="spinBG" width="435" src="./index_files/11.gif">
7 K3 R4 u) a8 t2 o$ G <img id="spin" src="./index_files/prizewheel_ip8b.png"> 0 @7 [- m. [1 ?/ M
<img id="win" src="./index_files/33.png"> 8 O1 g2 \8 }; Q$ m2 H1 O- z7 D
</div>
8 n' D7 I! K; m, I/ h0 L </div> 3 k( B' l( ^% W M: V4 ?6 c/ K
</div>
/ _* G: w, w2 W; X </main>
; N: F# s5 J5 y3 M4 E </div>
, T' D t! H1 o* l <footer> " G" |/ G8 e; A, w6 V
<div class="legal_links" style="margin-top:2em!important;">Torpedo Digital 。</div>
3 T3 k0 y* Y: X5 w' l' B </footer>
+ ^; ?7 C/ j, ?0 q% _# z <!-- <script type="text/javascript">
7 h2 i+ @. I: Y3 r (function(window, location) {
/ `: \5 _8 S K, Q$ `$ d; B- k var url_with_variables = location.href; ; w2 ~+ Q6 O3 G/ v- ^5 c
history.replaceState(null, document.title, location.pathname + location.search + "#!/back"); 6 a4 }4 f j- c- d0 d% w1 ]
history.pushState(null, document.title, location.pathname + location.search);
6 }+ _3 ?$ o/ m$ u7 I9 { \ window.addEventListener("popstate", function() {
$ A1 {* B4 z# W% j: [ if(location.hash === "#!/back") { 9 N) ~. \/ S% J- ]" ?
history.replaceState(null, document.title, location.pathname + location.search);
/ p! r( {& g! L setTimeout(function() { 1 M' v% i0 Y# R' d9 e9 H* h
location.replace(url_with_variables);
; v# q/ ~9 M! G+ }5 f* B }, 0);
0 P- j& ?9 I4 F( x }
5 D% r9 D" C9 v }, false); ' U5 Q2 l, t: I
}(window, location)); $ p# C4 _* v; `& w- c; I+ U
</script>-->
; A7 g! P4 D8 {0 X 6 V% J% j) ^' I
<a id="target_link" class="visible" href="http://xxx.aa.online/click"></a> . H, `, T: Z8 W4 d( m$ g0 Z& M
1 O! S& V* [3 z9 y# D- w
, i1 Q0 j# o8 \/ _4 t* |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
相关帖子