@shijiu/jsview-vue-samples 2.3.151-test.0 → 2.3.728-alpha.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/DemoForOperator/Blur/Blur.vue +1 -1
- package/DemoForOperator/Blur/BlurInOut/BlurInOut.vue +49 -23
- package/DemoForOperator/Blur/BlurInOut/StaticBgSlide.vue +1 -1
- package/DemoForOperator/Blur/BlurPopup/BlurPopup.vue +156 -20
- package/DemoForOperator/BookFlip/App.vue +1 -1
- package/DemoForOperator/Bounce/FreeMoveBuilder.js +1 -1
- package/DemoForOperator/Firework1/App.vue +12 -1
- package/DemoForOperator/Firework1/Fireworks.vue +18 -0
- package/DemoForOperator/FlipPage/FlipPage/FlipPage.vue +1 -0
- package/DemoForOperator/Focus/Alpha/Item.vue +1 -0
- package/DemoForOperator/Focus/Light/Item.vue +1 -0
- package/DemoForOperator/Focus/Normal/Item.vue +1 -0
- 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/Jigsaw/JigsawFull.vue +12 -7
- package/DemoForOperator/Jigsaw/JigsawSingle.vue +13 -7
- package/DemoForOperator/LongChatBox/App.vue +13 -13
- package/DemoForOperator/LongChatBox/Bubble.vue +78 -66
- package/DemoForOperator/LongChatBox/LongChat.vue +67 -36
- package/DemoForOperator/LongChatBox/testData.js +7 -44
- package/DemoForOperator/Sound/Bounce/FreeMoveBuilder.js +1 -1
- package/DemoForOperator/routeList.js +8 -2
- package/DemoHomepage/App.vue +74 -1
- package/DemoHomepage/components/BodyFrame.vue +5 -0
- package/DemoHomepage/components/TabFrame.vue +1 -1
- package/DemoHomepage/router.js +749 -165
- package/DemoHomepage/views/Homepage.vue +60 -2
- package/DemoHomepage/watchTest.vue +50 -0
- package/DomRenderer/App.vue +133 -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/FreeMove/App.vue +24 -279
- package/FreeMove/TestScene1.vue +260 -0
- package/FreeMove/TestScene3.vue +431 -0
- package/FreeMoveChildAttract/App.vue +18 -8
- package/FreeMoveLink/App.vue +51 -22
- 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 +111 -46
- package/LongImage/Scroll.vue +28 -9
- package/LongText/LongTextScroll.vue +14 -1
- package/Markdown/App.vue +36 -0
- package/Markdown/Bubble.vue +109 -0
- package/Markdown/LongChat.vue +216 -0
- package/Markdown/data.js +633 -0
- package/MetroWidgetDemos/AI_skills_update.md +2 -0
- package/MetroWidgetDemos/EpgFlowListType/App.vue +206 -0
- package/MetroWidgetDemos/EpgFlowListType/components/ContentCard.vue +105 -0
- package/MetroWidgetDemos/EpgFlowListType/components/FloorSection.vue +131 -0
- package/MetroWidgetDemos/EpgFlowListType/components/LeftTabItem.vue +41 -0
- package/MetroWidgetDemos/EpgFlowListType/data.js +78 -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/RenderAccelerate/Item.vue +67 -0
- 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/{TripleWidget → SpatialNav}/Item.vue +1 -8
- package/MetroWidgetDemos/{TripleWidget/WidgetItem.vue → SpatialNav/SimpleFloor.vue} +14 -45
- 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 +23 -7
- package/MetroWidgetDemos/ninePatchFocusPage/Item.vue +7 -5
- package/MetroWidgetDemos/ninePatchFocusPage/focusConstants.js +2 -0
- package/MetroWidgetDemos/routeList.js +216 -12
- 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/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/ScrollBoxTest/App.vue +52 -28
- package/ScrollBoxTest/ClipBar.vue +64 -2
- package/ScrollBoxTest/NinePatchBar.vue +64 -2
- package/ScrollBoxTest/SizeDivBar.vue +64 -2
- 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/TextureAnimation/App3.vue +11 -1
- package/TouchWidget/App.vue +90 -5
- package/TouchWidget/WidgetItem.vue +1 -0
- package/TransitPage/App.vue +2 -0
- package/assets/logo.png +0 -0
- package/package.json +1 -1
- package/DemoForOperator/BookFlip/BookFlip/FlipPage.vue +0 -179
- package/DemoForOperator/BookFlip/BookFlip/FlippingBook.vue +0 -310
- package/DemoForOperator/BookFlip/BookFlip/flip.glsl +0 -135
- package/DemoForOperator/Genie/geniePakcer/Genie.vue +0 -741
- package/DemoForOperator/LongChatBox/TextManager.ts +0 -147
- package/DemoForOperator/LongChatBox/VirtualList.vue +0 -298
- package/DemoForOperator/LongChatBox/utile.js +0 -331
- 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 -87
- package/MetroWidgetDemos/TripleWidget/SWidgetItem.vue +0 -99
- 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/TextureAnimation/utils/FrameCanvasStore.ts +0 -68
- package/TextureAnimation/utils/RotateFrame.vue +0 -146
- package/TextureAnimation/utils/circleHaloMask.png +0 -0
- 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
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
-----BEGIN PUBLIC KEY-----
|
|
2
|
-
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsgDI6u7yxeOUkF5NyrXp
|
|
3
|
-
W4BDkee6JJ9rxVzEWvZaxxJHz+9mD5z+yDR8TEPKViBMfJ34Tk4wkG8wDeaJlMYy
|
|
4
|
-
YszbKnIHypXS4HcEAFBDaMzErMVorXjMo7x9Gl+V9L26UjspFJ5IP1EThrwsiI9W
|
|
5
|
-
7spcMPBQDAOE2psX4rzgi5kFO6pWTau22f2TmLHbwGEX3eRMtEovJILJPPyPYWpQ
|
|
6
|
-
cpkHlcpQQfqmOXeC9CFS43I23PcvbVNPqODaKhX5CghUGkjV6mFXsvcghnh7acfV
|
|
7
|
-
0/kjQ87xU2xkGgFcqGEio7IUJOfLtcp/ZEadLe61L0XwEIeqHCgZTzLnD8eM07/D
|
|
8
|
-
zwIDAQAB
|
|
9
|
-
-----END PUBLIC KEY-----
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
jsviewConfig: {
|
|
3
|
-
// (可选配置)remote loader
|
|
4
|
-
remoteLoader: null,
|
|
5
|
-
|
|
6
|
-
// (可选配置)localStorage支持
|
|
7
|
-
// presetKeys为预置key,可以直接使用localStorage.xxx的形式,避免undefined错误
|
|
8
|
-
localStorage: {
|
|
9
|
-
domain: null, // 默认自动使用app.config.mjs的AppName作为domain, 可以设置为其他值
|
|
10
|
-
presetKeys: [
|
|
11
|
-
'value1',
|
|
12
|
-
'value3'
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
cookies: {
|
|
17
|
-
domain: '' // 当非null非空时,激活cookie功能,使ajax请求时自动带上cookies,并且document.cookie的get/set可用
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
vendorConfig: {
|
|
22
|
-
// (可选配置)设置屏幕坐标映射值,screenWidth为屏幕画布定义的宽度,displayScale为清晰度,
|
|
23
|
-
// 默认值是画布宽度1280px, 清晰度为1.0
|
|
24
|
-
designedMap: {
|
|
25
|
-
screenWidth: 1280,
|
|
26
|
-
displayScale: 1.5
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
// (可选配置)按键接受的扩展,例如将静音按键(JAVA键值为164)映射为JS键值20001,
|
|
30
|
-
// PS:注意'164'的引号
|
|
31
|
-
bindKeys: {
|
|
32
|
-
keys: {
|
|
33
|
-
164: 20001
|
|
34
|
-
},
|
|
35
|
-
syncKeys: {
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{"frames": [
|
|
2
|
-
|
|
3
|
-
{
|
|
4
|
-
"filename": "1.png",
|
|
5
|
-
"frame": {"x":0,"y":0,"w":154,"h":112},
|
|
6
|
-
"rotated": false,
|
|
7
|
-
"trimmed": false,
|
|
8
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
9
|
-
"sourceSize": {"w":154,"h":112}
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"filename": "2.png",
|
|
13
|
-
"frame": {"x":154,"y":0,"w":154,"h":112},
|
|
14
|
-
"rotated": false,
|
|
15
|
-
"trimmed": false,
|
|
16
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
17
|
-
"sourceSize": {"w":154,"h":112}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"filename": "3.png",
|
|
21
|
-
"frame": {"x":0,"y":112,"w":154,"h":112},
|
|
22
|
-
"rotated": false,
|
|
23
|
-
"trimmed": false,
|
|
24
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
25
|
-
"sourceSize": {"w":154,"h":112}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"filename": "4.png",
|
|
29
|
-
"frame": {"x":154,"y":112,"w":154,"h":112},
|
|
30
|
-
"rotated": false,
|
|
31
|
-
"trimmed": false,
|
|
32
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
33
|
-
"sourceSize": {"w":154,"h":112}
|
|
34
|
-
}],
|
|
35
|
-
"meta": {
|
|
36
|
-
"app": "http://www.texturepacker.com",
|
|
37
|
-
"version": "1.0",
|
|
38
|
-
"image": "fail.png",
|
|
39
|
-
"format": "RGBA8888",
|
|
40
|
-
"size": {"w":308,"h":224},
|
|
41
|
-
"scale": "1",
|
|
42
|
-
"smartupdate": "$TexturePacker:SmartUpdate:44519538b3a9873cd0d16979a0037991$"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
Binary file
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{"frames": [
|
|
2
|
-
|
|
3
|
-
{
|
|
4
|
-
"filename": "5.png",
|
|
5
|
-
"frame": {"x":0,"y":0,"w":154,"h":112},
|
|
6
|
-
"rotated": false,
|
|
7
|
-
"trimmed": false,
|
|
8
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
9
|
-
"sourceSize": {"w":154,"h":112}
|
|
10
|
-
}],
|
|
11
|
-
"meta": {
|
|
12
|
-
"app": "http://www.texturepacker.com",
|
|
13
|
-
"version": "1.0",
|
|
14
|
-
"image": "jump_down.png",
|
|
15
|
-
"format": "RGBA8888",
|
|
16
|
-
"size": {"w":154,"h":112},
|
|
17
|
-
"scale": "1",
|
|
18
|
-
"smartupdate": "$TexturePacker:SmartUpdate:9728b77a05eee5f78b6fb375d523d989$"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
Binary file
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{"frames": [
|
|
2
|
-
|
|
3
|
-
{
|
|
4
|
-
"filename": "1.png",
|
|
5
|
-
"frame": {"x":0,"y":0,"w":154,"h":112},
|
|
6
|
-
"rotated": false,
|
|
7
|
-
"trimmed": false,
|
|
8
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
9
|
-
"sourceSize": {"w":154,"h":112}
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"filename": "2.png",
|
|
13
|
-
"frame": {"x":154,"y":0,"w":154,"h":112},
|
|
14
|
-
"rotated": false,
|
|
15
|
-
"trimmed": false,
|
|
16
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
17
|
-
"sourceSize": {"w":154,"h":112}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"filename": "3.png",
|
|
21
|
-
"frame": {"x":0,"y":112,"w":154,"h":112},
|
|
22
|
-
"rotated": false,
|
|
23
|
-
"trimmed": false,
|
|
24
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
25
|
-
"sourceSize": {"w":154,"h":112}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"filename": "4.png",
|
|
29
|
-
"frame": {"x":154,"y":112,"w":154,"h":112},
|
|
30
|
-
"rotated": false,
|
|
31
|
-
"trimmed": false,
|
|
32
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
33
|
-
"sourceSize": {"w":154,"h":112}
|
|
34
|
-
}],
|
|
35
|
-
"meta": {
|
|
36
|
-
"app": "http://www.texturepacker.com",
|
|
37
|
-
"version": "1.0",
|
|
38
|
-
"image": "jump_up.png",
|
|
39
|
-
"format": "RGBA8888",
|
|
40
|
-
"size": {"w":308,"h":224},
|
|
41
|
-
"scale": "1",
|
|
42
|
-
"smartupdate": "$TexturePacker:SmartUpdate:5c6da59e8456caf422003adf18575284$"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
Binary file
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{"frames": [
|
|
2
|
-
|
|
3
|
-
{
|
|
4
|
-
"filename": "1.png",
|
|
5
|
-
"frame": {"x":0,"y":0,"w":154,"h":112},
|
|
6
|
-
"rotated": false,
|
|
7
|
-
"trimmed": false,
|
|
8
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
9
|
-
"sourceSize": {"w":154,"h":112}
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"filename": "2.png",
|
|
13
|
-
"frame": {"x":154,"y":0,"w":154,"h":112},
|
|
14
|
-
"rotated": false,
|
|
15
|
-
"trimmed": false,
|
|
16
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
17
|
-
"sourceSize": {"w":154,"h":112}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"filename": "3.png",
|
|
21
|
-
"frame": {"x":0,"y":112,"w":154,"h":112},
|
|
22
|
-
"rotated": false,
|
|
23
|
-
"trimmed": false,
|
|
24
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
25
|
-
"sourceSize": {"w":154,"h":112}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"filename": "4.png",
|
|
29
|
-
"frame": {"x":154,"y":112,"w":154,"h":112},
|
|
30
|
-
"rotated": false,
|
|
31
|
-
"trimmed": false,
|
|
32
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
33
|
-
"sourceSize": {"w":154,"h":112}
|
|
34
|
-
}],
|
|
35
|
-
"meta": {
|
|
36
|
-
"app": "http://www.texturepacker.com",
|
|
37
|
-
"version": "1.0",
|
|
38
|
-
"image": "roll.png",
|
|
39
|
-
"format": "RGBA8888",
|
|
40
|
-
"size": {"w":308,"h":224},
|
|
41
|
-
"scale": "1",
|
|
42
|
-
"smartupdate": "$TexturePacker:SmartUpdate:6a43ab2eec0ad9894ba8d16f6312c57d$"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
Binary file
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{"frames": [
|
|
2
|
-
|
|
3
|
-
{
|
|
4
|
-
"filename": "1.png",
|
|
5
|
-
"frame": {"x":0,"y":0,"w":154,"h":112},
|
|
6
|
-
"rotated": false,
|
|
7
|
-
"trimmed": false,
|
|
8
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
9
|
-
"sourceSize": {"w":154,"h":112}
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"filename": "2.png",
|
|
13
|
-
"frame": {"x":154,"y":0,"w":154,"h":112},
|
|
14
|
-
"rotated": false,
|
|
15
|
-
"trimmed": false,
|
|
16
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
17
|
-
"sourceSize": {"w":154,"h":112}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"filename": "3.png",
|
|
21
|
-
"frame": {"x":308,"y":0,"w":154,"h":112},
|
|
22
|
-
"rotated": false,
|
|
23
|
-
"trimmed": false,
|
|
24
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
25
|
-
"sourceSize": {"w":154,"h":112}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"filename": "4.png",
|
|
29
|
-
"frame": {"x":0,"y":112,"w":154,"h":112},
|
|
30
|
-
"rotated": false,
|
|
31
|
-
"trimmed": false,
|
|
32
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
33
|
-
"sourceSize": {"w":154,"h":112}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"filename": "5.png",
|
|
37
|
-
"frame": {"x":154,"y":112,"w":154,"h":112},
|
|
38
|
-
"rotated": false,
|
|
39
|
-
"trimmed": false,
|
|
40
|
-
"spriteSourceSize": {"x":0,"y":0,"w":154,"h":112},
|
|
41
|
-
"sourceSize": {"w":154,"h":112}
|
|
42
|
-
}],
|
|
43
|
-
"meta": {
|
|
44
|
-
"app": "http://www.texturepacker.com",
|
|
45
|
-
"version": "1.0",
|
|
46
|
-
"image": "run.png",
|
|
47
|
-
"format": "RGBA8888",
|
|
48
|
-
"size": {"w":462,"h":224},
|
|
49
|
-
"scale": "1",
|
|
50
|
-
"smartupdate": "$TexturePacker:SmartUpdate:444a5be59b33f66d1f4dacf466c293fd$"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
Binary file
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<JsvPreload :preloadList="props.preload_info" :onPreloadDone="onPreloadDone"></JsvPreload>
|
|
4
|
-
<JsvActorMove :style="{ width: 1280 * 1.5, height: 720, backgroundImage: props.bgImg, }" :control="props.control">
|
|
5
|
-
<div v-for="(item, index) in props.ArrayItem" :style="{
|
|
6
|
-
width: item.length - gapWidth,
|
|
7
|
-
height: 30,
|
|
8
|
-
top: item.top,
|
|
9
|
-
left: item.left,
|
|
10
|
-
backgroundColor: '#FFFFFF',
|
|
11
|
-
}">
|
|
12
|
-
<!-- 红色障碍物 -->
|
|
13
|
-
<div v-if="index === 1" :style="{ width: 70, height: 70, top: -180, left: 400, backgroundColor: '#FF1213' }"
|
|
14
|
-
:ref="props.ObstacleRef">
|
|
15
|
-
<div :style="{ top: -50, left: 6, fontSize: 30, color: '#FFFFFF' }">双跳</div>
|
|
16
|
-
<div :style="{ top: 80, left: 6, fontSize: 30, color: '#FFFFFF' }">下滚</div>
|
|
17
|
-
</div>
|
|
18
|
-
<!-- 上层判定边缘坠落区域 -->
|
|
19
|
-
<div :style="{ width: item.length - gapWidth + 10, height: 5, left: 0, top: -2, backgroundColor: 'rgba(0, 0, 0, 0.5)' }"
|
|
20
|
-
:ref="props.TopRef">
|
|
21
|
-
</div>
|
|
22
|
-
<!-- 中层判定碰到就恢复奔跑状态的区域 -->
|
|
23
|
-
<div :style="{ width: item.length - gapWidth + 4, height: 24, top: 6, left: -4, backgroundColor: 'rgba(255, 255, 255, 0.5)' }"
|
|
24
|
-
:ref="props.MidRef">
|
|
25
|
-
</div>
|
|
26
|
-
<!-- 下层碰到地板就死的区域 -->
|
|
27
|
-
<div :style="{ width: item.length - gapWidth, height: 10, left: 0, top: 30, backgroundColor: '#000000' }"
|
|
28
|
-
:ref="props.BottomRef">
|
|
29
|
-
</div>
|
|
30
|
-
<!-- 追加左边界点判断区域 -->
|
|
31
|
-
<div :style="{ width: 2, height: 10, left: 0, top: 15, backgroundColor: 'rgba(0,0,255,0.5)' }"
|
|
32
|
-
:ref="props.LeftRef">
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</JsvActorMove>
|
|
36
|
-
</div>
|
|
37
|
-
</template>
|
|
38
|
-
|
|
39
|
-
<script setup>
|
|
40
|
-
import { JsvActorMove, JsvPreload, jJsvRuntimeBridge } from "jsview"
|
|
41
|
-
import { gapWidth } from "../Common/Random";
|
|
42
|
-
const props = defineProps({
|
|
43
|
-
ArrayItem: Array,
|
|
44
|
-
bgImg: String,
|
|
45
|
-
preload_info: Array,
|
|
46
|
-
control: Object,
|
|
47
|
-
TopRef: null,
|
|
48
|
-
MidRef: null,
|
|
49
|
-
BottomRef: null,
|
|
50
|
-
ObstacleRef: null,
|
|
51
|
-
LeftRef: null,
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
const onPreloadDone = () => {
|
|
55
|
-
//图片加载好后摘掉画布
|
|
56
|
-
jJsvRuntimeBridge.notifyPageLoaded()
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
</script>
|
|
60
|
-
|
|
61
|
-
<style lang="scss" scoped></style>
|