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

大约有 78 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0030 秒)

61. vivo加载资源报错问题 [ 68%]

...错: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)} span.s1 {font-variant-ligatures: no-common-ligatures} ERROR: Uncaught SyntaxError: Unexpected end of JSON input, location: undefined:0:0   求...

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

62. 版本2.1.0HTMLDivElement设置width无效,被自动换行!!! [ 68%]

...下面图片   HTMLDivElement内容:<span style='font:22px SimHei' color='#ffffff'>啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊</span> 附件 : --> 2019-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

63. html富文本为什么很多属性不起作用 [ 68%]

...不起作用 let html = new HTMLDivElement(); let str = "<span style='color:#ffffff; line-height:20px'>.....</span>" html.innerHTML=str; 比如这个line-height 怎么弄都是没反应。而且这里很多html/css的样式好像都设置不了,有限制的吗? 用html.style.leadin...

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

64. HTMLDivElement 设置InterHtml的值中包含特殊字符被换行的问题 [ 67%]

...问题 给HTMLDivElement 设置InterHtml值设置如下: <span style='color:#3ebdf4'>-111111-bbbbbbbbbbbbbbbbbbbbbbbb</span> 自动换行时因文本中包括两个特殊字符"-",显示的结果是文本从第二个"-"之前被换行了: -111111 -bbbbbbbbbbbbbbbbbbbbbbbb   把特...

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

65. Native iOS 使用系统默认字体 [ 66%]

...认字体?  p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {color: #c41a16}p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} 2018-11-19 添加评论 免费帖 --> 分享 微博 QZONE...

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

66. HTMLDIVElement设置innerHTML时报错 [ 64%]

... = 30; html.style.whiteSpace = "nowrap"; html.innerHTML = '<span style="color:#ffffff">test</span>'; html.pos(500, 300); html.size(html.contextWidth, html.contextHeight); Laya.stage.addChild(html); setTimeout(function() { html.innerHTML = ''; }, 300);此问题是由于在新版中改变...

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

67. 技术文档svg不可以使用 [ 63%]

...-js-3-4-1   //初始化引擎Laya.init(600, 400, Laya.WebGL);Laya.stage.bgColor = "#ffcccc";var data = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' +'<foreignObject width="100%" height="100%">' +'<div xmlns="http://www.w3.org/1999/xhtml"...

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

68. fatal error: 'string' file not found [ 61%]

...供解决方案 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #a31515; background-color: #ffffff} span.s1 {color: #0000ff} 附件 : --> 2019-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复...

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

69. HtmlDivElement限制文本宽度无效? [ 60%]

...合无效(版本2.6) HTMLDivElement 2.0 排版问题 2.0 drawTexture color参数无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 富文本:LayaAir下 HtmlDivElement的使用汇总 关于同为object层,层级设置无效的问题 (此问题已经无效) matter.js mouseconstrain...

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

70. 分享一个自己做的游戏公告功能,跑马灯效果 [ 58%]

....html.style.lineHeight = 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) ...

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