
如图所示,红色区域我用得是
var sub = plus.webview.create('LocationAndType.html','LocationAndType',{width:'100%',top:'120px',height:'440px'},{});
sub.show();
蓝色区域我用是localStorage.setItem('location','全部区域');进行传值
但是如果在浏览器端打开的话,没有plus环境,用js原生应该怎么写...
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
用vue吧