! function(e) { var n = {}; function t(o) { if (n[o]) return n[o].exports; var i = n[o] = { i: o, l: !1, exports: {} }; return e[o].call(i.exports, i, i.exports, t), i.l = !0, i.exports } t.m = e, t.c = n, t.d = function(e, n, o) { t.o(e, n) || Object.defineProperty(e, n, { enumerable: !0, get: o }) }, t.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, t.t = function(e, n) { if (1 & n && (e = t(e)), 8 & n) return e; if (4 & n && "object" == typeof e && e && e.__esModule) return e; var o = Object.create(null); if (t.r(o), Object.defineProperty(o, "default", { enumerable: !0, value: e }), 2 & n && "string" != typeof e) for (var i in e) t.d(o, i, function(n) { return e[n] }.bind(null, i)); return o }, t.n = function(e) { var n = e && e.__esModule ? function() { return e.default } : function() { return e }; return t.d(n, "a", n), n }, t.o = function(e, n) { return Object.prototype.hasOwnProperty.call(e, n) }, t.p = "D:\\works\\2_code\\orderchannel\\src\\main\\webapp./douyin/rbtagr12uni/v1/dist/", t(t.s = 0) }([function(e, n, t) { "use strict"; function o(e, n, t, o) { var i = ""; null != o && 0 != o || (i = "温馨提示"); var a = $('
'), r = $('

' + i + '

' + e + '
' + (null == t || "" == t ? "关闭" : t) + "
"); $("body").css("overflow", "hidden"), a.appendTo($(document.body)), r.appendTo($(document.body)), 1 == n && r.find(".btn").remove(), r.close = function() { $("body").css("overflow", "auto"), a.remove(), r.remove(), r = null }; var c = $.Deferred(); return r.find(".btn").on("click", (function() { r.close(), c.resolve(r) })), c } function i(e) { window.$loading && window.$loading.trigger("close"), $("body").css("overflow", "hidden"); var n = e || "处理中,请稍后...", t = $('
'), o = $('
' + n + "
"); return t.appendTo($(document.body)), o.appendTo($(document.body)), o.on("close", (function() { $("body").css("overflow", "auto"), t.remove(), o.remove(), o = null })), window.$loading = o, o } function a(e) { e ? e.trigger("close") : window.$loading && window.$loading.trigger("close") } function r(e) { $(e || document.body).data("use", "0") } t.r(n), Date.remainMillis = function() { var e = new Date; return 60 * (23 - e.getHours()) * 60 * 1e3 + 60 * (59 - e.getMinutes()) * 1e3 + 1e3 * (59 - e.getSeconds()) }, Date.remainMillisMonth = function() { var e = new Date, n = e.getMonth(); return e.setMonth(n + 1), e.setDate(0), e.getDate(), e.getDate() - (new Date).getDate() }, Date.from = function(e) { var n = e.replace(/-/g, "/"); return n = n.replace(/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/, "$1/$2/$3 $4:$5:$6"), new Date(n) }, Date.prototype.format = function(e) { var n = { "M+": this.getMonth() + 1, "d+": this.getDate(), "h+": this.getHours(), "m+": this.getMinutes(), "s+": this.getSeconds(), "q+": Math.floor((this.getMonth() + 3) / 3), S: this.getMilliseconds() }; for (var t in /(y+)/.test(e) && (e = e.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length))), n) new RegExp("(" + t + ")").test(e) && (e = e.replace(RegExp.$1, 1 == RegExp.$1.length ? n[t] : ("00" + n[t]).substr(("" + n[t]).length))); return e }; var c = {}, l = {}, s = {}, d = {}, u = null; function v(e, n, t) { var i = $.Deferred(); if (!(null != e.attr("n") && e.attr("n") > 0)) { var a = e.find(".usermob").val(); if (null == a || "" == a.trim()) return o("请输入联通手机号码"), i.reject(), i; if (!a.startsWith("1") || 11 != a.length) return o("手机号码格式不正确"), i.reject(), i; var r = { fes: c.fes, sou: c.sou, fog: l.fog, usermob: a, smstype: n }; d.usermob = a; var s = 60; e.attr("n", s), $.ajax({ url: u + "/sms/send", type: "POST", contentType: "application/json", data: JSON.stringify(r) }).then((function(n) { if ("0000" != n.resultCode) return s = 0, e.attr("n", s), void o(n.errorInfo); var t = e.find(".sendcode"); t.is("input") ? t.val("{}s".replace("{}", s)) : t.text("{}s".replace("{}", s)), t.addClass("sendcode-wait"); var i = setInterval((function() { s -= 1, e.attr("n", s), t.is("input") ? t.val("{}s".replace("{}", s)) : t.text("{}s".replace("{}", s)), 0 === s && (clearInterval(i), t.is("input") ? t.val("获取验证码") : t.text("获取验证码"), e.attr("n", s), t.removeClass("sendcode-wait")) }), 1e3); try { window.HtmlPageVisitor && window.HtmlPageVisitor.setMp(d.usermob) } catch (e) {} })) } } function f(e, n) { var t = $.Deferred(), i = e.find(".usermob").val(), a = e.find(".smscode").val(); if (null == n && (n = !1), null == i || "" == i.trim()) return o("请输入联通手机号码"), t.reject(), t; if (null == a || "" == a.trim()) return o("请输入验证码"), t.reject(), t; if (6 != a.length) return o("短信验证码不正确"), t.reject(), t; var r = { fes: c.fes, sou: c.sou, fog: l.fog, code: a, usermob: i }; return $.ajax({ url: u + "/checkvercode", type: "POST", contentType: "application/json", data: JSON.stringify(r) }).then((function(a) { switch (e.find(".smscode").val(""), a.resultCode) { case "0000": d.userid = a.userid, d.usermob = i, d.usertime = (new Date).getTime(), n || (e.find(".usermob").val(""), e.find(".usermob").val("")), t.resolve(a.userid); break; default: o(a.errorInfo), t.reject(a) } })).fail((function(e) { t.reject("服务调用异常") })), t } var p = !0; function m(e) { var n = { fog: l.fog || fog || "", userid: e || d.userid }; $.ajax({ url: u + "/decodeUserid", type: "POST", contentType: "application/json", data: JSON.stringify(n) }).then((function(e) { "0" == e.resultCode && (d.usermob = e.usermob) })) } function b(e) { var n = { fog: l.fog || e || "", channel: "" }; return $.ajax({ url: u + "/ini/gensign", type: "POST", contentType: "application/json", data: JSON.stringify(n) }) } function w(e) { localStorage.setItem("user" + l.productid, JSON.stringify(d)), localStorage.setItem("time" + l.productid, e || (new Date).getTime() + "") } function g(e) { if (c.userid) return d.userid = c.userid, void(d.usermob = c.usermob); try { var n = localStorage.getItem("time" + l.productid); if (n) { if ((new Date).getTime() <= parseFloat(n) + (e || 36e5)) { var t = localStorage.getItem("user" + l.productid); null != t && ((d = JSON.parse(t)).userid = d.userid, d.usermob = d.usermob) } else localStorage.removeItem("time" + l.productid), localStorage.removeItem("user" + l.productid); return d } localStorage.removeItem("time" + l.productid), localStorage.removeItem("user" + l.productid) } catch (e) {} } function h() { var e = window.document.location.href, n = window.document.location.pathname, t = e.indexOf(n), o = e.substring(0, t), i = n.substring(0, n.substr(1).indexOf("/") + 1); return u = o + i, o + i } function y(e) { if ("https://800.wo.cn/orderchannel/hd/Dy/order202005.html?fes=jh7" != window.location.href) { window.location.href.indexOf("jiangtao") >= 0 && alert(window.location.href); var n = new RegExp("(^|&)" + e + "=([^&]*)(&|$)"), t = window.location.search.substr(1).match(n); if (null != t) return t[2]; switch (e) { case "con": return "1"; case "freeflow_token": return ""; default: var o = h() + "/404.html"; $(location).attr("href", o) } } else window.location.href = "https://800.wo.cn/orderchannel/hd/Dy/order202005.html?fes=jh7&sou=12" } function x(e, n, t, o) { var i = k("uuid"), a = k("vvid"); if (null != i && "" != i.trim() || T("uuid", i = O(), Date.remainMillis()), null != a && "" != a.trim() || T("vvid", a = O(), -1), null != e && "" != e) { var r = { operid: e, uuid: i, vvid: a, fog: l.fog, userid: d.userid, fes: c.fes, sou: c.sou, url: encodeURIComponent(t || window.location.href), remark: encodeURIComponent(n || "") }; $.ajax({ url: u + "/burypoint/logid", type: "POST", contentType: "application/json", data: JSON.stringify(r) }).then((function(e) {})) } } function k(e) { var n, t = new RegExp("(^| )" + e + "=([^;]*)(;|$)"); return (n = document.cookie.match(t)) ? unescape(n[2]) : null } function T(e, n, t) { t = null == t ? 0 : t; var o = new Date; t < 0 ? document.cookie = e + "=" + escape(n) : (o.setTime(o.getTime() + t), document.cookie = e + "=" + escape(n) + ";expires=" + o.toGMTString()) } function O() { return "xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g, (function(e) { var n = 16 * Math.random() | 0; return ("x" == e ? n : 3 & n | 8).toString(16) })) } function I() { var e = navigator.userAgent.indexOf("Baidu") > -1; if (e) return e; var n = navigator.userAgent.indexOf("OPR") > -1, t = navigator.userAgent.indexOf("Firefox") > -1, o = navigator.userAgent.indexOf("UCBrowser"); if (!n || !t || !o) return !1; var i = navigator.userAgent.indexOf("MicroMessenger") > -1, a = navigator.userAgent.indexOf("Safari") > -1, r = navigator.userAgent.indexOf("Chrome") > -1; return i || e || a || r } t(1); function P(e) { var n = function() { var e = $('
'), n = $('
' + D + '
我已经阅读并同意规则(5s)
'); e.appendTo($(document.body)), n.appendTo($(document.body)), $("body").css("overflow", "hidden"), n.close = function() { e.remove(), n.remove(), $("body").css("overflow", "auto") }, n.hide = function() { n.close() }, n.show = function() { e.css("display", "block"), n.css("display", "block") }, n.find(".close").unbind("click").on("click", (function() { n.close(), r() })); var t = 4, o = self.setInterval((function() { 0 == t ? (window.clearInterval(o), n.find(".cancel").css("background", "#FF0083"), n.find(".cancel").html("我已经阅读并同意规则")) : n.find(".cancel").html("我已经阅读并同意规则(" + t-- + "s)") }), 1e3); return e.on("click", (function() { n.close(), r() })), n }(); n.find(".cancel").unbind("click").on("click", (function() { "我已经阅读并同意规则" == n.find(".cancel").html() && (n.close(), r(), function(e, n, t, r, s, u) { var v, f, w, g; p = !1, null != e && null == l.fog && (l.fog = e), t || $("body").css("overflow", "hidden"), window.location.href.indexOf("https://800.wo.cn/orderchannel") >= 0 ? (v = "https://800.wo.cn/cap/CAP-AUTH.html", f = "https://800.wo.cn/") : window.location.href.indexOf("https://800.wo.cn/festivalchannel") >= 0 ? (v = "https://800.wo.cn/festivalcap/CAP-AUTH.html", f = "https://800.wo.cn/") : window.location.href.indexOf("http://localhost") >= 0 ? (v = "http://localhost:8088/cap/CAP-AUTH.html", f = "http://localhost:8088/") : window.location.href.indexOf("http://127.0.0.1") >= 0 ? (v = "http://127.0.0.1:8088/cap/CAP-AUTH.html", f = "http://127.0.0.1:8088/") : window.location.href.indexOf("http://100.0.4.69:3344") >= 0 ? (v = "http://100.0.4.69:3344/cap/CAP-AUTH.html", f = "http://100.0.4.69:3344/") : window.location.href.indexOf("http://100.0.4.69:8282") >= 0 ? (v = "http://100.0.4.69:8282/cap/CAP-AUTH.html", f = "http://100.0.4.69:8282/") : (v = "https://800.wo.cn/festivalcap/CAP-AUTH.html", f = "https://800.wo.cn/"), null != $("#nanyanad").val() && (v += "?ad=" + $("#nanyanad").val()), (w = $("#uniauthframe").length >= 1 ? $("#uniauthframe").attr("src", v) : $('')).css({ width: "100%", height: "100%", position: "fixed", top: 0, left: 0, margin: 0, padding: 0, "-webkit-overflow-scrolling": "touch", border: "0px" }), i(), w.on("load", (function() { $capoverlay.remove(), b(e).then((function(e) { a(), e.orderChannel = c.fes + "_" + c.sou, null != n && "" != n && (e.productName = n), null != u && "" != u && (e.capTemplet = u); try { w[0].contentWindow.postMessage(JSON.stringify(e), f) } catch (e) {} })) })), navigator.userAgent.indexOf("MicroMessenger") >= 0 && (window.capTimer = setInterval((function() { g = document.documentElement.scrollTop || document.body.scrollTop, g -= 1, window.top.scrollTo(0, g), g += 1, window.top.scrollTo(0, g) }), 200)); window.$capoverlay = $('
'), $capoverlay.appendTo($(document.body)), 0 == $("#uniauthframe").length ? $("body").append(w) : w.css("position", "unset").css("min-height", "10rem"); var h = $.Deferred(); return window.addEventListener("message", (function e(n) { var t = JSON.parse(n.data); switch (t.resultcode) { case "0": w.remove(), $capoverlay.remove(), window.removeEventListener("message", e), $("body").css("overflow", "auto"), clearInterval(window.capTimer), d.token = t.token, d.userid = decodeURIComponent(t.userid), d.userid1 = t.userid1, d.usermob = t.usermob, d.usertime = (new Date).getTime(), s && m(); try { window.HtmlPageVisitor && window.HtmlPageVisitor.setMp(t.usermob) } catch (e) {} h.resolve(d); break; case "9001": w.remove(), $capoverlay.remove(), window.removeEventListener("message", e), clearInterval(window.capTimer), $("body").css("overflow", "auto"), h.reject(t), null != r && r && !p && ("1" == c.test && alert(navigator.userAgent), I() && (p = !0, history.back())); break; case "0001": case "0003": case "0006": case "4444": break; case "99999": t.operid && x(t.operid), t.ea && WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "open", ea: t.ea + $("#nanyanlabel").val(), ct: "web", pm: parseInt(y("sou"), 32) }); break; default: w.remove(), $capoverlay.remove(), window.removeEventListener("message", e), $("body").css("overflow", "auto"), clearInterval(window.capTimer), o(t.errorinfo), h.reject(t) } })), h }().then((function(n) { console.log(e), r(), function(e, n, t, r) { i("处理中,请稍后..."), function(e, n, t, o) { var i = { fes: c.fes, sou: c.sou, fog: l.fog, token: n, userid: e || d.userid, usermob: t || d.usermob, useraccount: "", f: c.F, ringid: o || c.ringid }; return $.ajax({ url: u + "/comm/order", type: "POST", contentType: "application/json", data: JSON.stringify(i) }) }(e, n, t, r).done((function(e) { switch (a(), e.resultCode) { case "0000": return w(), L("订购成功"), void WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "order_success" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) }); case "0013": o("该号码归属省分2/3G暂未开通此产品!"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "order_failure" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) }); break; case "6611": o("错误代码(6611),订购失败,请重试!"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "order_failure" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) }); break; case "6615": o("订购失败,请确定用户套餐!"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "order_failure" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) }); break; case "6622": o("您已经订购了本产品~"), w(), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "order_failure" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) }); break; default: o(e.errorInfo + ",订购失败,请确定用户套餐!"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "order_failure" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) }) } })).fail((function(e) { a(), console.log(e) })) }(n.userid, n.token, n.usermob, e || c.ringid) })).fail((function(e) { r() })), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "order_click_order_btn" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) })) })), n.find(".close").unbind("click").on("click", (function() { n.close(), r() })) } function S(e) { for (var n = 0; n < window.rbtMvList.length; n++) if (window.rbtMvList[n].label == e) { var t = parseInt($("#" + e).attr("total")), o = parseInt($("#" + e).attr("showcount")); if (o == parseInt($("#" + e).attr("oldshowcount")) + 6) { $("#" + e).attr("oldshowcount", o); break } if ("1" == window.rbtMvList[n].shown) continue; $("#" + e).attr("showcount", o + 1), window.rbtMvList[n].shown = "1"; var i = $('
设为彩铃
' + window.rbtMvList[n].contentname + "
"); if (i.find(".rbt-play").unbind("click").on("click", (function(e) { var n = $(e.target).parent().attr("src"), t = $(e.target).parent().attr("poster"); j(n, $(e.target).parent().attr("contentid"), $(e.target).parent().attr("contentname"), t) })), i.find(".btn-setting").on("click", (function() { M($(event.target).parent().attr("contentid"), $(event.target).parent().attr("contentname")) })), i.appendTo($("#rbtmv-content")), t == o + 1) $('
已经到底啦
').appendTo($("#rbtmv-content")) } } function M(e, n) { if (null != e && "" != e.trim()) { var t = g(); null != t && null != t.userid ? _(t.userid, null, e, n) : function(e, n) { var t = $('
'), i = $('
去设置
'); t.appendTo($(document.body)), i.appendTo($(document.body)), i.close = function() { t.remove(), i.remove() }, i.find(".btn").on("click", (function(t) { var a = i.find(".mobile").val(); null != a && 11 == a.length ? (i.close(), _(null, a, e, n)) : o("请输入正确的手机号码!") })), t.on("click", (function() { i.close() })) }(e, n) } else o("请选择一个视频彩铃!") } function A(e, n) { C("确认设置“" + n + "” 为" + (d.usermob.substr(0, 3) + "xxxx" + d.usermob.substr(7, 4)) + "的视频彩铃吗?", (function() { i(), function(e, n) { var t = { fes: c.fes, sou: c.sou, fog: l.fog, userid: n || d.userid, ringid: e }; return $.ajax({ url: u + "/rbtmv/setting", type: "POST", contentType: "application/json", data: JSON.stringify(t) }) }(e).done((function(e) { a(), "0000" == e.resultCode ? (L("设置成功"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "draw_success" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) })) : (o(e.errorInfo), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "draw_failure" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) })), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "draw_click_confirm_btn" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) }) })) })) } function _(e, n, t, r) { g(), null == d || null == d.userid || "0000" != d.orderStatus && "0001" != d.orderStatus ? (i(), function(e, n) { var t = { fes: c.fes, sou: c.sou, fog: l.fog, userid: e || d.userid, usermob: n || d.usermob }; return $.ajax({ url: u + "/comm/queryorder", type: "POST", contentType: "application/json", data: JSON.stringify(t) }) }(e, n).then((function(l) { switch (a(), l.resultCode) { case "0000": case "0001": null != d && null != d.userid && (d.orderStatus = l.resultCode, w()), e ? A(t, r) : function(e, n, t) { var o = $('
'), r = $('
取消
'); o.appendTo($(document.body)), r.appendTo($(document.body)), r.find(".close").unbind("click").on("click", (function() { r.close() })), r.find(".sendcode").on("click", (function() { v(r, "drawlogin"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "click", ea: "draw_click_send_sms_code_btn" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) }) })), r.find(".login").on("click", (function() { i(), f(r).done((function() { a(), w(), r.close(), A(n, t) })).fail((function() { a() })) })), r.find(".sendcode").trigger("click"), $("body").css("overflow", "hidden"), r.close = function() { o.remove(), r.remove(), r = null, $("body").css("overflow", "auto") } }(n, t, r); break; case "9201": C("您未订购视频彩铃包产品", (function() { P(t) }), "取消", "去订购"); break; default: o(l.errorInfo) } }))) : A(t, r) } function j(e, n, t, o) { var i = $('
返回
设为视频彩铃
设置须知
'); i.appendTo($(document.body)), i.close = function() { i.remove() }; var a = i.find("video"), r = i.find(".play"); return a.on("play", (function() { r.css("display", "none") })), a.on("pause", (function() { r.css("display", "block") })), a.on("ended", (function() { r.css("display", "block") })), a.on("click", (function() { a.prop("paused") ? a[0].play() : a[0].pause() })), r.on("click", (function() { a[0].play() })), i.find(".setting").on("click", (function() { M(n, t) })), i.find(".close").on("click", (function() { i.close() })), i } i(), function() { window.root = h(), function() { var e, n, t = window.location.search.substring(1), o = 0; for (; t.length > 0 && -1 != (e = t.indexOf("=", o));) { -1 == (n = t.indexOf("&", e + 1)) && (n = t.length); var i = t.substring(o, e), a = t.substring(e + 1, n); c[i] = decodeURIComponent(a), o = n + 1 } }(), $("#useraccount_tt").attr("value", y("freeflow_token")); var e = { fes: c.fes, sou: c.sou, orderId: c.orderId }, n = $.Deferred(); return $.ajax({ url: u + "/ini/getstyle", type: "POST", contentType: "application/json", data: JSON.stringify(e), timeout: 1e4 }).then((function(e) { var t = JSON.parse(e); if ("0000" != t.resultCode) return window.location.href = window.root + "/404.html", n.reject(), n; for (l = t.product[0], i = 0; i < t.product.length; i++) s[t.product[i].productid] = t.product[i]; $("#fog_" + l.url).attr("value", l.fog); for (var o = l.icon.split(","), i = 0; i < o.length; i++) 0 == i && $("#sendsms_order_" + l.url).attr("value", o[i]), 1 == i && $("#sendsms_cancel_" + l.url).attr("value", o[i]), 2 == i && $("#sendsms_yuyue_" + l.url).attr("value", o[i]); n.resolve(t) }), (function(e, n, t) { console.log(n), "timeout" === n && (window.location.href = h() + "/hot.html?cb=" + encodeURIComponent(window.location.href)) })), n }().then((function(e) { var n, t; a(), l = e.product[0], e.festival, (n = "2021073001", t = { productid: n, fog: l.fog }, $.ajax({ url: u + "/rbtmv/findRbtMvs", type: "POST", contentType: "application/json", data: JSON.stringify(t) })).then((function(e) { window.rbtMvList = JSON.parse(e).data, window.rbtMvListLength = JSON.parse(e).data.length; for (var n = 0; n < window.rbtMvList.length; n++) window.rbtMvList[n].shown = "0"; ! function(e) { $("#rbt-item-box").empty(); for (var n = {}, t = 0; t < window.rbtMvList.length; t++) null == n[window.rbtMvList[t].label] && (n[window.rbtMvList[t].label] = "其它"); var o = []; $.each(n, (function(e, n) { "热门" == e ? (o[o.length] = o[0], o[0] = e) : o[o.length] = e })), $.each(o, (function(n, t) { var o = $('
' + t + "
"); for (null == e && "热门" == t && (o.addClass("item-active"), e = "热门"), o.on("click", (function(e) { if (!$(e.target).hasClass("item-active")) { $("#rbt-item-box .item-active").removeClass("item-active"), $(e.target).addClass("item-active"), $(e.target).attr("showcount", "0"), $(e.target).attr("oldshowcount", "0"), $("#rbtmv-container").attr("scrollTop", 0), $("#rbtmv-content").empty(); for (var n = 0; n < window.rbtMvList.length; n++) window.rbtMvList[n].shown = "0"; S($(e.target).html()) } })), n = 0; n < window.rbtMvList.length; n++) if (window.rbtMvList[n].label == t) { var i = o.attr("total"); o.attr("total", parseInt(i) + 1) } o.appendTo($("#rbt-item-box")) })), S(e) }() })).fail((function(e) {})), $("#btn-order").unbind("click").on("click", (function() { var e; "1" != $(e || document.body).data("use") && ($(e || document.body).data("use", "1"), 1) && P(null) })), $("#open-agr").unbind("click").on("click", (function() { var e, n; e = $('
'), n = $('
' + D + "
"), e.appendTo($(document.body)), n.appendTo($(document.body)), $("body").css("overflow", "hidden"), n.close = function() { e.remove(), n.remove(), $("body").css("overflow", "auto") }, n.hide = function() { n.close() }, n.show = function() { e.css("display", "block"), n.css("display", "block") }, n.find(".close").unbind("click").on("click", (function() { n.close() })) })), location.href.indexOf("/cancel") >= 0 ? (x("110002"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "open", ea: "cancel_open" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) })) : location.href.indexOf("/draw") >= 0 ? (x("110003"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "open", ea: "draw_open" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) })) : location.href.indexOf("/flow") >= 0 ? (x("110004"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "open", ea: "flow_open" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) })) : location.href.indexOf("/active") >= 0 ? (x("110005"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "open", ea: "active_open" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) })) : location.href.indexOf("/refund") >= 0 ? x("110006") : (x("110001"), WoAnalytics.addPoint({ ad: $("#nanyanad").val(), ett: "open", ea: "order_open" + $("#nanyanlabel").val(), ct: "web", pm: parseInt(c.sou, 32) })) })); var D = '
业务说明
流量说明
视频彩铃说明
'; function L(e) { var n = $('
'), t = $('
' + e + '
知道了
'); return n.appendTo($(document.body)), t.appendTo($(document.body)), t.find(".btn").unbind("click").on("click", (function() { t.close() })), t.close = function() { n.remove(), t.remove(), t = null, $("body").css("overflow", "auto") }, $("body").css("overflow", "hidden"), t } function C(e, n, t, o) { var i = $('
'), a = $('
' + e + '
' + (t || "取消") + '
' + (o || "确认") + "
"); return i.appendTo($(document.body)), a.appendTo($(document.body)), a.find(".close").unbind("click").on("click", (function() { a.close() })), a.find(".okay").unbind("click").on("click", (function() { n && n(), a.close() })), a.close = function() { i.remove(), a.remove(), a = null }, a } $("#rbtmv-container").on("touchmove", (function(e) { $("#rbtmv-content").height() + $("#rbtmv-content").scrollTop() >= $("#rbtmv-container").height() && S($(".item-active")[0].id) })), $("#rbtmv-container").on("touchstart", (function(e) { $("#rbtmv-content").height() + $("#rbtmv-content").scrollTop() >= $("#rbtmv-container").height() && S($(".item-active")[0].id) })); var N = 0; let W = null; function E() { $("#rbtmv-content").scrollTop() == N && (console.log("滚动停止"), clearTimeout(W), $("#rbtmv-content").height() + $("#rbtmv-content").scrollTop() >= $("#rbtmv-container").height() - 200 && S()) } $("#rbtmv-content").on("scroll", (function(e) { clearTimeout(W), W = setTimeout(E, 100), N = $("#rbtmv-content").scrollTop() })) }, function(e, n) {}]);