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

网站开发大作业报告网站规划的意义

网站开发大作业报告,网站规划的意义,东莞建设网招标信息,网站外部推广文章目录1. 安装scss2. 安装日历组件3. 安装提示组件4. 注册组件5. 页面6. 效果图1. 安装scss npm i -D sass-loader8.0.2 npm i node-sass4.14.12. 安装日历组件 npm i vue-calendar-component --save3. 安装提示组件 npm install --save vue-component-toast4. 注册组件 … 文章目录1. 安装scss2. 安装日历组件3. 安装提示组件4. 注册组件5. 页面6. 效果图1. 安装scss npm i -D sass-loader8.0.2 npm i node-sass4.14.12. 安装日历组件 npm i vue-calendar-component --save3. 安装提示组件 npm install --save vue-component-toast4. 注册组件 main.js import toast from vue-component-toast import vue-component-toast/dist/css/vc-toast.min.css// Vue.use(toast, [global-option]) Vue.use(toast)5. 页面 templatediv classcontentCalendarrefCalendar:markDateMorearr:markDatearr2v-on:isTodayclickTodayagoDayHide1530115221v-on:choseDayclickDayv-on:changeMonthchangeDate/Calendarbrdiv classchoseMonth-style stylebackground-color: #398ade; clickChoseMonthChock 点击跳到2022-01-21/div/div /templatescript import Calendar from vue-calendar-component;export default {data() {return {arr2: [],arr: [{date: 2022/01/1,className: mark1},{date: 2022/01/13,className: mark2}]};},components: {Calendar},methods: {clickDay(data) {console.log(选中了, data); //选中某天this.$toast(选中了 data);},clickToday(data) {console.log(跳到了本月今天, data); //跳到了本月},changeDate(data) {this.$toast(切换到的月份为 data);console.log(左右点击切换月份, data); //左右点击切换月份},ChoseMonthChock() {this.$refs.Calendar.ChoseMonth(2018-12-13); //跳到12月12日选中12月12日}},created() {function format(date, index) {date new Date(date);return ${date.getFullYear()}-${date.getMonth() 1}-${index};}// setTimeout(() {// this.arr [// {// date: format(new Date(), 3),// className: mark1// },// {// date: format(new Date(), 12),// className: mark2// }// ];// this.arr.push({// date: format(new Date(), 15),// className: mark1// });// }, 300);} }; /scriptstyle scoped /* 重写css部分 start */ /deep/ .wh_content_item {color: black; }/deep/ .wh_top_changge li {color: black; }/deep/ .wh_jiantou1 {border-top: 2px solid #030303;border-left: 2px solid #030303; }/deep/ .wh_jiantou2 {border-top: 2px solid #030303;border-right: 2px solid #030303; }/deep/ .wh_jiantou1 {background-color: white; }/deep/ .wh_content_all {background-color: #ffffff }/deep/ .wh_content_item .wh_isToday {background-color: #2b85e4 }/deep/ .wh_content_item .wh_chose_day {background-color: #9acafc; }/* 重写css部分 end */h3 {text-align: center;width: 90%;margin: auto; }.choseMonth-style {margin: auto;width: 220px;height: 44px;line-height: 44px;/*background: #0fc37c;*/color: #fff;font-size: 17px;text-align: center;margin-top: 20px; }.wh_container .mark1 {background-color: orange; }.wh_container .mark2 {background-color: blue; }.wh_content_item .wh_isMark {background: orange; } /style6. 效果图
http://www.huolong8.cn/news/80656/

相关文章:

  • 网站设计包括制作网页推广宣传
  • 城市焦点商城网站建设案例临沂seo建站
  • 四川平台网站建设哪里有怎么做淘宝网站赚钱吗
  • 酒类网站该怎么做广西住房建设部网站
  • 新风格网站淄博网站排名优化报价
  • 做暧暧视频免费视频网站wordpress图片压缩文件
  • 手机网站加载效果网页查询系统
  • 全国美容网站建设有没有做软件的网站
  • 网站兼容性代码广东省建设工程规范文件网站
  • 网站栏目怎么做营销网站建设平台
  • 新营销方式有哪些东莞网站seo公司
  • 网站开发中涉及的侵权行为辽宁建设工程信息网评标专家入库
  • 企业网站 的网络营销方法有长春网站制作优势吉网传媒
  • 大丰做网站哪家好郴州网站设计较好的公司
  • 做软件推广网站怎么赚钱wordpress作者排行
  • 山东大型网站建设郑州小程序开发公司排名
  • 医疗网站建设网站网站游戏网站怎么做
  • 企业网站的建设内容wordpress的中文插件
  • 杭州模板做网站鹿泉网络推广
  • 河西区做网站的公司土特产网站模板 织梦
  • 山东住房和城乡建设厅网站登陆绵阳的网站建设
  • 做微网站需要什么国内优秀企业网站设计
  • 微信公众号注册流程如何建设和优化网站
  • 网站建设美工怎么做流量网站
  • 网站自动识别移动终端顺义做网站公司
  • 电子商务网站建设的规划方案邮箱官方网站注册
  • 网站模版购买发布网页版传奇世界什么组合最好
  • 西安英文旅游网站建设建设项目环境影响网站
  • 万州房产网站建设怎样自己建设一个网站
  • 德钦网站建设资源搜索器