1.0.10 • Published 6 years ago

@bbjxl/wxc-abnor v1.0.10

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

wxc-abnor

MinUI 小程序组件 - 异常流提示

Install

$ min install @bbjxl/wxc-abnor

API

Abnor【props】

名称描述
type说明:异常状态类型,其优先级低于其他属性。类型String默认值:"" 可选值REQUEST_ERROR, NOT_FOUND, DATA, FOLLOW, FEED,SHOP, WEIBO, SEARCH, TAG, MESSAGE, LIVE, ORDER, CART, FOOTPRINT, COUPON
image说明:背景图。若与 type 同时指定,将覆盖 type 对应的 image类型String默认值""
title说明:标题。若与 type 同时指定,将覆盖 type 对应的 title类型String默认值""
tip说明:副标题。若与 type 同时指定,将覆盖 type 对应的 tip类型String默认值""
button说明:按钮文案。若与 type 同时指定,将覆盖 type 对应的 button类型String默认值""
bindabnortap说明:按钮事件。若配置了 button 属性,则需要指定事件。其中 REQUEST_ERROR, NOT_FOUND 两种 type 中均设置了默认的按钮文案

Link

地址
abnor 组件文档 https://meili.github.io/min/docs/minui/index.html#abnor
abnor 组件源码 https://github.com/bbjxl/minui/tree/master/packages/wxc-abnor
MinUI 组件库 https://github.com/meili/minui

Preview

abnor

ChangeLog

v1.0.3(2018.01.04)

  • 补全配置,避免报错

v1.0.2(2017.11.02)

  • update .npmignore

v1.0.1(2017.10.24)

  • 初始版本