2 Star 5 Fork 6

dakedou / nh-light

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

nh-light

介绍

layui插件,导航高亮 根据数据展示最多到二级目录. 可以修改样式文件.nav-pcc

预览教程

输入图片说明

输入图片说明

输入图片说明

使用说明

为了更好的展示,下载后预览index.html文件,可能有跨域问题,建议用服务器预览。 主要文件在js/NHighlight.js 文件中 header.html的js中有详细有调用的方式。

layui.use(['NHighlight'],function(){
        var NHighlight = layui.NHighlight
        NHighlight.init({
            elemId:'#nav',
            data:data,
            // themeColor:'#555',   //主题颜色 ,默认#4395ff
            // themeStyle:'backdrop',          //主题风格 ,边框或背景色 backdrop,默认边框 border
            // hoverBool:true       //是否有hover效果 ,默认有
        })

Repository Comments ( 0 )

Sign in to post a comment

About

layui插件,导航高亮 expand collapse
HTML and 2 more languages
Cancel

Releases

No release

nh-light

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/dakedou/nh-light.git
git@gitee.com:dakedou/nh-light.git
dakedou
nh-light
nh-light
master

Search