| | |
| | | <template> |
| | | <div class="fade"> |
| | | <a-col v-bind="colMain"> |
| | | <aplayer :audio="audio" :autoplay="autoplay" fixed style="z-index: 10;" :volume="0.1" :preload="preload" /> |
| | | <aplayer ref="myAplayer" :audio="audio" :autoplay="autoplay" fixed style="z-index: 10;" :volume="0.1" |
| | | :preload="preload" /> |
| | | </a-col> |
| | | |
| | | <!-- <a-modal ref="musicModal" title="" :dialog-style="{ top: '10px' }" :mask="false" |
| | |
| | | import APlayer from '@moefe/vue-aplayer'; |
| | | |
| | | export default { |
| | | |
| | | created() { |
| | | this.$nextTick(function() { |
| | | this.$message.info("stop..") |
| | | this.$refs.myAplayer.pause(); |
| | | }) |
| | | }, |
| | | data() { |
| | | return { |
| | | colMain: { |