All Projects → KingJeason → Wepy Calendar

KingJeason / Wepy Calendar

微信小程序/wepy/日历组件

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Wepy Calendar

Awesome Wechat Weapp
微信小程序开发资源汇总 💯
Stars: ✭ 36,769 (+63294.83%)
Mutual labels:  wxml, wepy, wxapp
wxml-transformer
将微信小程序的wxml代码转换成js object或html片段
Stars: ✭ 18 (-68.97%)
Mutual labels:  wxml, wxapp
wxfortune
运势小程序,使用canvas绘画图片,并保存图片
Stars: ✭ 79 (+36.21%)
Mutual labels:  wxml, wxapp
Autocomplete Wx
一款atom插件,支持微信语法高亮和代码补全
Stars: ✭ 47 (-18.97%)
Mutual labels:  wxml, wxapp
Wxapp Redux Starter
微信小程序,集成redux,并且提供了方便快捷的开发环境;内置好奇心日报Demo...
Stars: ✭ 205 (+253.45%)
Mutual labels:  wxml, wxapp
Weapp
🐧 微信小程序组件和功能封装,基于微信Component自定义组件开发
Stars: ✭ 235 (+305.17%)
Mutual labels:  wxml, wxapp
wepy-com-calendar
一个基于wepy的日历组件,内置多套皮肤,可启用打卡功能
Stars: ✭ 33 (-43.1%)
Mutual labels:  calendar, wepy
Tina
💃 一款轻巧的渐进式微信小程序框架
Stars: ✭ 1,153 (+1887.93%)
Mutual labels:  wxml, wxapp
black horse mall project
品优购,微信小程序电商项目,适合各位拿来学习,可以动动发财的小手点个小star⭐
Stars: ✭ 72 (+24.14%)
Mutual labels:  wxml, wxapp
Szushudong
微信小程序 - 深大的树洞 2.0 - 基于 WePY
Stars: ✭ 270 (+365.52%)
Mutual labels:  wepy, wxapp
Wuss Weapp
🐳wuss-weapp 一款高质量,组件齐全,高自定义的微信小程序UI组件库
Stars: ✭ 338 (+482.76%)
Mutual labels:  wxml, calendar
Hswiper Wx
微信小程序swiper插件
Stars: ✭ 167 (+187.93%)
Mutual labels:  wxml, wxapp
Wxapp toutiaonews
📰微信小程序--头条新闻
Stars: ✭ 119 (+105.17%)
Mutual labels:  wxml, wxapp
wx iciba
金山词霸(iciba)基于微信小程序wepy版本,可做wepy学习案例,
Stars: ✭ 29 (-50%)
Mutual labels:  wxapp, wepy
Leshare Seller Wepy
基于小程序的店铺商家管理端,采用wepy框架开发
Stars: ✭ 687 (+1084.48%)
Mutual labels:  wepy, wxapp
weixinCustomerService
主要使用了微信小程序的客服接口,通过将用户输入的消息发送至自己服务器端。 此服务器端用于接收和存储聊天内容,并且提供简单的查看历史资料和模拟客服发送消息的功能。
Stars: ✭ 53 (-8.62%)
Mutual labels:  wxml, wxapp
Mp canvas drawer
🚀 微信小程序上canvas绘制图片助手,一个json就制作分享朋友圈图片
Stars: ✭ 1,611 (+2677.59%)
Mutual labels:  wepy, wxapp
We Cropper
微信小程序图片裁剪工具
Stars: ✭ 1,972 (+3300%)
Mutual labels:  wepy, wxapp
sea-ai
微信小程序 智能识别小程序 接入百度AI平台 基于wepy开发
Stars: ✭ 42 (-27.59%)
Mutual labels:  wxapp, wepy
Wxappunpacker
wxml被“编译“后”压缩“一下多好!😀
Stars: ✭ 4,487 (+7636.21%)
Mutual labels:  wxml, wxapp

wepy-canlendar


一款微信小程序的日历组件 支持左右翻页,picker.

Screenshots

日期选择器

日期选择器

日期选择器

Usage

首先记得把asset/icons下的2个小图标放到自己的资源文件里哦

项目依赖moment

cnpm install moment --save

代码全部有注释,使用上有问题请在github联系我,欢迎pr

import calendar from '../components/calendar

<calendar :visible.sync="calendarVisible"  :value.sync="time" @hanleConfirm.user="hanleConfirm" color="#05c8d3"></calendar>
  data = {
    calendarVisible: false,
    time: '2018-04-11'
  }
  components = {
    calendar
  }
  methods = {
    showcalendar () {
      this.calendarVisible = true
    },
    hanleConfirm (e) {
      console.log(e)// 导出数据
    }
  }


最后导出的数据很友好:

// 导出一个object
{
    day:27,
    formatDay:'2018-05-27',
    month:5,
    weekCh:'周日',
    year: 2018
}

API

wepy-calendar props

name type default description
visible Boolean false 控制dialog的显示
value String(YYYY-MM-DD) moment().format('YYYY-MM-DD') 日历初始值
hanleConfirm.user 自定义事件 必填 点击确定按钮触发的钩子
color rgb rgba等(css里的颜色值都可用) black 日历主色

License

wepy-calendar is released under the MIT license.

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].