2、在通话界面点击左下角图标,进入通话功能选项
3、选择电话设置,点击进入
4、在电话设置中,选择更多设置
5、点击来电时通话背景选项即可更改来电通话时的背景图片。
(function(w) {document.addEventListener('plusready', function() {
// console.log("Immersed-UserAgent: "+navigator.userAgent)
}, false)
var immersed = 0
var ms = (/Html5Plus\/.+\s\(.*(Immersed\/(\d+\.?\d*).*)\)/gi).exec(navigator.userAgent)
if(ms &&ms.length >= 3) {
immersed = parseFloat(ms[2])
}
w.immersed = immersed
var t = document.getElementById('header')
var bgc = '-webkit-linear-gradient(top,rgba(50,133,255,1),rgba(50,133,255,1))'
if(!immersed) {
t.style.background = bgc
t.style.color = '#FFF'
return
}
t.style.height = (44 + immersed) + 'px'
t &&(t.style.paddingTop = immersed + 'px', t.style.background = bgc, t.style.color = '#FFF')
t = document.getElementById('content')
t &&(t.style.marginTop = (immersed) + 'px')
t = document.getElementById('dcontent')
t &&(t.style.marginTop = immersed + 'px')
t = document.getElementById('map')
t &&(t.style.marginTop = immersed + 'px')
})(window)
然后你只需要在header和mui-content上加id就可以了
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)