updated
This commit is contained in:
@@ -21,30 +21,18 @@ import dayGridPlugin from '@fullcalendar/daygrid'; // a plugin!
|
||||
import interactionPlugin from '@fullcalendar/interaction'; // needed for dayClick
|
||||
|
||||
function EventCalendar(props) {
|
||||
const {
|
||||
calendarData,
|
||||
initialDate,
|
||||
onDateClick,
|
||||
onEventClick,
|
||||
contentHeight = 'auto',
|
||||
height = '100%',
|
||||
dayMaxEvents = true,
|
||||
headerToolbar = false,
|
||||
} = props;
|
||||
const { calendarData, initialDate } = props;
|
||||
|
||||
return (
|
||||
<FullCalendar
|
||||
plugins={[dayGridPlugin, interactionPlugin]}
|
||||
headerToolbar={headerToolbar}
|
||||
headerToolbar={false}
|
||||
initialView='dayGridMonth'
|
||||
initialDate={initialDate}
|
||||
contentHeight={contentHeight}
|
||||
height={height}
|
||||
dayMaxEvents={dayMaxEvents}
|
||||
contentHeight='600'
|
||||
events={calendarData}
|
||||
editable={true}
|
||||
dateClick={onDateClick}
|
||||
eventClick={onEventClick}
|
||||
height='100%'
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
/*eslint-disable*/
|
||||
import React from "react";
|
||||
import { Flex, Link, List, ListItem, Text, VStack, HStack } from "@chakra-ui/react";
|
||||
import { Flex, Link, List, ListItem, Text } from "@chakra-ui/react";
|
||||
|
||||
export default function Footer() {
|
||||
return (
|
||||
@@ -62,26 +62,6 @@ export default function Footer() {
|
||||
? "للحصول على ويب أفضل"
|
||||
: " for a better web"}
|
||||
</Text>
|
||||
|
||||
{/* 添加备案信息 */}
|
||||
<VStack spacing={1} align={{base: "center", xl: "start"}} mb={{base: "20px", xl: "0px"}}>
|
||||
<HStack spacing={4} flexWrap="wrap" justify={{base: "center", xl: "start"}}>
|
||||
<Link
|
||||
color='gray.400'
|
||||
href='https://beian.mps.gov.cn/#/query/webSearch?code=11010802046286'
|
||||
target='_blank'
|
||||
rel='noreferrer'
|
||||
fontSize='xs'
|
||||
_hover={{color: 'gray.300'}}
|
||||
>
|
||||
京公网安备11010802046286号
|
||||
</Link>
|
||||
<Text color='gray.400' fontSize='xs'>
|
||||
京ICP备2025107343号-1
|
||||
</Text>
|
||||
</HStack>
|
||||
</VStack>
|
||||
|
||||
<List display='flex'>
|
||||
<ListItem
|
||||
me={{
|
||||
|
||||
@@ -680,57 +680,3 @@ export const ArgonLogoMinifiedLight = createIcon({
|
||||
</svg>
|
||||
),
|
||||
});
|
||||
|
||||
export const WechatPayIcon = createIcon({
|
||||
displayName: 'WechatPayIcon',
|
||||
viewBox: '0 0 24 24',
|
||||
path: (
|
||||
<g>
|
||||
<path
|
||||
d='M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 01.213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 00.167-.054l1.903-1.114a.864.864 0 01.717-.098 10.16 10.16 0 002.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-5.523 2.619-7.21C11.923 8.507 11.695 8.5 11.465 8.5c-1.66 0-3.274.374-4.774 1.061-.276-.651-.43-1.353-.43-2.081C6.261 4.824 7.321 2.188 8.691 2.188zM18.639 11.698c-4.118 0-7.45 2.649-7.45 5.918 0 3.27 3.332 5.918 7.45 5.918.858 0 1.676-.109 2.435-.304.276-.097.574-.074.858.098l1.549.904c.065.035.13.054.167.054.163 0 .276-.132.276-.295a.516.516 0 00-.035-.195l-.325-1.235a.59.59 0 01.177-.665c1.543-1.235 2.524-2.982 2.524-4.98 0-3.269-3.332-5.918-7.45-5.918h-.176z'
|
||||
fill='#00D924'
|
||||
/>
|
||||
<circle cx='5.5' cy='7.5' r='1' fill='white' />
|
||||
<circle cx='8.5' cy='7.5' r='1' fill='white' />
|
||||
<circle cx='11.5' cy='7.5' r='1' fill='white' />
|
||||
<circle cx='15.5' cy='15.5' r='0.8' fill='white' />
|
||||
<circle cx='18' cy='15.5' r='0.8' fill='white' />
|
||||
<circle cx='20.5' cy='15.5' r='0.8' fill='white' />
|
||||
</g>
|
||||
),
|
||||
});
|
||||
|
||||
export const QRCodeIcon = createIcon({
|
||||
displayName: 'QRCodeIcon',
|
||||
viewBox: '0 0 24 24',
|
||||
path: (
|
||||
<g fill='currentColor'>
|
||||
<rect x='1' y='1' width='6' height='6' rx='1' stroke='currentColor' strokeWidth='1.5' fill='none' />
|
||||
<rect x='17' y='1' width='6' height='6' rx='1' stroke='currentColor' strokeWidth='1.5' fill='none' />
|
||||
<rect x='1' y='17' width='6' height='6' rx='1' stroke='currentColor' strokeWidth='1.5' fill='none' />
|
||||
<rect x='3' y='3' width='2' height='2' />
|
||||
<rect x='19' y='3' width='2' height='2' />
|
||||
<rect x='3' y='19' width='2' height='2' />
|
||||
<rect x='9' y='1' width='2' height='2' />
|
||||
<rect x='13' y='1' width='2' height='2' />
|
||||
<rect x='9' y='5' width='2' height='2' />
|
||||
<rect x='13' y='5' width='2' height='2' />
|
||||
<rect x='1' y='9' width='2' height='2' />
|
||||
<rect x='5' y='9' width='2' height='2' />
|
||||
<rect x='1' y='13' width='2' height='2' />
|
||||
<rect x='5' y='13' width='2' height='2' />
|
||||
<rect x='9' y='9' width='6' height='6' rx='1' stroke='currentColor' strokeWidth='1.5' fill='none' />
|
||||
<rect x='11' y='11' width='2' height='2' />
|
||||
<rect x='17' y='9' width='2' height='2' />
|
||||
<rect x='21' y='9' width='2' height='2' />
|
||||
<rect x='17' y='13' width='2' height='2' />
|
||||
<rect x='21' y='13' width='2' height='2' />
|
||||
<rect x='9' y='17' width='2' height='2' />
|
||||
<rect x='13' y='17' width='2' height='2' />
|
||||
<rect x='9' y='21' width='2' height='2' />
|
||||
<rect x='13' y='21' width='2' height='2' />
|
||||
<rect x='17' y='17' width='6' height='2' />
|
||||
<rect x='17' y='21' width='6' height='2' />
|
||||
</g>
|
||||
),
|
||||
});
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user