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 🙏

© 2026 – Pkg Stats / Ryan Hefner

mrcomponentlibrary

v1.0.6

Published

基于茂日客聚集内部的组件库

Readme

茂日客聚集组件库

本项目基于茂日客聚集项目分离出来的组件库,暂供内部人员使用。

Install

npm install mrcomponentlibrary --save

Quick Start

import Vue from 'vue'
import Element from 'element-ui'
import MRComponentLibrary from 'mrcomponentlibrary'

Vue.use(MRComponentLibrary);
Vue.use(Element)

一、basic(基础组件)


  • mrCustomClass:自定义样式
  • LabelComponent组件使用labelClass字段作为自定义样式

01.BillCont 单据日期手工单号组件(这里多用于会员详情面板)

02.ComplexSelect 复合下拉框组件(这里只用于收支分类)

03.DateSegmentPicker 范围时间选择器(基于cube封装的组件,共三个版本)

04.DiscountSegment 范围时间选择器(运用场景不清楚)

05.FilterInput 范围输入框(两个范围值的输入框,多于用金额范围)

06.FooterButton 按钮组组件(一般用于弹窗的footer组件)

07.LabelComponent 块级复用组件(左侧文字,右侧任意组件)

08.MrTips 弹出框提示组件(多用于弹窗取消和确定,类似于element的MessageBox框)

09.SayTip 提示文字(基于element的Tooltip封装的)

10.SearchInput input框(有三种,CustomInput用于正则验证,NumInput用于数字,SearchInput用于搜索)

11.select 下拉框组件(多用于基础设置页面的下拉框)

12.SelectorButton 下拉框组件2(多用于基础设置页面的下拉框, 主要用在button按钮多的情况下的更多操作)

13.SelectorMultiple 多选下拉框组件 (功能和普通下拉框差不多,只是能多选)

14.Share “享”字(多用于有享的字)

15.TypeSelector 类型选择组件

15.MrCard 类型选择组件 卡片

16.MrDateSegmentPicker 时间组件(范围时间和单个的时间--已经处理了不同端)

17.MrIconSvg iconfont--svg(有颜色的)

18.MrPattern 应用图片组件(应用图片)

19.MrEllipsis 带有提示内容组件(如果有超出有省略内容,然后需要提示,可以使用该初见)

20.NavTab tab切换 (二选一的那种)

21.MrQrAmplification 放大二维码(扫码二维码,放大)

21.MrDefault 缺省图(缺省图)

22.MrReportTab 报表新样式报表tab(报表新样式tab)

23 SectionPicker 区间选择器


二、complex(复杂逻辑公共组件)

01.MrDialog 弹窗组件