1.1.2 • Published 2 years ago

vuepress-plugin-kan-ban-niang-hjy v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@vuepress-reco/vuepress-plugin-kan-ban-niang

demo.png

Details

kan-ban-niang plugin for vuepress-theme-reco or other vuepress theme.
Vuepress 看板娘插件

使用位置
plugin name@vuepress-reco/vuepress-plugin-kan-ban-niang
component nameKanBanNiang(自动出现在页面中,无需添加额外代码)

Buttons

按钮作用默认提示语
home回到博客主页心里的花,我想要带你回家。
message显示主人寄语'欢迎来到 ' + 您的站点名称($site.title)
theme更换模型主题好吧,希望你能喜欢我的其他小伙伴。
close关闭看板娘你知道我喜欢吃什么吗?痴痴地望着你。
info跳转插件github想知道关于我的更多信息吗?

Options

以下为插件注入时的参数。

Attributes

参数说明类型默认值可选值
theme默认模型主题Array'blackCat', 'whiteCat', 'haru1', 'haru2', 'haruto', 'koharu', 'izumi', 'shizuku', 'wanko', 'miku', 'z16'见最后
clean是否开启clean模式(隐藏所有按钮)Booleanfalsetrue/false
messages按钮提示语Object{ welcome: '欢迎来到 ' + 您的站点名称($site.title), home: '心里的花,我想要带你回家。', theme: '好吧,希望你能喜欢我的其他小伙伴。', close: '你知道我喜欢吃什么吗?痴痴地望着你。' }-
messageStyle自定义消息框样式Object{ right: '68px', bottom: '190px' }-
modelStyle自定义模型样式Object{ right: '90px', bottom: '-20px', opacity: '0.9' }-
btnStyle自定义按钮样式Object{ right: '90px', bottom: '40px' }-
width模型宽度Number150-
height模型高度Number220-

theme说明

  • theme仅包含一个值是默认为此主题并隐藏更换主题按钮
  • theme为多个值时初始化默认为第一个主题,点击更换主题按钮随机更换数组内的其他主题
  • 请注意主题名的大小写

theme可选值

themes.png

About

1.1.2

2 years ago

1.1.1

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago