@shijiu/jsview-vue-samples 2.3.151-test.0 → 3.0.0-test.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/ABImageAlt/App.vue +114 -0
  2. package/ABImageAlt/Item.vue +133 -0
  3. package/{MetroWidgetDemos/SkeletonDiagram/assets/imageList.json → ABImageAlt/assets/imageList.js} +9 -1
  4. package/ABImageAlt/data.js +17 -0
  5. package/AI_Check_Rules.txt +5 -0
  6. package/AnimPicture/App.vue +20 -10
  7. package/ApicSwitch/App.vue +90 -0
  8. package/ApicSwitch/TabItem.vue +65 -0
  9. package/ApicSwitch/WebpShow.vue +24 -0
  10. package/ApicSwitch/data.js +50 -0
  11. package/Basic/AI_skills_update.md +1 -0
  12. package/Basic/components/div/ColorFormatTest.vue +93 -0
  13. package/Basic/components/div/DivRadius.vue +97 -15
  14. package/Basic/components/div/DivTag3Group.vue +30 -0
  15. package/Basic/components/img/ImageType.vue +65 -0
  16. package/Basic/components/panel/Panel2.vue +13 -1
  17. package/Basic/components/text/TextAlign.vue +7 -1
  18. package/BlobLoadTest/App.vue +201 -0
  19. package/BreakLinesApi/App.vue +82 -0
  20. package/CanvasDrawChart/App.vue +11 -0
  21. package/CanvasDrawChart/Graph1.vue +104 -0
  22. package/CanvasDrawChart/Graph2.vue +115 -0
  23. package/CssPreprocessor/Scss/PanelData.js +1 -1
  24. package/CssPreprocessor/Scss/components/scss-group4/ScssMaps.vue +4 -3
  25. package/CssPreprocessor/Scss/components/scss-group5/ScssImporting.vue +2 -2
  26. package/DemoForOperator/Bounce/FreeMoveBuilder.js +1 -1
  27. package/DemoForOperator/Firework1/App.vue +12 -1
  28. package/DemoForOperator/Firework1/Fireworks.vue +18 -0
  29. package/DemoForOperator/FlipPage/FlipPage/FlipPage.vue +1 -0
  30. package/DemoForOperator/Focus/Alpha/Item.vue +1 -0
  31. package/DemoForOperator/Focus/Light/Item.vue +1 -0
  32. package/DemoForOperator/Focus/Normal/Item.vue +1 -0
  33. package/DemoForOperator/FrameShadow/FrameShadow.vue +1 -1
  34. package/DemoForOperator/Genie/App.vue +20 -6
  35. package/DemoForOperator/Genie/App2.vue +61 -0
  36. package/DemoForOperator/Genie/geniePakcer/GenieImage.vue +298 -0
  37. package/DemoForOperator/Genie/geniePakcer/GenieSlot.vue +292 -0
  38. package/DemoForOperator/Genie/geniePakcer/GenieTools.ts +463 -0
  39. package/DemoForOperator/Jigsaw/JigsawFull.vue +12 -7
  40. package/DemoForOperator/Jigsaw/JigsawSingle.vue +13 -7
  41. package/DemoForOperator/LongChatBox/App.vue +13 -13
  42. package/DemoForOperator/LongChatBox/Bubble.vue +78 -66
  43. package/DemoForOperator/LongChatBox/LongChat.vue +68 -36
  44. package/DemoForOperator/LongChatBox/testData.js +7 -44
  45. package/DemoForOperator/Sound/Bounce/FreeMoveBuilder.js +1 -1
  46. package/DemoForOperator/routeList.js +8 -2
  47. package/DemoHomepage/App.vue +74 -1
  48. package/DemoHomepage/components/BodyFrame.vue +1 -0
  49. package/DemoHomepage/components/TabFrame.vue +1 -1
  50. package/DemoHomepage/router.js +723 -160
  51. package/DemoHomepage/views/Homepage.vue +60 -2
  52. package/DemoHomepage/watchTest.vue +50 -0
  53. package/FilterDemo/AnimatePic.vue +63 -17
  54. package/FilterDemo/App.vue +3 -3
  55. package/FlexCellDemo/AI_skills_update.md +4 -0
  56. package/FlexCellDemo/TestFrame1.vue +12 -2
  57. package/FlexCellDemo/TestFrame2.vue +10 -1
  58. package/FlexCellDemo/TestFrame3.vue +114 -59
  59. package/FpsLimit/App.vue +102 -0
  60. package/FreeMoveChildAttract/App.vue +18 -8
  61. package/FreeMoveLink/App.vue +49 -20
  62. package/Hover/App.vue +144 -0
  63. package/HttpRequestSSE/SSEReader.js +200 -0
  64. package/ImpactStop/App.vue +2 -2
  65. package/Input/FullKeyboard.vue +3 -3
  66. package/Input/InputPanel.vue +63 -3
  67. package/JsvLine/App.vue +53 -38
  68. package/LatexDemo/App.vue +3 -1
  69. package/LatexFormula/App.vue +196 -0
  70. package/LongImage/App.vue +1 -1
  71. package/LongImage/LongImageScroll.vue +100 -47
  72. package/LongImage/Scroll.vue +28 -9
  73. package/LongText/LongTextScroll.vue +1 -0
  74. package/Markdown/App.vue +36 -0
  75. package/Markdown/Bubble.vue +109 -0
  76. package/Markdown/LongChat.vue +206 -0
  77. package/Markdown/Markdown/Markdown.vue +156 -0
  78. package/Markdown/Markdown/index.ts +1 -0
  79. package/Markdown/Markdown/marked/LICENSE.md +45 -0
  80. package/Markdown/Markdown/marked/index.ts +2 -0
  81. package/Markdown/Markdown/marked/marked.d.ts +756 -0
  82. package/Markdown/Markdown/marked/marked.js +71 -0
  83. package/Markdown/Markdown/parser.ts +1365 -0
  84. package/Markdown/data.js +581 -0
  85. package/MetroWidgetDemos/AI_skills_update.md +2 -0
  86. package/MetroWidgetDemos/ListExpand/ChildItem.vue +130 -0
  87. package/MetroWidgetDemos/ListExpand/ExpandItem.vue +375 -0
  88. package/MetroWidgetDemos/ListExpand/ExpandItem1.vue +403 -0
  89. package/MetroWidgetDemos/ListExpand/assets/arrow-down.png +0 -0
  90. package/MetroWidgetDemos/ListExpand/assets/up-arrow.png +0 -0
  91. package/MetroWidgetDemos/ListExpand/components/WidgetListHandler.vue +150 -0
  92. package/MetroWidgetDemos/ListExpand/index.vue +88 -0
  93. package/MetroWidgetDemos/ListExpand/list.js +2421 -0
  94. package/MetroWidgetDemos/RefreshDemo/App.vue +14 -1
  95. package/MetroWidgetDemos/RenderAccelerate/App.vue +142 -0
  96. package/MetroWidgetDemos/RenderAccelerate/AppPage.vue +78 -0
  97. package/MetroWidgetDemos/RenderAccelerate/AppTab.vue +62 -0
  98. package/MetroWidgetDemos/RenderAccelerate/ContentItem.vue +409 -0
  99. package/MetroWidgetDemos/RenderAccelerate/Item.vue +67 -0
  100. package/MetroWidgetDemos/RenderAccelerate/TabItem.vue +100 -0
  101. package/MetroWidgetDemos/RenderAccelerate/ViewSwiper.vue +215 -0
  102. package/MetroWidgetDemos/RenderAccelerate/WidgetItem.vue +107 -0
  103. package/MetroWidgetDemos/SkeletonDiagram/App.vue +35 -8
  104. package/MetroWidgetDemos/SkeletonDiagram/Item.vue +11 -2
  105. package/MetroWidgetDemos/SkeletonDiagram/assets/imageList.js +245 -0
  106. package/MetroWidgetDemos/SkeletonDiagram/data.js +3 -3
  107. package/MetroWidgetDemos/SpatialNav/App.vue +177 -0
  108. package/MetroWidgetDemos/SpatialNav/Buttons.vue +83 -0
  109. package/MetroWidgetDemos/SpatialNav/CustomFocus.vue +57 -0
  110. package/MetroWidgetDemos/{TripleWidget → SpatialNav}/Item.vue +1 -8
  111. package/MetroWidgetDemos/{TripleWidget/WidgetItem.vue → SpatialNav/SimpleFloor.vue} +14 -45
  112. package/MetroWidgetDemos/SpatialNav/StepMw.vue +113 -0
  113. package/MetroWidgetDemos/SpatialNav/TabContent/TabContent.vue +185 -0
  114. package/MetroWidgetDemos/SpatialNav/TripleSection/TripleSection.vue +69 -0
  115. package/MetroWidgetDemos/SpatialNav/TripleSection/WidgetItem.vue +100 -0
  116. package/MetroWidgetDemos/SpatialNav/TvSection/List.vue +75 -0
  117. package/MetroWidgetDemos/SpatialNav/TvSection/TvSection.vue +91 -0
  118. package/MetroWidgetDemos/basic2/App.vue +407 -0
  119. package/MetroWidgetDemos/basic2/Item.vue +68 -0
  120. package/MetroWidgetDemos/direction/App.vue +22 -0
  121. package/MetroWidgetDemos/gazeFocusDiff/App.vue +126 -0
  122. package/MetroWidgetDemos/gazeFocusDiff/Item.vue +87 -0
  123. package/MetroWidgetDemos/minimalUsage/App.vue +66 -0
  124. package/MetroWidgetDemos/minimalUsage/Item.vue +54 -0
  125. package/MetroWidgetDemos/ninePatchFocusPage/App.vue +22 -7
  126. package/MetroWidgetDemos/ninePatchFocusPage/Item.vue +7 -5
  127. package/MetroWidgetDemos/ninePatchFocusPage/focusConstants.js +2 -0
  128. package/MetroWidgetDemos/routeList.js +203 -12
  129. package/MetroWidgetDemos/slideSetting/App.vue +288 -99
  130. package/MetroWidgetDemos/zIndex/App.vue +117 -0
  131. package/MetroWidgetDemos/zIndex/Item.vue +61 -0
  132. package/NinePatchTester/App.vue +24 -31
  133. package/PreDecode/App.vue +140 -0
  134. package/ReactiveTest/App.vue +115 -0
  135. package/ReactiveTest/Item.vue +92 -0
  136. package/ReactiveTest/assets/imageList.js +245 -0
  137. package/ReactiveTest/component/TestSmartDiv.vue +50 -0
  138. package/ReactiveTest/component/TestSmartDivSrcList.vue +74 -0
  139. package/ReactiveTest/component/TestSmartImage.vue +46 -0
  140. package/ReactiveTest/component/TestSmartImageSrcList.vue +90 -0
  141. package/ReactiveTest/component/TestSmartImageStyle.vue +41 -0
  142. package/ReactiveTest/data.js +49 -0
  143. package/ScreenToBlob/App.vue +250 -0
  144. package/SecTorTest/App.vue +9 -3
  145. package/SpringFestival/SpringFestivalScene/FreeMoveBuilder.js +3 -3
  146. package/SyncDecode/App.vue +137 -0
  147. package/TextSizeLimit/App.vue +211 -0
  148. package/TransitPage/App.vue +2 -0
  149. package/assets/logo.png +0 -0
  150. package/package.json +5 -5
  151. package/DemoForOperator/Genie/geniePakcer/Genie.vue +0 -741
  152. package/DemoForOperator/LongChatBox/TextManager.ts +0 -147
  153. package/DemoForOperator/LongChatBox/VirtualList.vue +0 -298
  154. package/DemoForOperator/LongChatBox/utile.js +0 -331
  155. package/DivMetroPerformance/App.vue +0 -157
  156. package/DivMetroPerformance/Item.vue +0 -58
  157. package/DivMetroPerformance/assets/bg.jpg +0 -0
  158. package/DivMetroPerformance/assets/coupon_content.png +0 -0
  159. package/DivMetroPerformance/assets/coupon_left.png +0 -0
  160. package/DivMetroPerformance/assets/coupon_mid.png +0 -0
  161. package/DivMetroPerformance/assets/coupon_right.png +0 -0
  162. package/DivMetroPerformance/assets/focus_border.png +0 -0
  163. package/DivMetroPerformance/assets/holder_logo.png +0 -0
  164. package/DivMetroPerformance/assets/jrbm.png +0 -0
  165. package/DivMetroPerformance/assets/line_left.png +0 -0
  166. package/DivMetroPerformance/assets/line_mid.png +0 -0
  167. package/DivMetroPerformance/assets/line_right.png +0 -0
  168. package/DivMetroPerformance/assets/loading.png +0 -0
  169. package/DivMetroPerformance/assets/logo.png +0 -0
  170. package/DivMetroPerformance/assets/mcjx.png +0 -0
  171. package/DivMetroPerformance/assets/tao.png +0 -0
  172. package/DivMetroPerformance/assets/tmall.png +0 -0
  173. package/DivMetroPerformance/border.png +0 -0
  174. package/DivMetroPerformance/components/ContentItem.vue +0 -384
  175. package/DivMetroPerformance/components/MyTab.vue +0 -129
  176. package/DivMetroPerformance/data.js +0 -124
  177. package/DivMetroPerformance/utils/GridItem.vue +0 -28
  178. package/DivMetroPerformance/utils/GridPlate.vue +0 -85
  179. package/MediaDemo/App.vue +0 -127
  180. package/MediaDemo/assets/audio-poster.png +0 -0
  181. package/MediaDemo/components/Button.vue +0 -69
  182. package/MediaDemo/components/Controllor.vue +0 -286
  183. package/MediaDemo/components/StatusBar.vue +0 -100
  184. package/MediaDemo/components/frames/AudioFrame.vue +0 -39
  185. package/MediaDemo/components/frames/AudioPoster.vue +0 -48
  186. package/MediaDemo/components/frames/MediaFrame.vue +0 -153
  187. package/MediaDemo/components/frames/VideoFrame.vue +0 -39
  188. package/MetroWidgetDemos/TripleWidget/App.vue +0 -87
  189. package/MetroWidgetDemos/TripleWidget/SWidgetItem.vue +0 -99
  190. package/Parkour/App.vue +0 -13
  191. package/Parkour/Common/Context.js +0 -21
  192. package/Parkour/Common/MatchmanInfo.js +0 -62
  193. package/Parkour/Common/Random.js +0 -61
  194. package/Parkour/Common/Sound.js +0 -50
  195. package/Parkour/appConfig/HOW_TO_CONFIG.md +0 -20
  196. package/Parkour/appConfig/app.config.mjs +0 -5
  197. package/Parkour/appConfig/app_sign_private_key_sample.crt +0 -28
  198. package/Parkour/appConfig/app_sign_public_key_sample.pem +0 -9
  199. package/Parkour/appConfig/jsview.config.mjs +0 -39
  200. package/Parkour/assets/Bgimages/bg1.png +0 -0
  201. package/Parkour/assets/Bgimages/bg2.png +0 -0
  202. package/Parkour/assets/Bgimages/bg3.png +0 -0
  203. package/Parkour/assets/Bgimages/bg4.png +0 -0
  204. package/Parkour/assets/Bgimages/bg5.png +0 -0
  205. package/Parkour/assets/audio/jump.mp3 +0 -0
  206. package/Parkour/assets/audio/lose.mp3 +0 -0
  207. package/Parkour/assets/role_skin1/fail.json +0 -44
  208. package/Parkour/assets/role_skin1/fail.png +0 -0
  209. package/Parkour/assets/role_skin1/jump_down.json +0 -20
  210. package/Parkour/assets/role_skin1/jump_down.png +0 -0
  211. package/Parkour/assets/role_skin1/jump_up.json +0 -44
  212. package/Parkour/assets/role_skin1/jump_up.png +0 -0
  213. package/Parkour/assets/role_skin1/roll.json +0 -44
  214. package/Parkour/assets/role_skin1/roll.png +0 -0
  215. package/Parkour/assets/role_skin1/run.json +0 -52
  216. package/Parkour/assets/role_skin1/run.png +0 -0
  217. package/Parkour/components/Backdrop.vue +0 -61
  218. package/Parkour/components/GameSence.vue +0 -602
  219. package/Parkour/components/Matchman.vue +0 -85
  220. package/ThrowMoveDemo/AccelerateDemo.vue +0 -85
  221. package/ThrowMoveDemo/App.vue +0 -104
  222. package/ThrowMoveDemo/LRParabolicDemo.vue +0 -101
  223. package/ThrowMoveDemo/TargetDemo.vue +0 -87
  224. package/ThrowMoveDemo/UDParabolicDemo.vue +0 -92
  225. /package/{AnimPicture/assets → assets}/animated_webp.webp +0 -0
  226. /package/{AnimPicture/assets → assets}/ball_3.webp +0 -0
  227. /package/{AnimPicture/assets → assets}/girl_run.gif +0 -0
  228. /package/{AnimPicture/assets → assets}/quan.webp +0 -0
@@ -0,0 +1,581 @@
1
+ export const text = `肠胃炎通常表现为腹痛、腹泻、恶心、呕吐、发热等症状。如果你目前有以下表现,可能与肠胃炎有关:
2
+
3
+
4
+
5
+
6
+ 测试文字测试文字测试文字
7
+ - 1
8
+ - b
9
+
10
+ - 腹部绞痛或不适- 腹泻(大便稀薄或水样)
11
+ - 恶心或呕吐- 食欲减退-低热或全身乏力但肠道问题也可能由其他原因引起,如:
12
+ - 消化不良- 肠道功能紊乱(如肠易激综合征)
13
+
14
+ - 食物不耐受或过敏- 肠道感染(如细菌性或寄生虫感染)
15
+ - 肠道炎症性疾病(如克罗恩病、溃疡性结肠炎)
16
+ ---
17
+ ### 建议你注意以下几点建议你注意以下几点建议你注意以下几点建议你注意以下几点建议你注意以下几点建议你注意以下几点:
18
+
19
+ 1. **观察症状**:
20
+ - 是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?
21
+ - 是否有*排便*习惯**改变**(如腹泻、便秘或交替出现)?
22
+ - a是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?是否有持续性或阵发性腹痛?
23
+ - b
24
+ - 是否有黏液、脓血便?
25
+ - 是否伴有发热、体重下降、夜间腹痛?
26
+
27
+ 2. **饮食调整**:
28
+ - 避免辛辣、油腻、生冷食物。避免辛辣、油腻、生冷食物。避免辛辣、油腻、生冷食物。避免辛辣、油腻、生冷食物。避免辛辣、油腻、生冷食物。避免辛辣、油腻、生冷食物。避免辛辣、油腻、生冷食物。
29
+ - 保持饮食清淡、易消化。
30
+ - 多喝水,防止脱水。
31
+
32
+ 3. **休息与观察**:
33
+ - 保持规律作息,避免劳累。
34
+ - 若症状轻微且为近期突发,可先观察1-2天。
35
+ ---
36
+ ### 何时需要**就医测试**测试测测*试测试测*测试测建议你注意以下几点建议你注意以下几点试测测试测试:
37
+
38
+ 请尽快就医,尤其是出现以下情况时:
39
+
40
+ - **腹痛剧烈**或持*续不缓*解- 腹泻频繁或持续超过3天- 大便中有血或脓液-伴有发热、寒战、呕吐- 出现明显脱水症状(如口干、尿少、头晕)
41
+ - 1
42
+ ---
43
+ ### 建议就诊科室建议你注意以下几点建议你注意以下几点建议你注意以下几点建议你注意以下几点建议你注意以下几点:
44
+
45
+ - **消化内科**
46
+
47
+ 医生可能会根据你的症状安排相关检查,如:
48
+
49
+ - 大便常规
50
+ - 血常规
51
+ - 腹部B超或CT- 必要时进行肠镜检查请根据自身症状判断是否需要尽快就医。
52
+ `;
53
+
54
+ const tests = `测试*文字[百**度一**下](https://www.baidu.com)句尾测*试带有的文本
55
+
56
+ 这是**加粗**的 Markdown 文本,后面继续**加粗**。
57
+ - 这是**加粗**的 Markdown 文本,\`let a = 0\`后面继续**加粗**。
58
+
59
+ ![百度一下](https://www.baidu.com)
60
+ > 这是引用文本
61
+ >>> 这是引用文本
62
+ `;
63
+
64
+ export const text2 = `测试文字测试文字测试文字测试文字测试文字测试文字测试文字测试文字`;
65
+
66
+ const linesWithNewLine = (text) => {
67
+ if (!text) return [];
68
+ // 使用正则 split 并保留换行符
69
+ const arr = text.split(/([^\n]*\n?)/).filter(Boolean);
70
+ // 过滤掉空字符串
71
+ return arr.filter((line) => line.length > 0);
72
+ };
73
+
74
+ const splitLine = (line) => {
75
+ if (!line) return [];
76
+
77
+ const result = [];
78
+ let i = 0;
79
+
80
+ // 判断是否为符号(标点符号、特殊字符,但不包括空格和转义字符)
81
+ const isSymbol = (char) => {
82
+ // 排除字母、数字、中文、空格、转义字符
83
+ return /[^\w\s\u4e00-\u9fa5]/.test(char);
84
+ };
85
+
86
+ // 判断是否为空格
87
+ const isSpace = (char) => {
88
+ return char === " ";
89
+ };
90
+
91
+ // 判断是否为转义字符
92
+ const isEscapeChar = (char) => {
93
+ return char === "\n" || char === "\r" || char === "\t";
94
+ };
95
+
96
+ // 判断是否为普通字符(中文、英文、数字等)
97
+ const isNormalChar = (char) => {
98
+ return !isSymbol(char) && !isSpace(char) && !isEscapeChar(char);
99
+ };
100
+
101
+ while (i < line.length) {
102
+ const char = line[i];
103
+
104
+ // 处理转义字符
105
+ if (isEscapeChar(char)) {
106
+ let escapeStr = "";
107
+ while (i < line.length && isEscapeChar(line[i])) {
108
+ escapeStr += line[i];
109
+ i++;
110
+ }
111
+ result.push(escapeStr);
112
+ continue;
113
+ }
114
+
115
+ // 处理空格
116
+ if (isSpace(char)) {
117
+ let spaceStr = "";
118
+ while (i < line.length && isSpace(line[i])) {
119
+ spaceStr += line[i];
120
+ i++;
121
+ }
122
+ result.push(spaceStr);
123
+ continue;
124
+ }
125
+
126
+ // 处理符号
127
+ if (isSymbol(char)) {
128
+ let symbolStr = "";
129
+ while (i < line.length && isSymbol(line[i])) {
130
+ symbolStr += line[i];
131
+ i++;
132
+ }
133
+ result.push(symbolStr);
134
+ continue;
135
+ }
136
+
137
+ // 处理普通字符:每两个一组
138
+ if (isNormalChar(char)) {
139
+ let normalStr = "";
140
+ let count = 0;
141
+ while (i < line.length && isNormalChar(line[i]) && count < 2) {
142
+ normalStr += line[i];
143
+ i++;
144
+ count++;
145
+ }
146
+ if (normalStr) {
147
+ result.push(normalStr);
148
+ }
149
+ continue;
150
+ }
151
+
152
+ // 如果都不匹配,跳过该字符
153
+ i++;
154
+ }
155
+
156
+ return result;
157
+ };
158
+
159
+ // 主函数:接收string,返回数组,每一项为原文本带结尾换行的每一行
160
+ export const convertToStream = (text) => {
161
+ const lines = linesWithNewLine(text);
162
+ const result = lines.flatMap((line) => splitLine(line));
163
+ return result;
164
+ };
165
+
166
+ export const testMessage2 = convertToStream(text);
167
+
168
+ export const testMessage3 = convertToStream(text2);
169
+
170
+ // export const latexText = `### 习题:
171
+ // 计算\\(\\frac{3}{8}\\)
172
+ // ### 习题正确答案:`
173
+
174
+ export const latexText = `### 习题:
175
+ 计算\\(\\frac{3}{8}+\\frac{3}{8}×\\frac{4}{7}+\\frac{3}{8}×\\frac{3}{7}以及\\frac{3}{8}\\)
176
+ ### 习题正确答案:
177
+ \\(\\frac{3}{4}\\)
178
+ ### 用户答案:
179
+ \\(\\frac{3}{4}\\)
180
+ ### 用户计算步骤:
181
+ 用户计算步骤正确。用户计算步骤正确。用户计算步骤正确。用户计算步骤正确。用户计算步骤正确。用户计算步骤正确。用户计算步骤正确。用户计算步骤正确。
182
+ ### 错题原因:
183
+
184
+ ### 解题过程:
185
+ \\[
186
+ \\begin{align*}
187
+ &\\frac{3}{8}+\\frac{3}{8}×\\frac{4}{7}+\\frac{3}{8}×\\frac{3}{7}\\\\
188
+ =&\\frac{3}{8}×1+\\frac{3}{8}×\\frac{4}{7}+\\frac{3}{8}×\\frac{3}{7}\\\\
189
+ =&\\frac{3}{8}×(1 + \\frac{4}{7}+\\frac{3}{7})\\\\
190
+ =&\\frac{3}{8}×(1 + (\\frac{4}{7}+\\frac{3}{7}))\\\\
191
+ =&\\frac{3}{8}×(1 + 1)\\\\
192
+ =&\\frac{3}{8}×2\\\\
193
+ =&\\frac{3}{4}
194
+ \\end{align*}
195
+ \\]
196
+ ### 批改结果:
197
+ 答对`
198
+
199
+ export const latexMessage = convertToStream(latexText);
200
+
201
+ export const longLatex = `
202
+ 好的, (\\(\\text{N} \\text{kg·m/s}^2\\)) (\\(\\text{N} \\text{kg·m/s}^2\\)) 我现在需要解决这个题目:若√[(x+1)/(2−x)] = √(x+1)/√(2−x)成立,求x的可能值。首先,我得回忆一下平方根的等式成立的条件。平方根的性质中,√(a/b) = √a / √b 成立的条件是什么呢?应该是a≥0,b>0,这样两边都有意义。因为左边的分母在根号里,所以分母不能为零,而且整个分式必须非负;右边的话,分子的根号里x+1必须非负,分母的根号里2−x必须正,否则右边没有意义。
203
+
204
+ - 首先分析等式两边的定义域。左边是√[(x+1)/(2−x)],所以里面的分式必须非负,即(x+1)/(2−x) ≥ 0。同时,分母2−x不能为零,所以2−x≠0,即x≠2。右边是√(x+1)/√(2−x),这里分子的√(x+1)要求x+1≥0,即x≥-1;分1/2母的√(2−x)要求2−x>0,即x<2。所以右边的定义域是x≥-1且x<2。
205
+
206
+
207
+ - 现在等式成立的条件是两边都有意义,并且左边等于右边。左边的定义域需要满足(x+1)/(2−x)≥0,同时分母2−x≠0。解这个分式不等式,(x+1)/(2−x)≥0等价于(x+1)(2−x)≥0且2−x≠0。解这个不等式,首先找临界点x=-1和x=2。当x<-1时,x+1负,2−x正,所以分式负;当-1≤x<2时,x+1非负,2−x正,分式非负;当x>2时,x+1正,2−x负,分式负。所以左边的定义域是-1≤x<2。
208
+
209
+ - 右边的定义域是x≥-1且x<2,所以两边的定义域其实是一样的,都是-1≤x<2。因此,只要x在这个区间内,等式就成立。现在看选项,A是-2,不在-1≤x<2里,排除;B是0,在区间内;C是2,不在(因为x<2);D是3,也不在。所以正确答案是B。
210
+
211
+
212
+ ### (Ⅰ)求\\(b\\)和\\(\\sin A\\)的值
213
+
214
+ - **步骤一:求\\(\\cos B\\)的值**
215
+
216
+ 已知\\(\\sin B=\\frac{3}{5}\\),因为\\(a\\gt b\\),根据大边对大角可知\\(B\\)为锐角。
217
+
218
+ 根据三角函数的平方关系\\(\\sin^{2}B + \\cos^{2}B = 1\\),可得:
219
+
220
+ \\(\\cos B=\\sqrt{1 - \\sin^{2}B}=\\sqrt{1 - (\\frac{3}{5})^{2}}=\\sqrt{1-\\frac{9}{25}}=\\sqrt{\\frac{16}{25}}=\\frac{4}{5}\\)
221
+
222
+ - **步骤二:求\\(b\\)的值**
223
+
224
+ 根据余弦定理\\(b^{2}=a^{2}+c^{2}-2ac\\cos B\\),已知\\(a = 5\\),\\(c = 6\\),\\(\\cos B=\\frac{4}{5}\\),代入可得:
225
+
226
+ \\(b^{2}=5^{2}+6^{2}-2\\times5\\times6\\times\\frac{4}{5}=25 + 36 - 48 = 13\\)
227
+
228
+ 所以\\(b=\\sqrt{13}\\)。
229
+
230
+ - **步骤三:求\\(\\sin A\\)的值**
231
+
232
+ 根据正弦定理\\(\\frac{a}{\\sin A}=\\frac{b}{\\sin B}\\),将\\(a = 5\\),\\(b=\\sqrt{13}\\),\\(\\sin B=\\frac{3}{5}\\)代入可得:
233
+
234
+ \\(\\frac{5}{\\sin A}=\\frac{\\sqrt{13}}{\\frac{3}{5}}\\)
235
+
236
+ 交叉相乘得:\\(\\sqrt{13}\\sin A = 5\\times\\frac{3}{5}=3\\)
237
+
238
+ 所以\\(\\sin A=\\frac{3}{\\sqrt{13}}=\\frac{3\\sqrt{13}}{13}\\)。`
239
+
240
+ export let longlongLatex = `
241
+ 好的, (\\(\\text{N} \\text{kg·m/s}^2\\)) (\\(\\text{N} \\text{kg·m/s}^2\\)) 我现在需要解决这个题目:若√[(x+1)/(2−x)] = √(x+1)/√(2−x)成立,求x的可能值。首先,我得回忆一下平方根的等式成立的条件。平方根的性质中,√(a/b) = √a / √b 成立的条件是什么呢?应该是a≥0,b>0,这样两边都有意义。因为左边的分母在根号里,所以分母不能为零,而且整个分式必须非负;右边的话,分子的根号里x+1必须非负,分母的根号里2−x必须正,否则右边没有意义。
242
+
243
+ 首先分析等式两边的定义域。左边是√[(x+1)/(2−x)],所以里面的分式必须非负,即(x+1)/(2−x) ≥ 0。同时,分母2−x不能为零,所以2−x≠0,即x≠2。右边是√(x+1)/√(2−x),这里分子的√(x+1)要求x+1≥0,即x≥-1;分1/2母的√(2−x)要求2−x>0,即x<2。所以右边的定义域是x≥-1且x<2。
244
+
245
+ 现在等式成立的条件是两边都有意义,并且左边等于右边。左边的定义域需要满足(x+1)/(2−x)≥0,同时分母2−x≠0。解这个分式不等式,(x+1)/(2−x)≥0等价于(x+1)(2−x)≥0且2−x≠0。解这个不等式,首先找临界点x=-1和x=2。当x<-1时,x+1负,2−x正,所以分式负;当-1≤x<2时,x+1非负,2−x正,分式非负;当x>2时,x+1正,2−x负,分式负。所以左边的定义域是-1≤x<2。
246
+
247
+ 右边的定义域是x≥-1且x<2,所以两边的定义域其实是一样的,都是-1≤x<2。因此,只要x在这个区间内,等式就成立。现在看选项,A是-2,不在-1≤x<2里,排除;B是0,在区间内;C是2,不在(因为x<2);D是3,也不在。所以正确答案是B。
248
+
249
+
250
+ ### (Ⅰ)求\\(b\\)和\\(\\sin A\\)的值
251
+
252
+ - **步骤一:求\\(\\cos B\\)的值**
253
+
254
+ 已知\\(\\sin B=\\frac{3}{5}\\),因为\\(a\\gt b\\),根据大边对大角可知\\(B\\)为锐角。
255
+
256
+ 根据三角函数的平方关系\\(\\sin^{2}B + \\cos^{2}B = 1\\),可得:
257
+
258
+ \\(\\cos B=\\sqrt{1 - \\sin^{2}B}=\\sqrt{1 - (\\frac{3}{5})^{2}}=\\sqrt{1-\\frac{9}{25}}=\\sqrt{\\frac{16}{25}}=\\frac{4}{5}\\)
259
+
260
+ - **步骤二:求\\(b\\)的值**
261
+
262
+ 根据余弦定理\\(b^{2}=a^{2}+c^{2}-2ac\\cos B\\),已知\\(a = 5\\),\\(c = 6\\),\\(\\cos B=\\frac{4}{5}\\),代入可得:
263
+
264
+ \\(b^{2}=5^{2}+6^{2}-2\\times5\\times6\\times\\frac{4}{5}=25 + 36 - 48 = 13\\)
265
+
266
+ 所以\\(b=\\sqrt{13}\\)。
267
+
268
+ - **步骤三:求\\(\\sin A\\)的值**
269
+
270
+ 根据正弦定理\\(\\frac{a}{\\sin A}=\\frac{b}{\\sin B}\\),将\\(a = 5\\),\\(b=\\sqrt{13}\\),\\(\\sin B=\\frac{3}{5}\\)代入可得:
271
+
272
+ \\(\\frac{5}{\\sin A}=\\frac{\\sqrt{13}}{\\frac{3}{5}}\\)
273
+
274
+ 交叉相乘得:\\(\\sqrt{13}\\sin A = 5\\times\\frac{3}{5}=3\\)
275
+
276
+ 所以\\(\\sin A=\\frac{3}{\\sqrt{13}}=\\frac{3\\sqrt{13}}{13}\\)。
277
+
278
+
279
+
280
+ ### (Ⅱ)求\\(\\sin(2A+\\frac{\\pi}{4})\\)的值
281
+
282
+ - **步骤一:求\\(\\cos A\\)的值**
283
+
284
+ 因为\\(a\\lt c\\),所以\\(A\\)为锐角。
285
+
286
+ 由\\(\\sin A=\\frac{3\\sqrt{13}}{13}\\),根据\\(\\sin^{2}A+\\cos^{2}A = 1\\),可得:
287
+
288
+ \\(\\cos A=\\sqrt{1 - \\sin^{2}A}=\\sqrt{1 - (\\frac{3\\sqrt{13}}{13})^{2}}=\\sqrt{1-\\frac{117}{169}}=\\sqrt{\\frac{52}{169}}=\\frac{2\\sqrt{13}}{13}\\)
289
+
290
+ - **步骤二:求\\(\\sin2A\\)和\\(\\cos2A\\)的值**
291
+
292
+ 根据二倍角公式:
293
+
294
+ - \\(\\sin2A = 2\\sin A\\cos A\\),将\\(\\sin A=\\frac{3\\sqrt{13}}{13}\\),\\(\\cos A=\\frac{2\\sqrt{13}}{13}\\)代入可得:
295
+
296
+ \\(\\sin2A = 2\\times\\frac{3\\sqrt{13}}{13}\\times\\frac{2\\sqrt{13}}{13}=\\frac{12}{13}\\)
297
+
298
+ - \\(\\cos2A = 1 - 2\\sin^{2}A\\),将\\(\\sin A=\\frac{3\\sqrt{13}}{13}\\)代入可得:
299
+
300
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - \\frac{2\\times117}{169}=1-\\frac{234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)
301
+
302
+ - **步骤三:求\\(\\sin(2A+\\frac{\\pi}{4})\\)的值**
303
+
304
+ 根据两角和的正弦公式\\(\\sin(\\alpha+\\beta)=\\sin\\alpha\\cos\\beta+\\cos\\alpha\\sin\\beta\\),这里\\(\\alpha = 2A\\),\\(\\beta=\\frac{\\pi}{4}\\),\\(\\cos\\frac{\\pi}{4}=\\sin\\frac{\\pi}{4}=\\frac{\\sqrt{2}}{2}\\),则:
305
+
306
+ \\(\\sin(2A+\\frac{\\pi}{4})=\\sin2A\\cos\\frac{\\pi}{4}+\\cos2A\\sin\\frac{\\pi}{4}\\)
307
+
308
+ \\(=\\frac{12}{13}\\times\\frac{\\sqrt{2}}{2}+(-\\frac{5}{13})\\times\\frac{\\sqrt{2}}{2}\\)
309
+
310
+ \\(=\\frac{12\\sqrt{2}-5\\sqrt{2}}{26}=\\frac{7\\sqrt{2}}{26}\\)(此处原答案计算错误,正确计算如下)
311
+
312
+
313
+
314
+ 重新计算\\(\\cos2A\\):
315
+
316
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{117}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(错误,正确为)
317
+
318
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{117}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(纠正:)
319
+
320
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{117}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(正确:)
321
+
322
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{117}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(重新:)
323
+
324
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - \\frac{2\\times 117}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(正确应为)
325
+
326
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{117}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(正确计算:)
327
+
328
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - \\frac{2\\times117}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(纠正:)
329
+
330
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{9\\times13}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(正确:)
331
+
332
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{9\\times13}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(重新计算:)
333
+
334
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - \\frac{2\\times 9\\times13}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(正确为)
335
+
336
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - \\frac{2\\times 9\\times13}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(正确过程:)
337
+
338
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - \\frac{2\\times9\\times13}{169}=1 - \\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(正确:)
339
+
340
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - \\frac{2\\times9\\times13}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{5}{13}\\)
341
+
342
+
343
+
344
+ \\(\\sin(2A+\\frac{\\pi}{4})=\\sin2A\\cos\\frac{\\pi}{4}+\\cos2A\\sin\\frac{\\pi}{4}\\)
345
+
346
+ \\(=\\frac{12}{13}\\times\\frac{\\sqrt{2}}{2}+(-\\frac{5}{13})\\times\\frac{\\sqrt{2}}{2}\\)
347
+
348
+ \\(=\\frac{12\\sqrt{2}-5\\sqrt{2}}{26}=\\frac{7\\sqrt{2}}{26}\\)(错误,正确为)
349
+
350
+
351
+
352
+ 重新计算\\(\\cos2A\\):
353
+
354
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{9\\times13}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(纠正:)
355
+
356
+ \\(\\cos2A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{9\\times13}{169}=1-\\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{5}{13}\\)
357
+
358
+
359
+
360
+ \\(\\sin(2A+\\frac{\\pi}{4})=\\sin2A\\cos\\frac{\\pi}{4}+\\cos2A\\sin\\frac{\\pi}{4}\\)
361
+
362
+ \\(=\\frac{12}{13}\\times\\frac{\\sqrt{2}}{2}+(-\\frac{5}{13})\\times\\frac{\\sqrt{2}}{2}\\)
363
+
364
+ \\(=\\frac{12\\sqrt{2}-5\\sqrt{2}}{26}=\\frac{7\\sqrt{2}}{26}\\)(正确计算:)
365
+
366
+
367
+
368
+ 重新计算\\(\\cos2A\\):
369
+
370
+ \\(\\cos2A = 1 - 2\\sin^{2}A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{9\\times13}{169}=1 - \\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{65}{169}=-\\frac{5}{13}\\)(错误,正确:)
371
+
372
+ \\(\\cos2A = 1 - 2\\sin^{2}A = 1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}=1 - 2\\times\\frac{9\\times13}{169}=1 - \\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{5}{13}\\)(正确:)
373
+
374
+ \\(\\cos2A = 1 - 2\\sin^{2}A = 1 - 2\\times\\frac{9\\times13}{169}=1 - \\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{5}{13}\\)(重新:)
375
+
376
+ \\(\\cos2A = 1 - 2\\sin^{2}A = 1 - 2\\times\\frac{9\\times13}{169}=1 - \\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{5}{13}\\)(正确:)
377
+
378
+ \\(\\cos2A = 1 - 2\\sin^{2}A = 1 - \\frac{2\\times9\\times13}{169}=1 - \\frac{234}{169}=\\frac{169 - 234}{169}=-\\frac{5}{13}\\)
379
+
380
+
381
+
382
+ \\(\\sin(2A+\\frac{\\pi}{4})=\\sin2A\\cos\\frac{\\pi}{4}+\\cos2A\\sin\\frac{\\pi}{4}\\)
383
+
384
+ \\(=\\frac{12}{13}\\times\\frac{\\sqrt{2}}{2}+(-\\frac{5}{13})\\times\\frac{\\sqrt{2}}{2}\\)
385
+
386
+ \\(=\\frac{12\\sqrt{2}-5\\sqrt{2}}{26}=\\frac{7\\sqrt{2}}{26}\\)(正确应为:)
387
+
388
+
389
+
390
+ 重新计算\\(\\cos2A\\):
391
+
392
+ \\[
393
+
394
+ \\begin{align*}
395
+
396
+ \\cos2A&=1 - 2\\sin^{2}A\\\\
397
+
398
+ &=1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}\\\\
399
+
400
+ &=1 - 2\\times\\frac{9\\times13}{169}\\\\
401
+
402
+ &=1 - \\frac{234}{169}\\\\
403
+
404
+ &=\\frac{169 - 234}{169}\\\\
405
+
406
+ &=-\\frac{65}{169}\\\\
407
+
408
+ &=-\\frac{5}{13}
409
+
410
+ \\end{align*}
411
+
412
+ \\](错误,正确:)
413
+
414
+ \\[
415
+
416
+ \\begin{align*}
417
+
418
+ \\cos2A&=1 - 2\\sin^{2}A\\\\
419
+
420
+ &=1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}\\\\
421
+
422
+ &=1 - 2\\times\\frac{9\\times13}{169}\\\\
423
+
424
+ &=1 - \\frac{234}{169}\\\\
425
+
426
+ &=\\frac{169 - 234}{169}\\\\
427
+
428
+ &=-\\frac{65}{169}\\\\
429
+
430
+ &=-\\frac{5}{13}
431
+
432
+ \\end{align*}
433
+
434
+ \\](正确:)
435
+
436
+ \\[
437
+
438
+ \\begin{align*}
439
+
440
+ \\cos2A&=1 - 2\\sin^{2}A\\\\
441
+
442
+ &=1 - 2\\times\\frac{9\\times13}{169}\\\\
443
+
444
+ &=1 - \\frac{234}{169}\\\\
445
+
446
+ &=\\frac{169 - 234}{169}\\\\
447
+
448
+ &=-\\frac{5}{13}
449
+
450
+ \\end{align*}
451
+
452
+ \\]
453
+
454
+
455
+
456
+ \\[
457
+
458
+ \\begin{align*}
459
+
460
+ \\sin(2A+\\frac{\\pi}{4})&=\\sin2A\\cos\\frac{\\pi}{4}+\\cos2A\\sin\\frac{\\pi}{4}\\\\
461
+
462
+ &=\\frac{12}{13}\\times\\frac{\\sqrt{2}}{2}+(-\\frac{5}{13})\\times\\frac{\\sqrt{2}}{2}\\\\
463
+
464
+ &=\\frac{12\\sqrt{2}-5\\sqrt{2}}{26}\\\\
465
+
466
+ &=\\frac{7\\sqrt{2}}{26}
467
+
468
+ \\end{align*}
469
+
470
+ \\](正确计算:)
471
+
472
+
473
+
474
+ 重新计算\\(\\cos2A\\):
475
+
476
+ \\[
477
+
478
+ \\begin{align*}
479
+
480
+ \\cos2A&=1 - 2\\sin^{2}A\\\\
481
+
482
+ &=1 - 2\\times(\\frac{3\\sqrt{13}}{13})^{2}\\\\
483
+
484
+ &=1 - 2\\times\\frac{9\\times13}{169}\\\\
485
+
486
+ &=1 - \\frac{234}{169}\\\\
487
+
488
+ &=\\frac{169 - 234}{169}\\\\
489
+
490
+ &=-\\frac{5}{13}
491
+
492
+ \\end{align*}
493
+
494
+ \\]
495
+
496
+
497
+
498
+ \\[
499
+
500
+ \\begin{align*}
501
+
502
+ \\sin(2A+\\frac{\\pi}{4})&=\\sin2A\\cos\\frac{\\pi}{4}+\\cos2A\\sin\\frac{\\pi}{4}\\\\
503
+
504
+ &=\\frac{12}{13}\\times\\frac{\\sqrt{2}}{2}+(-\\frac{5}{13})\\times\\frac{\\sqrt{2}}{2}\\\\
505
+
506
+ &=\\frac{12\\sqrt{2}-5\\sqrt{2}}{26}\\\\
507
+
508
+ &=\\frac{7\\sqrt{2}}{26}
509
+
510
+ \\end{align*}
511
+
512
+ \\](正确应为:)
513
+
514
+
515
+
516
+ 发现原答案(Ⅱ)中"
517
+ `
518
+ export const longLatexMessage = convertToStream(longLatex);
519
+
520
+
521
+ export const testMessage4 = `正方体的展开图有\\(11\\)种。
522
+
523
+ 我们可以用拼图的方式来记忆:
524
+
525
+ 1. “\\(1 - 4 - 1\\)”型:
526
+ - 中间\\(4\\)个相连的正方形,上下各\\(1\\)个。
527
+ - 比如:
528
+ - 第一行\\(1\\)个正方形,第二行\\(4\\)个正方形,第三行\\(1\\)个正方形。
529
+ 2. “\\(2 - 3 - 1\\)”型:
530
+ - 第一行\\(2\\)个正方形,第二行\\(3\\)个正方形,第三行\\(1\\)个正方形。
531
+ 3. “\\(2 - 2 - 2\\)”型:
532
+ - 每行\\(2\\)个正方形,共\\(3\\)行。
533
+ 4. “\\(3 - 3\\)”型:
534
+ - 每行\\(3\\)个正方形,共\\(2\\)行。
535
+
536
+ 现在给你一道题:下面哪个是正方体的展开图( )(难度等级:★★)
537
+ A.
538
+ \\[
539
+ \\begin{matrix}
540
+ \\square & \\square & \\square \\\\
541
+ \\square & \\square & \\square \\\\
542
+ \\square & \\square & \\square \\\\
543
+ \\end{matrix}
544
+ \\]
545
+ B.
546
+ \\[
547
+ \\begin{matrix}
548
+ \\square & \\square \\\\
549
+ \\square & \\square \\\\
550
+ \\square & \\square \\\\
551
+ \\square & \\square \\\\
552
+ \\end{matrix}
553
+ \\]
554
+ C.
555
+ \\[
556
+ \\begin{matrix}
557
+ \\square & \\square & \\square \\\\
558
+ \\square & \\square & \\square \\\\
559
+ \\end{matrix}
560
+ \\]
561
+ D.
562
+ \\[
563
+ \\begin{matrix}
564
+ \\square & \\square & \\square & \\square \\\\
565
+ \\square & \\square & \\square & \\square \\\\
566
+ \\end{matrix}
567
+ \\]
568
+ `
569
+
570
+ export const testMessage5 = `
571
+ 现在给你一道题:在一条\\(8\\)米长的小路一边种树,每隔\\(2\\)米种一棵(两端都种),种()棵可卡(难度等级:★)a
572
+
573
+
574
+ A. 3
575
+ B. 4
576
+ C. 5
577
+ D. 6`
578
+
579
+
580
+ export const testMessage6 = "### 分析\n这是一道三元一次方$123程组的求解问题,我们已知三个两两年龄和的等式,需要分别求出爸爸和妈妈的年龄,可以通过整体相加得到三个人的年龄和,再分别减去已知的两两和,得到各自的年龄。\n### 详解\n我们把题目中的条件整理为等式:\n1. $\\text{爸}+\\text{妈}=54$ ①\n2. $\\text{爸}+\\text{儿}=37$ ②\n3. $\\text{妈}+\\text{儿}=33$ ③\n\n第一步:计算三个人的总年龄\n把三个等式左边相加,右边相加,得到:\n$(\\text{爸}+\\text{妈})+(\\text{爸}+\\text{儿})+(\\text{妈}+\\text{儿})=54+37+33$\n整理后得:$2\\times(\\text{爸}+\\text{妈}+\\text{儿})=124$,因此三个人总年龄 $\\text{爸}+\\text{妈}+\\text{儿}=62$\n\n第二步:求爸爸的年龄\n用三个人总年龄减去妈妈和孩子的年龄和,也就是等式③:\n$\\text{爸}=(\\text{爸}+\\text{妈}+\\text{儿}) - (\\text{妈}+\\text{儿}) = 62-33=29$\n\n第三步:求妈妈的年龄\n用三个人总年龄减去爸爸和孩子的年龄和,也就是等式②:\n$\\text{妈}=(\\text{爸}+\\text{妈}+\\text{儿}) - (\\text{爸}+\\text{儿}) = 62-37=25$\n### 总结\n这道题用整体求和法计算更简便,先算出三个人的总年龄,再减去对应两人的年龄和就能得到单人年龄,最终爸爸是$\\boxed{29}$岁,妈妈是$\\boxed{25}$岁。"
581
+ export const testMessage6Stream = convertToStream(testMessage6);
@@ -0,0 +1,2 @@
1
+ 读取 @shijiu/jsview-vue/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js , 找到对props.layoutType == relative 和 props.direction 的具体处理逻辑,确认在这个条件下, MetroWidget是怎么根据 measures 的 width/height/margin* 来计算 item 的实际 left/top 的。总结理解, 帮助使用MetroWidget的人来设计给MetroWidget数据列表中的每个项目的width和height来实现无缝布局。结论写入 jsview-best-practices 这个skills中
2
+