You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
592 B
28 lines
592 B
<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>
|
|
|