All Projects → iotjin → jh-weapp-demo

iotjin / jh-weapp-demo

Licence: MIT license
微信小程序项目- 实现一些常用效果、封装通用组件和工具类

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to jh-weapp-demo

Jh flutter demo
a flutter demo
Stars: ✭ 229 (+281.67%)
Mutual labels:  alert, aes, listview, toast, picker, echarts
iakit
无依赖 mini 组件库,只封装了 alert, toast, loading, actionSheet 等使用频率较高的组件。适用于类似 H5 活动页的简单移动端项目,不必为了使用这些组件而引入一个大而全的 UI 库和框架。
Stars: ✭ 38 (-36.67%)
Mutual labels:  alert, toast, loading
Countdowntask
⌛️A countdown library for Android.
Stars: ✭ 64 (+6.67%)
Mutual labels:  listview, utils, gridview
Notiflix
Notiflix is a JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
Stars: ✭ 172 (+186.67%)
Mutual labels:  alert, toast, loading
Tfpopup
🚀🚀🚀TFPopup不生产弹框,它只是弹框的弹出工🚀🚀🚀默认支持多种动画方式一行调用,支持完全自定义动画.
Stars: ✭ 182 (+203.33%)
Mutual labels:  alert, toast, loading
java-sdk
一些常用的java sdk和工具类(日期工具类,分布式锁,redis缓存,二叉树,反射工具类,线程池,对称/非对称/分段加解密,json序列化,http工具,雪花算法,字符串相似度,集合操作工具,xml解析,重试Retry工具类,Jvm监控等)
Stars: ✭ 26 (-56.67%)
Mutual labels:  aes, utils, rsa
Vue Ui For Pc
基于Vue2.x的一套PC端UI组件,包括了Carousel 跑马灯、Cascader 级联、Checkbox 多选框、Collapse 折叠面板、DatePicker 日期选择、Dialog 对话框、Form 表单、Input 输入框、InputNumber 数字输入框、Layer 弹窗层、Loading 加载、Menu 菜单、Page 分页、Progress 进度条、Radio 单选框、SelectDropDown 仿select、Switch 开关、Table 表格、Tabs 标签页、Textarea 文本框、Tooltip 文字提示、BackTop 返回顶部、steps 步骤条、Transfer 穿梭框、Tree 树形、Upload 文件上传、Lazy 图片懒加载、Loading 加载、Pagination 分页等等
Stars: ✭ 156 (+160%)
Mutual labels:  tree, table, loading
Alerts And Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
Stars: ✭ 5,267 (+8678.33%)
Mutual labels:  map, alert, picker
Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
Stars: ✭ 125 (+108.33%)
Mutual labels:  map, tree
React Native Google Place Picker
React Native Wrapper of Google Place Picker for iOS + Android.
Stars: ✭ 180 (+200%)
Mutual labels:  map, picker
Libdict
C library of key-value data structures.
Stars: ✭ 234 (+290%)
Mutual labels:  map, tree
Gods
GoDS (Go Data Structures). Containers (Sets, Lists, Stacks, Maps, Trees), Sets (HashSet, TreeSet, LinkedHashSet), Lists (ArrayList, SinglyLinkedList, DoublyLinkedList), Stacks (LinkedListStack, ArrayStack), Maps (HashMap, TreeMap, HashBidiMap, TreeBidiMap, LinkedHashMap), Trees (RedBlackTree, AVLTree, BTree, BinaryHeap), Comparators, Iterators, …
Stars: ✭ 10,883 (+18038.33%)
Mutual labels:  map, tree
Exploretrees Sg
🌳 Explore Trees in Singapore 🇸🇬
Stars: ✭ 68 (+13.33%)
Mutual labels:  map, tree
Ol3echarts
🌏 📊 ol3Echarts | a openlayers extension to echarts
Stars: ✭ 229 (+281.67%)
Mutual labels:  map, echarts
Buckets Js
A complete, fully tested and documented data structure library written in pure JavaScript.
Stars: ✭ 1,128 (+1780%)
Mutual labels:  map, tree
ng-treetable
A treetable module for angular 5
Stars: ✭ 32 (-46.67%)
Mutual labels:  tree, table
react-loading-placeholder
Loading placeholer, inspired by Facebook
Stars: ✭ 17 (-71.67%)
Mutual labels:  table, loading
City Vein
Urban structure characterized by 🚌 public lines
Stars: ✭ 644 (+973.33%)
Mutual labels:  map, echarts
UnityDynamicScrollView
Dynamic scrollView based on UGUI
Stars: ✭ 161 (+168.33%)
Mutual labels:  listview, gridview
crypto.js
base on crypto module
Stars: ✭ 13 (-78.33%)
Mutual labels:  aes, rsa

jh-weapp-demo

A new weapp project - 实现一些常用效果、封装通用组件和工具类

代码不定期更新

注:真实开发项目注意按需引用。例如:组件、工具类、app.json的引用,可通过代码依赖分析做优化。


小程序码




实现的一些效果

  • ListView相关
  • GridView相关
  • eCharts分包导入,异步加载,多图表延时加载,中国地图效果
  • 腾讯地图使用,定位、地图选点、标注点连线计算距离
  • 上下拉刷新、分组吸顶ListView
  • 答题功能
  • excel导入导出
  • 表格、表单录入
  • 树结构数据展示
  • 热门搜索和历史搜索框
  • 侧滑筛选
  • 顶部搜索+分栏+侧滑、底部tabbar
  • custom-tabbar(动态设置、不闪屏)
  • 波浪背景动画
  • 登录页、功能页等UI页面

组件

  • 自定义导航条,支持设置左侧文字图片,网络本地背景图,渐变背景色,左侧和标题slot,返回home主页,导航条加搜索框(jh-navbarjh-custom-navbarjh-capsule-navbar
  • 公农历通用时间选择器。支持同步切换,设置默认选中时间、设置最大最小时间(公历范围:1901/01/01 ~ 2100/12/31),标题栏颜色(jh-lunar-picker
  • 年月日和年月日时分选择器(jh-ymd-time-picker
  • 月日周时分选择器(jh-time-picker
  • 字符串选择器(jh-string-picker
  • 中间输入弹框(jh-input-alert
  • 底部输入弹框(jh-input-picker
  • 自定义加载框(jh-loading-toast
  • 树形结构数据组件(jh-tree
  • 轮播图组件(jh-swiper-view
  • 左右时间切换(jh-time-switch
  • 下拉菜单(jh-dropdown-menu
  • 上下拉刷新组件(base-refresh-viewrefresh

工具类

  • wx.request网络请求封装(httpUtils.js
  • API管理(apiCongfig.js
  • 用户管理云函数请求Promise封装(dataManager文件夹)
  • AES、RSA加解密,SHA256、MD5加密,base64编码解码(encryptUtils.js
  • 时间格式转换、周岁计算(timeUtils.js
  • 公历农历转换、星座、属相、虚岁计算(lunarTimeUtils.js
  • 正则校验(checkUtils.js
  • 权限判断(authUtils.js
  • 安全随机数(commonUtils.js
  • 全局常量、变量(app.jsprojectConfig.js
  • 公共样式(styles文件夹
  • 网络监听,设备类型和刘海屏判断(app.js

注:

组件在jh-components文件夹
工具类在utils文件夹
网络请求和API管理在http文件夹
数据管理在dataManager文件夹
公共样式在styles文件夹


三方组件库

建议通过扩展库引入,不占用小程序包体积
# 通过 npm 安装
npm i @vant/weapp -S --production
需下载源码手动导入
# 通过 npm 安装
npm i wux-weapp -S --production

预览

部分页面效果如下:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].