编译前的代码:
<lottie
id="myLottie"
autoplay="{{true}}"
repeat-count="{{-1}}"
path="https://mdn.alipayobjects.com/huamei_tog8oy/afts/file/AdtzXSJOasgYAAAAAAAAAAAAADmd_AQ"
placeholder="https://mdn.alipayobjects.com/huamei_tog8oy/afts/img/AaKQJRrIZCGQAAAAAAAAAAAAADmd_AQ/original"
assets-path="https://gw.alipayobjects.com/os/lottie-asset/bb/data.json/"
/>
编译后的代码:
<lottie
class="data-v-569e925a"
id="myLottie"
u-i="569e925a-0"
onVI="__l"
u-p="{{a}}"
a: common_vendor.p({
id: "myLottie",
autoplay: "{{1}}",path: "{{'https://mdn.alipayobjects.com/huamei_tog8oy/afts/file/A*dtzXSJOasgYAAAAAAAAAAAAADmd_AQ'}}"
}),
1 个回复
沫沫yu
支付宝上面 增加 lottie 组件,编译都无法通过