Files
im-uniapp/components/gaoyia-parse/components/wxParseAudio.vue
2025-07-04 16:18:58 +08:00

30 lines
596 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<!-- '<audio/>' 组件不再维护建议使用能力更强的 'uni.createInnerAudioContext' 接口 有时间再改-->
<!--增加audio标签支持-->
<audio
:id="node.attr.id"
:class="node.classStr"
:style="node.styleStr"
:src="node.attr.src"
:loop="node.attr.loop"
:poster="node.attr.poster"
:name="node.attr.name"
:author="node.attr.author"
controls
></audio>
</template>
<script>
export default {
name: "wxParseAudio",
props: {
node: {
type: Object,
default() {
return {};
},
},
},
};
</script>