首次上传

This commit is contained in:
田岩
2025-11-27 20:48:18 +08:00
commit 492a164bff
1746 changed files with 219083 additions and 0 deletions
@@ -0,0 +1,44 @@
<template>
<view>
<page-head title="asset 音频播放示例" accordion></page-head>
<button @click="testStart">播放asset音频</button>
<button @click="testStop">停止播放asset音频</button>
</view>
</template>
<script>
import {
playAssetAudio,
stopAssetAudio
} from "../../../uni_modules/uts-advance";
export default {
data() {
return {
}
},
methods: {
/**
* 测试添加View实例至顶层容器
*/
testStart: function() {
playAssetAudio();
},
/**
* 测试移除顶层容器的View实例
*/
testStop: function() {
stopAssetAudio();
}
}
}
</script>
<style>
</style>