大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0138 秒)
...同来自: cuixueying 在HTML页面加上这句可以解决。<script>document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);</script> 2016-09-01 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 你好,这个取决于手机端浏览器的限制,la...
来源: Laya_社区 发布时间: 20160831
... } function onMouseMove(e) { if(mouseX!=0){ if(Math.abs(mouseX-ape.mouseX)>= 360){ //滑动超过多少距离 自动开奖 ape.visible = false; mouseX = ape.mouseX; } }else{ mouseX = ape.mouseX; } interactionArea.graphics.drawCircle(ape.mouseX, ape.mouseY, 20, "#000000"); } 效果如下 附件...
来源: Laya_社区 发布时间: 20170615
...constructor() { super(); this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null, () => { this.showDialog("注册功能暂未开放") }); } showDialog(context: string) { // if (this.normalDialog) { // this.normalD...
来源: Laya_社区 发布时间: 20181216
...签,看看原始的audio能不能播。 <audio src="sounds/fish.mp3"> 您的浏览器不支持 audio 标签。 </audio> 然后奇怪的事情发生了,现在可以用Laya.SoundManager播放了,不管是web audio还是h5 audio都可以了 求解释 附件 : --> SoundTest.rar 2017-08...
来源: Laya_社区 发布时间: 20170823
...r: Unexpected token: punc (,) at JS_Parse_Error.get (eval at <anonymous> (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/layacmd/node_modules/uglify-js/tools/node.js:27:1), <anonymous>:86:23) 2017-11-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20171113
... onMouseDown(e: Event): void { var touches: Array<any> = e.touches; if (touches && touches.length == 2) { this.preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, ...
来源: Laya_社区 发布时间: 20171201
...想增加一句: var View=laya.ui.View; var Dialog=laya.ui.Dialog; ----> var Box=laya.ui.Box; <-------- 请问这个文档的生成模板在哪里改? 2018-01-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20180120
...TML this._element.innerHTML = “<a href="文本按钮" target="_blank">文本按钮</a>”; 不光是HTML文本报错,普通文本传进去也要报错! 附件 : --> 2022-06-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20220602
...Ctrl+v this.owner.on("keydown", this, (event: KeyboardEvent) => { if (event.ctrlKey && event.key === "c") { event.preventDefault(); } if (event.ctrlKey && event.key === "v") { ...
来源: Laya_社区 发布时间: 20251115
...is.img_head.addChild(p); var html: string = "<img src='" + imgUrl + "'/>";// style='width:96;height:96' />"; p.innerHTML = html; 其他的大部分图片这两种方案都是没问题可以正常显示的。麻烦帮忙看一下,谢谢 2017-07-09 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20170709