@shijiu/jsview-vue-samples 2.2.373 → 2.3.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 -2
- package/BasicFocusControl/components/BaseBlock.vue +65 -18
- package/BreakRender/assets/imageList.json +235 -235
- package/ColorSpace/App.vue +4 -4
- 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/CssPreprocessor/Stylus/components/stylus-group1/StylusOperations.vue +0 -1
- package/CssPreprocessor/utils/ContentBlock.vue +3 -3
- package/CssPreprocessor/utils/{FontStyle.css → FontConfig.css} +3 -3
- package/CssPreprocessor/utils/TitleBar.vue +2 -2
- package/CustomShader/App.vue +6 -6
- package/CustomShader/gaussianBlur.glsl +1 -1
- package/DashPath/App.vue +79 -0
- package/DashPath/AppForOperator.vue +35 -0
- package/DashPath/DashPath.vue +118 -0
- package/DemoForOperator/AnimPic/AnimPic.vue +47 -0
- package/DemoForOperator/AnimPic/App.vue +28 -0
- package/DemoForOperator/Banger/App.vue +26 -0
- package/DemoForOperator/Banger/Banger/Banger.vue +252 -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/Bounce/App.vue +43 -0
- package/DemoForOperator/Bounce/Bounce.vue +49 -0
- package/DemoForOperator/Bounce/FreeMoveBuilder.js +139 -0
- package/DemoForOperator/ChunLian/App.vue +47 -0
- package/DemoForOperator/ChunLian/Couplets.vue +248 -0
- package/DemoForOperator/EpisodeList/App.vue +80 -0
- package/DemoForOperator/EpisodeList/EpisodeList/Controller.vue +113 -0
- package/DemoForOperator/EpisodeList/EpisodeList/EpisodeList.vue +176 -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 +358 -0
- package/DemoForOperator/Firework1/SpriteDeal.js +30 -0
- package/DemoForOperator/FlipPage/App.vue +75 -0
- package/DemoForOperator/FlipPage/FlipPage/FlipPage.vue +150 -0
- package/DemoForOperator/FlipPage/FlipPage/flipIn.glsl +41 -0
- package/DemoForOperator/FlipPage/FlipPage/flipOut.glsl +41 -0
- package/DemoForOperator/Focus/Alpha/AlphaFocusBox.vue +70 -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 +46 -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 +53 -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/FullscreenIn/App.vue +105 -0
- package/DemoForOperator/FullscreenIn/FullscreenPoster.vue +41 -0
- package/DemoForOperator/FullscreenIn/Item.vue +50 -0
- package/DemoForOperator/Genie/App.vue +78 -0
- package/DemoForOperator/Genie/geniePakcer/Genie.vue +699 -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 +38 -0
- package/DemoForOperator/Jigsaw/App.vue +45 -0
- package/DemoForOperator/Jigsaw/JigsawFull.vue +100 -0
- package/DemoForOperator/Jigsaw/JigsawSingle.vue +86 -0
- package/DemoForOperator/Particle/App.vue +69 -0
- package/DemoForOperator/Particle/Drop/DropParticle.vue +176 -0
- package/DemoForOperator/Particle/Explode/ExplodeParticle.vue +99 -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 +58 -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 +23 -0
- package/DemoForOperator/Ripple/App.vue +54 -0
- package/DemoForOperator/Ripple/Ripple.vue +50 -0
- package/DemoForOperator/ScalePoster/App.vue +4 -0
- package/DemoForOperator/ScalePoster/ScalePoster.vue +0 -0
- package/DemoForOperator/Sprite/App.vue +33 -0
- package/DemoForOperator/Sprite/Sprite.vue +90 -0
- package/DemoForOperator/Stretch/App.vue +103 -0
- package/DemoForOperator/Stretch/Stretch/Item.vue +192 -0
- package/DemoForOperator/Stretch/Stretch/Stretch.vue +168 -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 +146 -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/Vortex/App.vue +78 -0
- package/DemoForOperator/Vortex/Vortex/Vortex.vue +154 -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 +142 -0
- package/DemoHomepage/App.vue +50 -30
- package/DemoHomepage/components/Dialog.vue +1 -0
- package/DemoHomepage/components/TabFrame.vue +7 -0
- package/DemoHomepage/router.js +104 -81
- package/DemoHomepage/views/Homepage.vue +7 -6
- package/DivMetroPerformance/components/ContentItem.vue +0 -1
- 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/FlexCellDemo/TestFrame1.vue +0 -4
- package/FullScreenFlex/TestFrame2.vue +1 -1
- package/GiftRain/App.vue +12 -15
- package/HashParams/App.vue +0 -1
- package/JsvPreDownloader/App.vue +4 -6
- package/Marquee/App.vue +2 -2
- package/MediaDemo/components/frames/AudioFrame.vue +1 -1
- package/MediaDemo/components/frames/VideoFrame.vue +1 -1
- package/MetroWidgetDemos/MassiveItems/ContentItem.vue +1 -2
- package/MetroWidgetDemos/MassiveItems/data.js +1 -1
- package/MetroWidgetDemos/PerformanceTest/components/ContentItem.vue +0 -1
- package/MetroWidgetDemos/PerformanceTest/components/MyTab.vue +18 -17
- 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/focusableItemMetroWidget/WidgetItem.vue +3 -1
- package/MetroWidgetDemos/routeList.js +17 -17
- package/Poster3d/App.vue +69 -0
- package/Poster3d/Poster3d.vue +92 -0
- package/PosterPacker/App.vue +5 -5
- package/PosterPacker/tools/geniePakcer/Genie.vue +2 -2
- package/PosterPacker/tools/vortexPacker/Vortex.vue +15 -15
- package/QrcodeDemo/App.vue +1 -1
- package/Ripple/App.vue +1 -1
- package/ScaleDownNeon/App.vue +13 -10
- package/SceneTransition/App.vue +7 -6
- 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/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/TextureSize/App.vue +5 -6
- package/TombSweepingDayTest/Raining/RainScene.vue +4 -4
- package/ViewOpacity/App.vue +6 -7
- package/package.json +1 -1
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { defineProps } from "vue";
|
|
3
|
+
import { JsvTextureAnim, DECORATE_NINEPATCH_ALPHA_MIX } from "jsview";
|
|
4
|
+
import { BuildFrame } from "./FrameCanvasStore";
|
|
5
|
+
import mask from "./circleHaloMask.png";
|
|
6
|
+
|
|
7
|
+
const rProps = defineProps({
|
|
8
|
+
// 旋转圈内的url,可以是import内容,也可以是https内容
|
|
9
|
+
imageUrl: {
|
|
10
|
+
type: String,
|
|
11
|
+
require: true,
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
// 所包含区域的left, top, width, height
|
|
15
|
+
left: {
|
|
16
|
+
type: Number,
|
|
17
|
+
default: 0,
|
|
18
|
+
},
|
|
19
|
+
top: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 0,
|
|
22
|
+
},
|
|
23
|
+
width: {
|
|
24
|
+
type: Number,
|
|
25
|
+
require: true,
|
|
26
|
+
},
|
|
27
|
+
height: {
|
|
28
|
+
type: Number,
|
|
29
|
+
require: true,
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
// 所包含区域的圆角值borderRadius
|
|
33
|
+
borderRadius: {
|
|
34
|
+
type: Number,
|
|
35
|
+
require: true,
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
// 焦点框的线宽
|
|
39
|
+
lineWidth: {
|
|
40
|
+
type: Number,
|
|
41
|
+
require: true,
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
// 焦点框旋转一圈所用的时间
|
|
45
|
+
oneCircleTime: {
|
|
46
|
+
type: Number,
|
|
47
|
+
default: 0.5, // 转一圈0.5秒
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
// 是否需要外发光光晕
|
|
51
|
+
withHalo: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: false,
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 设置转盘的绘制覆盖区域
|
|
58
|
+
* 注意texture的尺寸需要兼顾最大的view即可
|
|
59
|
+
*/
|
|
60
|
+
maxViewSize: {
|
|
61
|
+
type: Object, // { width: Number, height: Number },
|
|
62
|
+
default: {
|
|
63
|
+
width: 400,
|
|
64
|
+
height: 400,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
// 基础旋转动画
|
|
70
|
+
const cRotateAnimation =
|
|
71
|
+
"{from {transform: rotate3d(0,0,1,0);} to {transform: rotate3d(0,0,1,360deg);}}";
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* 创建右图的边缘遮罩,可调节边框的粗细:circleLineWidth
|
|
75
|
+
*/
|
|
76
|
+
// 设置设定模拟绘制.9图
|
|
77
|
+
const cFrameInfo = BuildFrame(rProps.borderRadius, rProps.lineWidth);
|
|
78
|
+
|
|
79
|
+
// 创建内边框(实心不发光部分)
|
|
80
|
+
const ninePatchDecorator1 = {
|
|
81
|
+
type: DECORATE_NINEPATCH_ALPHA_MIX,
|
|
82
|
+
url: `jsvtexturestore://${cFrameInfo.canvasSourceId}`,
|
|
83
|
+
imageWidth: cFrameInfo.canvasWidth, // 等同于画布宽
|
|
84
|
+
centerWidth: 2, // 固定为1或2, 但1在PC上绘制可能有异常
|
|
85
|
+
borderOutset: cFrameInfo.borderOutset, // (画布 - 圆环内直径) / 2
|
|
86
|
+
animTime: rProps.oneCircleTime,
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* 导入右图的边缘光晕部分的遮罩
|
|
91
|
+
*/
|
|
92
|
+
// 外发光的圈的图片信息, 完全按照 circleHaloMask来配置
|
|
93
|
+
const cOriginPngInfo = {
|
|
94
|
+
size: 160, // 图片尺寸
|
|
95
|
+
radius: 56, // 图片中的圆的圆内半径
|
|
96
|
+
};
|
|
97
|
+
const cRectRadius = Math.floor(rProps.borderRadius + rProps.lineWidth); // 光环在描边之外,留出描边的宽度
|
|
98
|
+
const ninePatchDecorator2 = {
|
|
99
|
+
type: DECORATE_NINEPATCH_ALPHA_MIX,
|
|
100
|
+
url: `url(${mask})`,
|
|
101
|
+
imageWidth: cOriginPngInfo.size,
|
|
102
|
+
imageDspWidth: Math.floor(
|
|
103
|
+
(cRectRadius / cOriginPngInfo.radius) * cOriginPngInfo.size
|
|
104
|
+
),
|
|
105
|
+
centerWidth: 2,
|
|
106
|
+
borderOutset: Math.floor(cOriginPngInfo.size / 2 - cOriginPngInfo.radius),
|
|
107
|
+
animTime: rProps.oneCircleTime,
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const texCoord = {
|
|
111
|
+
width: rProps.maxViewSize.width,
|
|
112
|
+
height: rProps.maxViewSize.height,
|
|
113
|
+
};
|
|
114
|
+
</script>
|
|
115
|
+
<template>
|
|
116
|
+
<div>
|
|
117
|
+
<!-- 光晕(halo)在下,实心区域在上 -->
|
|
118
|
+
<jsv-texture-anim
|
|
119
|
+
v-if="rProps.withHalo"
|
|
120
|
+
:src="rProps.imageUrl"
|
|
121
|
+
:left="rProps.left"
|
|
122
|
+
:top="rProps.top"
|
|
123
|
+
:width="rProps.width"
|
|
124
|
+
:height="rProps.height"
|
|
125
|
+
:texCoord="texCoord"
|
|
126
|
+
:animation="cRotateAnimation"
|
|
127
|
+
:duration="5000"
|
|
128
|
+
:repeat="-1"
|
|
129
|
+
:autoStart="true"
|
|
130
|
+
:decorate="ninePatchDecorator2"
|
|
131
|
+
></jsv-texture-anim>
|
|
132
|
+
<jsv-texture-anim
|
|
133
|
+
:src="rProps.imageUrl"
|
|
134
|
+
:left="rProps.left"
|
|
135
|
+
:top="rProps.top"
|
|
136
|
+
:width="rProps.width"
|
|
137
|
+
:height="rProps.height"
|
|
138
|
+
:texCoord="texCoord"
|
|
139
|
+
:animation="cRotateAnimation"
|
|
140
|
+
:duration="5000"
|
|
141
|
+
:repeat="-1"
|
|
142
|
+
:autoStart="true"
|
|
143
|
+
:decorate="ninePatchDecorator1"
|
|
144
|
+
></jsv-texture-anim>
|
|
145
|
+
</div>
|
|
146
|
+
</template>
|
|
Binary file
|
package/TextureSize/App.vue
CHANGED
|
@@ -10,11 +10,10 @@ const router = useRouter();
|
|
|
10
10
|
const onKeyDown = (ev) => {
|
|
11
11
|
// 8:Backspace, 27:Escape, 10000:盒子返回键
|
|
12
12
|
if (ev.keyCode == 8 || ev.keyCode == 27 || ev.keyCode == 10000) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
13
|
+
// 关掉TextureCache(通过将waterLevel设置成-1)
|
|
14
|
+
window.JsvCoreApi.setRenderGlobalConfig({
|
|
15
|
+
texCache: -1,
|
|
16
|
+
});
|
|
18
17
|
|
|
19
18
|
router.go(-1); // 有router时,回退
|
|
20
19
|
return true;
|
|
@@ -129,4 +128,4 @@ const onKeyDown = (ev) => {
|
|
|
129
128
|
color: #ffffff;
|
|
130
129
|
font-size: 20;
|
|
131
130
|
}
|
|
132
|
-
</style>
|
|
131
|
+
</style>
|
|
@@ -34,11 +34,11 @@ import Rain from "./Rain.vue";
|
|
|
34
34
|
import { JsvRipple, JsvRippleShape, JsvAudio, JsvSoundPool } from "jsview";
|
|
35
35
|
import { shallowRef, onMounted, onBeforeUnmount } from "vue";
|
|
36
36
|
const bg =
|
|
37
|
-
"https://qcast
|
|
37
|
+
"https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/TombSweepingDayTest/Raining/RainScene/qingming_bg.jpg";
|
|
38
38
|
const title =
|
|
39
|
-
"https://qcast
|
|
39
|
+
"https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/TombSweepingDayTest/Raining/RainScene/qingming_title.png";
|
|
40
40
|
const musicBg =
|
|
41
|
-
"https://qcast
|
|
41
|
+
"https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/TombSweepingDayTest/Raining/RainScene/rain_background.mp3";
|
|
42
42
|
let timer = { id: -1, id2: -1 };
|
|
43
43
|
const soundPool = new JsvSoundPool(10);
|
|
44
44
|
let rippleViewRef = shallowRef(null);
|
|
@@ -62,7 +62,7 @@ const genSource = () => {
|
|
|
62
62
|
let _BgAudio = null;
|
|
63
63
|
//水波音效
|
|
64
64
|
const mySound =
|
|
65
|
-
"https://qcast
|
|
65
|
+
"https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/TombSweepingDayTest/Raining/RainScene/rain_tiktok.mp3";
|
|
66
66
|
//音效ref
|
|
67
67
|
let mySoundControl = null;
|
|
68
68
|
//音效回调
|
package/ViewOpacity/App.vue
CHANGED
|
@@ -11,18 +11,17 @@ import { useRouter } from "vue-router";
|
|
|
11
11
|
const router = useRouter();
|
|
12
12
|
|
|
13
13
|
const test1 =
|
|
14
|
-
"url(https://qcast
|
|
14
|
+
"url(https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/ViewOpacity/App/test_1.jpeg)";
|
|
15
15
|
const test2 =
|
|
16
|
-
"url(https://qcast
|
|
16
|
+
"url(https://cdn.release.qcast.cn/JsViewFrameworkTester/JsViewVueSampleResources/ViewOpacity/App/test_2.jpeg)";
|
|
17
17
|
|
|
18
18
|
const onKeyDown = (ev) => {
|
|
19
19
|
// 8:Backspace, 27:Escape, 10000:盒子返回键
|
|
20
20
|
if (ev.keyCode == 8 || ev.keyCode == 27 || ev.keyCode == 10000) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
21
|
+
// 关掉TextureCache(通过将waterLevel设置成-1)
|
|
22
|
+
window.JsvCoreApi.setRenderGlobalConfig({
|
|
23
|
+
texCache: -1,
|
|
24
|
+
});
|
|
26
25
|
|
|
27
26
|
router.go(-1); // 有router时,回退
|
|
28
27
|
return true;
|