mill-vue-bootimportant
v1.0.1
Published
1. 导入 ``` import {Nav} from 'mill-vue-bootimportant' ``` 2. 注册 ``` export default { name: 'Haha', components:{ Hehe ,InputOne,Nav}, ... ``` 3. 使用
Downloads
1
Readme
Nav 导航条使用手册
- 导入
import {Nav} from 'mill-vue-bootimportant'
- 注册
export default {
name: 'Haha',
components:{ Hehe ,InputOne,Nav},
...
- 使用
<template lang="jade">
div
Nav(:info="navData")
...
- 数据示例
navData:{
title:"巴宝莉",
inputmsg:"请输入您要搜索的品牌",
buttxt:"搜索",
left:[{
content:"新闻",
href:"http://www.baidu.com"
},{
content:"时尚",
href:"http://www.qq.com",
child:[
{
content:"女装",
href:"http://www.qq.com"
},{
content:"男装",
href:"http://www.qq.com"
},{
content:"童装",
href:"http://www.qq.com"
}
]
},{
content:"军事",
href:"http://www.163.com"
}],
right:[{
content:"新闻",
href:"http://www.baidu.com"
},{
content:"时尚",
href:"http://www.qq.com",
child:[
{
content:"女装",
href:"http://www.qq.com"
},{
content:"男装",
href:"http://www.qq.com"
},{
content:"童装",
href:"http://www.qq.com"
}
]
},{
content:"军事",
href:"http://www.163.com"
}]
},