Coder Social home page Coder Social logo

ttyy-calendar's Introduction

ttyy-calendar

天天预约-微信小程序-预约日历插件

APPID:wx6b6cb15df2836ebe 版本号:1.0.2 名称:天天预约日历

插件效果演示

demo

1.申请使用插件

在使用插件前,首先要在小程序管理后台的“设置-第三方服务-插件管理”中添加插件。开发者可登录小程序管理后台,通过 appId 查找插件并添加。插件开发者通过申请后,方可在小程序中使用相应的插件。

2.引入插件代码包

对于插件的使用者,使用插件前要在 app.json 中声明需要使用的插件,例如:

{
  "plugins": {
    "myPlugin": {
      "version": "1.0.2",
      "provider": "wx6b6cb15df2836ebe"
    }
  }
}

3.使用插件的自定义组件

在 json 文件定义需要引入的自定义组件时,例如:

{
  "usingComponents": {
    "yycalendar": "plugin://myPlugin/yycalendar"
  }
}

4.在需要使用地方添加

<yycalendar 
	show="false" 
	beginTime="08:00" 
	endTime="06:00" 
	timeGap="60" 
	themeColor="red"
	showOverdue="false"
	bind:yybindchange="_yybindchange"
	bind:yybindhide="_yybindhide"/>
// bind:yybindchange  值改变事件
// bind:yybindhide    隐藏事件	

插件参数解释

    beginTime: {
      type: String, 	// 开始时间
      value: '09:00'
    },
    endTime: {
      type: String,	// 结束时间
      value: '21:00'
    },
    timeGap: {
      type: Number,	// 单位时间(min)
      value: 60
    },
    show: {
      type: Boolean, 	// 显示或隐藏遮罩
      value: false
    },
    showOverdue: {      // 显示或隐藏过期时间
      type: Boolean,
      value: true
    },
    themeColor: {       // 主题颜色
      type: String,
      value: '#ffd00a'
    }

问题反馈群,加群请注明“日历插件用户”

demo

ttyy-calendar's People

Contributors

79458627 avatar rangang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ttyy-calendar's Issues

请添加隐藏事件

由于在小程序里,比较多的原生控件是无法遮挡的, 比如input......
那么在弹出时间选择时候, 会作出相应的处理.

在使用过程中, 由于无法监控 关闭事件, 就无法把前面隐藏了input的还原了..

Component is not found in path "pages/index/plugin:/wx6b6cb15df2836ebe/yycalendar"

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.