大约有 1,151 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0050 秒)
...www.baidu.com"; goToNewWindow(url); } 这是index.html的js方法 <script> function goToNewWindow(payurl) { var a = $("<a href='"+payurl+"' target='_blank'>click</a>").get(0); console.log("aaa",a); var e = document.createEvent('MouseEvents'); e.in...
来源: Laya_社区 发布时间: 20180321
...什么文件。 lock_neo • 2018-06-03 11:51 文件的话,引入了<script type="text/javascript" src="libs/laya.wxmini.js"></script>,这个,然后在开始的时候进行了Laya.MiniAdpter.init(true);,接着就尝试console.log(Laya.Browser.window.wx); 是未定...
来源: Laya_社区 发布时间: 20180602
...代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ProgressBar }) public progressBar: Laya.ProgressBar; @property({ type: Laya.Text }) public loadText: Laya.Text; //组件被激活后执行,此时所有节点和组件均...
来源: Laya3.0_文档 发布时间: 20251010
...title> </head> <body bgcolor="gainsboro"> </body> <script src="libs/laya.core.js"></script> <script src="linkgame.js"></script> </html> 再建立个linkgame.js,用下列代码进行初始化。个人建议把窗口初始化成16:9的,否则全...
来源: Laya_社区 发布时间: 20160623
.../bin/js/bundle.js:51762:26) index.html 已经有引用了 <script type="text/javascript" src="libs/laya.physics3D.js"></script> 2018-10-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...
来源: Laya_社区 发布时间: 20181014
...:none;overflow-x:hidden;overflow-y:hidden;background-color: #000;'> <script src='LayaSample.max.js' loader='laya'></script> </body> </html> 背景没有赋值成黑色 2017-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20170711
...、Tips等。 config.js的位置: ``` Android: 工程目录下的assets/scripts/config.js IOS:工程目录下的resources/scripts/config.js ``` config.js中的内容如下所示,开发者可以根据自己的需求进行修改: ```javascript window.loadingView = new loadingView(); if(window.l...
来源: Laya2.0_文档 发布时间: 20210715
...r:, performSelector:, method_exchangeImplementations(), and running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) a...
来源: Laya_社区 发布时间: 20191104
...目中直接搜索config.js文件): Android: 工程目录下的assets/scripts/config.js IOS:工程目录下的resources/scripts/config.js config.js中的内容如下所示,开发者可以根据自己的需求进行修改: window.loadingView = new loadingView(); if(window.loadingView) { windo...
来源: Laya3.0_文档 发布时间: 20251010
...所示: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 } } 效果如...
来源: Laya3.0_文档 发布时间: 20251010