Browse Source

fix: type, #1347

pull/1358/head
vben 4 years ago
parent
commit
090d844014
  1. 6
      index.html
  2. 2
      src/utils/dateUtil.ts
  3. 2
      windi.config.ts

6
index.html

@ -48,7 +48,6 @@
left: 50%;
display: flex;
transform: translate3d(-50%, -50%, 0);
transform: translate3d(-50%, -50%, 0);
justify-content: center;
align-items: center;
flex-direction: column;
@ -111,32 +110,27 @@
top: 0;
right: 0;
animation-delay: 0.4s;
animation-delay: 0.4s;
}
.dot i:nth-child(3) {
right: 0;
bottom: 0;
animation-delay: 0.8s;
animation-delay: 0.8s;
}
.dot i:nth-child(4) {
bottom: 0;
left: 0;
animation-delay: 1.2s;
animation-delay: 1.2s;
}
@keyframes antRotate {
to {
transform: rotate(405deg);
transform: rotate(405deg);
}
}
@keyframes antRotate {
to {
transform: rotate(405deg);
transform: rotate(405deg);
}
}
@keyframes antSpinMove {

2
src/utils/dateUtil.ts

@ -4,7 +4,7 @@
import moment from 'moment';
const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm:ss';
const DATE_FORMAT = 'YYYY-MM-DD ';
const DATE_FORMAT = 'YYYY-MM-DD';
export function formatToDateTime(
date: moment.MomentInput = undefined,

2
windi.config.ts

@ -27,7 +27,7 @@ export default defineConfig({
* Used for animation when the element is displayed
* @param maxOutput The larger the maxOutput output, the larger the generated css volume
*/
function createEnterPlugin(maxOutput = 7) {
function createEnterPlugin(maxOutput = 6) {
const createCss = (index: number, d = 'x') => {
const upd = d.toUpperCase();
return {

Loading…
Cancel
Save