提交 7d53d8d1 编写于 作者: 打打卡夫卡's avatar 打打卡夫卡

修改动画组件名称

上级 982d0387
......@@ -52,15 +52,6 @@
"enablePullDownRefresh": false
}
},
{
"path" : "pages/SDKIntegration/TencentMap/TencentMap",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path" : "pages/SDKIntegration/Lottie/index",
......
......@@ -8,10 +8,10 @@
<button @tap="changeAction(1)">测试action play</button>
<button @tap="changeAction(2)">测试action pause</button>
<button @tap="changeAction(3)">测试action stop</button>
<animation-view ref="animView" :path="animUrl" :autoplay="autoplay" :loop="loop" :action="action"
<uts-animation-view ref="animView" :path="animUrl" :autoplay="autoplay" :loop="loop" :action="action"
:hidden="hidden" @bindended="testAnimEnd" @click="lottieClickTest" @longpress="lottieLongpressTest"
:style="{width:widthNum+'rpx',height:heightNum+'px',background:yanse}">
</animation-view>
</uts-animation-view>
</div>
</template>
......
<template>
<view>
<button @tap="testTencentMap"> 选择地图信息</button>
</view>
</template>
<script>
import { gotoTencentMapActivity } from "@/uni_modules/uts-tencentmap";
export default {
data() {
return {
title: '',
}
},
methods: {
testTencentMap:function(e){
},
}
}
</script>
<style>
</style>
\ No newline at end of file
{
"id": "animation-view",
"displayName": "animation-view",
"id": "uts-animation-view",
"displayName": "uts-animation-view",
"version": "1.0.0",
"description": "animation-view",
"description": "uts-animation-view",
"keywords": [
"animation-view"
"animation-view","uts-animation-view","lottie"
],
"repository": "",
"engines": {
......
......@@ -35,7 +35,7 @@
//原生提供以下属性或方法的实现
export default {
name: "animation-view",
name: "uts-animation-view",
/**
* 当播放到末尾时触发 ended 事件(自然播放结束会触发回调,循环播放结束及手动停止动画不会触发)
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册