Commit 3748dd97 by dabai

邀请有奖 提现 更新

parent 66072eb6
......@@ -66,6 +66,9 @@
.mBoxTitle2{
margin-top: 0.826rem;
}
.mBoxDesc span{
color: #E53985;
}
</style>
</head>
<body>
......@@ -82,11 +85,12 @@
<p class="mBoxDesc"></p>
<p class="mBoxTitle mBoxTitle2"></p>
<p class="mBoxDesc"></p>
<p class="mBoxDesc"></p>
</div>
</div>
</body>
<script src="../../lib/jquery-3.1.1.min.js"></script>
<script src="../../lib/langchange.js?v=202010211100"></script>
<script src="../../lib/langchange.js?v=202010211524"></script>
<script type="text/javascript">
$('title').html(langList[langType].share19);
$('.mTitle1').html('<span class="left"></span>'+langList[langType].share19+'<span class="right"></span>');
......@@ -98,7 +102,86 @@
$('.mBox2 p').eq(1).html(langList[langType].share25);
$('.mBox2 p').eq(2).html(langList[langType].share26);
$('.mBox2 p').eq(3).html(langList[langType].share27);
$('.mBox2 p').eq(4).html(langList[langType].share30);
var params = getRequest();
sessionStorage.token = params.token;
sessionStorage.uid = params.uid;
var $url = 'https://www.footseen.com/footseen';
$('.mBox2 p').eq(1).find('span').on('click',function(){
$.ajax({
url:$ip+"/agent/getqrcode.html",
type:"post",
data:{
lang: sessionStorage.lang,
cid: 'h5_gw',
os: 'h5',
uid:sessionStorage.uid,
token:sessionStorage.token
},
success: function (msg) {
console.log(msg)
var data=JSON.parse(msg)
if(data.code==1){
picImg=data.qrurl;
var obj = {
"cid": 3,
"reqCode": new Date().getTime(),
"data":{
"shareContent": {
"pic": $url+'/img/code.png',
"title":langList[langType].share1,
"text":langList[langType].share2,
"webpage":'http://footseen.xyz/share.html?agentCode='+sessionStorage.uid+'&bindType=3&lang='+sessionStorage.lang+'&type=1',
},
"shareType":{
"wechat":3,
"wechat_moment":3,
"facebook":3,
"line":3,
"link":3,
"whatsApp":3,
"twitter":3
}
}
}
console.log(obj)
var obj2=JSON.stringify(obj);
appCollaboration(obj2)
}
}
})
})
$('.mBox2 p').eq(3).find('span').on('click',function(){
window.location.href = $url+'/Nesting/newShare/myShareNum.html'+location.search;
})
function appCollaboration(msg) {
var sUserAgent = navigator.userAgent.toLowerCase();
var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
var bIsMidp = sUserAgent.match(/midp/i) == "midp";
var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
var bIsAndroid = sUserAgent.match(/android/i) == "android";
var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
if (!(bIsIpad|| bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) ){
}
else if(bIsAndroid){
window.yazhai.appCollaboration(msg);
}else if(bIsIphoneOs||bIsIpad){
window.webkit.messageHandlers.appCollaboration.postMessage(msg);
}
}
//客户端回调结果
function appCallback(msg) {
console.log(msg);
}
</script>
<script>
......
......@@ -355,11 +355,12 @@ var langList = [
'share22':'奖励二:5%的好友收礼獎勵(羽毛)',
'share23':'邀請步驟說明',
'share24':'第一步',
'share25':'點擊「立即邀請」分享給好友',
'share25':'點擊<span>「立即邀請」</span>分享給好友',
'share26':'第二步',
'share27':'你的好友通過你分享的鏈接下載並且註冊螢火蟲直播APP,你會收到系統通知,視為邀請成功。點擊處查看你請的人>如果未能邀請成功,請您的好友在「我的」-「填寫邀請碼」填寫你的邀請碼,即可邀請成功。',
'share27':'你的好友通過你分享的鏈接下載並且註冊 Footseen APP,你會收到系統通知,視為邀請成功。<span>查看已邀請的人></span>',
'share28':'你的邀請碼:',
'share29':'已複製到粘貼板',
'share30':'如果未能邀請成功,請您的好友在「我的」-「填寫邀請碼」填寫你的邀請碼,即可邀請成功。',
'income1':'直播間收益',
'income2':'活動收益',
......@@ -744,11 +745,12 @@ var langList = [
'share22':'Bonus2: When your invited friend receive gifts in the application,you can get 5% bonus FEATHERs.eg,your friend start a live broadcast and receive 1000 GEMs gifts in total,you can get 1000*10*5%=500FEATHERs.',
'share23':'Invitation Step',
'share24':'Step 1',
'share25':'Click 「Invite Now」 in the activity page to share Firefly download link to friends.',
'share25':'Click <span>「Invite Now」</span> in the activity page to share Firefly download link to friends.',
'share26':'Step 2',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.Click to check your invited friends><br>If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.<span>Click to check your invited friends></span>',
'share28':'Your invitation code is ',
'share29':'copied to pasteboard successfully',
'share30':'If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
'income1':'Room Income',
'income2':'Activity Income',
......@@ -1134,9 +1136,10 @@ var langList = [
'share24':'Step 1',
'share25':'Click 「Invite Now」 in the activity page to share Firefly download link to friends.',
'share26':'Step 2',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.Click to check your invited friends><br>If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.<span>Click to check your invited friends></span>',
'share28':'Your invitation code is ',
'share29':'copied to pasteboard successfully',
'share30':'If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
"income1":"دخل البث",
"income2":"دخل النشاط",
......@@ -1550,9 +1553,11 @@ var langList = [
'share24':'Step 1',
'share25':'Click 「Invite Now」 in the activity page to share Firefly download link to friends.',
'share26':'Step 2',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.Click to check your invited friends><br>If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.<span>Click to check your invited friends></span>',
'share28':'Your invitation code is ',
'share29':'copied to pasteboard successfully',
'share30':'If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
},
{
"paytitle":"Nạp GEMs",
......@@ -1939,9 +1944,11 @@ var langList = [
'share24':'Step 1',
'share25':'Click 「Invite Now」 in the activity page to share Firefly download link to friends.',
'share26':'Step 2',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.Click to check your invited friends><br>If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.<span>Click to check your invited friends></span>',
'share28':'Your invitation code is ',
'share29':'copied to pasteboard successfully',
'share30':'If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
},
{
"paytitle":"GEMsチャージ",
......@@ -2328,9 +2335,11 @@ var langList = [
'share24':'Step 1',
'share25':'Click 「Invite Now」 in the activity page to share Firefly download link to friends.',
'share26':'Step 2',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.Click to check your invited friends><br>If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.<span>Click to check your invited friends></span>',
'share28':'Your invitation code is ',
'share29':'copied to pasteboard successfully',
'share30':'If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
},
{
......@@ -2718,9 +2727,11 @@ var langList = [
'share24':'Step 1',
'share25':'Click 「Invite Now」 in the activity page to share Firefly download link to friends.',
'share26':'Step 2',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.Click to check your invited friends><br>If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.<span>Click to check your invited friends></span>',
'share28':'Your invitation code is ',
'share29':'copied to pasteboard successfully',
'share30':'If you don\'t received such message,please ask your friend to fill in your "Invitation code"in his "Personal" panel.Operation details as belows:',
},
]
......
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