App.vue
onLaunch: function() {
let sys = uni.getSystemInfoSync();
let djs_view = new plus.nativeObj.View('djs', {
top: '100px',
left: '100px',
height: '30px',
width: '150px'
}, [{
tag: "font",
id: "djstext",
text: "hello",
color: "#000000",
textStyles: {
color: "#000000",
align: "center"
},
position: {
top: '0px',
left: '0px',
width: '100%',
height: '100%'
}
}
]);
djs_view.show();
}
index.nvue
onLoad(){
setTimeout((){
plus.navigator.closeSplashscreen();
},1000);
}
banro (作者)
android是可以的,IOS上不能支持吗
2023-06-28 18:03
DCloud_iOS_WZT
回复 banro: 安卓也没有刻意支持 只是没限制罢了 iOS原生本来就不可以动态的在启动页上加view
2023-06-28 20:35