npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ts-nodata

v0.0.3

Published

http://ui.ucmed.cn/#/other/nodata

Downloads

3

Readme

nodata 无数据

http://ui.ucmed.cn/#/other/nodata

<ts-nodata 
  :text="text" 
  :textstyle="textstyle" 
  :type="type" 
  :layout="layout" 
  :size="size" 
  :orient="orient">
</ts-nodata>

API

Props

|Prop|Required|Default Value|Description| |:-|:-|:-|:-| |text|false|string|文本内容| |textstyle|false|false|字相对于图的摆放位置| |type|false|false|图片链接| |layout|false|false|图片的摆放方式| |size|false|false|图片尺寸| |orient|false|false|整体模块与其它模块的排列方式|

text [文本内容]

|可选值共15项|||| |:-|:-|:-|:-| |搜索不到相关结果|一条记录都没有|还没有相关报告|还没有缴费记录| |还没有叫号信息|还没有收藏|暂时没有新消息|未添加就诊人| |暂无医生排班|支付成功|支付失败|暂无直播| |暂无科室|网络不太顺畅|找不到相关数据|

textstyle [字相对于图的摆放位置]

|序号|可选值|| |:-|:-|:-|:-| |1|lay-horizen|图和文字水平排列| |2|lay-vertical|图和文字垂直排列|

type [图片链接]

|序号|可选值|对应text|URL| |:-|:-|:-|:-| |1|search-result|搜索不到相关结果|../img/default/nodata/t1.png| |2|none-record|一条记录都没有|../img/default/nodata/t2.png| |3|relate-repor|还没有相关报告|../img/default/nodata/t3.png| |4|cost-record|还没有缴费记录|../img/default/nodata/t4.png| |5|call-info|还没有叫号信息|../img/default/nodata/t5.png| |6|none-store|还没有收藏|../img/default/nodata/t6.png| |7|none-news|暂时没有新消息|../img/default/nodata/t7.png| |8|none-patient|未添加就诊人|../img/default/nodata/t8.png| |9|none-doctor|暂无医生排班|../img/default/nodata/t9.png| |10|pay-success|支付成功|../img/default/nodata/t10.png| |11|pay-fail|支付失败|../img/default/nodata/t11.png| |12|none-broadcast|暂无直播|../img/default/nodata/t12.png| |13|none-office|暂无科室|../img/default/nodata/t13.png| |14|bad-network|网络不太顺畅|../img/default/nodata/t14.png| |15|none-data|找不到相关数据|../img/default/nodata/t15.png|

layout [图片的摆放方式]

|序号|可选值|| |:-|:-|:-|:-| |1|lay-block|与文字不同行| |2|lay-inline-block|与文字同行|

size [图片尺寸]

|序号|可选值|| |:-|:-|:-|:-| |1|size1|默认尺寸[ height:160px; width:180px]|

orient [整体模块与其它模块的摆放方式]

|序号|可选值|| |:-|:-|:-|:-| |1|layout-vertical|与其它模块不同行摆放| |2|layout-horizen|与其它模块同行摆放|