diff --git a/src/mocks/index.ts b/src/mocks/index.ts index d3e54e70..1637d919 100644 --- a/src/mocks/index.ts +++ b/src/mocks/index.ts @@ -3,6 +3,70 @@ import { Slide } from '@/types/slides' export const slides: Slide[] = [ { id: 'test123456', - elements: [], - }, + elements: [ + { + type: 'shape', + id: '4cbRxp', + left: 0, + top: 200, + width: 546, + height: 362.5, + viewBox: 200, + path: 'M 0 0 L 0 200 L 200 200 Z', + fill: '#d14424', + fixedRatio: false, + opacity: 0.7, + }, + { + type: 'shape', + id: 'ookHrf', + left: 0, + top: 0, + width: 300, + height: 320, + viewBox: 200, + path: 'M 0 0 L 0 200 L 200 200 Z', + fill: '#d14424', + fixedRatio: false, + flip: { + x: 180, + y: 0, + }, + }, + { + type: 'text', + id: 'idn7Mx', + left: 355, + top: 65.25, + width: 585, + height: 188, + content: '

PPTIST

', + }, + { + type: 'text', + id: '7stmVP', + left: 355, + top: 253.25, + width: 585, + height: 56, + content: '

基于 Vue 3.x + TypeScript 的在线演示文稿应用

', + }, + { + type: 'line', + id: 'FnpZs4', + left: 361, + top: 238, + start: [0, 0], + end: [549, 0], + points: ['', ''], + color: '#d14424', + style: 'solid', + width: 2, + }, + ], + background: { + type: 'solid', + color: '#ffffff', + }, + } ] \ No newline at end of file