# likeAnimation ^7.8
礼花动效
# 请求参数
Prop | Type | Default | Comment |
---|---|---|---|
offsetTop | String | N/A | 动效距离顶部距离 安卓特有-- 如20 |
playStatus | String | N/A | 1:开始播放; 0:结束播放; |
isClick | String | N/A | 1单次播放; 0:连续播放; |
# 接口调用示例
const params = {
"offsetTop": "动效距离顶部距离 安卓特有-- 如20",
"playStatus": "1:开始播放; 0:结束播放;",
"isClick": "1单次播放; 0:连续播放;"
}
this.$bridge
.likeAnimation(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
# 接口返回示例
N/A
1
2
3
2
3