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

pjh-mobile-ui

v0.0.73

Published

UI for react.js

Downloads

10

Readme

pjh-mobile-ui

基于ReactJS的移动端UI库

安装

npm install pjh-mobile-ui

使用

import { Button, Cell } from pjh-mobile-ui;

已完成组件

  • Button 按钮
  • Cell 列表项
  • Checkbox 复选框
  • DatePicker 日期时间选择器
  • Icon 字体图标
  • Input 输入框/文本域
  • InputNumber 数字选择框
  • Loading 加载中
  • Lottery 大转盘
  • Mask 遮罩层
  • Modal 模态框
  • Panel 面版
  • Picker 选择器
  • Radio 单选框
  • Select 选择项
  • Swipe 走马灯
  • Switch 开关
  • Tab 选项卡
  • Toast 消息提示
  • StaticLoad 静态加载提示
  • StaticToast 静态消息提示
  • Scroll 上下拉加载更多
  • scrolls 上拉加载更多
  • previewSwipe 图片预览组件

版本更新日志

  • 0.0.73 发布日期 2018-02-96 Icon 扩展添加了图标 Toast 更改默认提示时间

  • 0.0.72 APP项目迭代到2.0版本 Icon 扩展添加了公司自己的字体库图标 图标维护源,在http://www.iconfont.cn/ StaticModal 静态调用Alert、Confirm、custom 模态框,即可直接fun的方式调用,不需要引入组件

  • 0.0.71 添加部署文件 app.js,支持在手机访问预览

  • 0.0.70 Button 按钮添加touchstart touchend touchcancel 事件,解决手机端:active伪类按下不抬起问题

  • 0.0.69 模态框遮罩层透明度由.4=>.75, 模态框top向上-45px,让在app内整体看起来,是居中,

  • 0.0.68 调整ui样式,

  • 0.0.65 scrolls 组件添加,有上拉加载更多, previewSwipe 图片预览组件,支持放大缩小等功能,

  • 0.0.49 scroll 组件添加,初始化可不加载数据字段, 添加Alert \ Confirm 两组件,

  • 0.0.45 上下拉加载更多 静态加载提示 静态消息提示

  • 0.0.43 更改样式ui组件的主题色,从#046EB7 -〉 #18428d

  • 0.0.39
    构建工具改为webpack2
    优化Picker的取值,可以通过自定义valueMember和displayMember属性来设置值和显示。
    修复大转盘组件Lottery的bug,可以适用自定义奖项数量。

  • 0.0.38
    修复Swipe组件销毁后没有把resize事件移除的bug

  • 0.0.37
    DatePicker合并到Picker中,合并后通过Picker.Date调用

  • 0.0.36
    修复moment、zscroller依赖错误

  • 0.0.35
    修复日期时间选择器(DatePicker) 部分bug

  • 0.0.34
    新增日期时间选择器(DatePicker) 和 开关组件(Switch)

  • 0.0.33
    优化Swipe组件,增加属性isLoop(是否循环)、onChangeEnd(滑块切换结束回调事件)

  • 0.0.32
    修复Modal.Header组件onClose时关闭按钮icon的错误

  • 0.0.31
    原Selector组件更名为Picker,并修复遮罩层z-index不够的bug

  • 0.0.30
    修复Swipe组件动态获取节点不更新的bug
    修复Lottery组件可快速多次点击转盘转动的问题

  • 0.0.26
    修复Tab组件接受新value为0时,不切换的bug

  • git [email protected]:pjh-web/pjh-mobile-ui.git