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

wordpress注册不发送件seo服务指什么意思

wordpress注册不发送件,seo服务指什么意思,国外工作室网站,网站建设公司行业现状使用步骤请参考:react使用Fullcalendar 卡片式的日历: 需求图: 卡片式的日历,其实我是推荐 antd的,我两个都写了一下都能实现。 antd 的代码: antd的我直接用的官网示例:antd 日历示例 i…

使用步骤请参考:react使用Fullcalendar

卡片式的日历:

需求图:
需求图
卡片式的日历,其实我是推荐 antd的,我两个都写了一下都能实现。

antd 的代码:

antd的我直接用的官网示例:antd 日历示例

import React, { useEffect, useState, useRef } from 'react';
import { Calendar, Col, Radio, Row, Select, Typography } from 'antd';
import "./index.less"
import moment from 'moment';
const ProductFullcalendar = () => {const [currentDate, setCurrentDate] = useState(moment()); //当前日期const onPanelChange = (value, mode) => {console.log(value.format('YYYY-MM-DD'), mode);};return (<div className='vv'>产品日历<Calendarfullscreen={false}onPanelChange={onPanelChange}dateFullCellRender={(current) => {let currentDate1 = moment(current).format('YYYY-MM-DD');let selectDate = currentDate.format('YYYY-MM-DD');if (currentDate1 === selectDate) {return <div className='dateCell selected'><div className='date_select'>{moment(current).format('DD')}</div><div className='event_select'></div></div>} else {return <div className='dateCell'><div className='date'>{moment(current).format('DD')}</div></div>}}}onSelect={(date) => {setCurrentDate(date);}}/></div>)
};
export default ProductFullcalendar;

less:

.vv {.ant-picker-cell {color: rgba(0, 0, 0, 0.3);}.ant-picker-cell-in-view {color: rgba(0, 0, 0, 0.87);}.selected {background: #3D57B1;box-shadow: 0px 2px 6px 0px rgba(33, 77, 208, 0.36);border-radius: 8px;.date_select {font-family: Avenir, Avenir;font-weight: 500;font-size: 20px;color: #FFFFFF;}.event_select{width: 6px;height: 6px;background: #FFFFFF;border-radius: 50%;}}.dateCell {width: 48px;height: 55px;border-radius: 8px;margin: 0 auto;display: flex;align-items: center;justify-content: center;flex-direction: column;.date {font-family: Avenir, Avenir;font-weight: 500;font-size: 20px;}.event{width: 6px;height: 6px;background: red;border-radius: 50%;}}
}

@fullcalendar/react的代码:

它需要处理的东西很多,点击上个月的日期时,需要自己跳到上一个月。

import React, { useEffect, useState, useRef } from 'react';
import FullCalendar from '@fullcalendar/react'
import dayGridPlugin from '@fullcalendar/daygrid'
import interactionPlugin from "@fullcalendar/interaction"
import "./index.less"
const ProductFullcalendar = () => {const [currentDate, setCurrentDate] = useState(); //当前日期// 创建一个 ref 来存储 FullCalendar 的实例  const calendarRef = useRef(null);const renderEventContent = (eventInfo) => {return <div className='kk'></div>}const events = [{ title: '', start: new Date(2024, 10, 1) }]const dayCellContent = (data) => {console.log(data, currentDate, "908777");let dayDate = data.dayNumberText.replace("日", "");let isToday = data.isToday;//是不是当月的日期let isOther = data.isOther;return <div className='dayCellContent'><div className={'dayDate'}>{dayDate}</div></div>}return (<div className='vv'>产品日历<FullCalendarref={calendarRef}plugins={[dayGridPlugin, interactionPlugin]}initialView='dayGridMonth'events={events}eventContent={renderEventContent}dayCellClassNames={"dayCell"}locale='zh-cn'// 设置语言selectable={true}dateClick={(info) => {document.querySelectorAll('.fc-day.selected').forEach(function (el) {el.classList.remove('selected');});const clickedDate = info.date;//console.log(calendarRef.current.getApi()?.getDate(),calendarRef,"987")const currentViewDate = calendarRef?.current?.getApi()?.getDate(); // 获取当前视图的日期// 判断是否为同一月份if (clickedDate.getMonth() !== currentViewDate.getMonth() ||clickedDate.getFullYear() !== currentViewDate.getFullYear()) {// 如果不是当月日期,则切换到点击的月份calendarRef?.current?.getApi()?.gotoDate(clickedDate);}// calendarRef?.current?.getApi()?.refetchEvents(); // 刷新事件setTimeout(() => {info.dayEl.classList.add('selected');})}}dayHeaderClassNames={"dayHeader"}dayHeaderContent={(arg) => {// 自定义星期内容const days = ['日', '一', '二', '三', '四', '五', '六']; // 星期的中文表示return days[arg.date.getDay()]; // 获取对应星期的中文名称}}dayCellContent={(data) => {return dayCellContent;}}/></div>)
};
export default ProductFullcalendar;

less代码:

.vv {--fc-border-color: none;--fc-highlight-color: none;--fc-today-bg-color: none;//日历总高度 包括 toolBar 和日历内容--fc-daygrid-height: 390px;// 单元格内容宽度 我自定义的// 单元格内容宽度 我自定义的--fc-daygrid-day-frame-width: 48px;// 单元格内容高度 我自定义的--fc-daygrid-day-frame-height: 55px;.fc-media-screen {height: var(--fc-daygrid-height);}.fc-header-toolbar {margin-bottom: 12px;}a {color: initial;}.fc-daygrid-day-events {min-height: 0 !important;}.dayCell {--fc-border-color: none;width: var(--fc-daygrid-day-frame-width);.fc-daygrid-day-frame {width: var(--fc-daygrid-day-frame-width);height: var(--fc-daygrid-day-frame-height);border-radius: 8px;display: flex;align-items: center;justify-content: center;flex-direction: column;margin: 0 auto;}}.fc-theme-standard th {border-bottom: 1px solid #F0F0F0;}}.dayHeader {font-weight: 400;font-size: 14px;color: rgba(0, 0, 0, 0.54) !important;width: var(--fc-daygrid-day-frame-width);
}.kk {width: 6px;height: 6px;background: #FF7D7D;border-radius: 50%;
}.fc-day-other {color: rgba(0, 0, 0, 0.3);
}.fc-daygrid-day {color: rgba(0, 0, 0, 0.87);
}.dayCellContent {display: flex;align-items: center;justify-content: center;flex-direction: column;line-height: 20px;.dayDate {font-family: Avenir, Avenir;font-weight: 800;font-size: 20px;}.dayEvent {margin-top: 2px;.dayEventItem {width: 6px;height: 6px;background: #4982F3;border-radius: 50%;}}}.selected {width: var(--fc-daygrid-day-frame-width);.fc-daygrid-day-frame {width: var(--fc-daygrid-day-frame-width);height: var(--fc-daygrid-day-frame-height);border-radius: 8px;display: flex;align-items: center;justify-content: center;flex-direction: column;margin: 0 auto;background: #3D57B1;box-shadow: 0px 2px 6px 0px rgba(33, 77, 208, 0.36);.fc-daygrid-day-events {.kk {width: 6px;height: 6px;background: #FFFFFF;border-radius: 50%;}}.dayCellContent {display: flex;align-items: center;justify-content: center;flex-direction: column;.dayDate {font-family: Avenir, Avenir;font-weight: 800;font-size: 20px;color: #FFFFFF;}.dayEvent {margin-top: 2px;}}}
}

antd官网代码:

import { Calendar, Col, Radio, Row, Select, Typography } from 'antd';
import React from 'react';
const App = () => {const onPanelChange = (value, mode) => {console.log(value.format('YYYY-MM-DD'), mode);};return (<div className="site-calendar-customize-header-wrapper"><Calendarfullscreen={false}headerRender={({ value, type, onChange, onTypeChange }) => {const start = 0;const end = 12;const monthOptions = [];const current = value.clone();const localeData = value.localeData();const months = [];for (let i = 0; i < 12; i++) {current.month(i);months.push(localeData.monthsShort(current));}for (let i = start; i < end; i++) {monthOptions.push(<Select.Option key={i} value={i} className="month-item">{months[i]}</Select.Option>,);}const year = value.year();const month = value.month();const options = [];for (let i = year - 10; i < year + 10; i += 1) {options.push(<Select.Option key={i} value={i} className="year-item">{i}</Select.Option>,);}return (<divstyle={{padding: 8,}}><Typography.Title level={4}>Custom header</Typography.Title><Row gutter={8}><Col><Radio.Groupsize="small"onChange={(e) => onTypeChange(e.target.value)}value={type}><Radio.Button value="month">Month</Radio.Button><Radio.Button value="year">Year</Radio.Button></Radio.Group></Col><Col><Selectsize="small"dropdownMatchSelectWidth={false}className="my-year-select"value={year}onChange={(newYear) => {const now = value.clone().year(newYear);onChange(now);}}>{options}</Select></Col><Col><Selectsize="small"dropdownMatchSelectWidth={false}value={month}onChange={(newMonth) => {const now = value.clone().month(newMonth);onChange(now);}}>{monthOptions}</Select></Col></Row></div>);}}onPanelChange={onPanelChange}/></div>);
};
export default App;

正常日历 antd 和 Fullcalendar 都行:

我的需求是:
![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/98d2aad49f5c407dae7b53d630ae7c7a.png
我直接用的@fullcalendar/react 因为我的和它基本功能完全一致。具体怎么选看自己。

官网的demo效果:
在这里插入图片描述
我的需求:
在这里插入图片描述


文章转载自:
http://aerodontalgia.c7498.cn
http://fess.c7498.cn
http://metrology.c7498.cn
http://striate.c7498.cn
http://rambunctious.c7498.cn
http://brocage.c7498.cn
http://minx.c7498.cn
http://kirin.c7498.cn
http://picromerite.c7498.cn
http://dichroiscope.c7498.cn
http://juvenility.c7498.cn
http://being.c7498.cn
http://kia.c7498.cn
http://galbraithian.c7498.cn
http://undiagnosed.c7498.cn
http://senescence.c7498.cn
http://prejudgment.c7498.cn
http://gandhiism.c7498.cn
http://epicene.c7498.cn
http://colourful.c7498.cn
http://muskogean.c7498.cn
http://cysticercoid.c7498.cn
http://trader.c7498.cn
http://conscript.c7498.cn
http://oast.c7498.cn
http://nairobi.c7498.cn
http://biflex.c7498.cn
http://apace.c7498.cn
http://preposition.c7498.cn
http://ascaris.c7498.cn
http://tetraethylammonium.c7498.cn
http://discommodiousness.c7498.cn
http://obscurity.c7498.cn
http://sunniness.c7498.cn
http://concessively.c7498.cn
http://depreciative.c7498.cn
http://paceway.c7498.cn
http://godhead.c7498.cn
http://psychoprophylaxis.c7498.cn
http://unloveliness.c7498.cn
http://divertingness.c7498.cn
http://yoicks.c7498.cn
http://shadepull.c7498.cn
http://cuban.c7498.cn
http://ichthyoacanthotoxism.c7498.cn
http://broken.c7498.cn
http://slice.c7498.cn
http://tribrach.c7498.cn
http://abrade.c7498.cn
http://folksy.c7498.cn
http://globulous.c7498.cn
http://avoid.c7498.cn
http://trafficker.c7498.cn
http://hypertherm.c7498.cn
http://dies.c7498.cn
http://gyral.c7498.cn
http://masterplan.c7498.cn
http://suggest.c7498.cn
http://disdainfulness.c7498.cn
http://maturity.c7498.cn
http://nonskid.c7498.cn
http://peritrack.c7498.cn
http://mnemotechnist.c7498.cn
http://whiggism.c7498.cn
http://mantilla.c7498.cn
http://deepwater.c7498.cn
http://shadowless.c7498.cn
http://thatchy.c7498.cn
http://amplexus.c7498.cn
http://thither.c7498.cn
http://exemplarily.c7498.cn
http://spoon.c7498.cn
http://technically.c7498.cn
http://eburnated.c7498.cn
http://crudity.c7498.cn
http://believer.c7498.cn
http://flange.c7498.cn
http://knobby.c7498.cn
http://indigently.c7498.cn
http://gibberish.c7498.cn
http://sirvente.c7498.cn
http://brazilwood.c7498.cn
http://neuron.c7498.cn
http://rnvr.c7498.cn
http://triply.c7498.cn
http://retrospectively.c7498.cn
http://miscatalogued.c7498.cn
http://monostabillity.c7498.cn
http://unscented.c7498.cn
http://annul.c7498.cn
http://charleston.c7498.cn
http://germinant.c7498.cn
http://unwound.c7498.cn
http://launce.c7498.cn
http://gasification.c7498.cn
http://purlin.c7498.cn
http://priscian.c7498.cn
http://countenance.c7498.cn
http://inhumorous.c7498.cn
http://african.c7498.cn
http://www.zhongyajixie.com/news/87007.html

相关文章:

  • 浏阳市商务局网站溪江农贸市场建设项链seo关键词
  • 赚钱做任务的网站有哪些跨境电商平台推广
  • 南通网站建设公司企业如何进行网络推广
  • 电商平台网站开发文档今日足球赛事分析推荐
  • 长沙网上商城网站建设方案上海网络优化服务
  • 上海网站建设软件下载可以免费网络推广网站
  • 宁波外客网络科技有限公司信息流优化师职业规划
  • 用v9做网站优化天津seo诊断
  • vps建立多个网站百度网盟推广
  • 西安优惠电商平台网站厦门网络关键词排名
  • java开发做网站关于友情链接的作用有
  • 建设手机网站8大营销工具
  • 深圳集团网站建设报价厦门seo公司
  • 做定制网站多少钱活动策划方案
  • jsp网站部署怎么做推广宣传
  • 福州网站建设的公司淘宝站外引流推广方法
  • wordpress中文网站模板口碑营销的优势有哪些
  • 做鸡尾酒的网站找培训机构的app
  • 日照建设工程信息网站好搜网惠州seo
  • seo任务平台整站优化是什么意思
  • 化妆品网站做的好的中国十大网站排名
  • 建设部网站官网证书编号正规网站建设服务
  • 哪里做网站比较号数字营销公司排行榜
  • 自己网站的登录api怎么做最近军事新闻
  • 网站粘性百度seo公司哪家好一点
  • 做网站代码审计哪个工具比较好腾讯会议多少钱一个月
  • 织梦网站上线seo流量增长策略
  • 网站会员等级审核功能怎么做推广软件赚钱的app
  • 提高网站粘性有什么软件可以推广
  • 新公司网站怎么做推广重庆百度seo整站优化