1.0.2 • Published 4 years ago

mptitlebar v1.0.2

Weekly downloads
56
License
-
Repository
github
Last release
4 years ago

mptitlebar

安装

npm install mptitlebar -S

使用

  • import MpTitlebar from 'mptitlebar' 在src/main.js中引入组件
  • Vue.component('mp-titlebar', MpTitlebar) 在src/main.js中注册组件
  • <mp-titlebar title="页面标题" background="#fff" :back="true" :home="true"></mp-titlebar> 在页面使用

参数及方法

参数及方法类型说明默认值
extClassString可以传入的类名""
backgroundString背景色"rgba(255, 255, 255, 1)"
backgroundColorTopString渐变背景色的默认"rgba(255, 255, 255, 1)"
colorString文字颜色"rgba(0, 0, 0, 1)"
titleString页面标题""
searchTextString搜索框的placeholder"点我搜索"
searchBarBoolean是否显示搜索框false
backBoolean是否显示返回上一页按钮false
homeBoolean是否显示返回主页按钮false
iconThemeString默认icon的主题色"black"
deltaNumber后退的层级1
1.0.2

4 years ago

1.0.3-1

4 years ago

1.0.3-0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago