Giter VIP home page Giter VIP logo

clxx's Introduction

移动端 H5 功能集合

服务于移动端H5业务研发中的各种痛点(自研有难度且耗时,缺乏简单易用的第三方)功能集合:

  • 基于 ReactReact Hooks 开发
  • 基于 CSS-IN-JS 技术,零样式文件依赖
  • 完全的自适应 UI,易于使用

项目采用^TypeScript V3.7.3开发,自带声明文件,在基于TypeScript的项目中引用无需额外声明!

❗❗❗ 关于文档和测试 ❗❗❗

文档和单元测试未完成!目前已经完成部分UI测试,部分示例代码位于examples目录下

使用

每次新功能完成都会推送到NPM仓库,packages目录下的每一个目录都是一个包后缀,本仓库的所有包都是组织在@clxx的作用域中,如想使用ImagePicker组件,请采用如下步骤:

1、第一步,安装对应包

yarn add @clxx/image-picker

npm install @clxx/image-picker

2、第二步,在项目中引用

// 导入对应包
import { ImagePicker } from "@clxx/image-picker"; 

// 图片选择器是自带UI的,参考下面的GIF预览
<ImagePicker
  column={4}
  // showPickedThumb={false}
  multiple
  onChange={(list: any) => {
    console.log(list);
  }}
/>

功能列表

页面自适应组件

可取代系统默认的可定制alert

日历

级联选择器

可点击容器

倒计时

日期时间选择器

自带多种动画的dialog弹框容器

带旋转矫正功能的图片选择器

常用布局组件

图片懒加载容器

纯CSS加载菊花效果

可取代系统默认的select选择器

冒泡效果的滚动公告

类原生Toast轻提示

swiper的组件化封装

瀑布流布局效果

移动端图片编辑器

滚动容器

抽奖罗盘

可防穿透的滚动容器

以下是部分已完成功能的GIF预览

clxx's People

Contributors

joye61 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.