cover-label
基础库 3.27.0 开始支持,低版本需做兼容处理。
仅支持在 cover-view 中使用,不支持嵌套其他标签。
| 属性 | 类型 | 默认值 | 说明 | 版本 | 
|---|---|---|---|---|
| animation | string | "" | 执行动画的id(animation) | 3.34.0 | 
| click | eventhandle | 用户点击触发 | 3.27.0 | |
| touchstart | eventhandle | 手指触摸动作开始 | 3.27.0 | |
| touchmove | eventhandle | 手指触摸后移动 | 3.27.0 | |
| touchend | eventhandle | 手指触摸动作结束 | 3.27.0 | |
| touchcancel | eventhandle | 手指触摸动作被打断,如来电提醒,弹窗 | 3.27.0 | 
默认样式
.bl___cover-label {
    word-wrap: break-word;
    overflow: hidden;
}
示例代码
<template>
  <cover-view>
    <cover-label class="bl-cover-label">我是cover-label,用于在cover-view中显示文本内容的。</cover-label>
  </cover-view>
</template>
<script>
export default {
  data() {},
  methods: {}
}
</script>
<style scoped>
.bl-cover-label {
  color: #ff62c5;
  font-size: 15px;
}
</style>