版本2.1.1.1 游戏中用的高亮文字,例如下图 "使用 2钻石 可获得金币",2钻石是不同颜色高亮的。 白鹭的高亮文字有文本样式 1 2 3 4 5 6 txt.textFlow = <Array<egret.ITextElement>>[ {text: "花费", style: { "textColor": 0x0000}} , {text: "100", style: { "textColor": 0xf1e81b}} , {text: " 金币", style: { "textColor": 0x0000}} } ];