|
|
本帖最后由 江南南岸 于 2022-9-26 23:51 编辑 $ ^+ Y0 K" G! f; F# Z
0 {2 M# s: h' X落地页在手机上打开后,一步步操作,到最后一步,点击callbutton按钮,跳转到offer页面,最后这一步在手机上一直出问题,点击callbutton对应的url就是追踪里的click url,我用的是自定义二级域名的url(追踪要求用二级域名),但是点击callbutton跳转的时候,直接就跳到了这个二级域名对应的一级域名,就卡在这里了。即:我的clickurl用的是http://xx.aaa.com/click,结果点击callbutton跳转到了aaa.com,当然这个aaa.com是打不开的,因为这就是为了追踪而做的一个自定义域名。而且奇怪的是只有手机打开会出现这种情况,电脑上能正常跳转,这个是怎么回事呢,求大佬指点一下.代码和报错截图如下
) U0 o+ k9 w O# s6 D4 p6 \. o, F1 {9 u
8 ?% P7 p. ]0 B3 k5 m
script type="text/javascript"># Z0 P* `. d: p3 ?! s7 I
window.addEvent('domready', function() {
; g# S$ g. {& k. j4 I var spinner = document.getElementById("spin");* v) e4 r' B0 M5 j: K2 j+ a
swal({; y6 t0 { L8 V# ?; ^
title: "话术1!!!!",
- D. s ^3 t( d0 l# t) s, ^ text: "话术二",
; N+ i" X- w) H% c) v, @3 J imageUrl: 'index_files/win.png',3 K9 J. O8 g& V$ v* C8 w
},function(){
( i- u5 H+ T6 d! b; g1 _3 r spinner.className = spinner.className + 'spinAround';" | l5 I# l! i2 Z) T9 D
setTimeout(function(){
3 ]8 q! d n8 n+ y: d) ` swal_2();+ Q4 N' q7 [. o) b. _# \: k5 _2 K
},6500);; P( c- c' K5 [3 i
/ ~! r) h4 E; g
});
$ W; A6 f/ J3 G5 z" V4 E; A/ ~ var swal_2 = function (){* R8 {7 q5 e/ u( _
swal({
- p* e% m2 D" p2 m" \ title: "话术三!",
# R% |2 m+ t8 }( T* L8 [1 ] text: "话术4!",
) b& h6 C+ F' i9 H, ?1 i: U type: "success"
6 m0 x4 g( i2 G+ ?9 V4 D },function(){
1 h- v( P& u9 f5 Q spinner.className = spinner.className + ' spinAround2';
# \4 l3 c0 _& P9 E1 F# |! h setTimeout(function(){' ^# M1 T4 _; X
swal_3();# |& c, ?0 {$ A6 `7 c" W6 R! b
},6500);* t8 i' s5 \8 F( a
+ H" { r8 o% _& h4 g
});" Q5 z, H- ` I; [* D
}2 t; u; `9 F. U" s0 _: D* w4 Z' y
var swal_3 = function (){* ~; O! p9 Q: ?
swal({
& V% J, w9 _4 u: y* S title: "话术五",# a, ?% ^& T2 A; e* Q' }
text: "话术六 ",
( ~ Z% l5 E! S$ V6 K4 v type: "success"
0 Y; ?5 b' K* p) \5 O* v },function(){
- K% S' l' P. f( b9 ?6 T( `, i document.location = document.getElementById("target_link").href;3 ]4 F/ C( k. r. |" U
});* |& K9 K; |/ Z. n' Q
}
2 c* L0 }4 W$ S });/ M3 U6 {8 g) d( {- ~5 K" }
2 Z( y( E; x/ l$ {0 @5 e3 N" J
</script>
6 y K. ?# ~& i# Q0 R; i- Z: d <script type="text/javascript" src="https://xxx.aa.online/track.js?rtkcmpid=63aefaa1913def0001f38h0b"></script>
, b$ z3 m2 A! K+ ~</head>( ?$ }% n. C3 x' _* Q# L
<body class="stop-scrolling">
! @" O. d3 o# P3 T<div class="container">
4 ?. y. y% M9 r0 c+ x<div class="bar-nav"></div>
/ u. W. \7 t2 |5 |4 p, ^- x<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;">
' y# G6 E6 z$ T: R0 I7 E. a<p>话术7</p></h1>
" H+ ?& w. ^0 p' ?8 w0 p<main>
9 v( J) k& X8 d0 `4 Z2 A<div class="content">4 x( R) y* v' ^* S; g! B9 b
<div class="main-content">
! c/ v# p" J, v/ ?' {7 O. ^6 R }. G<div class="header clearfix">
; H8 _& h, L/ u% @/ j3 `" Z3 P<h2 class="headline" style="text-align:center;"><strong>
0 q, ~) d3 q$ y3 u: E4 Z2 Z话术八</strong></h2>
x4 a, U9 @' W* \ @5 ^</div>) ^' v$ b3 c# w! H8 {! x
<div id="spinner">
( m( T5 d- G* T: k% [2 O<img id="spinBG" width="435" src="./index_files/11.gif">0 ?8 H$ g$ `1 W" ~$ U! L; F- s& t; S
<img id="spin" src="./index_files/prizewheel_ip8b.png">3 Y% }! d3 u( j+ d/ _/ I) |% d
<img id="win" src="./index_files/33.png">
2 T, i. l. \8 x! E2 W" Z; k</div>% ~* e& i; j9 @0 A4 D8 x6 N& V! y# Z
</div># x! X4 D6 ?3 w
</div>
! s& s7 s/ Y6 s, V</main>
! m+ K3 D, l8 `; O0 m# I</div>( b3 [6 R& e: A0 |
<footer>
2 l& D7 h, e. L, k5 U<div class="legal_links" style="margin-top:2em!important;">Torpedo Digital 。</div>
* o H6 \( q7 i* B i3 s% w</footer>
- G0 s, w( V* y6 W3 P2 ?* M<!-- <script type="text/javascript">
# y- M" Z7 _2 r* m) ~: B# Z. X (function(window, location) {0 V2 o9 e3 p: t' u; w3 t
var url_with_variables = location.href;0 J% Y& E+ F" J$ R
history.replaceState(null, document.title, location.pathname + location.search + "#!/back");
' |4 a) l L/ R& H5 y: p. t2 T history.pushState(null, document.title, location.pathname + location.search);/ q2 |7 k8 V) {1 \+ m9 ?
window.addEventListener("popstate", function() {
. O0 C! [4 R+ m7 ~% i' ~* G if(location.hash === "#!/back") {
# v, W4 v; S7 D" |& U history.replaceState(null, document.title, location.pathname + location.search); P# h. f1 Q( t, P% s; C
setTimeout(function() {5 ?2 N! N6 Z: H9 E
location.replace(url_with_variables);
7 p s% s' _- R s% P0 [! X. U; c }, 0);
" ?6 Q1 d5 g* U; }- ^ }
' B& [) P; j, k; x }, false);, F* _. G, V' b. [8 u. a
}(window, location));" U2 u, t1 j1 h/ P' r; a, f
</script>-->
$ v5 h" U- g7 c
* `7 S2 W9 K" M( h1 {<a id="target_link" class="visible" href="http://xxx.aa.online/click"></a>
$ i# E5 z9 U- `) Y+ e- B2 I$ d$ p: P( U- j \* [
9 V! v& D3 I" L! V9 M |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|