大约有 160 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya_社区(146) Laya2.0_文档(4) Laya_示例(2) laya_api(2) Laya3.0_api(2) Laya3.0_文档(2) Laya2.0_示例(1) Laya2.0_api(1)
...t;span style="color:white;font:24px Arial">paragraph 3</span>'; p.innerHTML = html; p.innerHTML = html; } })(); 附件 : --> 2018-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 魏飞黄 赞同来...
来源: Laya_社区 发布时间: 20180808
...里面加的。我是IDE在UI界面里添加的一个html控件。然后给innerHtml赋值的时候带有<img> 标签。 但是<span>标签设置字体颜色和字体大小是有效的啊 Monica • 2018-01-06 18:03 @momo199059:使用HTMLDivElement显示图片的话是不会有问题的...
来源: Laya_社区 发布时间: 20180106
...; htmlDiv.style.leading = leading; htmlDiv.style.align = "center"; htmlDiv.innerHTML = "确定要退出副本吗?"; 附件 : --> 2019-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自:...
来源: Laya_社区 发布时间: 20190227
...载远端脚本,可以实现这种功能。也可以通过设置script的innerHTML来实现,当然还有第三种eval。下面我们就这几种情况分别说明下用法。 #### 通过设置src来实现 script的创建可以手动添加到页面,也可以代码动态的创建。这里我们...
来源: Laya2.0_文档 发布时间: 20210714
...载远端脚本,可以实现这种功能。也可以通过设置script的innerHTML来实现,当然还有第三种eval。下面我们就这几种情况分别说明下用法。 #### 通过设置src来实现 script的创建可以手动添加到页面,也可以代码动态的创建。这里我们...
来源: Laya2.0_文档 发布时间: 20210715
...55 this.html.style.align = "left" this.html.style.color = "#fff" this.html.innerHTML = "" this.hornBox.addChild(this.html) this.addChild(this.hornBox) } /** 滚动动画 */ private _animate(e: Event): void { const _w = this.html.width const _x = this.html.x if (_x < -_w) { this.stop(true) } else ...
来源: Laya_社区 发布时间: 20180314
...ate textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['conten...
来源: Laya_社区 发布时间: 20170911
...ate textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client...
来源: Laya_社区 发布时间: 20170911
...载远端脚本,可以实现这种功能。也可以通过设置script的innerHTML来实现,当然还有第三种eval。下面我们就这几种情况分别说明下用法。 #### 通过设置src来实现 script的创建可以手动添加到页面,也可以代码动态的创建。这里我...
来源: Laya2.0_文档 发布时间: 20210715
...ate textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['conten...
来源: Laya_社区 发布时间: 20170911