Commit faaea50d by kaisa

feat:更新

parent c8ae704a
Showing with 10 additions and 1 deletions
...@@ -12,7 +12,7 @@ else { ...@@ -12,7 +12,7 @@ else {
$ip2 = 'https://testhy.ybact.yazhaiyabo.com' $ip2 = 'https://testhy.ybact.yazhaiyabo.com'
} }
let imgUrl1, imgUrl2, imgUrl3, imgUrl4; let imgUrl1, imgUrl2, imgUrl3, imgUrl4, imgUrl5, imgUrl6, imgUrl7;
let fileName = $firefly.urlData.appname; let fileName = $firefly.urlData.appname;
// 通过包名判断 // 通过包名判断
const isFirefly = fileName == 'com.happy.live' || fileName == 'com.yzfirefire.live.ios' || 'com.happy.live.android' const isFirefly = fileName == 'com.happy.live' || fileName == 'com.yzfirefire.live.ios' || 'com.happy.live.android'
...@@ -36,12 +36,18 @@ if (isFirefly) { ...@@ -36,12 +36,18 @@ if (isFirefly) {
imgUrl2 = 'https://app.ixiulive.com/static/app/img/fusi/share1.png' imgUrl2 = 'https://app.ixiulive.com/static/app/img/fusi/share1.png'
imgUrl3 = 'https://app.ixiulive.com/static/app/img/fusi/5.png' imgUrl3 = 'https://app.ixiulive.com/static/app/img/fusi/5.png'
imgUrl4 = 'https://app.ixiulive.com/static/app/img/fusi/title_fusiya.png' imgUrl4 = 'https://app.ixiulive.com/static/app/img/fusi/title_fusiya.png'
imgUrl5 = 'https://big.bgp.ourpow.com/comm/webShare/close.png'
imgUrl6 = 'https://big.bgp.ourpow.com/comm/webShare/kf.png';
imgUrl7 = 'https://big.bgp.ourpow.com/comm/webShare/refresh.png';
} else { } else {
// 其他马甲包 // 其他马甲包
imgUrl1 = 'https://app.ixiulive.com/static/app/img/' + fileName + '/kf.png'; imgUrl1 = 'https://app.ixiulive.com/static/app/img/' + fileName + '/kf.png';
imgUrl2 = 'https://app.ixiulive.com/static/app/img/' + fileName + '/share1.png' imgUrl2 = 'https://app.ixiulive.com/static/app/img/' + fileName + '/share1.png'
imgUrl3 = 'https://app.ixiulive.com/static/app/img/' + fileName + '/5.png' imgUrl3 = 'https://app.ixiulive.com/static/app/img/' + fileName + '/5.png'
imgUrl4 = 'https://app.ixiulive.com/static/app/img/' + fileName + '/title.png' imgUrl4 = 'https://app.ixiulive.com/static/app/img/' + fileName + '/title.png'
imgUrl5 = 'https://big.bgp.ourpow.com/comm/webShare/close.png'
imgUrl6 = 'https://big.bgp.ourpow.com/comm/webShare/kf.png';
imgUrl7 = 'https://big.bgp.ourpow.com/comm/webShare/refresh.png';
} }
......
...@@ -208,6 +208,9 @@ webAppComm.prototype.goWebView = function (url) { ...@@ -208,6 +208,9 @@ webAppComm.prototype.goWebView = function (url) {
} }
//3:分享 //3:分享
// shareContent 分享内容
// shareType 分享方式
// shareConfig:网页配置了这的话就全显示网页传的,如果网页未传即使用客户端通用的三个配置:刷新、客服、关闭
webAppComm.prototype.goShare = function (shareContent, shareType, shareConfig) { webAppComm.prototype.goShare = function (shareContent, shareType, shareConfig) {
let mShare = shareType || { let mShare = shareType || {
//分享方式 1图片 2文字 3网页 //分享方式 1图片 2文字 3网页
......
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