【发布时间】:2018-07-09 08:50:13
【问题描述】:
使用Label Nativescript时如何改变菜单栏文字颜色。
我的代码:
<StackLayout row="1" orientation="horizontal" backgroundColor="#eae8e8" class="foot">
<Label width="25%" textAlignment="left" [nsRouterLink]="['/photos']">
<FormattedString>
<Span text="Photos"></Span>
</FormattedString>
</Label>
<Label width="25%" textAlignment="left" [nsRouterLink]="['/albums']">
<FormattedString>
<Span text="Albums"></Span>
</FormattedString>
</Label>
</StackLayout>
【问题讨论】:
-
可以添加游乐场演示吗?
标签: html typescript xhtml nativescript