请官方大佬看下 share-element 共享过渡,代码实例
// a 页面
<share-element transition-on-gesture shuttle-on-push="from" class="box" key="box">
<root-portal>
<view class="box" class="box" bind:tap="jump"> tap me</view>
</root-portal>
</share-element>
// b 页面
<share-element class="img-wrp" key="bot" transition-on-gesture>
<root-portal>
<view class="bot" bind:tap="jumpPage" ></view>
</root-portal>
</share-element>
求回复~
share-element 放在 root-portal 里面试试
可以了