本帖最后由 江南南岸 于 2022-9-26 23:51 编辑 1 [/ C8 a2 c; t. @) n2 Z7 e
; g) {, a0 X- n% T0 r落地页在手机上打开后,一步步操作,到最后一步,点击callbutton按钮,跳转到offer页面,最后这一步在手机上一直出问题,点击callbutton对应的url就是追踪里的click url,我用的是自定义二级域名的url(追踪要求用二级域名),但是点击callbutton跳转的时候,直接就跳到了这个二级域名对应的一级域名,就卡在这里了。即:我的clickurl用的是http://xx.aaa.com/click,结果点击callbutton跳转到了aaa.com,当然这个aaa.com是打不开的,因为这就是为了追踪而做的一个自定义域名。而且奇怪的是只有手机打开会出现这种情况,电脑上能正常跳转,这个是怎么回事呢,求大佬指点一下.代码和报错截图如下
2 E9 s' Z1 Z- t$ M0 [! z) `1 r' l
' v6 u0 z5 r# V F' ] @4 c+ Q9 B% H+ G4 I
script type="text/javascript">
: U' A7 G7 @4 G% [ window.addEvent('domready', function() {3 B, B2 d/ ^- L* [8 Y- V& b
var spinner = document.getElementById("spin");$ a. L, R5 B7 j/ X& U! O$ K4 z
swal({. `0 T! c$ z0 F: X7 Z
title: "话术1!!!!",0 ], m0 g( P# V7 S) ^5 [
text: "话术二",
/ x7 O+ w6 X; t1 D) N: P2 p# J imageUrl: 'index_files/win.png',2 G7 u7 p: v: D% ]# A0 |
},function(){
5 C$ w+ f- e" t spinner.className = spinner.className + 'spinAround';* A% ]2 @ y, E, `6 D& C$ e) v% B
setTimeout(function(){' E5 ]' {) l7 w" b: v( [) v) I, ?
swal_2();
6 ~' m) I7 R4 |+ f1 R- ]. P },6500);, U, L0 f! I( a
7 P4 R4 a4 M% u V });- Y* t% _0 ~6 s1 A- d4 A, W! {
var swal_2 = function (){- {. P! I# _3 H+ W
swal({
s# o- j: j2 U% [ title: "话术三!",, J2 J' \0 X" V9 v
text: "话术4!",
- o+ w ]) {1 j/ e# B1 I! ~ type: "success"
% }; w( m) Y: `# U6 p4 A },function(){
: D- I, c& P( r spinner.className = spinner.className + ' spinAround2';
$ w! I7 }" l, i$ X setTimeout(function(){
; E. H1 ^) w- x8 e. a swal_3();
" F3 p* b( w4 {! d! N# b },6500);
+ L# Q7 z, Q) `5 ^1 v4 X O; Q
- x, x, `' g4 b });% J7 t, G# T% ` ~
}
" Q( _% d$ c( l( P# Y var swal_3 = function (){
& E- f8 ]( H6 d4 z3 g) g; A8 r/ ] swal({
, g) e2 H. x* N( e# z* w title: "话术五",
' h; f. d. w+ Y& ~$ n text: "话术六 ",/ s9 ?3 t% `% H
type: "success", N, _9 p" L3 z; [4 P* @6 N& K
},function(){2 Z1 i# D3 s! v4 A* L: ]
document.location = document.getElementById("target_link").href;/ q6 \- `' g- A
});. ?2 e. c0 _1 Z9 N/ w8 Q4 f
}
3 e9 i! Z3 X0 P( ~, w });9 J1 g/ R. t1 h: q# a, w
# {+ F: [8 O% D+ N </script>
+ f- q7 m2 M5 `; H <script type="text/javascript" src="https://xxx.aa.online/track.js?rtkcmpid=63aefaa1913def0001f38h0b"></script>% [( Q2 G0 E3 ^5 g6 f% S( ~7 A
</head>
7 K) D" {. t+ B& g ~0 X<body class="stop-scrolling">
4 \0 d* A# N% C" @6 [3 C<div class="container">& \9 G6 N; d7 F" n3 j
<div class="bar-nav"></div>
0 _& i7 u. J! |( o<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;">
) v' W0 B" ~. F; T* W$ z<p>话术7</p></h1>
0 J" U7 m" ?7 a<main>
( ? n6 G& z( \4 i k7 q<div class="content">
9 R3 [; n5 i+ {) X1 @! A<div class="main-content">
# n& M5 L& _+ @! w1 V3 v<div class="header clearfix">: Q; ?3 o8 r k
<h2 class="headline" style="text-align:center;"><strong>
! U" b F; b2 d8 R话术八</strong></h2>
$ x: \. d( W' G) c" {+ ]+ F</div>3 A' O6 V' W. G) {! F
<div id="spinner">1 q" u& T% o# _" \( T% |, @/ V& e6 {
<img id="spinBG" width="435" src="./index_files/11.gif">
; P9 R P; [# s! L3 k* K( @" i. `) P<img id="spin" src="./index_files/prizewheel_ip8b.png">
% ~6 Z4 @2 L6 n# S- L+ f0 P<img id="win" src="./index_files/33.png">
! ~& n" G: O4 Q8 v4 B</div>' m6 ?1 ~9 w5 H$ {' j0 A z
</div>& F+ N5 Y' W+ a; X2 v, s& [
</div>$ q4 k% k) U5 V
</main>8 G) M/ ]6 z# D5 }, N8 n' I
</div>
* H9 O8 g& |$ m2 T) {& x<footer>1 d6 h; ] P, c' L
<div class="legal_links" style="margin-top:2em!important;">Torpedo Digital 。</div>& V* X: ~3 ?1 n; r$ \
</footer>; f- A& j* O7 L
<!-- <script type="text/javascript">+ e& P% S6 y( t! i v" M
(function(window, location) {) y* T' h8 ` F: _* z" q0 l# a
var url_with_variables = location.href;
& d% m E$ C, d1 ~6 K h9 `9 c history.replaceState(null, document.title, location.pathname + location.search + "#!/back");
" O* w4 n3 y' o3 `, s history.pushState(null, document.title, location.pathname + location.search);
0 N% Q% m0 B, ]5 u window.addEventListener("popstate", function() {0 a- H% y. x& s& ^* E# o" p, z
if(location.hash === "#!/back") {
, s$ m+ W/ v/ U, T5 M7 A history.replaceState(null, document.title, location.pathname + location.search);1 h4 h* | e2 _8 G: U7 e( _
setTimeout(function() {
, A% y6 d# {7 {: ]" h; E location.replace(url_with_variables);- |7 h$ E! H& s
}, 0);9 R3 g- V: h; l0 `6 w" O5 N
}: F ^. n6 O- C& ]! v
}, false);
2 @& j% u! ~/ c) b. a# i U }(window, location));
: q4 b. L: D, N# V, H- R </script>-->
) t+ F B, j( }: `: r' M% c8 `( T$ J' H4 D. u
<a id="target_link" class="visible" href="http://xxx.aa.online/click"></a>
& b. a$ O. Q" r2 g6 Y, N: A/ a: m1 I; K7 p& L& s) \/ y. o% a( i. S
) H4 x4 w! }4 h! o) l) z |