eyoucms 导航高亮焦点显示方法(易优)
eyoucms 导航高亮焦点显示方法" style="box-sizing: content-box; margin: 0px 0px 0px 20px; padding: 0px; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 10; font-family: "microsoft yahei", simhei, sans-serif; font-weight: 400; font-size: 16px; color: rgb(51, 51, 51); width: 416px;">
eyoucms 导航高亮焦点显示方法
高亮显示教程适用于您具有一定的CSS基础才可以了,前提把高亮显示的样式写好,然后再开始高亮显示标签适用。
{eyou:channel type="top" row="60" id="field" currentstyle="mehu"} <li> <a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}"> {$field.typename}</a> </li>
{/eyou:channel}
currentstyle="mehu"中mehu就是输出样式
这里说明的 再次解释下,
{eyou:channel type="top" row="60" id="field" currentstyle="mehu"} 其中 currentstyle="mehu" muhu 就是CSS字段
所以要做好样式才可以
<a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}"> 其中 class="{$field.currentstyle}" 里面的 currentstyle说明就是上级调用的 意思差不多就是 2个要有关联的
currentstyle取决于标签里面的 currentstyle mehu 样式
发表评论

小秋同学
不予博名 做好自己
热门文章
简介从eyoucms这个产品的发布到今天的正式版已经更新到版本1.4.0,不过后台页面只能自己看到,...
不知道什么时候开始,百度分享官网挂了,导致后来使用主题的客户无法使用百度分享,今天把自用的代码分享出...
JS禁止查看网页源代码的简单实现方法在项目开发中有时会遇到不想让别人轻易查看到网站的源代码信息,我们...
你还在用rem弹性布局吗?在html文件头部放入一大段压缩过的js代码,是不是让你很难受?来了解下v...
以增加仿宋,仿宋_GB2312两种字体为例,打publicpluginsUeditorlangzh-...
有时候 分段做个小化线点缀下 也是挺好看的 CSS 字段属性说明:border-top: 1px ...