当前位置: 首页 > news >正文

做网站办什么类型营业执照微信模板消息

做网站办什么类型营业执照,微信模板消息,江西网站建设,贵州省建设厅三类人员报名网站vue-jlunar-datepicker(插件) vue实现农历日历插件——vue-jlunar-datepicker插件 这个插件本身是基于vue2.0和elementUi框架来实现的。 安装 vue-jlunar-datepicker 插件 npm install vue-jlunar-datepicker --save // 如果安装过程中,出现…

vue-jlunar-datepicker(插件)

vue实现农历日历插件——vue-jlunar-datepicker插件

这个插件本身是基于vue2.0elementUi框架来实现的。

安装 vue-jlunar-datepicker 插件

npm install vue-jlunar-datepicker --save
// 如果安装过程中,出现报错,一般在终端中会显示出来解决办法
// 我这边确实报错了,提示的信息是elementUi版本不兼容的问题,解决方法就是:
npm install vue-jlunar-datepicker --save --force

插件在main.js中引入并注册 或组件中引入

import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import JDatePicker from 'vue-jlunar-datepicker';
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.component("j-date-picker",JDatePicker);
new Vue({render: h => h(App)
}).$mount('#app')或者
<script>
import JDatePicker from 'vue-jlunar-datepicker'
export default {components: {JDatePicker}
}
</script>

使用

<template><div class="contentViews"><j-date-picker v-model="form.birthdaydate" style="width: 100%" :placeholder="placeholder":picker-options="pickerOptions" :rangeSeparator="rangeSeparator" @change="onDateChange":disabled="disabled" 	:showLunarClass="showLunarClass" :showLunarControl="showLunarControl" :type="type":showBackYears="showBackYears" :showLunarIcon="showLunarIcon" :format="format"></j-date-picker></div>
</template>
<script>
export default {data() {return {form: {birthdaydate: 'L2023-02-21',},type: 'DATERANGE', // DATE/DATERANGEshowLunarClass: 'MIX', // FULLLUNAR/LUNAR/NUMBER/MIX 农历日期的显示类型;不区分大小写;showBackYears: 2, // 现在之后的年份数基于当前年份showLunarIcon: true,showLunarControl: true, // 是否默认显示农历width1: '300',format: 'YYYY/MM/DD',placeholder: '请选择日期',rangeSeparator: '-',disabled: false,editable: true,clearable: true,pickerOptions: {disabledDate(time) {console.log(time);return time.getTime() < Date.now() - 8.64e7;//这行代码是限制当前日期之前不可选择,如果注释掉,则不做限制}}};},methods: {onDateChange(val) {this.form.birthdaydate = val;this.$forceUpdate();}}
};
</script>
<style lang="less" scoped>
::v-deep.icon-richeng:before {content: '>';
}/deep/.full-jcalendar__body {height: 240px !important;
}/deep/.full-jcalendar .input__inner:focus {border-color: #f90;
}.full-jcalendar .input__inner:hover {border-color: #ffcb7c;
}/deep/.full-jcalendar__body .data-list li:hover {background-color: #f90;
}/deep/.full-jcalendar-header {height: 30px;background: #ffeacb;
}/deep/.full-jcalendar__body {border: 1px solid #ebebeb;
}/deep/.full-jcalendar-header label {display: inline-block !important;
}/deep/.full-jcalendar .input__inner,
/deep/input::input-placeholder {font-size: 13px !important;color: #999 !important;
}/deep/.full-jcalendar__body .day-cell.select,
/deep/.full-jcalendar__body .data-list li.select-year {background-color: #f90;
}/deep/.day-cell.today.select .number.is-today.is-empty {color: #fff !important;
}/deep/.day-cell.today .number.is-today.is-empty {color: #f90 !important;
}/deep/.full-jcalendar__body .day-cell.today:before,
/deep/.full-jcalendar__body .data-list li.curr-year::before {border-top: 0.5em solid #f90 !important;
}/deep/.full-jcalendar-header .title-year:hover,
/deep/.full-jcalendar-header .title-month:hover {color: #f90 !important;
}/deep/.full-jcalendar__main {width: 100% !important;
}/deep/.iconfont.icon-richeng::before {content: '' !important;
}/deep/.icon.iconfont.icon-xiangyoujiantou::before {content: '>' !important;
}/deep/.icon.iconfont.icon-xiangzuojiantou::before {content: '<' !important;
}/deep/.day-number>.lunar {font-size: 11px !important;
}/deep/.day-cell {line-height: 18px !important;
}
</style>
http://www.sczhlp.com/news/140248/

相关文章:

  • 四川省的建设厅注册中心网站p2p网站开发方法
  • 厦门商城网站开发上不了国外网站 怎么做贸易
  • 如何编辑做网站陈铭生
  • windows服务器怎么建设网站wordpress 秀
  • 个人网站备案名会员制网站建设教程
  • 自己可以做微网站吗中文版本wordpress
  • 金融审核网站制作南通高端网站建设
  • 中英网站搭建报价表做瞹瞹瞹视频免费网站
  • 站酷设计网站官网入wordpress密码正确登录不了
  • 专业制作网站用哪些软件做网站常用字体
  • 做网站毕业设计网站被黑了
  • dw如何做商业网站局机关网站建设改进措施
  • 思途做的旅游网站视频网站开发是什么
  • 溧阳网站建设中心网页美工设计推荐
  • 如何做外国网站销售一般公司网站是什么设计师做
  • 做网站编辑好还是期刊编辑好市场营销考试题目及答案2022
  • 江苏宏远建设集团网站wordpress首页模块排序权限修改
  • 泊头网站建设的有哪些软件设计的方法
  • 网站平面模板宁波个人做网站
  • 网站设计与开发的基本步骤包括哪些?东莞做网站定制
  • 中国建设银行官方网站 认证阿里云官网入口
  • 如何做盆栽蔬菜网站昆明网红打卡景点
  • 龙凤网站建设云聚达网站建设所用的工具
  • 铜仁做网站的公司wordpress 占用内存
  • 给中小企业提供网站建设服务网站友链怎么添加
  • 网站开发需要多少行代码营销网站建设的价格
  • 网站建设优化seo免费企业网站后台
  • 免费做deal的网站商业推广怎么做
  • 自己做网站2008R2好还是win7制作论坛做网站
  • 个人简历电子版填写免费模板萧山市seo关键词排名