lsc 2 months ago
parent
commit
f5f3653f13
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/store/slides.ts

+ 2 - 1
src/store/slides.ts

@@ -50,7 +50,8 @@ export const useSlidesStore = defineStore('slides', {
     }, // 主题样式
     slides: [], // 幻灯片页面数据
     slideIndex: 0, // 当前页面索引
-    viewportSize: 1000, // 可视区域宽度基数
+    // viewportSize: 1000, // 可视区域宽度基数
+    viewportSize: 1280, // 可视区域宽度基数
     viewportRatio: 0.5625, // 可视区域比例,默认16:9
     templates: [
       { name: '红色通用', id: 'template_1', cover: 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/Snipaste_2025-08-15_14-10-111755238224052.png' },