Browse Source

缩放系数和语速系数需求细化

任一存 3 năm trước cách đây
mục cha
commit
32524b1071
1 tập tin đã thay đổi với 8 bổ sung7 xóa
  1. 8 7
      web/src/views/accessibility.vue

+ 8 - 7
web/src/views/accessibility.vue

@@ -348,13 +348,9 @@ import "/src/assets/css/ariaGlobalStyle.less"
 import assetUrls from '/src/assets/images/accessibility/index.js'
 
 const speechRateFactors = [
-  0.7,
-  0.8,
-  0.9,
+  0.75,
   1,
-  1.1,
-  1.2,
-  1.3,
+  1.25,
 ]
 
 const themeList = [
@@ -372,13 +368,18 @@ const zoomFactors = [
   1.3,
   1.4,
   1.5,
+  1.6,
+  1.7,
+  1.8,
+  1.9,
+  2,
 ]
 
 const defaultAriaSettings = {
   isCompActive: false, //是否显示无障碍功能菜单
   menuMode: 'old', // 'old', 'blind'
   isMuted: false,
-  speechRateLevel: 3,
+  speechRateLevel: 1,
   readMode: 'point', // 'point'指读, 'continue'连读
   themeIdx: 0,
   zoomLevel: 0,