1

我有一个小问题,我试图弄清楚如何让某个按钮在有新帖子时变成橙色,但是我无法完成。

这是我现在的代码:

.xbUserPanelBox .xbUserPanelMenus .newPosts .navLink
{
@property "xb_user_panel_new_posts";
<xen:if is="{$thread.isNew} AND {$thread.haveReadData}">color: rgb(255, 128, 0);
<xen:else />color: white;</xen:if>
@property "/xb_user_panel_new_posts";
}

如果有人可以提供帮助,将不胜感激。

4

0 回答 0