Commit 510bfdda by libai

ft活动上线

parent 198be136
......@@ -357,7 +357,7 @@ $(function(){
$.ajax({
url:$ip+'/actPopularInteractIndex/queryUserIndexInfo.html',
data:{
roomId:sessionStorage.bbb
roomId:sessionStorage.uid
},
success:function(data){
console.log('查询主播互动指数',data)
......@@ -669,7 +669,7 @@ $(function(){
$.ajax({
url:$ip+'/actPopularInteractIndex/receiveReward.html',
data:{
roomId:sessionStorage.bbb,
roomId:sessionStorage.uid,
lang:sessionStorage.lang,
rewardType:_self
},
......
......@@ -12,7 +12,7 @@ var bbb = location.href;
var data = url_get_params(bbb)
if (sessionStorage.token == undefined) {
sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u
sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg;
sessionStorage.lang=data.lang;
......@@ -34,12 +34,12 @@ function url_get_params(url_path) {
return theRequest;
}
if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190;
sessionStorage.uid = 23871190;
sessionStorage.token = 'debug'
sessionStorage.roomId=23864554
}
if (bbb.indexOf("file:///") > -1) {
sessionStorage.bbb = 155100;
sessionStorage.uid = 155100;
sessionStorage.token = 'debug'
sessionStorage.roomId=155100
sessionStorage.lang=1
......@@ -49,7 +49,7 @@ $.ajaxSetup({
global: false,
type: 'get',
data: {
uid: sessionStorage.bbb,
uid: sessionStorage.uid,
token: sessionStorage.token,
lang:sessionStorage.lang,
vest:0,
......@@ -175,18 +175,18 @@ function goReg(){
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
} else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
}
else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=yabo';
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=yabo';
}
}
function scrollTo(element,speed) {
......
......@@ -175,7 +175,7 @@
<script src="lib/default.js?v='2023120901'"></script>
<script>
$(function(){
if(sessionStorage.roomId==sessionStorage.bbb){
if(sessionStorage.roomId==sessionStorage.uid){
//是主播且開播中
view()
$(".mc-task").show()
......@@ -268,7 +268,7 @@ $(function(){
url:$ip+'/actHeartbeatAnchor/getViewLikeData.html',
success:function(data){
console.log("昨日top主播",data)
if(sessionStorage.bbb!=sessionStorage.roomId&&data.result.heartbeatScore>0){
if(sessionStorage.uid!=sessionStorage.roomId&&data.result.heartbeatScore>0){
$(".exc-box").show()
$(".exc-box-p").text("我的心動積分: "+data.result.heartbeatScore+"")
}
......@@ -458,7 +458,7 @@ $(function(){
console.log("積分兌換羽毛",data)
if(data.code==1){
layer.msg("兌換成功")
if(sessionStorage.bbb==sessionStorage.roomId)view()
if(sessionStorage.uid==sessionStorage.roomId)view()
else topMc()
}else{
......
......@@ -11,7 +11,7 @@ else{
var bbb = location.href;
var data = url_get_params(bbb)
sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u
sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg
sessionStorage.lang=data.lang
......@@ -57,13 +57,13 @@ else{
return theRequest;
}
if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23864554;
sessionStorage.uid = 23864554;
sessionStorage.token = 'debug'
sessionStorage.roomId=23864554
}
if (bbb.indexOf("file:///D:/") > -1) {
sessionStorage.lang=2
sessionStorage.bbb = 155100;
sessionStorage.uid = 155100;
sessionStorage.token = 'debug'
sessionStorage.roomId=210102;
sessionStorage.version=8890
......@@ -77,7 +77,7 @@ else{
global: false,
type: 'get',
data: {
uid: sessionStorage.bbb,
uid: sessionStorage.uid,
token: sessionStorage.token,
roomId:sessionStorage.roomId,
cid:sessionStorage.cid,
......@@ -268,18 +268,18 @@ function loadImageGo3(name,sNum,eNum) {
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
} else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
}
else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=yabo';
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=yabo';
}
}
function scrollTo(element,speed) {
......
......@@ -38,8 +38,8 @@
<script>
$(function(){
// layer.msg(sessionStorage.roomId+':'+sessionStorage.bbb)
if(sessionStorage.roomId!=sessionStorage.bbb){
// layer.msg(sessionStorage.roomId+':'+sessionStorage.uid)
if(sessionStorage.roomId!=sessionStorage.uid){
view()
setInterval(function(){
view()
......
......@@ -65,7 +65,7 @@ $(function(){
check()
if(data.state==0){
$(".btn").unbind("click").on("click",function(){
window.open("https://testty.footseen.xyz/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr=ftsH5&uid="+sessionStorage.bbb+"&token="+sessionStorage.token+"&os=h5&appversion=7&osStr=h5")
window.open("https://testty.footseen.xyz/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr=ftsH5&uid="+sessionStorage.uid+"&token="+sessionStorage.token+"&os=h5&appversion=7&osStr=h5")
})
}
else if(data.state==1){
......@@ -92,7 +92,7 @@ $(function(){
console.log('获取首充信息',data)
if(data.state==0){
$(".btn").unbind("click").on("click",function(){
window.open("https://testty.footseen.xyz/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr=ftsH5&uid="+sessionStorage.bbb+"&token="+sessionStorage.token+"&os=h5&appversion=7&osStr=h5")
window.open("https://testty.footseen.xyz/footseen/phonepay/applepay.html?lang="+sessionStorage.lang+"&gofrom=web&cidStr=ftsH5&uid="+sessionStorage.uid+"&token="+sessionStorage.token+"&os=h5&appversion=7&osStr=h5")
})
}
else if(data.state==1){
......
......@@ -13,7 +13,7 @@ else{
var bbb = location.href;
var data = url_get_params(bbb)
sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u
sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg;
sessionStorage.lang=data.lang;
......@@ -39,12 +39,12 @@ function url_get_params(url_path) {
return theRequest;
}
if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190;
sessionStorage.uid = 23871190;
sessionStorage.token = 'debug'
sessionStorage.roomId=23864554
}
if (bbb.indexOf("file:///") > -1) {
sessionStorage.bbb = 11144646;
sessionStorage.uid = 11144646;
sessionStorage.token = 'debug'
sessionStorage.roomId=11137199
sessionStorage.lang=2
......@@ -54,7 +54,7 @@ $.ajaxSetup({
global: false,
type: 'get',
data: {
uid: sessionStorage.bbb,
uid: sessionStorage.uid,
token: sessionStorage.token,
lang:sessionStorage.lang,
vest:0,
......@@ -191,18 +191,18 @@ function goReg(){
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
} else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
}
else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=yabo';
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=yabo';
}
}
function scrollTo(element,speed) {
......
......@@ -60,7 +60,7 @@
sessionStorage.long=-1
var t1=null
$(".room-bg,.room-bg-over").on("click",function(){
if(sessionStorage.roomId==sessionStorage.bbb)return;
if(sessionStorage.roomId==sessionStorage.uid)return;
$.ajax({
url:$ip+'/actShowForMe/openPopup.html',
......
......@@ -15,7 +15,7 @@ else{
var bbb = location.href;
var data = url_get_params(bbb)
sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u
sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg;
sessionStorage.lang=data.lang;
......@@ -37,12 +37,12 @@ function url_get_params(url_path) {
return theRequest;
}
if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190;
sessionStorage.uid = 23871190;
sessionStorage.token = 'debug'
sessionStorage.roomId=23864554
}
if (bbb.indexOf("file:///") > -1) {
sessionStorage.bbb = 11128395;
sessionStorage.uid = 11128395;
sessionStorage.token = 'debug'
sessionStorage.roomId=11128395
sessionStorage.lang=2
......@@ -52,7 +52,7 @@ $.ajaxSetup({
global: false,
type: 'get',
data: {
uid: sessionStorage.bbb,
uid: sessionStorage.uid,
token: sessionStorage.token,
lang:sessionStorage.lang,
vest:0,
......@@ -160,18 +160,18 @@ function goReg(){
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
} else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
}
else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=yabo';
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=yabo';
}
}
function scrollTo(element,speed) {
......
......@@ -126,7 +126,7 @@ $(function(){
})
}
//活動
if(sessionStorage.bbb==sessionStorage.roomId){
if(sessionStorage.uid==sessionStorage.roomId){
$(".room-bg1,.room-bg3").show()
view()
setInterval(function(){
......@@ -243,7 +243,7 @@ $(function(){
"data": {
"msg": '跳转集合功能',
"jumptype": 3,
"url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&roomid='+sessionStorage.roomId+'',
"url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&roomid='+sessionStorage.roomId+'',
}
}
var obj2 = JSON.stringify(obj);
......
......@@ -12,7 +12,7 @@ else{
var bbb = location.href;
var data = url_get_params(bbb)
sessionStorage.token = data.token; //t
sessionStorage.bbb = data.uid; //u
sessionStorage.uid = data.uid; //u
sessionStorage.version = data.appversion;
sessionStorage.pkg=data.pkg;
sessionStorage.lang=data.lang;
......@@ -37,13 +37,13 @@ function url_get_params(url_path) {
return theRequest;
}
if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190;
sessionStorage.uid = 23871190;
sessionStorage.token = 'debug'
sessionStorage.roomId=23864554
}
if (bbb.indexOf("file:///") > -1) {
sessionStorage.lang=2
sessionStorage.bbb = 11134747;
sessionStorage.uid = 11134747;
sessionStorage.token = 'debug'
sessionStorage.roomId=11134747;
sessionStorage.version=8890
......@@ -56,7 +56,7 @@ $.ajaxSetup({
global: false,
type: 'get',
data: {
uid: sessionStorage.bbb,
uid: sessionStorage.uid,
token: sessionStorage.token,
roomId:sessionStorage.roomId,
cid:sessionStorage.cid,
......@@ -166,18 +166,18 @@ function goReg(){
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
} else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
}
else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.token+'&pkg=yabo';
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=yabo';
}
}
function scrollTo(element,speed) {
......
......@@ -327,7 +327,7 @@ $(function(){
"data": {
"msg": '跳转集合功能',
"jumptype": 3,
"url": $url + 'activeFt/liveData/index.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.kkk + '&roomid=' + sessionStorage.roomId + '',
"url": $url + 'activeFt/liveData/index.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&roomid=' + sessionStorage.roomId + '',
}
}
var obj2 = JSON.stringify(obj);
......
......@@ -39,8 +39,8 @@ function url_get_params(url_path) {
return theRequest;
}
if (bbb.indexOf("http://localhost:63342") > -1) {
sessionStorage.bbb = 23871190;
sessionStorage.kkk = 'debug'
sessionStorage.uid = 23871190;
sessionStorage.token = 'debug'
sessionStorage.roomId=23864554
}
if (bbb.indexOf("file:///") > -1) {
......@@ -168,18 +168,18 @@ function goReg(){
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
} else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
}
else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=yabo';
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=yabo';
}
}
function scrollTo(element,speed) {
......
......@@ -286,7 +286,7 @@ $(function(){
"data": {
"msg": '跳转集合功能',
"jumptype": 3,
"url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.kkk+'&roomid='+sessionStorage.roomId+'',
"url":'https://fsactive.fusi.club/activeFt/liveData/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&roomid='+sessionStorage.roomId+'',
}
}
var obj2 = JSON.stringify(obj);
......
......@@ -181,18 +181,18 @@ function goReg(){
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/milkRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
} else if(sessionStorage.pkg=='qiezi'){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
window.location.href='yazhai://_recharge';
}else{
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=qingliang';
window.location.href='http://web.yazhai.co/guodongRecharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=qingliang';
}
}
else{
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&pkg=yabo';
window.location.href='http://web.yazhai.co/recharge/index.html?uid='+sessionStorage.uid+'&token='+sessionStorage.token+'&pkg=yabo';
}
}
function scrollTo(element,speed) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment