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

ybj-ui

v1.0.9

Published

医保业务组件

Downloads

3

Readme

Hyper 一个 Vue UI组件库

Build Status

在线文档

点我查看文档

介绍

因为发现很多医保的业务组件,风格和业务逻辑是一样的,此前的做法都是copy到每个项目或者不明真相的人自己又写了一个类似的组件。

而且维护也困难,样式和规范也不统一。本着让大家减少重复造轮子,并且统一UI规范的想法

如果能集中把这些医保业务组件从每个项目抽离共享出来,发布成一个npm包统一管理下载和版本升级,那后期不管是维护还是功能新增,前端开发工作量就减少了,UI规范方面也很容易达成统一。

欢迎大家一起来开发完善和共享这个业务组件库 O(∩_∩)O,让它更方便后续为我们医保业务前端开发所使用。

开始使用

  • CSS 样式

在安装使用本框架的时候,请在 CSS 中设置 box-sizing 为 border-box:

*,*::before,*::after{box-sizing: border-box}

设置相关颜色变量(后续会改为 SCSS 变量):

/* IE15 及以上浏览器皆支持此样式 */
:root{
    --button-height:32px;
    --font-size:14px;
    --button-bg:white;
    --button-active-bg:#eee;
    --border-radius:4px;
    --color:#333;
    --border-color:#999;
    --border-color-hover:#666;
}
  • 安装 ybUI

npm install --save ybj-ui

  • 引入 ybUI
import Vue from 'vue';
import App from './App.vue';

//引入ElementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

//全局引入医保UI
import ybUI from 'ybj-ui';
import 'ybj-ui/dist/index.css'

Vue.use(ElementUI);
Vue.use(ybUI);

new Vue({
  el: '#app',
  render: h => h(App)
});

文档

变更记录

联系方式