• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 493 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)

271. 2D物理-复合碰撞器 [ 58%]

...new Laya.Label("双击屏幕,将会产生100个新的小刚体")); label.top = 20; label.right = 20; label.fontSize = 16; label.color = "#e69999"; Laya.Laya.stage.on(Laya.Event.DOUBLE_CLICK, this, () => { this.totalBox += 100; }); Laya.Laya.timer.frameLoop(1, this, this.addMiniBox); } dispose() { ...

来源: Laya2.0_示例 发布时间: 20251130

272. HTMLDivElement 对齐问题! [ 58%]

...018-05-02 0 0 分享 微博 QZONE 微信 w1114367261 赞同来自: valign='top'不行吗? 2018-05-02 0 1 分享 微博 QZONE 微信 熊猫大侠 赞同来自: <span style="color:#AA7850;font-weight:bold;font:24px SimHei">对单个目标造成</span> <span style="color:#FF0000;font-w...

来源: Laya_社区 发布时间: 20180502

273. 如何使用h5打开本地文件的浏览窗口? [ 58%]

...tyle.zIndex = 999999'); ('file.style.position = "absolute"'); ('file.style.top = 20'); ('document.body.appendChild(file);') [IF-SCRIPT-END]*/ 2016-02-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 haliluya 相关问题 2.0一不小心...

来源: Laya_社区 发布时间: 20160216

274. Input 问题 求解??? [ 58%]

...候又不置顶了     _textInput.align="left";   _textInput.valign="top";     附件 : --> 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复   赞同来自: 请提供demo 2018-10-06 0 4 分享 微...

来源: Laya_社区 发布时间: 20180926

275. 怎么在原页面跳转到一个新的标签页 [ 58%]

... 与内容相关的链接 提交 2 个回复 黄晋 赞同来自:  Window.top.loca....href  2018-08-10 0 1 分享 微博 QZONE 微信 vincent 赞同来自: 不在同一个页面上打开的,你这个方法是在同一个标签内打开的 2018-08-10 0 0 分享 微博 QZONE 微信 为什么被折...

来源: Laya_社区 发布时间: 20180808

276. laya.ui.ColorPicker_API3.0 [ 58%]

...ect selectedColor skewX skewY skin stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy des...

来源: Laya3.0_api 发布时间: 20231115

277. 如何将原生iframe嵌入某个节点,像addChild那样嵌入 [ 58%]

... this.frame.style.padding="0"; this.frame.style.left="0"; this.frame.style.top="50px"; this.frame.id="OneGou"; this.frame.style.position="absolute"; this.frame.style.zIndex=100; this.frame.src="http://www.baidu.com"; Laya.Browser.document.body.appendChild(this.frame); // this.con.addChild(this.frame...

来源: Laya_社区 发布时间: 20190316

278. laya.ui.ProgressBar_API3.0 [ 58%]

...rollRect sizeGrid skewX skewY skin stage staticCache texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender de...

来源: Laya3.0_api 发布时间: 20231115

279. 网络加载贴图,Laya.loader.getRes(url) 不显示贴图 [ 58%]

...示贴图 通过Laya.loader.getRes(url),url地址为https://oss.arplus.top/arplus/ ... 9.jpg,想替换材质球的贴图,但是没有显示出来,具体看截图。 正常undefined的地方应该显示贴图的地址,但是为什么没有显示上去了。我需要怎么做才可以。求...

来源: Laya_社区 发布时间: 20200917

280. 我有元素是始终定位底部的,旋屏后就不准了,有什么好方法吗? [ 57%]

...Laya_XS 赞同来自: layaairide的ui组件也支持相对定位的:left top bottom right属性都可以设置! 2017-03-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 两个对象new了一个相同的对象,调用第一个的...

来源: Laya_社区 发布时间: 20170326