1/9
下一页 尾页
var WHITELIST_CUSTOM = [{
name: 'document',
/** document 允许使用以下属性或方法*/
properties: ['getElementsByClassName']
}]
MIP.watch('i', function (newVal) {
var ele2 = MIP.sandbox.document.getElementsByClassName('zg_fns');
for(var s=0;s< ele2.length;s++){
if(newVal==s){
console.log(ele2[s].style.display)
ele2[s].style.display = "block";
}else{
ele2[s].style.display = "none";
}
if(s==ele2.length){MIP.setData({i: ""})}
}
})