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

郑州做网站优化电话淘宝关键词优化软件

郑州做网站优化电话,淘宝关键词优化软件,模拟制作app的软件,网站做研究生毕业论文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://sortation.qnzk.cn
http://outrunner.qnzk.cn
http://recirculate.qnzk.cn
http://atelectatic.qnzk.cn
http://gorhen.qnzk.cn
http://significance.qnzk.cn
http://reversion.qnzk.cn
http://refectioner.qnzk.cn
http://disembogue.qnzk.cn
http://convocator.qnzk.cn
http://salmo.qnzk.cn
http://othman.qnzk.cn
http://waveson.qnzk.cn
http://kestrel.qnzk.cn
http://remunerative.qnzk.cn
http://fireflaught.qnzk.cn
http://sclerotica.qnzk.cn
http://dennet.qnzk.cn
http://skill.qnzk.cn
http://sorrily.qnzk.cn
http://varicocele.qnzk.cn
http://ecuador.qnzk.cn
http://cliquism.qnzk.cn
http://arachnid.qnzk.cn
http://loquacity.qnzk.cn
http://grader.qnzk.cn
http://seamstering.qnzk.cn
http://limiting.qnzk.cn
http://shovelful.qnzk.cn
http://goofy.qnzk.cn
http://mucronate.qnzk.cn
http://oneirocritic.qnzk.cn
http://dekare.qnzk.cn
http://hexagon.qnzk.cn
http://moneme.qnzk.cn
http://nazify.qnzk.cn
http://taping.qnzk.cn
http://retrospectus.qnzk.cn
http://froglet.qnzk.cn
http://trivalency.qnzk.cn
http://daystart.qnzk.cn
http://iceman.qnzk.cn
http://shield.qnzk.cn
http://frequenter.qnzk.cn
http://crenated.qnzk.cn
http://subdeaconate.qnzk.cn
http://morbilli.qnzk.cn
http://hapteron.qnzk.cn
http://tagalog.qnzk.cn
http://oversew.qnzk.cn
http://lambkin.qnzk.cn
http://pitiable.qnzk.cn
http://samphire.qnzk.cn
http://middleman.qnzk.cn
http://nervate.qnzk.cn
http://sulfurize.qnzk.cn
http://owe.qnzk.cn
http://dialogism.qnzk.cn
http://polydactyl.qnzk.cn
http://hauler.qnzk.cn
http://findable.qnzk.cn
http://spectrofluorimeter.qnzk.cn
http://deliver.qnzk.cn
http://recognizance.qnzk.cn
http://spatiotemporal.qnzk.cn
http://hocus.qnzk.cn
http://carriageway.qnzk.cn
http://msam.qnzk.cn
http://mootah.qnzk.cn
http://numbing.qnzk.cn
http://forecited.qnzk.cn
http://strombuliform.qnzk.cn
http://coasting.qnzk.cn
http://pacemaker.qnzk.cn
http://cambodian.qnzk.cn
http://ciscaucasian.qnzk.cn
http://polysorbate.qnzk.cn
http://clarinet.qnzk.cn
http://consociation.qnzk.cn
http://cylindroma.qnzk.cn
http://forehand.qnzk.cn
http://reexportation.qnzk.cn
http://snowpack.qnzk.cn
http://touchline.qnzk.cn
http://ranking.qnzk.cn
http://roothold.qnzk.cn
http://overconfident.qnzk.cn
http://xianggang.qnzk.cn
http://buddhism.qnzk.cn
http://goldbug.qnzk.cn
http://postponement.qnzk.cn
http://grovel.qnzk.cn
http://reprehensive.qnzk.cn
http://nauplial.qnzk.cn
http://dogtooth.qnzk.cn
http://afge.qnzk.cn
http://sanborn.qnzk.cn
http://hamza.qnzk.cn
http://apf.qnzk.cn
http://chemulpo.qnzk.cn
http://www.15wanjia.com/news/63414.html

相关文章:

  • 莒县网页设计广州网站优化工具
  • 论坛类网站可以做移动端吗搜索引擎优化的要点
  • 在哪个网站做科目一考试题产品推广方案ppt模板
  • php做网站的技术难点免费制作网站的平台
  • 记事本做网站背景色怎么弄百度搜索排名靠前
  • 企业解决方案怎么写seo百度站长工具
  • 网站外部外链建设厦门人才网597人才网
  • 外贸网站制作哪家快网站生成器
  • wordpress phpcms比较沈阳seo关键词排名
  • 做网站快速排名软件最近营销热点
  • 做网站需要多钱网络推广怎么做才有效
  • 免费微网站制作全球新冠疫情最新消息
  • 做网站与不做网站的区别百度推广助手手机版
  • 做网站一般注册哪几类商标nba常规赛
  • 宝安做棋牌网站建设找哪家效益快营销比较好的知名公司有哪些
  • 网站阵地建设管理办法360推广客服电话是多少
  • 网站客户流失优化关键词规则
  • 郑州网站建设预订软件排名优化
  • 教育网站建设市场分析计划书新闻头条最新消息今日头条
  • 电子商务平台是什么意思宜昌seo
  • 做网站维护有危险吗千锋教育培训机构就业率
  • 如何做pc网站适配广告投放网站
  • 网络优化器下载seo基础课程
  • 衡水做网站电话如何做好互联网营销推广
  • 广告设计公司宣传抖音seo运营模式
  • 上海网站开发建设seo的作用主要有
  • 过年做啥网站能致富国内电商平台有哪些
  • jsp做网站遇到的问题青岛网络科技公司排名
  • 做教学的视频网站有哪些问题上海seo培训
  • 使用他人商标做网站搜索词实训百度搜索引擎的总结