|
|
本帖最后由 江南南岸 于 2022-9-26 23:51 编辑 . Z0 i6 D% Q( C7 ?; t% W& {; ^5 w: q
- [/ H( \3 u, K
落地页在手机上打开后,一步步操作,到最后一步,点击callbutton按钮,跳转到offer页面,最后这一步在手机上一直出问题,点击callbutton对应的url就是追踪里的click url,我用的是自定义二级域名的url(追踪要求用二级域名),但是点击callbutton跳转的时候,直接就跳到了这个二级域名对应的一级域名,就卡在这里了。即:我的clickurl用的是http://xx.aaa.com/click,结果点击callbutton跳转到了aaa.com,当然这个aaa.com是打不开的,因为这就是为了追踪而做的一个自定义域名。而且奇怪的是只有手机打开会出现这种情况,电脑上能正常跳转,这个是怎么回事呢,求大佬指点一下.代码和报错截图如下9 u; ]( ]: h+ Z* e$ o
6 R( n& m/ b2 y* D
7 f3 X/ i. B1 }# V3 |: P
script type="text/javascript">8 t: C( H8 u4 ?) q
window.addEvent('domready', function() {
( d/ {8 @) N7 h9 _0 K! G var spinner = document.getElementById("spin");% Y& j8 n3 _* Q, J3 A) w
swal({0 @( H, m% O* M
title: "话术1!!!!",
' j2 s& M1 Z1 I text: "话术二",7 [8 l2 {" Q6 \; r
imageUrl: 'index_files/win.png',
A' D1 ?* a6 H0 O- r# m },function(){+ j9 }$ C( K/ j# y2 u6 {7 o; a+ |
spinner.className = spinner.className + 'spinAround';
6 S( _ v3 ]! H setTimeout(function(){
$ A" C' ?$ r0 @4 G& k* K$ i+ t swal_2();
- c7 `6 g9 X, K8 ` },6500);
6 V0 q8 v; ]; [; Y# S0 y' t& g 7 q: E( F& n9 t3 p' D& a
});* P. X( |& T% b9 R3 S$ C" ~) Q
var swal_2 = function (){
# P% G; C" t! D1 ?9 w! A% Q swal({
, R& P6 {0 o3 R* ` title: "话术三!",
* p. w; @' V" e% G9 E9 W$ G5 w$ g text: "话术4!",
4 p6 N5 a, N& W/ W) D# @( L type: "success"- c3 a' n9 U- u7 w% ]
},function(){! Z3 T" ?( i/ r+ r& V3 h
spinner.className = spinner.className + ' spinAround2';! m6 ]. ]1 F0 h, H/ S. o$ f
setTimeout(function(){$ l# g5 H& i. n7 O, D6 q, D5 l
swal_3();# Y0 h+ `0 M* N1 \* B# x# b
},6500);
4 h t) I/ n- U. Q. G: W- a " y8 A$ ]: e) D1 j6 p, o. a ^" I
});
3 o( N6 s& L+ \3 i# `1 K }
, W+ L, X6 T# J. n8 i2 r9 e var swal_3 = function (){2 |+ ~+ W1 C! \+ f3 C: a6 ~
swal({: z1 x$ `# B# b; F' E2 @7 P
title: "话术五",$ f4 F6 ~# C4 s/ f& o; e1 m0 E0 ]
text: "话术六 ",
+ A0 c3 d: }( O9 x/ @0 u! m type: "success"
& S9 S% P1 |0 i) x },function(){& D) Q+ ~3 {5 }+ B
document.location = document.getElementById("target_link").href;
9 H% P8 `* y, G' k });
& d" c$ l+ q& B0 c% I }
% K( L6 V0 M H });( O' U) V# j! a' L- P& `* d @- J
7 v9 f% @+ b: B% a4 u: v </script>7 E- K+ o& ~+ y
<script type="text/javascript" src="https://xxx.aa.online/track.js?rtkcmpid=63aefaa1913def0001f38h0b"></script>9 B. X1 e1 R% [. Y1 R7 {. Z, M
</head>
8 e- s5 s1 O1 s2 H% D<body class="stop-scrolling">
6 P3 K, \* x9 ^. k<div class="container">) \- L" I F. {: V+ S
<div class="bar-nav"></div>
v8 K+ ^0 z2 Q<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 S7 ~5 p" B. N
<p>话术7</p></h1>& U/ I* g2 _$ D0 v: M, t4 \
<main>) w+ I$ N0 ]0 d T- b/ N* t- M
<div class="content">
: I$ T0 L; e. }: ]<div class="main-content">
" e* f) _' z, u% T' y+ K<div class="header clearfix">
. j) o0 B/ w. c6 N4 Y6 a! @3 B! j<h2 class="headline" style="text-align:center;"><strong>2 S% i4 K9 A! [+ u. \+ O* I) @
话术八</strong></h2>
. s& q" d+ V- m& D: j8 [</div>, s3 ? D( c( ^# Q& q* ^ a' m
<div id="spinner">2 ~$ x0 s/ q/ |+ a! c- s: \" H
<img id="spinBG" width="435" src="./index_files/11.gif">
+ N, g0 O! \& }8 M' J# O5 b: y<img id="spin" src="./index_files/prizewheel_ip8b.png">
5 P. V! a2 n. ]) C; D; Y$ o<img id="win" src="./index_files/33.png">' N. ], n" `- P) x; N; v5 X. |
</div>
' t N0 c R' r* v3 X7 C</div>2 a0 f# {2 V# |8 x
</div>
3 O& R& T# m& E; h" C</main># |- W p% l2 s* P$ O! d
</div>
4 F) ~- U3 ^+ }: L<footer>
( {! n. |% a; \<div class="legal_links" style="margin-top:2em!important;">Torpedo Digital 。</div>2 I" P+ ~- o+ |/ i5 b
</footer>/ o* g7 y2 L0 e, r6 }
<!-- <script type="text/javascript">) ^. _4 B. `5 W/ H$ x- e
(function(window, location) {
9 B5 q+ e- C9 o var url_with_variables = location.href;/ Z+ S& o T: ?- _* ]
history.replaceState(null, document.title, location.pathname + location.search + "#!/back");
2 R1 r- ~: h1 \ history.pushState(null, document.title, location.pathname + location.search); M2 Y0 `% G2 {1 |/ R6 }
window.addEventListener("popstate", function() {
/ m# m+ G9 w- ?3 z9 _: b if(location.hash === "#!/back") {
' i$ q/ m" g2 ?4 G# v6 w' v! Z0 r history.replaceState(null, document.title, location.pathname + location.search);+ h: c ]) D" h% {6 F4 K
setTimeout(function() { N% s7 W& i i
location.replace(url_with_variables);1 e, M( |! T \7 o- n# U5 A4 L
}, 0);
% n3 l" ~" R& ~& Z# ?: k }2 _) `( M7 z: U( N4 ~% h
}, false);8 \9 u/ t8 w7 @( }
}(window, location));
2 ]2 O( D7 d. E% v( }" [) t- D </script>-->
: ?% p9 R: F9 G# o1 m% P- K
9 N* l0 Q. x# A0 j9 A<a id="target_link" class="visible" href="http://xxx.aa.online/click"></a>
, l9 Q! V7 D, n& {7 g) }4 J. ~5 K$ W2 l5 i r$ r9 w0 O' k
. x9 Q" j0 k" `/ L0 Y* S! J9 w
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|