setWinText : function (levelStr1,levelStr2,levelStr3,color1,color2) { var imgRankingBG = this.container.getComponentByName("imgRankingBG",this.maskNode); var str1 = new ccui.RichElementText(11,color1,255,levelStr1,null,30); var str2 = new ccui.R
[rich-text] 富文本组件可以显示HTML代码样式. 1)支持事件:tap.touchstart.touchmove.touchcancel.touchend和longtap 2)信任的HTML节点及属性 a abbr b blockquote br code col span,width colgroup span,width dd del div dl dt em fieldset h1 h2 h3 h4 h5 h6 hr i img alt,src,height,width (仅支