@shijiu/jsview-vue-samples 2.2.426-test.0 → 2.3.151-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.
- package/BakeViewDemo/AnimatePic.vue +1 -1
- package/Basic/components/text/TextDirection.vue +7 -1
- package/BasicFocusControl/components/BaseBlock.vue +65 -18
- package/BreakRender/assets/imageList.json +235 -235
- package/ColorSpace/App.vue +2 -2
- package/CoupletsTest/App.vue +1 -1
- package/CoupletsTest/widget/Banger/Banger.vue +3 -3
- package/CoupletsTest/widget/Banger/MaroonLoader.vue +5 -5
- package/CoupletsTest/widget/Couplets/Couplets.vue +4 -4
- package/CoupletsTest/widget/Fireworks/Fireworks.vue +13 -13
- package/CustomShader/App.vue +4 -4
- package/CustomShader/gaussianBlur.glsl +1 -1
- package/DashPath/App.vue +80 -0
- package/DashPath/AppForOperator.vue +33 -0
- package/DemoForOperator/AnimPic/AnimPic.vue +69 -0
- package/DemoForOperator/AnimPic/App.vue +28 -0
- package/DemoForOperator/Banger/App.vue +26 -0
- package/DemoForOperator/Banger/Banger/Banger.vue +316 -0
- package/DemoForOperator/Banger/Banger/Maroon.vue +123 -0
- package/DemoForOperator/Banger/Banger/MaroonLoader.vue +78 -0
- package/DemoForOperator/Banger/Banger/SpriteDeal.js +30 -0
- 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/App.vue +43 -0
- package/DemoForOperator/Bounce/Bounce.vue +81 -0
- package/DemoForOperator/Bounce/FreeMoveBuilder.js +139 -0
- package/DemoForOperator/ChunLian/App.vue +47 -0
- package/DemoForOperator/ChunLian/Couplets.vue +291 -0
- package/DemoForOperator/ClickSpriteAnim/App.vue +130 -0
- package/DemoForOperator/ClickSpriteAnim/Item.vue +74 -0
- package/DemoForOperator/DominantColor/App.vue +187 -0
- package/DemoForOperator/EpisodeList/App.vue +80 -0
- package/DemoForOperator/EpisodeList/EpisodeList/Controller.vue +110 -0
- package/DemoForOperator/EpisodeList/EpisodeList/EpisodeList.vue +250 -0
- package/DemoForOperator/EpisodeList/GroupItem.vue +65 -0
- package/DemoForOperator/EpisodeList/ListItem.vue +48 -0
- package/DemoForOperator/Firework1/App.vue +25 -0
- package/DemoForOperator/Firework1/Fireworks.vue +397 -0
- package/DemoForOperator/Firework1/SpriteDeal.js +30 -0
- package/DemoForOperator/FlipPage/App.vue +75 -0
- package/DemoForOperator/FlipPage/FlipPage/FlipPage.vue +178 -0
- package/DemoForOperator/FlipPage/FlipPage/flipIn.glsl +41 -0
- package/DemoForOperator/FlipPage/FlipPage/flipOut.glsl +41 -0
- package/DemoForOperator/Focus/Alpha/AlphaFocusBox.vue +95 -0
- package/DemoForOperator/Focus/Alpha/AlphaPage.vue +40 -0
- package/DemoForOperator/Focus/Alpha/Item.vue +64 -0
- package/DemoForOperator/Focus/App.vue +124 -0
- package/DemoForOperator/Focus/CommonPageSetting.js +30 -0
- package/DemoForOperator/Focus/Item.vue +46 -0
- package/DemoForOperator/Focus/Light/Item.vue +67 -0
- package/DemoForOperator/Focus/Light/LightFocusBox.vue +87 -0
- package/DemoForOperator/Focus/Light/LightPage.vue +43 -0
- package/DemoForOperator/Focus/Light/utils/FrameCanvasStore.ts +68 -0
- package/DemoForOperator/Focus/Light/utils/RotateFrame.vue +146 -0
- package/DemoForOperator/Focus/Light/utils/circleHaloMask.png +0 -0
- package/DemoForOperator/Focus/Normal/Item.vue +64 -0
- package/DemoForOperator/Focus/Normal/NormalFocusBox.vue +65 -0
- package/DemoForOperator/Focus/Normal/NormalPage.vue +41 -0
- package/DemoForOperator/Focus/SwipeLight/Item.vue +73 -0
- package/DemoForOperator/Focus/SwipeLight/SwipeLightBox.vue +62 -0
- package/DemoForOperator/Focus/SwipeLight/SwipeLightPage.vue +44 -0
- package/DemoForOperator/FrameShadow/App.vue +193 -0
- package/DemoForOperator/FrameShadow/FrameShadow.vue +61 -0
- package/DemoForOperator/FullscreenIn/App.vue +105 -0
- package/DemoForOperator/FullscreenIn/FullscreenPoster.vue +56 -0
- package/DemoForOperator/FullscreenIn/Item.vue +50 -0
- package/DemoForOperator/Genie/App.vue +78 -0
- package/DemoForOperator/Genie/geniePakcer/Genie.vue +741 -0
- package/DemoForOperator/Genie/geniePakcer/genieBottom.glsl +49 -0
- package/DemoForOperator/Genie/geniePakcer/genieLeft.glsl +50 -0
- package/DemoForOperator/Genie/geniePakcer/genieRight.glsl +57 -0
- package/DemoForOperator/Genie/geniePakcer/genieTop.glsl +50 -0
- package/DemoForOperator/GrayFilter/App.vue +51 -0
- package/DemoForOperator/GrayFilter/GrayFilter.vue +59 -0
- package/DemoForOperator/Jigsaw/App.vue +45 -0
- package/DemoForOperator/Jigsaw/JigsawFull.vue +142 -0
- package/DemoForOperator/Jigsaw/JigsawSingle.vue +118 -0
- package/DemoForOperator/LongChatBox/App.vue +36 -0
- package/DemoForOperator/LongChatBox/Bubble.vue +104 -0
- package/DemoForOperator/LongChatBox/LongChat.vue +173 -0
- package/DemoForOperator/LongChatBox/TextManager.ts +147 -0
- package/DemoForOperator/LongChatBox/VirtualList.vue +298 -0
- package/DemoForOperator/LongChatBox/testData.js +51 -0
- package/DemoForOperator/LongChatBox/utile.js +331 -0
- package/DemoForOperator/Particle/App.vue +69 -0
- package/DemoForOperator/Particle/Drop/DropParticle.vue +208 -0
- package/DemoForOperator/Particle/Explode/ExplodeParticle.vue +120 -0
- package/DemoForOperator/PosterAnim/App.vue +125 -0
- package/DemoForOperator/PosterAnim/Bounce/BouncePage.vue +54 -0
- package/DemoForOperator/PosterAnim/Bounce/Item.vue +85 -0
- package/DemoForOperator/PosterAnim/Breath/BreathPage.vue +47 -0
- package/DemoForOperator/PosterAnim/Breath/Item.vue +58 -0
- package/DemoForOperator/PosterAnim/CommonPageSetting.js +30 -0
- package/DemoForOperator/PosterAnim/Item.vue +46 -0
- package/DemoForOperator/PosterAnim/PosterAnim.js +79 -0
- package/DemoForOperator/PosterAnim/Scale/Item.vue +72 -0
- package/DemoForOperator/PosterAnim/Scale/ScalePage.vue +48 -0
- package/DemoForOperator/PosterAnim/Shake/Item.vue +85 -0
- package/DemoForOperator/PosterAnim/Shake/ShakePage.vue +53 -0
- package/DemoForOperator/PosterOverflow/App.vue +116 -0
- package/DemoForOperator/PosterOverflow/Item.vue +67 -0
- package/DemoForOperator/PosterOverflow/PosterOverflow.vue +39 -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/App.vue +54 -0
- package/DemoForOperator/Ripple/Ripple.vue +65 -0
- 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/App.vue +33 -0
- package/DemoForOperator/Sprite/Sprite.vue +147 -0
- package/DemoForOperator/Stretch/App.vue +103 -0
- package/DemoForOperator/Stretch/Stretch/Item.vue +192 -0
- package/DemoForOperator/Stretch/Stretch/Stretch.vue +218 -0
- package/DemoForOperator/Swiper/App.vue +101 -0
- package/DemoForOperator/Swiper/Item.vue +56 -0
- package/DemoForOperator/Swiper/ParallaxSlide.vue +164 -0
- package/DemoForOperator/TabContent/App.vue +89 -0
- package/DemoForOperator/TabContent/ContentPage.vue +66 -0
- package/DemoForOperator/TabContent/Item.vue +85 -0
- package/DemoForOperator/TabContent/PageItem.vue +40 -0
- package/DemoForOperator/TabContent/TabContent/CreepFocus.vue +160 -0
- package/DemoForOperator/TabContent/TabContent/Item.vue +63 -0
- package/DemoForOperator/TabContent/TabContent/TabContent.vue +184 -0
- package/DemoForOperator/TabContent/TabContent/TabItem.vue +368 -0
- package/DemoForOperator/TabContent/TabContent/TabWidget.vue +243 -0
- package/DemoForOperator/TabContent/TabContent/Util.js +3 -0
- package/DemoForOperator/TabContent/TabContent/ViewSwiper.vue +110 -0
- package/DemoForOperator/TabContent/testData.js +241 -0
- 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/App.vue +78 -0
- package/DemoForOperator/Vortex/Vortex/Vortex.vue +180 -0
- package/DemoForOperator/Vortex/Vortex/vortexIn.glsl +38 -0
- package/DemoForOperator/Vortex/Vortex/vortexOut.glsl +38 -0
- package/DemoForOperator/index.js +6 -0
- package/DemoForOperator/routeList.js +259 -0
- package/DemoHomepage/App.vue +50 -30
- package/DemoHomepage/components/Dialog.vue +1 -0
- package/DemoHomepage/components/Item.vue +11 -0
- package/DemoHomepage/components/TabFrame.vue +7 -0
- package/DemoHomepage/router.js +178 -81
- package/DemoHomepage/views/Homepage.vue +7 -2
- package/DivMetroPerformance/data.js +3 -3
- package/DriftScopeTest/App.vue +1 -1
- package/FilterDemo/AnimatePic.vue +1 -1
- package/FilterDemo/VideoLayer.vue +2 -2
- package/FullScreenFlex/TestFrame2.vue +1 -1
- package/GiftRain/App.vue +12 -12
- package/GiftRain/components/SpriteTranslate.vue +68 -48
- package/HashHistory/App.vue +2 -2
- package/HashHistory/router.js +1 -1
- package/JsvPreDownloader/App.vue +4 -4
- package/MediaDemo/components/frames/AudioFrame.vue +1 -1
- package/MediaDemo/components/frames/VideoFrame.vue +1 -1
- package/MetroWidgetDemos/MassiveItems/ContentItem.vue +1 -1
- package/MetroWidgetDemos/MassiveItems/data.js +1 -1
- package/MetroWidgetDemos/PerformanceTest/data.js +3 -3
- package/MetroWidgetDemos/RefreshDemo/assets/imageList.json +235 -235
- package/MetroWidgetDemos/SkeletonDiagram/assets/imageList.json +235 -235
- package/MetroWidgetDemos/TripleWidget/App.vue +7 -1
- package/MetroWidgetDemos/TripleWidget/Item.vue +16 -2
- package/MetroWidgetDemos/TripleWidget/SWidgetItem.vue +7 -1
- package/MetroWidgetDemos/TripleWidget/WidgetItem.vue +8 -2
- package/MetroWidgetDemos/focusableItemMetroWidget/WidgetItem.vue +3 -1
- package/MetroWidgetDemos/routeList.js +34 -17
- package/Poster3d/App.vue +69 -0
- package/Poster3d/Poster3d.vue +92 -0
- package/PosterPacker/App.vue +5 -5
- package/PosterPacker/tools/vortexPacker/Vortex.vue +1 -1
- package/QrcodeDemo/App.vue +1 -1
- package/Ripple/App.vue +1 -1
- package/ScaleDownNeon/App.vue +4 -4
- package/SceneTransition/App.vue +2 -2
- package/SceneTransition/maskConfig/config2.js +12 -12
- package/SceneTransition/maskConfig/config3.js +14 -14
- package/SprayView/App.vue +96 -51
- package/SpringFestival/App.vue +73 -0
- package/SpringFestival/SpringFestivalScene/ChunLian.vue +211 -0
- package/SpringFestival/SpringFestivalScene/FreeMoveBuilder.js +139 -0
- package/SpringFestival/SpringFestivalScene/LanternAnim.js +60 -0
- package/SpringFestival/SpringFestivalScene/Rain.vue +137 -0
- package/SpringFestival/SpringFestivalScene/Scene.vue +218 -0
- package/SpringFestival/SpringFestivalScene/imageConfig.js +87 -0
- package/SpringFestival/SpringFestivalScene/index.js +1 -0
- package/Swiper/App.vue +28 -29
- package/Swiper/Item.vue +19 -0
- package/SwiperTest/App.vue +9 -9
- package/TestNativeSharedView/AckEventDefine.ts +82 -0
- package/TestNativeSharedView/App.vue +4 -6
- package/TestNativeSharedView/JsvDemoTester.js +131 -0
- package/TextureAnimation/App.vue +16 -6
- package/TextureAnimation/App3.vue +100 -0
- package/TextureAnimation/utils/FrameCanvasStore.ts +68 -0
- package/TextureAnimation/utils/RotateFrame.vue +146 -0
- package/TextureAnimation/utils/circleHaloMask.png +0 -0
- package/TombSweepingDayTest/Raining/RainScene.vue +4 -4
- package/ViewOpacity/App.vue +21 -2
- package/package.json +1 -1
package/DemoHomepage/router.js
CHANGED
|
@@ -1,408 +1,502 @@
|
|
|
1
1
|
import { createRouter } from 'vue-router';
|
|
2
2
|
import { jsvCreateHashHistory } from 'jsview';
|
|
3
3
|
import { metroWidgetRouteList } from "../MetroWidgetDemos"
|
|
4
|
+
import Homepage from './views/Homepage.vue' // 不使用动态import,加速显示
|
|
5
|
+
import { demoForOperatorRouteList } from '../DemoForOperator';
|
|
6
|
+
|
|
4
7
|
let routeList = [
|
|
5
8
|
// 功能实例
|
|
6
9
|
{
|
|
7
|
-
|
|
10
|
+
meta: { nameText: 'Home', },
|
|
11
|
+
name: "Home",
|
|
8
12
|
path: '/',
|
|
9
|
-
component:
|
|
13
|
+
component: Homepage,
|
|
10
14
|
meta: {
|
|
11
15
|
keepAlive: true // 需要被缓存(测试Router keep alive机制)
|
|
12
16
|
}
|
|
13
17
|
},
|
|
14
18
|
{
|
|
15
|
-
|
|
19
|
+
meta: { nameText: '基础示例合集', },
|
|
20
|
+
name: "feature-基础示例合集",
|
|
16
21
|
path: '/feature/Basic',
|
|
17
22
|
component: () => import('@shijiu/jsview-vue-samples/Basic/App.vue'),
|
|
18
23
|
},
|
|
19
24
|
// {
|
|
20
|
-
//
|
|
25
|
+
// meta: { nameText: 'FreeMoveResize', },
|
|
21
26
|
// path: '/feature/FreeMoveResize',
|
|
22
27
|
// component: () => import('@shijiu/jsview-vue-samples/FreeMoveResize/App.vue'),
|
|
23
28
|
// },
|
|
24
29
|
{
|
|
25
|
-
|
|
30
|
+
meta: { nameText: '3d移动动画', },
|
|
31
|
+
name: "Operations-3d移动动画",
|
|
32
|
+
path: '/Operations/3dMove',
|
|
33
|
+
component: () => import('jsview-vue-samples/Poster3d/App.vue'),
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
meta: { nameText: '烟花行进特效', },
|
|
37
|
+
name: "Operations-烟花行进特效",
|
|
26
38
|
path: '/Operations/SprayMove',
|
|
27
39
|
component: () => import('jsview-vue-samples/SprayMove/App.vue'),
|
|
28
40
|
},
|
|
29
41
|
{
|
|
30
|
-
|
|
42
|
+
meta: { nameText: '海报图收放组件', },
|
|
43
|
+
name: "Operations-海报图收放组件",
|
|
31
44
|
path: '/Operations/PosterPacker',
|
|
32
45
|
component: () => import('jsview-vue-samples/PosterPacker/App.vue'),
|
|
33
46
|
},
|
|
34
47
|
{
|
|
35
|
-
|
|
48
|
+
meta: { nameText: 'div快照功能', },
|
|
49
|
+
name: "feature-div快照功能",
|
|
36
50
|
path: '/feature/BakeViewDemo',
|
|
37
51
|
component: () => import('@shijiu/jsview-vue-samples/BakeViewDemo/App.vue'),
|
|
38
52
|
},
|
|
39
53
|
{
|
|
40
|
-
|
|
54
|
+
meta: { nameText: 'FlexDemo', },
|
|
55
|
+
name: "feature-FlexDemo",
|
|
41
56
|
path: '/feature/FlexDemo',
|
|
42
57
|
component: () => import('@shijiu/jsview-vue-samples/FlexCellDemo/App.vue')
|
|
43
58
|
},
|
|
44
59
|
{
|
|
45
|
-
|
|
60
|
+
meta: { nameText: 'ScreenFlex', },
|
|
61
|
+
name: "feature-ScreenFlex",
|
|
46
62
|
path: '/feature/ScreenFlex',
|
|
47
63
|
component: () => import('@shijiu/jsview-vue-samples/FullScreenFlex/App.vue')
|
|
48
64
|
},
|
|
49
65
|
{
|
|
50
|
-
|
|
66
|
+
meta: { nameText: '连接线Demo', },
|
|
67
|
+
name: "feature-连接线Demo",
|
|
51
68
|
path: '/feature/ConnectLine',
|
|
52
69
|
component: () => import('@shijiu/jsview-vue-samples/ConnectLine/App.vue')
|
|
53
70
|
},
|
|
54
71
|
{
|
|
55
|
-
|
|
72
|
+
meta: { nameText: '离散焦点自动处理', },
|
|
73
|
+
name: "feature-离散焦点自动处理",
|
|
56
74
|
path: '/feature/DispersedFocusControl',
|
|
57
75
|
component: () => import('@shijiu/jsview-vue-samples/DispersedFocusControl/App.vue'),
|
|
58
76
|
},
|
|
59
77
|
{
|
|
60
|
-
|
|
78
|
+
meta: { nameText: '离散焦点分布', },
|
|
79
|
+
name: "feature-离散焦点分布",
|
|
61
80
|
path: '/feature/DispersedItemSample',
|
|
62
81
|
component: () => import('@shijiu/jsview-vue-samples/DispersedItemSample/DispersedItemSample.vue')
|
|
63
82
|
},
|
|
64
83
|
{
|
|
65
|
-
|
|
84
|
+
meta: { nameText: '饼图测试', },
|
|
85
|
+
name: "feature-饼图测试",
|
|
66
86
|
path: '/feature/SecTorTest',
|
|
67
87
|
component: () => import('@shijiu/jsview-vue-samples/SecTorTest/App.vue'),
|
|
68
88
|
},
|
|
69
89
|
{
|
|
70
|
-
|
|
90
|
+
meta: { nameText: 'TextureStore测试', },
|
|
91
|
+
name: "feature-TextureStore测试",
|
|
71
92
|
path: '/feature/TextureStoreTest',
|
|
72
93
|
component: () => import('@shijiu/jsview-vue-samples/TextureStoreTest/App.vue'),
|
|
73
94
|
},
|
|
74
95
|
{
|
|
75
|
-
|
|
96
|
+
meta: { nameText: 'NinePatch对齐测试', },
|
|
97
|
+
name: "feature-NinePatch对齐测试",
|
|
76
98
|
path: '/feature/NinePatchTester',
|
|
77
99
|
component: () => import('@shijiu/jsview-vue-samples/NinePatchTester/App.vue'),
|
|
78
100
|
},
|
|
79
101
|
{
|
|
80
|
-
|
|
102
|
+
meta: { nameText: 'NativeSharedView测试', },
|
|
103
|
+
name: "feature-NativeSharedView测试",
|
|
81
104
|
path: '/feature/TestNativeSharedView',
|
|
82
105
|
component: () => import('@shijiu/jsview-vue-samples/TestNativeSharedView/App.vue'),
|
|
83
106
|
},
|
|
84
107
|
{
|
|
85
|
-
|
|
108
|
+
meta: { nameText: 'CSS预处理', },
|
|
109
|
+
name: "feature-CSS预处理",
|
|
86
110
|
path: '/feature/CssPreprocessor',
|
|
87
111
|
component: () => import('@shijiu/jsview-vue-samples/CssPreprocessor/App.vue'),
|
|
88
112
|
},
|
|
89
113
|
{
|
|
90
|
-
|
|
114
|
+
meta: { nameText: '可视化变化通知', },
|
|
115
|
+
name: "feature-可视化变化通知",
|
|
91
116
|
path: '/feature/VisibleSensorDemo',
|
|
92
117
|
component: () => import('@shijiu/jsview-vue-samples/VisibleSensorDemo/App.vue'),
|
|
93
118
|
},
|
|
94
119
|
{
|
|
95
|
-
|
|
120
|
+
meta: { nameText: '快速刷新的表格布局组件', },
|
|
121
|
+
name: "feature-快速刷新的表格布局组件",
|
|
96
122
|
path: '/feature/GridDemo',
|
|
97
123
|
component: () => import('@shijiu/jsview-vue-samples/GridDemo/App.vue'),
|
|
98
124
|
},
|
|
99
125
|
{
|
|
100
|
-
|
|
126
|
+
meta: { nameText: '有命名空间的焦点切换', },
|
|
127
|
+
name: "feature-有命名空间的焦点切换",
|
|
101
128
|
path: '/feature/BasicFocusControl',
|
|
102
129
|
component: () => import('@shijiu/jsview-vue-samples/BasicFocusControl/App.vue'),
|
|
103
130
|
},
|
|
104
131
|
{
|
|
105
|
-
|
|
132
|
+
meta: { nameText: 'Hash方式路由切换', },
|
|
133
|
+
name: "feature-Hash方式路由切换",
|
|
106
134
|
path: '/feature/HashHistory',
|
|
107
135
|
props: { routePath: '/feature/HashHistory' },
|
|
108
136
|
component: () => import('@shijiu/jsview-vue-samples/HashHistory/App.vue'),
|
|
109
137
|
},
|
|
110
138
|
{
|
|
111
|
-
|
|
139
|
+
meta: { nameText: '翻牌游戏', },
|
|
140
|
+
name: "Game-翻牌游戏",
|
|
112
141
|
path: '/Game/FlipCard',
|
|
113
142
|
component: () => import('@shijiu/jsview-vue-samples/FlipCard/App.vue'),
|
|
114
143
|
},
|
|
115
144
|
{
|
|
116
|
-
|
|
145
|
+
meta: { nameText: '设置颜色空间', },
|
|
146
|
+
name: "feature-设置颜色空间",
|
|
117
147
|
path: '/feature/ColorSpace',
|
|
118
148
|
component: () => import('@shijiu/jsview-vue-samples/ColorSpace/App.vue'),
|
|
119
149
|
},
|
|
120
150
|
{
|
|
121
|
-
|
|
151
|
+
meta: { nameText: '制定Texture尺寸', },
|
|
152
|
+
name: "feature-制定Texture尺寸",
|
|
122
153
|
path: '/feature/TextureSize',
|
|
123
154
|
component: () => import('@shijiu/jsview-vue-samples/TextureSize/App.vue'),
|
|
124
155
|
},
|
|
125
156
|
{
|
|
126
|
-
|
|
157
|
+
meta: { nameText: '长文字', },
|
|
158
|
+
name: "feature-长文字",
|
|
127
159
|
path: '/feature/LongText',
|
|
128
160
|
component: () => import('@shijiu/jsview-vue-samples/LongText/App.vue'),
|
|
129
161
|
},
|
|
130
162
|
{
|
|
131
|
-
|
|
163
|
+
meta: { nameText: '长文字Latex', },
|
|
164
|
+
name: "feature-长文字Latex",
|
|
132
165
|
path: '/feature/LongTextLatex',
|
|
133
166
|
component: () => import('@shijiu/jsview-vue-samples/LongTextLatex/App.vue'),
|
|
134
167
|
},
|
|
135
168
|
{
|
|
136
|
-
|
|
169
|
+
meta: { nameText: '二维码', },
|
|
170
|
+
name: "feature-二维码",
|
|
137
171
|
path: '/feature/QrcodeDemo',
|
|
138
172
|
component: () => import('@shijiu/jsview-vue-samples/QrcodeDemo/App.vue'),
|
|
139
173
|
},
|
|
140
174
|
{
|
|
141
|
-
|
|
175
|
+
meta: { nameText: '文字阴影', },
|
|
176
|
+
name: "feature-文字阴影",
|
|
142
177
|
path: '/feature/TextShadowDemo',
|
|
143
178
|
component: () => import('@shijiu/jsview-vue-samples/TextShadowDemo/App.vue'),
|
|
144
179
|
},
|
|
145
180
|
{
|
|
146
|
-
|
|
181
|
+
meta: { nameText: '多行文字区域内对齐', },
|
|
182
|
+
name: "feature-多行文字区域内对齐",
|
|
147
183
|
path: '/feature/TextBox',
|
|
148
184
|
component: () => import('@shijiu/jsview-vue-samples/TextBox/App.vue'),
|
|
149
185
|
},
|
|
150
186
|
// TODO: 改为FreeMove后再激活
|
|
151
187
|
// {
|
|
152
|
-
//
|
|
188
|
+
// meta: { nameText: '抛物运动写法样例', },
|
|
153
189
|
// path: '/Game/ThrowMoveDemo',
|
|
154
190
|
// component: () => import('@shijiu/jsview-vue-samples/ThrowMoveDemo/App.vue'),
|
|
155
191
|
// },
|
|
156
192
|
{
|
|
157
|
-
|
|
193
|
+
meta: { nameText: '精灵图', },
|
|
194
|
+
name: "Game-精灵图",
|
|
158
195
|
path: '/Game/SpriteImage',
|
|
159
196
|
component: () => import('@shijiu/jsview-vue-samples/SpriteImage/App.vue'),
|
|
160
197
|
},
|
|
161
198
|
{
|
|
162
|
-
|
|
199
|
+
meta: { nameText: '文字滚动(标题跑马灯)', },
|
|
200
|
+
name: "feature-文字滚动(标题跑马灯)",
|
|
163
201
|
path: '/feature/Marquee',
|
|
164
202
|
component: () => import('@shijiu/jsview-vue-samples/Marquee/App.vue'),
|
|
165
203
|
},
|
|
166
204
|
{
|
|
167
|
-
|
|
205
|
+
meta: { nameText: '文字输入', },
|
|
206
|
+
name: "feature-文字输入",
|
|
168
207
|
path: '/feature/Input',
|
|
169
208
|
component: () => import('@shijiu/jsview-vue-samples/Input/App.vue'),
|
|
170
209
|
},
|
|
171
210
|
{
|
|
172
|
-
|
|
211
|
+
meta: { nameText: '情景主题效果:雨', },
|
|
212
|
+
name: "Operations-情景主题效果:雨",
|
|
173
213
|
path: '/Operations/TombSweepingDayTest',
|
|
174
214
|
component: () => import('@shijiu/jsview-vue-samples/TombSweepingDayTest/App.vue'),
|
|
175
215
|
},
|
|
176
216
|
{
|
|
177
|
-
|
|
217
|
+
meta: { nameText: '.9图焦点框漂移', },
|
|
218
|
+
name: "Operations-.9图焦点框漂移",
|
|
178
219
|
path: '/Operations/NinePatchDemo',
|
|
179
220
|
component: () => import('@shijiu/jsview-vue-samples/NinePatchDemo/App.vue'),
|
|
180
221
|
},
|
|
181
222
|
{
|
|
182
|
-
|
|
223
|
+
meta: { nameText: '动图', },
|
|
224
|
+
name: "Operations-动图",
|
|
183
225
|
path: '/Operations/AnimPicture',
|
|
184
226
|
component: () => import('@shijiu/jsview-vue-samples/AnimPicture/App.vue'),
|
|
185
227
|
},
|
|
186
228
|
{
|
|
187
|
-
|
|
229
|
+
meta: { nameText: '粒子效果', },
|
|
230
|
+
name: "Operations-粒子效果",
|
|
188
231
|
path: '/Operations/SprayView',
|
|
189
232
|
component: () => import('@shijiu/jsview-vue-samples/SprayView/App.vue'),
|
|
190
233
|
},
|
|
191
234
|
{
|
|
192
|
-
|
|
235
|
+
meta: { nameText: '长图片', },
|
|
236
|
+
name: "Operations-长图片",
|
|
193
237
|
path: '/Operations/LongImage',
|
|
194
238
|
component: () => import('@shijiu/jsview-vue-samples/LongImage/App.vue'),
|
|
195
239
|
},
|
|
196
240
|
{
|
|
197
|
-
|
|
241
|
+
meta: { nameText: '拼图demo', },
|
|
242
|
+
name: "Operations-拼图demo",
|
|
198
243
|
path: '/Operations/MaskClip',
|
|
199
244
|
component: () => import('@shijiu/jsview-vue-samples/MaskClip/App.vue'),
|
|
200
245
|
},
|
|
201
246
|
{
|
|
202
|
-
|
|
247
|
+
meta: { nameText: 'SoundPool', },
|
|
248
|
+
name: "Game-SoundPool",
|
|
203
249
|
path: '/Game/SoundPool',
|
|
204
250
|
component: () => import('@shijiu/jsview-vue-samples/SoundPool/App.vue'),
|
|
205
251
|
},
|
|
206
252
|
{
|
|
207
|
-
|
|
253
|
+
meta: { nameText: 'TextureAnimation', },
|
|
254
|
+
name: "Operations-TextureAnimation",
|
|
208
255
|
path: '/Operations/TextureAnimation',
|
|
209
256
|
component: () => import('@shijiu/jsview-vue-samples/TextureAnimation/App.vue'),
|
|
210
257
|
},
|
|
211
258
|
{
|
|
212
|
-
|
|
259
|
+
meta: { nameText: '焦点框旋转光效果', },
|
|
260
|
+
name: "Operations-焦点框旋转光效果",
|
|
213
261
|
path: '/Operations/TextureAnimation2',
|
|
214
|
-
component: () => import('@shijiu/jsview-vue-samples/TextureAnimation/
|
|
262
|
+
component: () => import('@shijiu/jsview-vue-samples/TextureAnimation/App3.vue'),
|
|
215
263
|
},
|
|
216
264
|
{
|
|
217
|
-
|
|
265
|
+
meta: { nameText: '公祭日黑白效果', },
|
|
266
|
+
name: "Operations-公祭日黑白效果",
|
|
218
267
|
path: '/Operations/GrayDown',
|
|
219
268
|
component: () => import('@shijiu/jsview-vue-samples/FilterDemo/App.vue'),
|
|
220
269
|
},
|
|
221
270
|
{
|
|
222
|
-
|
|
271
|
+
meta: { nameText: '水波特效', },
|
|
272
|
+
name: "Operations-水波特效",
|
|
223
273
|
path: '/Operations/Ripple',
|
|
224
274
|
component: () => import('@shijiu/jsview-vue-samples/Ripple/App.vue'),
|
|
225
275
|
},
|
|
226
276
|
{
|
|
227
|
-
|
|
277
|
+
meta: { nameText: '预加载', },
|
|
278
|
+
name: "feature-预加载",
|
|
228
279
|
path: '/feature/Preload',
|
|
229
280
|
component: () => import('@shijiu/jsview-vue-samples/Preload/App.vue'),
|
|
230
281
|
},
|
|
231
282
|
{
|
|
232
|
-
|
|
283
|
+
meta: { nameText: '单图片透明', },
|
|
284
|
+
name: "feature-单图片透明",
|
|
233
285
|
path: '/feature/ViewOpacity',
|
|
234
286
|
component: () => import('@shijiu/jsview-vue-samples/ViewOpacity/App.vue'),
|
|
235
287
|
},
|
|
236
288
|
{
|
|
237
|
-
|
|
289
|
+
meta: { nameText: '图片缩小算法', },
|
|
290
|
+
name: "feature-图片缩小算法",
|
|
238
291
|
path: '/feature/ScaleDownNeon',
|
|
239
292
|
component: () => import('@shijiu/jsview-vue-samples/ScaleDownNeon/App.vue'),
|
|
240
293
|
},
|
|
241
294
|
{
|
|
242
|
-
|
|
295
|
+
meta: { nameText: '渐变Texture', },
|
|
296
|
+
name: "feature-渐变Texture",
|
|
243
297
|
path: '/feature/GradientTexture',
|
|
244
298
|
component: () => import('@shijiu/jsview-vue-samples/GradientTexture/App.vue'),
|
|
245
299
|
},
|
|
246
300
|
{
|
|
247
|
-
|
|
301
|
+
meta: { nameText: '碰撞检测', },
|
|
302
|
+
name: "Game-碰撞检测",
|
|
248
303
|
path: '/Game/Collision',
|
|
249
304
|
component: () => import('@shijiu/jsview-vue-samples/Collision/App.vue'),
|
|
250
305
|
},
|
|
251
306
|
{
|
|
252
|
-
|
|
307
|
+
meta: { nameText: '碰撞即停', },
|
|
308
|
+
name: "Game-碰撞即停",
|
|
253
309
|
path: '/Game/ImpactStop',
|
|
254
310
|
component: () => import('@shijiu/jsview-vue-samples/ImpactStop/App.vue'),
|
|
255
311
|
},
|
|
256
312
|
{
|
|
257
|
-
|
|
313
|
+
meta: { nameText: '滚动图', },
|
|
314
|
+
name: "Operations-滚动图",
|
|
258
315
|
path: '/Operations/Swiper',
|
|
259
316
|
component: () => import('@shijiu/jsview-vue-samples/Swiper/App.vue'),
|
|
260
317
|
},
|
|
261
318
|
{
|
|
262
|
-
|
|
319
|
+
meta: { nameText: '下载接口示例', },
|
|
320
|
+
name: "feature-下载接口示例",
|
|
263
321
|
path: '/feature/JsvPreDownloader',
|
|
264
322
|
component: () => import('@shijiu/jsview-vue-samples/JsvPreDownloader/App.vue'),
|
|
265
323
|
},
|
|
266
324
|
{
|
|
267
|
-
|
|
325
|
+
meta: { nameText: '焦点移动样式', },
|
|
326
|
+
name: "Operations-焦点移动样式",
|
|
268
327
|
path: '/Operations/FocusMoveStyle',
|
|
269
328
|
component: () => import('@shijiu/jsview-vue-samples/FocusMoveStyle/App.vue'),
|
|
270
329
|
},
|
|
271
330
|
{
|
|
272
|
-
|
|
331
|
+
meta: { nameText: 'Mockjs测试', },
|
|
332
|
+
name: "feature-Mockjs测试",
|
|
273
333
|
path: '/feature/MockjsDemo',
|
|
274
334
|
component: () => import('@shijiu/jsview-vue-samples/MockjsDemo/App.vue'),
|
|
275
335
|
},
|
|
276
336
|
{
|
|
277
|
-
|
|
337
|
+
meta: { nameText: '红包雨', },
|
|
338
|
+
name: "Game-红包雨",
|
|
278
339
|
path: '/Game/GiftRain',
|
|
279
340
|
component: () => import('@shijiu/jsview-vue-samples/GiftRain/App.vue'),
|
|
280
341
|
},
|
|
281
342
|
{
|
|
282
|
-
|
|
343
|
+
meta: { nameText: '雷达图', },
|
|
344
|
+
name: "Game-雷达图",
|
|
283
345
|
path: '/Game/RadarChart',
|
|
284
346
|
component: () => import('@shijiu/jsview-vue-samples/JsvRadarChart/App.vue')
|
|
285
347
|
},
|
|
286
348
|
// TODO: 等改为对接FreeMoveActor后再恢复
|
|
287
349
|
// {
|
|
288
|
-
//
|
|
350
|
+
// meta: { nameText: '跑酷游戏', },
|
|
289
351
|
// path: '/Game/Parkour',
|
|
290
352
|
// component: () => import('@shijiu/jsview-vue-samples/Parkour/App.vue')
|
|
291
353
|
// },
|
|
292
354
|
{
|
|
293
|
-
|
|
355
|
+
meta: { nameText: 'Hash参数', },
|
|
356
|
+
name: "feature-Hash参数",
|
|
294
357
|
path: '/feature/HashParams',
|
|
295
358
|
component: () => import('@shijiu/jsview-vue-samples/HashParams/App.vue'),
|
|
296
359
|
},
|
|
297
360
|
{
|
|
298
|
-
|
|
361
|
+
meta: { nameText: '按键打断描画', },
|
|
362
|
+
name: "feature-按键打断描画",
|
|
299
363
|
path: '/feature/BreakRender',
|
|
300
364
|
component: () => import('@shijiu/jsview-vue-samples/BreakRender/App.vue'),
|
|
301
365
|
},
|
|
302
366
|
{
|
|
303
|
-
|
|
367
|
+
meta: { nameText: 'latex示例', },
|
|
368
|
+
name: "feature-latex示例",
|
|
304
369
|
path: '/feature/LatexDemo',
|
|
305
370
|
component: () => import('@shijiu/jsview-vue-samples/LatexDemo/App.vue'),
|
|
306
371
|
},
|
|
307
372
|
{
|
|
308
|
-
|
|
373
|
+
meta: { nameText: 'GetRect示例', },
|
|
374
|
+
name: "feature-GetRect示例",
|
|
309
375
|
path: '/feature/GetRect',
|
|
310
376
|
component: () => import('@shijiu/jsview-vue-samples/GetBoundingClientRect/App.vue'),
|
|
311
377
|
},
|
|
312
378
|
{
|
|
313
|
-
|
|
379
|
+
meta: { nameText: '动态Class示例', },
|
|
380
|
+
name: "feature-动态Class示例",
|
|
314
381
|
path: '/feature/DynamicClass',
|
|
315
382
|
component: () => import('@shijiu/jsview-vue-samples/DynamicClass/App.vue'),
|
|
316
383
|
},
|
|
317
384
|
{
|
|
318
|
-
|
|
385
|
+
meta: { nameText: 'Class动态切换示例', },
|
|
386
|
+
name: "feature-Class动态切换示例",
|
|
319
387
|
path: '/feature/ClassDynamicSwitching',
|
|
320
388
|
component: () => import('@shijiu/jsview-vue-samples/ClassDynamicSwitching/App.vue'),
|
|
321
389
|
},
|
|
322
390
|
{
|
|
323
|
-
|
|
391
|
+
meta: { nameText: 'JsvLine示例', },
|
|
392
|
+
name: "feature-JsvLine示例",
|
|
324
393
|
path: '/feature/JsvLine',
|
|
325
394
|
component: () => import('@shijiu/jsview-vue-samples/JsvLine/App.vue'),
|
|
326
395
|
},
|
|
327
396
|
// {
|
|
328
|
-
//
|
|
397
|
+
// meta: { nameText: 'FreeMove示例', },
|
|
329
398
|
// path: '/feature/FreeMove',
|
|
330
399
|
// component: () => import('@shijiu/jsview-vue-samples/FreeMove/App.vue'),
|
|
331
400
|
// },
|
|
332
401
|
{
|
|
333
|
-
|
|
402
|
+
meta: { nameText: '思维导图示例', },
|
|
403
|
+
name: "feature-思维导图示例",
|
|
334
404
|
path: '/feature/MindMap',
|
|
335
405
|
component: () => import('@shijiu/jsview-vue-samples/MindMap/App.vue'),
|
|
336
406
|
},
|
|
337
407
|
{
|
|
338
|
-
|
|
408
|
+
meta: { nameText: 'latex公式', },
|
|
409
|
+
name: "feature-latex公式",
|
|
339
410
|
path: '/feature/LatexFormula',
|
|
340
411
|
component: () => import('@shijiu/jsview-vue-samples/LatexFormula/App.vue'),
|
|
341
412
|
},
|
|
342
413
|
{
|
|
343
|
-
|
|
414
|
+
meta: { nameText: 'Swiper3dTest', },
|
|
415
|
+
name: "Operations-Swiper3dTest",
|
|
344
416
|
path: '/Operations/Swiper3D',
|
|
345
417
|
component: () => import('@shijiu/jsview-vue-samples/SwiperTest/App.vue'),
|
|
346
418
|
},
|
|
347
419
|
{
|
|
348
|
-
|
|
420
|
+
meta: { nameText: '进度条', },
|
|
421
|
+
name: "Operations-进度条",
|
|
349
422
|
path: '/Operations/ProgressBar',
|
|
350
423
|
component: () => import('@shijiu/jsview-vue-samples/ProgressBar/App.vue'),
|
|
351
424
|
},
|
|
352
425
|
{
|
|
353
|
-
|
|
426
|
+
meta: { nameText: '春联测试', },
|
|
427
|
+
name: "Operations-春联测试",
|
|
354
428
|
path: '/Operations/CoupletsTest',
|
|
355
429
|
component: () => import('@shijiu/jsview-vue-samples/CoupletsTest/App.vue'),
|
|
356
430
|
},
|
|
357
431
|
{
|
|
358
|
-
|
|
432
|
+
meta: { nameText: '全屏春联特效', },
|
|
433
|
+
name: "Operations-全屏春联特效",
|
|
434
|
+
path: '/Operations/SpringFestival2025',
|
|
435
|
+
component: () => import('jsview-vue-samples/SpringFestival/App.vue'),
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
meta: { nameText: '场景过渡', },
|
|
439
|
+
name: "Operations-场景过渡",
|
|
359
440
|
path: '/Operations/SceneTransition',
|
|
360
441
|
component: () => import('@shijiu/jsview-vue-samples/SceneTransition/App.vue'),
|
|
361
442
|
},
|
|
362
443
|
{
|
|
363
|
-
|
|
444
|
+
meta: { nameText: '点击Div', },
|
|
445
|
+
name: "touch-点击Div",
|
|
364
446
|
path: '/touch/ClickDivDemo',
|
|
365
447
|
component: () => import('@shijiu/jsview-vue-samples/ClickDivDemo/App.vue'),
|
|
366
448
|
},
|
|
367
449
|
{
|
|
368
|
-
|
|
450
|
+
meta: { nameText: '触控示例', },
|
|
451
|
+
name: "touch-触控示例",
|
|
369
452
|
path: '/touch/TouchWidget',
|
|
370
453
|
component: () => import('@shijiu/jsview-vue-samples/TouchWidget/App.vue'),
|
|
371
454
|
},
|
|
372
455
|
{
|
|
373
|
-
|
|
456
|
+
meta: { nameText: 'DragBox', },
|
|
457
|
+
name: "touch-DragBox",
|
|
374
458
|
path: '/touch/Box',
|
|
375
459
|
component: () => import('@shijiu/jsview-vue-samples/DragBox/App.vue'),
|
|
376
460
|
},
|
|
377
461
|
// {
|
|
378
|
-
//
|
|
462
|
+
// meta: { nameText: 'FreeMove触控磁吸', },
|
|
379
463
|
// path: '/touch/FreeMoveChildAttract',
|
|
380
464
|
// component: () => import('@shijiu/jsview-vue-samples/FreeMoveChildAttract/App.vue'),
|
|
381
465
|
// },
|
|
382
466
|
// {
|
|
383
|
-
//
|
|
467
|
+
// meta: { nameText: 'FreeMoveLink', },
|
|
384
468
|
// path: '/touch/FreeMoveLink',
|
|
385
469
|
// component: () => import('@shijiu/jsview-vue-samples/FreeMoveLink/App.vue'),
|
|
386
470
|
// },
|
|
387
471
|
{
|
|
388
|
-
|
|
472
|
+
meta: { nameText: '可拖拽进度条', },
|
|
473
|
+
name: "touch-可拖拽进度条",
|
|
389
474
|
path: '/touch/ScrollBoxTest',
|
|
390
475
|
component: () => import('@shijiu/jsview-vue-samples/ScrollBoxTest/App.vue'),
|
|
391
476
|
},
|
|
392
477
|
// {
|
|
393
|
-
//
|
|
478
|
+
// meta: { nameText: '透视镜效果样例', },
|
|
394
479
|
// path: '/Operations/DriftScopeTest',
|
|
395
480
|
// component: () => import('@shijiu/jsview-vue-samples/DriftScopeTest/App.vue'),
|
|
396
481
|
// },
|
|
397
482
|
{
|
|
398
|
-
|
|
483
|
+
meta: { nameText: '自定义shader', },
|
|
484
|
+
name: "Operations-自定义shader",
|
|
399
485
|
path: '/Operations/CustomShader',
|
|
400
486
|
component: () => import('@shijiu/jsview-vue-samples/CustomShader/App.vue'),
|
|
401
487
|
},
|
|
488
|
+
{
|
|
489
|
+
meta: { nameText: '虚线框测试用例', },
|
|
490
|
+
name: "Operations-虚线框测试用例",
|
|
491
|
+
path: '/Operations/DashPath',
|
|
492
|
+
component: () => import('@shijiu/jsview-vue-samples/DashPath/App.vue'),
|
|
493
|
+
},
|
|
402
494
|
];
|
|
403
495
|
|
|
404
496
|
//添加MetroWidget demo
|
|
405
|
-
routeList = routeList
|
|
497
|
+
routeList = routeList
|
|
498
|
+
.concat(metroWidgetRouteList)
|
|
499
|
+
.concat(demoForOperatorRouteList);
|
|
406
500
|
|
|
407
501
|
const router = createRouter({
|
|
408
502
|
// 浏览器调试和盒子上都可以使用功能与WebHashHistory相同的jsvCreateHashHistory(推荐)
|
|
@@ -410,5 +504,8 @@ const router = createRouter({
|
|
|
410
504
|
history: jsvCreateHashHistory(),
|
|
411
505
|
routes: routeList,
|
|
412
506
|
});
|
|
507
|
+
router.beforeEach((to, from) => {
|
|
508
|
+
console.log("router beforeEach", to, from);
|
|
509
|
+
})
|
|
413
510
|
|
|
414
511
|
export { router }
|
|
@@ -16,11 +16,12 @@ const metroWidgetData = [];
|
|
|
16
16
|
const operationsData = [];
|
|
17
17
|
const gameData = [];
|
|
18
18
|
const touchTestData = [];
|
|
19
|
+
const operatorData = [];
|
|
19
20
|
|
|
20
21
|
const routeList = useRouter().getRoutes();
|
|
21
22
|
for (let item of routeList) {
|
|
22
23
|
let obj = {
|
|
23
|
-
name: item.
|
|
24
|
+
name: item.meta.nameText,
|
|
24
25
|
path: item.path,
|
|
25
26
|
width: 300,
|
|
26
27
|
height: 100,
|
|
@@ -41,6 +42,9 @@ for (let item of routeList) {
|
|
|
41
42
|
} else if (item.path.indexOf("/touch/") >= 0) {
|
|
42
43
|
obj.backgroundColor = colorTemplete[touchTestData.length % 4];
|
|
43
44
|
touchTestData.push(obj);
|
|
45
|
+
} else if (item.path.indexOf("/operator/") >= 0) {
|
|
46
|
+
obj.backgroundColor = colorTemplete[operatorData.length % 4];
|
|
47
|
+
operatorData.push(obj);
|
|
44
48
|
}
|
|
45
49
|
}
|
|
46
50
|
const dataList = [
|
|
@@ -49,6 +53,7 @@ const dataList = [
|
|
|
49
53
|
operationsData,
|
|
50
54
|
touchTestData,
|
|
51
55
|
gameData,
|
|
56
|
+
operatorData,
|
|
52
57
|
];
|
|
53
58
|
|
|
54
59
|
// 控制v-show
|
|
@@ -218,7 +223,7 @@ onDeactivated(() => {
|
|
|
218
223
|
}
|
|
219
224
|
|
|
220
225
|
.logo {
|
|
221
|
-
top:
|
|
226
|
+
top: 60;
|
|
222
227
|
width: 1260;
|
|
223
228
|
height: 30;
|
|
224
229
|
color: #00ff00;
|
|
@@ -89,7 +89,7 @@ for (let i = 0; i < 50; i++) {
|
|
|
89
89
|
savePrize: `${i}`,
|
|
90
90
|
soldTotal: `${Math.floor(Math.random() * 50000)}`,
|
|
91
91
|
pictUrl:
|
|
92
|
-
"
|
|
92
|
+
"https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/DivMetroPerformance/data/O1CN01Ab4vWz1izGAyRL1Yf_!!0-item_pic.jpg",
|
|
93
93
|
}));
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -103,7 +103,7 @@ for (let i = 0; i < 49; i++) {
|
|
|
103
103
|
savePrize: `${i}`,
|
|
104
104
|
soldTotal: `${Math.floor(Math.random() * 50000)}`,
|
|
105
105
|
pictUrl:
|
|
106
|
-
"
|
|
106
|
+
"https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/DivMetroPerformance/data/O1CN01Ab4vWz1izGAyRL1Yf_!!0-item_pic.jpg",
|
|
107
107
|
}));
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -117,7 +117,7 @@ for (let i = 0; i < 48; i++) {
|
|
|
117
117
|
savePrize: `${i}`,
|
|
118
118
|
soldTotal: `${Math.floor(Math.random() * 50000)}`,
|
|
119
119
|
pictUrl:
|
|
120
|
-
"
|
|
120
|
+
"https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/DivMetroPerformance/data/O1CN01Ab4vWz1izGAyRL1Yf_!!0-item_pic.jpg",
|
|
121
121
|
}));
|
|
122
122
|
}
|
|
123
123
|
|