- xr-frame里的动画不起作用?
<xr-scene ar-system="modes:Marker" bind:ready="handleReady"> <xr-assets bind:loaded="handleAssetsLoaded"> <xr-asset-load type="gltf" asset-id="cool-star" src="https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo/cool-star.glb" /> <xr-asset-load type="keyframe" asset-id="anim" src="./test.json" /> </xr-assets> <xr-env env-data="xr-frame-team-workspace-day" /> <xr-light type="ambient" color="1 1 1" intensity="1" /> <xr-light type="directional" rotation="40 70 0" color="1 1 1" intensity="3" cast-shadow /> <xr-node wx:if="{{loaded}}"> <xr-ar-tracker mode="Marker" bind:ar-tracker-switch="handleTrackerSwitch" src="./images/logo.jpg" > <xr-node anim-keyframe="anim" anim-autoplay="clip:one"> <xr-gltf model="cool-star" anim-autoplay /> </xr-node> </xr-ar-tracker> </xr-node> <xr-camera clear-color="0.4 0.8 0.6 1" background="ar" is-ar-camera /> </xr-scene> { "keyframe": { "one": { "0": { "position": [0, 0, 0], }, "50": { "position": [-10, 10, 0] }, "100": { "position": [-20, 20, 0] } } }, "animation": { "one": { "keyframe": "one", "duration": 2, "ease": "ease-in-out", "loop": -1 } } }
2023-08-16 - 鸿蒙系统2.0出现跳转无效
mate30 鸿蒙系统2.0.0 出现跳转API无效 用户点击wx.navigateTo后无反应 其他机型正常
2021-11-12 - 用cover-view写了个倒计时 ios正常 安卓只显示但不倒数 即数据没有渲染
[图片] staytime是请求过来的数据 比如返回20 就是倒计时20秒 但是安卓上一直显示20秒 不进行倒计时 ios一切正常
2020-11-09