Commit c32702c4 by agan

右上角客服圖標

parent c63c63e4
......@@ -83,62 +83,61 @@
layer.closeAll();
})
// if (getRequest().appversion >= 7300) {
// var $url = 'http://www.yabolive.tv';
// $(".recording").hide();
// var obj = {
// "cid": 29,
// "reqCode": new Date().getTime(),
// "data": {
// "msg": "h5网页右上角显示图标",
// "info": [
// {
// "imgUrl": 'https://app.ixiulive.com/static/app/img/3_1.png?v=202204011725',
// "explain": langList[langType].upright4,
// "cid": "15",
// "reqCode": new Date().getTime(),
// "data": {
// "urls": [
// {
// "url": $url + '/Nesting/recording/gem.html' + window.location.search,
// "title": langList[langType].dew18,
// "rightBtnImageURL": '',
// "rightBtnClickURL": ''
// },
// {
// "url": $url + '/Nesting/recording/dew.html' + window.location.search,
// "title": langList[langType].dewExchangeTitle3,
// "rightBtnImageURL": '',
// "rightBtnClickURL": ''
// }
// ],
// "select": 1,
// "titleColor": "",
// "titleSelectedColor": "",
// "titleBackground": '',
// }
// },
// {
// "imgUrl": 'https://app.ixiulive.com/static/app/img/kf.png',
// "explain": langList[langType].upright2,
// "cid": "4",
// "data": {
// "msg": langList[langType].upright7,
// 'title': langList[langType].upright6,
// "customerLayer": "1",
// "uid": "1001",
// "face": "https://zhibocdn.yabolive.net/comm/img/appicon/yqzx_icon_v1.png?x-oss-process=image/resize,h_100,w_100",
// "nickname": langList[langType].upright6,
// }
// },
// ]
// }
// }
// var obj2 = JSON.stringify(obj);
// appCollaboration(obj2)
// }
if (getRequest().appversion >= 7300) {
$(".recording").hide();
var obj = {
"cid": 29,
"reqCode": new Date().getTime(),
"data": {
"msg": "h5网页右上角显示图标",
"info": [
{
"imgUrl": 'https://app.ixiulive.com/static/app/img/3_1.png?v=202204011725',
"explain": langList[langType].upright4,
"cid": "15",
"reqCode": new Date().getTime(),
"data": {
"urls": [
{
"url": $url + '/footseen/Nesting/recording/gem.html' + window.location.search,
"title": langList[langType].dew18,
"rightBtnImageURL": '',
"rightBtnClickURL": ''
},
{
"url": $url + '/footseen/Nesting/recording/dew.html' + window.location.search,
"title": langList[langType].dewExchangeTitle3,
"rightBtnImageURL": '',
"rightBtnClickURL": ''
}
],
"select": 1,
"titleColor": "",
"titleSelectedColor": "",
"titleBackground": '',
}
},
{
"imgUrl": 'https://app.ixiulive.com/static/app/img/kf.png',
"explain": langList[langType].upright2,
"cid": "4",
"data": {
"msg": langList[langType].upright7,
'title': langList[langType].upright6,
"customerLayer": "1",
"uid": "1001",
"face": "https://zhibocdn.yabolive.net/comm/img/appicon/yqzx_icon_v1.png?x-oss-process=image/resize,h_100,w_100",
"nickname": langList[langType].upright6,
}
},
]
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2)
}
$('.mBtnCon div').on('click', function () {
$(this).addClass('check').siblings().removeClass('check');
......
......@@ -150,63 +150,49 @@
console.log(err)
}
//7300后新增客服圖標
// if (getRequest().appversion >= 7300) {
// var $url = 'http://www.yabolive.tv';
// $(".recording").hide();
// var obj = {
// "cid": 29,
// "reqCode": new Date().getTime(),
// "data": {
// "msg": "h5网页右上角显示图标",
// "info": [
// {
// "imgUrl": 'https://app.ixiulive.com/static/app/img/3_1.png?v=202204011725',
// "explain": langList[langType].upright4,
// "cid": "15",
// "reqCode": new Date().getTime(),
// "data": {
// "urls": [
// {
// "url": $url + '/Nesting/recording/gem.html' + window.location.search,
// "title": langList[langType].dew18,
// "rightBtnImageURL": '',
// "rightBtnClickURL": ''
// },
// {
// "url": $url + '/Nesting/recording/dew.html' + window.location.search,
// "title": langList[langType].dewExchangeTitle3,
// "rightBtnImageURL": '',
// "rightBtnClickURL": ''
// }
// ],
// "select": 1,
// "titleColor": "",
// "titleSelectedColor": "",
// "titleBackground": '',
// }
// },
// {
// "imgUrl": 'https://app.ixiulive.com/static/app/img/kf.png',
// "explain": langList[langType].upright2,
// "cid": "4",
// "data": {
// "msg": langList[langType].upright7,
// 'title': langList[langType].upright6,
// "customerLayer": "1",
// "uid": "1001",
// "face": "https://zhibocdn.yabolive.net/comm/img/appicon/yqzx_icon_v1.png?x-oss-process=image/resize,h_100,w_100",
// "nickname": langList[langType].upright6,
// }
// },
// ]
// }
// }
// var obj2 = JSON.stringify(obj);
// appCollaboration(obj2)
// }
// 7300后新增客服圖標
if (getRequest().appversion >= 7300) {
$(".recording").hide();
var obj = {
"cid": 29,
"reqCode": new Date().getTime(),
"data": {
"msg": "h5网页右上角显示图标",
"info": [
{
"imgUrl": 'https://app.ixiulive.com/static/app/img/3_1.png?v=202204011725',
"explain": langList[langType].upright4,
"cid": "15",
"reqCode": new Date().getTime(),
"data": {
"url": $url + '/footseen/Nesting/withdraw/fireflyRmb/takeOut.html' + window.location.search,
'title': langList[langType].takeRecord,
"rightBtnImageURL": '',
"rightBtnClickURL": '',
}
},
{
"imgUrl": 'https://app.ixiulive.com/static/app/img/kf.png',
"explain": langList[langType].upright2,
"cid": "4",
"data": {
"msg": langList[langType].upright7,
'title': langList[langType].upright6,
"customerLayer": "1",
"uid": "1001",
"face": "https://zhibocdn.yabolive.net/comm/img/appicon/yqzx_icon_v1.png?x-oss-process=image/resize,h_100,w_100",
"nickname": langList[langType].upright6,
}
},
]
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2)
}
var priceObj = {
1: {
......
......@@ -269,6 +269,7 @@
.p-w .apple-ul li.jkopay {
display: none !important;
}
/* 暂时屏蔽visa */
/* .newvisapay{
display: none !important;
......@@ -325,22 +326,60 @@
var bbb = location.href;
var data = url_get_params(bbb)
if (data.appversion >= 5960) {
$('.bigRecord').hide();
try {
var obj = {
"cid": 26,
"reqCode": new Date().getTime(),
"data": {
"msg": "左上角上角添加 联系客服",
"type": 1,
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2)
} catch (err) {
if (getRequest().appversion >= 7300) {
$(".recording").hide();
var obj = {
"cid": 29,
"reqCode": new Date().getTime(),
"data": {
"msg": "h5网页右上角显示图标",
"info": [
{
"imgUrl": 'https://app.ixiulive.com/static/app/img/3_1.png?v=202204011725',
"explain": langList[langType].upright4,
"cid": "15",
"reqCode": new Date().getTime(),
"data": {
"urls": [
{
"url": $url + '/footseen/Nesting/recording/gem.html' + window.location.search,
"title": langList[langType].dew18,
"rightBtnImageURL": '',
"rightBtnClickURL": ''
},
{
"url": $url + '/footseen/Nesting/recording/dew.html' + window.location.search,
"title": langList[langType].dewExchangeTitle3,
"rightBtnImageURL": '',
"rightBtnClickURL": ''
}
],
"select": 1,
"titleColor": "",
"titleSelectedColor": "",
"titleBackground": '',
}
},
{
"imgUrl": 'https://app.ixiulive.com/static/app/img/kf.png',
"explain": langList[langType].upright2,
"cid": "4",
"data": {
"msg": langList[langType].upright7,
'title': langList[langType].upright6,
"customerLayer": "1",
"uid": "1001",
"face": "https://zhibocdn.yabolive.net/comm/img/appicon/yqzx_icon_v1.png?x-oss-process=image/resize,h_100,w_100",
"nickname": langList[langType].upright6,
}
},
]
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2)
}
......
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