@shijiu/jsview-vue-samples 2.3.0 → 3.0.0-next-vue.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.
- package/ABImageAlt/App.vue +114 -0
- package/ABImageAlt/Item.vue +133 -0
- package/{MetroWidgetDemos/SkeletonDiagram/assets/imageList.json → ABImageAlt/assets/imageList.js} +9 -1
- package/ABImageAlt/data.js +17 -0
- package/AI_Check_Rules.txt +5 -0
- package/AnimPicture/App.vue +20 -10
- package/ApicSwitch/App.vue +90 -0
- package/ApicSwitch/TabItem.vue +65 -0
- package/ApicSwitch/WebpShow.vue +24 -0
- package/ApicSwitch/data.js +50 -0
- package/Basic/AI_skills_update.md +1 -0
- package/Basic/components/div/ColorFormatTest.vue +93 -0
- package/Basic/components/div/DivRadius.vue +97 -15
- package/Basic/components/div/DivTag3Group.vue +30 -0
- package/Basic/components/img/ImageType.vue +65 -0
- package/Basic/components/panel/Panel2.vue +13 -1
- package/Basic/components/text/TextAlign.vue +7 -1
- package/BlobLoadTest/App.vue +201 -0
- package/BreakLinesApi/App.vue +82 -0
- package/CanvasDrawChart/App.vue +11 -0
- package/CanvasDrawChart/Graph1.vue +104 -0
- package/CanvasDrawChart/Graph2.vue +115 -0
- package/CssPreprocessor/Scss/PanelData.js +1 -1
- package/CssPreprocessor/Scss/components/scss-group4/ScssMaps.vue +4 -3
- package/CssPreprocessor/Scss/components/scss-group5/ScssImporting.vue +2 -2
- package/DashPath/App.vue +17 -16
- package/DashPath/AppForOperator.vue +2 -4
- package/DemoForOperator/AnimPic/AnimPic.vue +24 -2
- package/DemoForOperator/Banger/Banger/Banger.vue +73 -9
- package/DemoForOperator/Blur/Blur.vue +146 -0
- package/DemoForOperator/Blur/BlurInOut/BlurInOut.vue +158 -0
- package/DemoForOperator/Blur/BlurInOut/StaticBgSlide.vue +162 -0
- package/DemoForOperator/Blur/BlurPopup/BlurPopup.vue +113 -0
- package/DemoForOperator/BookFlip/App.vue +115 -0
- package/DemoForOperator/BookFlip/BookFlip/FlipPage.vue +179 -0
- package/DemoForOperator/BookFlip/BookFlip/FlippingBook.vue +310 -0
- package/DemoForOperator/BookFlip/BookFlip/flip.glsl +135 -0
- package/DemoForOperator/BookFlip/BookPage.vue +82 -0
- package/DemoForOperator/Bounce/Bounce.vue +33 -1
- package/DemoForOperator/Bounce/FreeMoveBuilder.js +1 -1
- package/DemoForOperator/ChunLian/Couplets.vue +44 -1
- package/DemoForOperator/ClickSpriteAnim/App.vue +130 -0
- package/DemoForOperator/ClickSpriteAnim/Item.vue +74 -0
- package/DemoForOperator/DominantColor/App.vue +187 -0
- package/DemoForOperator/EpisodeList/EpisodeList/Controller.vue +0 -3
- package/DemoForOperator/EpisodeList/EpisodeList/EpisodeList.vue +76 -2
- package/DemoForOperator/Firework1/App.vue +13 -2
- package/DemoForOperator/Firework1/Fireworks.vue +68 -11
- package/DemoForOperator/FlipPage/FlipPage/FlipPage.vue +30 -1
- package/DemoForOperator/Focus/Alpha/AlphaFocusBox.vue +27 -2
- package/DemoForOperator/Focus/Alpha/Item.vue +1 -0
- package/DemoForOperator/Focus/Light/Item.vue +1 -0
- package/DemoForOperator/Focus/Light/LightFocusBox.vue +42 -1
- package/DemoForOperator/Focus/Normal/Item.vue +1 -0
- package/DemoForOperator/Focus/Normal/NormalFocusBox.vue +12 -0
- package/DemoForOperator/FrameShadow/App.vue +193 -0
- package/DemoForOperator/FrameShadow/FrameShadow.vue +61 -0
- package/DemoForOperator/FullscreenIn/App.vue +1 -1
- package/DemoForOperator/FullscreenIn/FullscreenPoster.vue +18 -3
- package/DemoForOperator/Genie/App.vue +20 -6
- package/DemoForOperator/Genie/App2.vue +61 -0
- package/DemoForOperator/Genie/geniePakcer/GenieImage.vue +298 -0
- package/DemoForOperator/Genie/geniePakcer/GenieSlot.vue +292 -0
- package/DemoForOperator/Genie/geniePakcer/GenieTools.ts +463 -0
- package/DemoForOperator/GrayFilter/GrayFilter.vue +21 -0
- package/DemoForOperator/Jigsaw/JigsawFull.vue +58 -11
- package/DemoForOperator/Jigsaw/JigsawSingle.vue +47 -9
- package/DemoForOperator/LongChatBox/App.vue +36 -0
- package/DemoForOperator/LongChatBox/Bubble.vue +116 -0
- package/DemoForOperator/LongChatBox/LongChat.vue +205 -0
- package/DemoForOperator/LongChatBox/testData.js +14 -0
- package/DemoForOperator/Particle/Drop/DropParticle.vue +33 -1
- package/DemoForOperator/Particle/Explode/ExplodeParticle.vue +23 -2
- package/DemoForOperator/PosterAnim/PosterAnim.js +21 -0
- package/DemoForOperator/PosterOverflow/PosterOverflow.vue +16 -0
- package/DemoForOperator/Resize/App.vue +157 -0
- package/DemoForOperator/Resize/Resize/Item.vue +234 -0
- package/DemoForOperator/Resize/Resize/Resize.vue +96 -0
- package/DemoForOperator/Ripple/Ripple.vue +16 -1
- package/DemoForOperator/ScreenShootScale/App.vue +96 -0
- package/DemoForOperator/ScreenShootScale/Back.vue +86 -0
- package/DemoForOperator/ScreenShootScale/Front.vue +133 -0
- package/DemoForOperator/ScreenShootScale/Item.vue +62 -0
- package/DemoForOperator/ScreenShootScale/ScreenShootScale.vue +109 -0
- package/DemoForOperator/SmoothSwiper/App.vue +50 -0
- package/DemoForOperator/Sound/Bounce/App.vue +56 -0
- package/DemoForOperator/Sound/Bounce/Bounce.vue +87 -0
- package/DemoForOperator/Sound/Bounce/FreeMoveBuilder.js +146 -0
- package/DemoForOperator/Sound/Bounce/bgmusic.mp3 +0 -0
- package/DemoForOperator/Sound/Bounce/coin.mp3 +0 -0
- package/DemoForOperator/Sound/FocusMove/App.vue +134 -0
- package/DemoForOperator/Sound/FocusMove/Item.vue +43 -0
- package/DemoForOperator/Sound/FocusMove/move.mp3 +0 -0
- package/DemoForOperator/Sound/Rain/App.vue +11 -0
- package/DemoForOperator/Sound/Rain/Raining/Rain.vue +69 -0
- package/DemoForOperator/Sound/Rain/Raining/RainScene.vue +118 -0
- package/DemoForOperator/Sound/Sound/Sound.vue +24 -0
- package/DemoForOperator/Sound/Sound/index.js +4 -0
- package/DemoForOperator/Sound/Sound/useSound.js +112 -0
- package/DemoForOperator/Sprite/Sprite.vue +62 -5
- package/DemoForOperator/Stretch/Stretch/Stretch.vue +52 -2
- package/DemoForOperator/Swiper/App.vue +101 -0
- package/DemoForOperator/Swiper/Item.vue +56 -0
- package/DemoForOperator/Swiper/ParallaxSlide.vue +164 -0
- package/DemoForOperator/TabContent/TabContent/TabContent.vue +39 -1
- package/DemoForOperator/TabContentVertical/App.vue +104 -0
- package/DemoForOperator/TabContentVertical/ContentPage.vue +67 -0
- package/DemoForOperator/TabContentVertical/Item.vue +94 -0
- package/DemoForOperator/TabContentVertical/PageItem.vue +40 -0
- package/DemoForOperator/TabContentVertical/TabContent/CreepFocus.vue +160 -0
- package/DemoForOperator/TabContentVertical/TabContent/Item.vue +63 -0
- package/DemoForOperator/TabContentVertical/TabContent/TabContent.vue +184 -0
- package/DemoForOperator/TabContentVertical/TabContent/TabItem.vue +368 -0
- package/DemoForOperator/TabContentVertical/TabContent/TabWidget.vue +259 -0
- package/DemoForOperator/TabContentVertical/TabContent/Util.js +3 -0
- package/DemoForOperator/TabContentVertical/TabContent/ViewSwiper.vue +110 -0
- package/DemoForOperator/TabContentVertical/assets/children_science.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/documentary.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/free.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/game.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/home_selected.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/movie_ticket.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/my_account.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/opera.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/sports.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/tv_drama.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/variety_show.png +0 -0
- package/DemoForOperator/TabContentVertical/assets/vip.png +0 -0
- package/DemoForOperator/TabContentVertical/testData.js +76 -0
- package/DemoForOperator/Vortex/Vortex/Vortex.vue +26 -0
- package/DemoForOperator/routeList.js +125 -2
- package/DemoHomepage/App.vue +74 -1
- package/DemoHomepage/components/BodyFrame.vue +1 -0
- package/DemoHomepage/components/Item.vue +11 -0
- package/DemoHomepage/components/TabFrame.vue +1 -1
- package/DemoHomepage/router.js +772 -135
- package/DemoHomepage/views/Homepage.vue +60 -2
- package/DemoHomepage/watchTest.vue +50 -0
- package/FilterDemo/AnimatePic.vue +63 -17
- package/FilterDemo/App.vue +3 -3
- package/FlexCellDemo/AI_skills_update.md +4 -0
- package/FlexCellDemo/TestFrame1.vue +12 -2
- package/FlexCellDemo/TestFrame2.vue +10 -1
- package/FlexCellDemo/TestFrame3.vue +114 -59
- package/FpsLimit/App.vue +102 -0
- package/FreeMoveChildAttract/App.vue +18 -8
- package/FreeMoveLink/App.vue +49 -20
- package/GiftRain/components/SpriteTranslate.vue +68 -48
- package/HashHistory/App.vue +2 -2
- package/HashHistory/router.js +1 -1
- package/Hover/App.vue +144 -0
- package/HttpRequestSSE/SSEReader.js +200 -0
- package/ImpactStop/App.vue +2 -2
- package/Input/FullKeyboard.vue +3 -3
- package/Input/InputPanel.vue +63 -3
- package/JsvLine/App.vue +53 -38
- package/LatexDemo/App.vue +3 -1
- package/LatexFormula/App.vue +196 -0
- package/LongImage/App.vue +1 -1
- package/LongImage/LongImageScroll.vue +100 -47
- package/LongImage/Scroll.vue +28 -9
- package/LongText/LongTextScroll.vue +1 -0
- package/Markdown/App.vue +36 -0
- package/Markdown/Bubble.vue +109 -0
- package/Markdown/LongChat.vue +206 -0
- package/Markdown/Markdown/Markdown.vue +156 -0
- package/Markdown/Markdown/index.ts +1 -0
- package/Markdown/Markdown/marked/LICENSE.md +45 -0
- package/Markdown/Markdown/marked/index.ts +2 -0
- package/Markdown/Markdown/marked/marked.d.ts +756 -0
- package/Markdown/Markdown/marked/marked.js +71 -0
- package/Markdown/Markdown/parser.ts +1365 -0
- package/Markdown/data.js +581 -0
- package/MetroWidgetDemos/AI_skills_update.md +2 -0
- package/MetroWidgetDemos/ListExpand/ChildItem.vue +130 -0
- package/MetroWidgetDemos/ListExpand/ExpandItem.vue +375 -0
- package/MetroWidgetDemos/ListExpand/ExpandItem1.vue +403 -0
- package/MetroWidgetDemos/ListExpand/assets/arrow-down.png +0 -0
- package/MetroWidgetDemos/ListExpand/assets/up-arrow.png +0 -0
- package/MetroWidgetDemos/ListExpand/components/WidgetListHandler.vue +150 -0
- package/MetroWidgetDemos/ListExpand/index.vue +88 -0
- package/MetroWidgetDemos/ListExpand/list.js +2421 -0
- package/MetroWidgetDemos/RefreshDemo/App.vue +14 -1
- package/MetroWidgetDemos/RenderAccelerate/App.vue +142 -0
- package/MetroWidgetDemos/RenderAccelerate/AppPage.vue +78 -0
- package/MetroWidgetDemos/RenderAccelerate/AppTab.vue +62 -0
- package/MetroWidgetDemos/RenderAccelerate/ContentItem.vue +409 -0
- package/MetroWidgetDemos/{TripleWidget → RenderAccelerate}/Item.vue +6 -3
- package/MetroWidgetDemos/RenderAccelerate/TabItem.vue +100 -0
- package/MetroWidgetDemos/RenderAccelerate/ViewSwiper.vue +215 -0
- package/MetroWidgetDemos/RenderAccelerate/WidgetItem.vue +107 -0
- package/MetroWidgetDemos/SkeletonDiagram/App.vue +35 -8
- package/MetroWidgetDemos/SkeletonDiagram/Item.vue +11 -2
- package/MetroWidgetDemos/SkeletonDiagram/assets/imageList.js +245 -0
- package/MetroWidgetDemos/SkeletonDiagram/data.js +3 -3
- package/MetroWidgetDemos/SpatialNav/App.vue +177 -0
- package/MetroWidgetDemos/SpatialNav/Buttons.vue +83 -0
- package/MetroWidgetDemos/SpatialNav/CustomFocus.vue +57 -0
- package/MetroWidgetDemos/SpatialNav/Item.vue +71 -0
- package/MetroWidgetDemos/SpatialNav/SimpleFloor.vue +86 -0
- package/MetroWidgetDemos/SpatialNav/StepMw.vue +113 -0
- package/MetroWidgetDemos/SpatialNav/TabContent/TabContent.vue +185 -0
- package/MetroWidgetDemos/SpatialNav/TripleSection/TripleSection.vue +69 -0
- package/MetroWidgetDemos/SpatialNav/TripleSection/WidgetItem.vue +100 -0
- package/MetroWidgetDemos/SpatialNav/TvSection/List.vue +75 -0
- package/MetroWidgetDemos/SpatialNav/TvSection/TvSection.vue +91 -0
- package/MetroWidgetDemos/basic2/App.vue +407 -0
- package/MetroWidgetDemos/basic2/Item.vue +68 -0
- package/MetroWidgetDemos/direction/App.vue +22 -0
- package/MetroWidgetDemos/gazeFocusDiff/App.vue +126 -0
- package/MetroWidgetDemos/gazeFocusDiff/Item.vue +87 -0
- package/MetroWidgetDemos/minimalUsage/App.vue +66 -0
- package/MetroWidgetDemos/minimalUsage/Item.vue +54 -0
- package/MetroWidgetDemos/ninePatchFocusPage/App.vue +22 -7
- package/MetroWidgetDemos/ninePatchFocusPage/Item.vue +7 -5
- package/MetroWidgetDemos/ninePatchFocusPage/focusConstants.js +2 -0
- package/MetroWidgetDemos/routeList.js +216 -8
- package/MetroWidgetDemos/slideSetting/App.vue +288 -99
- package/MetroWidgetDemos/zIndex/App.vue +117 -0
- package/MetroWidgetDemos/zIndex/Item.vue +61 -0
- package/NinePatchTester/App.vue +24 -31
- package/PosterPacker/App.vue +2 -2
- package/PreDecode/App.vue +140 -0
- package/ReactiveTest/App.vue +115 -0
- package/ReactiveTest/Item.vue +92 -0
- package/ReactiveTest/assets/imageList.js +245 -0
- package/ReactiveTest/component/TestSmartDiv.vue +50 -0
- package/ReactiveTest/component/TestSmartDivSrcList.vue +74 -0
- package/ReactiveTest/component/TestSmartImage.vue +46 -0
- package/ReactiveTest/component/TestSmartImageSrcList.vue +90 -0
- package/ReactiveTest/component/TestSmartImageStyle.vue +41 -0
- package/ReactiveTest/data.js +49 -0
- package/ScreenToBlob/App.vue +250 -0
- package/SecTorTest/App.vue +9 -3
- package/SpringFestival/SpringFestivalScene/FreeMoveBuilder.js +3 -3
- package/SyncDecode/App.vue +137 -0
- package/TextSizeLimit/App.vue +211 -0
- package/TransitPage/App.vue +2 -0
- package/ViewOpacity/App.vue +19 -0
- package/assets/logo.png +0 -0
- package/package.json +5 -5
- package/DashPath/DashPath.vue +0 -118
- package/DemoForOperator/Genie/geniePakcer/Genie.vue +0 -699
- package/DemoForOperator/ScalePoster/App.vue +0 -4
- package/DemoForOperator/ScalePoster/ScalePoster.vue +0 -0
- package/DivMetroPerformance/App.vue +0 -157
- package/DivMetroPerformance/Item.vue +0 -58
- package/DivMetroPerformance/assets/bg.jpg +0 -0
- package/DivMetroPerformance/assets/coupon_content.png +0 -0
- package/DivMetroPerformance/assets/coupon_left.png +0 -0
- package/DivMetroPerformance/assets/coupon_mid.png +0 -0
- package/DivMetroPerformance/assets/coupon_right.png +0 -0
- package/DivMetroPerformance/assets/focus_border.png +0 -0
- package/DivMetroPerformance/assets/holder_logo.png +0 -0
- package/DivMetroPerformance/assets/jrbm.png +0 -0
- package/DivMetroPerformance/assets/line_left.png +0 -0
- package/DivMetroPerformance/assets/line_mid.png +0 -0
- package/DivMetroPerformance/assets/line_right.png +0 -0
- package/DivMetroPerformance/assets/loading.png +0 -0
- package/DivMetroPerformance/assets/logo.png +0 -0
- package/DivMetroPerformance/assets/mcjx.png +0 -0
- package/DivMetroPerformance/assets/tao.png +0 -0
- package/DivMetroPerformance/assets/tmall.png +0 -0
- package/DivMetroPerformance/border.png +0 -0
- package/DivMetroPerformance/components/ContentItem.vue +0 -384
- package/DivMetroPerformance/components/MyTab.vue +0 -129
- package/DivMetroPerformance/data.js +0 -124
- package/DivMetroPerformance/utils/GridItem.vue +0 -28
- package/DivMetroPerformance/utils/GridPlate.vue +0 -85
- package/MediaDemo/App.vue +0 -127
- package/MediaDemo/assets/audio-poster.png +0 -0
- package/MediaDemo/components/Button.vue +0 -69
- package/MediaDemo/components/Controllor.vue +0 -286
- package/MediaDemo/components/StatusBar.vue +0 -100
- package/MediaDemo/components/frames/AudioFrame.vue +0 -39
- package/MediaDemo/components/frames/AudioPoster.vue +0 -48
- package/MediaDemo/components/frames/MediaFrame.vue +0 -153
- package/MediaDemo/components/frames/VideoFrame.vue +0 -39
- package/MetroWidgetDemos/TripleWidget/App.vue +0 -81
- package/MetroWidgetDemos/TripleWidget/SWidgetItem.vue +0 -93
- package/MetroWidgetDemos/TripleWidget/WidgetItem.vue +0 -111
- package/Parkour/App.vue +0 -13
- package/Parkour/Common/Context.js +0 -21
- package/Parkour/Common/MatchmanInfo.js +0 -62
- package/Parkour/Common/Random.js +0 -61
- package/Parkour/Common/Sound.js +0 -50
- package/Parkour/appConfig/HOW_TO_CONFIG.md +0 -20
- package/Parkour/appConfig/app.config.mjs +0 -5
- package/Parkour/appConfig/app_sign_private_key_sample.crt +0 -28
- package/Parkour/appConfig/app_sign_public_key_sample.pem +0 -9
- package/Parkour/appConfig/jsview.config.mjs +0 -39
- package/Parkour/assets/Bgimages/bg1.png +0 -0
- package/Parkour/assets/Bgimages/bg2.png +0 -0
- package/Parkour/assets/Bgimages/bg3.png +0 -0
- package/Parkour/assets/Bgimages/bg4.png +0 -0
- package/Parkour/assets/Bgimages/bg5.png +0 -0
- package/Parkour/assets/audio/jump.mp3 +0 -0
- package/Parkour/assets/audio/lose.mp3 +0 -0
- package/Parkour/assets/role_skin1/fail.json +0 -44
- package/Parkour/assets/role_skin1/fail.png +0 -0
- package/Parkour/assets/role_skin1/jump_down.json +0 -20
- package/Parkour/assets/role_skin1/jump_down.png +0 -0
- package/Parkour/assets/role_skin1/jump_up.json +0 -44
- package/Parkour/assets/role_skin1/jump_up.png +0 -0
- package/Parkour/assets/role_skin1/roll.json +0 -44
- package/Parkour/assets/role_skin1/roll.png +0 -0
- package/Parkour/assets/role_skin1/run.json +0 -52
- package/Parkour/assets/role_skin1/run.png +0 -0
- package/Parkour/components/Backdrop.vue +0 -61
- package/Parkour/components/GameSence.vue +0 -602
- package/Parkour/components/Matchman.vue +0 -85
- package/ThrowMoveDemo/AccelerateDemo.vue +0 -85
- package/ThrowMoveDemo/App.vue +0 -104
- package/ThrowMoveDemo/LRParabolicDemo.vue +0 -101
- package/ThrowMoveDemo/TargetDemo.vue +0 -87
- package/ThrowMoveDemo/UDParabolicDemo.vue +0 -92
- /package/{AnimPicture/assets → assets}/animated_webp.webp +0 -0
- /package/{AnimPicture/assets → assets}/ball_3.webp +0 -0
- /package/{AnimPicture/assets → assets}/girl_run.gif +0 -0
- /package/{AnimPicture/assets → assets}/quan.webp +0 -0
package/Markdown/data.js
ADDED
|
@@ -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
|
+

|
|
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
|
+
|