diff --git a/footseen/Nesting/help/shareHelp.html b/footseen/Nesting/help/shareHelp.html index 19b97e5..330900f 100644 --- a/footseen/Nesting/help/shareHelp.html +++ b/footseen/Nesting/help/shareHelp.html @@ -66,9 +66,7 @@ .mBoxTitle2{ margin-top: 0.826rem; } - .mBoxDesc span{ - color: #E53985; - } + </style> </head> <body> @@ -90,7 +88,7 @@ </div> </body> <script src="../../lib/jquery-3.1.1.min.js"></script> -<script src="../../lib/langchange.js?v=202010211531"></script> +<script src="../../lib/langchange.js?v=202010211537"></script> <script type="text/javascript"> $('title').html(langList[langType].share19); $('.mTitle1').html('<span class="left"></span>'+langList[langType].share19+'<span class="right"></span>'); @@ -104,84 +102,84 @@ $('.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); - } +// 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> diff --git a/footseen/lib/langchange.js b/footseen/lib/langchange.js index fa0f5c1..75e35bb 100644 --- a/footseen/lib/langchange.js +++ b/footseen/lib/langchange.js @@ -357,7 +357,7 @@ var langList = [ 'share24':'第一步', 'share25':'點擊<span>「立即邀請」</span>分享給好友', 'share26':'第二步', - 'share27':'你的好友通過你分享的鏈接下載並且註冊 Footseen APP,你會收到系統通知,視為邀請成功。<span>查看已邀請的人></span>', + 'share27':'你的好友通過你分享的鏈接下載並且註冊 Footseen APP,你會收到系統通知,視為邀請成功。', 'share28':'你的邀請碼:', 'share29':'已複製到粘貼板', 'share30':'如果未能邀請成功,請您的好友在「我的」-「填寫邀請碼」填寫你的邀請碼,即可邀請成功。', @@ -747,7 +747,7 @@ var langList = [ 'share24':'Step 1', '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.<span>Click to check your invited friends></span>', + 'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.', '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:', @@ -1136,7 +1136,7 @@ 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.<span>Click to check your invited friends></span>', + 'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.', '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:', @@ -1553,7 +1553,7 @@ 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.<span>Click to check your invited friends></span>', + 'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.', '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:', @@ -1944,7 +1944,7 @@ 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.<span>Click to check your invited friends></span>', + 'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.', '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:', @@ -2335,7 +2335,7 @@ 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.<span>Click to check your invited friends></span>', + 'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.', '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:', @@ -2727,7 +2727,7 @@ 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.<span>Click to check your invited friends></span>', + 'share27':'Your friends download and register Firefly Live through your shared link ,system will drop you a message to indicate invitation success.', '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:',