当前位置:   article > 正文

兼容小程序和app安卓 录音功能uniapp_uniapp 小程序监测录音的时候有没有声音

uniapp 小程序监测录音的时候有没有声音

这是一个按钮录音弹窗:你也可你自己换成别的!
点击保存会返回 录音的 路径 通过 v-model 绑定的!(你也可以自己写个emit 返回方法,)

我代码中有 我项目录音转文字的接口,使用者注意吧这些删除了就行
# 要删除的(就这俩)
	import {
		usualUploadFileOne,
		removeFile,
		usualGetFileList,
		getSpeech
	} from '@/common/api/ip'

try{
	let res = await getSpeech({ filePath: this.recordFile.fullPath }, { myFile: this.recordFile.fullPath })
	this.loading = false
	this.$refs.uToast.show({ title: '录音转文字成功,请粘贴内容', type: 'success' })
	this.$emit('input', JSON.parse(res.data.data)[0])
		this.releaseManger()
	}catch(e){
		this.loading = false
		this.$refs.uToast.show({ title: e, type: 'warning' })
	}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

用到 scss、 组件库、图片位置

uview

注意: 项目没有 uview 组件库的,自己想办法吧!该录音也没用什么,就用了个 进度条和按钮, 自己整的替换了就行

图片资源:三个
在这里插入图片描述

注意: 图片资源自己去 https://www.iconfont.cn/上找 长这样(我不知道怎么传!)
在这里插入图片描述
注意: 俩svg 和一个png ;命名和 图片格式别搞错了!导入到对应的 static/img中

下面是完整代码 和引用(记得删了 转文字接口)

文件名 fs-audio

<template>
	<view>

		<view>
			<slot>
				<u-button type="default" @click="openRecordDialog">录音转文字</u-button>
			</slot>
		</view>
		<!-- 录音弹窗 -->
		<u-mask :show="toggleDialog" :mask-click-able="false">
			<view class="recordWrap">
				<view class="top_tip">{{topTipText}}</view>
				<view class="progress_time_wrap" v-if="toggleDialog">
					<view class="record_progress">
						<u-circle-progress bg-color="#000" active-color="#2979ff" :percent="record_progress_time">
								<image style="width: 70%;height: 70%;" mode="aspectFit" src="/static/img/arecord.png"></image>
						</u-circle-progress>
					</view>
					<view class="record_time">{{record_formate_time}}</view>
				</view>
				<view class="record_control">
					<view class="btn record_reset" @click="resetRecord" v-if="record_status >= 4">
						<view class="in_btn reset_btn"></view>
						<view class="btn_title">重新录制</view>
					</view>
					<view class="btn record_start" @click="startRecord">
						<view class="in_btn l_btn" :class="{start:record_status == 0 || record_status >=4,pause: record_status == 1 || record_status== 3}"></view>
						<view class="in_btn r_btn" :class="{start:record_status == 0 || record_status >=4,pause: record_status == 1 || record_status== 3}"></view>
						<template v-if="record_status == 2">
							<image style="width: 100%;height: 100%;margin-left: 6rpx;" src="/static/img/play.svg" alt=""></image>
						</template>
						<view class="btn_title">{{startBtnText}}</view>
					</view>
					<view class="btn record_reset" @click="playRecord" v-if="record_status >= 4">
						<view v-if="record_status == 4" class="in_btn play l_play_btn">
							<image style="width: 100%;height: 100%;margin-left: 6rpx;" src="/static/img/play.svg" alt=""></image>
						</view>
						<template v-if="record_status == 5">
							<view class="in_btn pause r_end_btn"></view>
							<view class="in_btn pause r_end_btn"></view>
						</template>
						<view class="btn_title">{{playBtnText}}</view>
					</view>
					<!-- #ifdef MP-WEIXIN -->
					<view class="btn record_start" @click="saveRecord" v-if="record_status == 2">
						<view class="in_btn" style="width: 100%; transform: translateX(-4rpx);background-color: #ff000000;">
							<image style="width: 100%;height: 100%;margin-left: 6rpx;" src="/static/img/dui.svg" alt=""></image>
						</view>
					</view>
					<!-- #endif -->
				</view>
				<!-- <view>
					{{recordFile.name}}
				</view>
				<view>
					{{recordFile.fullPath}}
				</view> -->
				<view class="action_btn">
					<u-button :ripple="true" :plain="true" class="btn" @click="successClick">确定</u-button>
					<u-button :ripple="true" :plain="true" class="btn" @click="cancalClick">取消</u-button>
				</view>
				<!-- <view class="footer">
					<button type="default" @click="toggleDialog = false">关闭</button>
				</view> -->
			</view>
		</u-mask>



		<!-- 加载 -->
		<u-mask :show="loading" @click="loading = false">
		  <view class="load_more_m">
		    <u-loading mode="circle" color="#169ef9" />
		    <view class="word">录音转文字中...</view>
		  </view>
		</u-mask>
		<!-- 提示 -->
		<u-toast ref="uToast" />
		
	</view>
</template>

<script>
	import {
		usualUploadFileOne,
		removeFile,
		usualGetFileList,
		getSpeech
	} from '@/common/api/ip'
	export default {
		name: "fs-audio",
		props:{
			value: String,
			time:{type:Number, default: 600},//录音可录制的总时常
		},
		data() {
			return {
				loading: false,
				//共
				toggleDialog: false, //录音弹窗切换
				record_time: 0, //录音时间
				record_time_copy: 0, //录音时间
				record_progress_time: 0, //录音进度时间
				record_formate_time: '00:00:00', //录音格式化时间
				record_status: 0,//录音状态 0未开始,1开始,2暂停,3继续,4结束录,5播放,6重新录
				record_img: '',
				startBtnText:'开始',//录制按钮文字
				playBtnText:'播放录音',//录制按钮文字
				topTipText: '',
				timer: null,//定时器
				recordFile: {},//录音文件
				//录
				recordInstance: null, //录音对象

				//播
				playInstance: null, //录音对象


				tempFilePath:''
			};
		},
		methods: {
			//点击取消
			cancalClick() {
				uni.showModal({
					title: "取消录制",
					content: "是否取消录制?",
					success: (res) => {
						if (res.confirm) {
							this.releaseManger()
						}
					}
				})
			},
			//释放管理器
			releaseManger() {
				this.record_status = 0
				this.recordInstance = null
				this.playInstance = null
				this.toggleDialog = false
			},
			//点击确定
			async successClick() {
				if (!this.recordFile.fullPath) {
					this.$refs.uToast.show({title: '请录音后再保存',type: 'warning'})
					return;
				}
				//录音转文字
				this.loading = true
				try{
					// await this.getSpeech()
					let res = await getSpeech({ filePath: this.recordFile.fullPath }, { myFile: this.recordFile.fullPath })
					this.loading = false
					this.$refs.uToast.show({ title: '录音转文字成功,请粘贴内容', type: 'success' })
					this.$emit('input', JSON.parse(res.data.data)[0])
					this.releaseManger()
				}catch(e){
					this.loading = false
					this.$refs.uToast.show({ title: e, type: 'warning' })
					//TODO handle the exception
				}
				
			},
			// 播放录音
			playRecord() {
				if(this.record_status == 4) {
					// #ifdef APP-PLUS
					this.playInstance = plus.audio.createPlayer(this.recordFile.fullPath)
					this.playInstance.addEventListener('play',()=> {
						this.record_time = 0
						this.record_status = 5
						this.$nextTick(() =>{
							this.setTime()
						})
					})
					this.playInstance.play((res) => {
						console.log('播放成功完成')
						this.record_time = this.record_time_copy
						this.record_status = 4
					},(err) => {
						console.log('播放失败')
					})
					// #endif
					// #ifdef MP-WEIXIN
					this.playInstance = uni.createInnerAudioContext()
					this.playInstance.src = this.recordFile.fullPath
					//音频播放事件
					this.playInstance.onPlay(() => {
						console.log('开始播放')
						this.record_time = 0
						this.record_status = 5
						this.$nextTick(() =>{
							this.setTime()
						})
					})
					// 音频自然播放结束事件/
					this.playInstance.onEnded(() => {
						console.log('播放结束')
						this.record_time = this.record_time_copy
						this.record_status = 4
					})
					this.playInstance.play()
					// #endif
				}else {
					this.playInstance.stop()
					this.record_status = 4
					this.record_time = this.record_time_copy
				}
			},
			//初始化数据
			initData() {
				this.record_time = 0, //录音时间
				this.record_progress_time = 0, //录音进度时间
				this.record_formate_time = '00:00:00', //录音格式化时间
				this.clearTime()
			},
			//初始化对象
			init() {
				
			},
			// #ifdef MP-WEIXIN
			
			// #endif
			// 重置录音
			resetRecord() {
				this.record_status = 0
			},
			
			//录音弹窗切换
			openRecordDialog() {
				console.log('录音弹窗切换', this.toggleDialog)
				this.getRecordSetting()
				// this.toggleDialog = !this.toggleDialog
			},
			//创建录音列表
			createAudioList() {
				
			},
			//开始录音
			startRecord() { 
				if(this.record_status == 4) {
					this.$refs.uToast.show({ title: '请点击重新录制再进行此操作', type: 'warning' })
				}
				// #ifdef APP-PLUS
				this.recordInstance = plus.audio.getRecorder();
				if(this.record_status == 0) {
					this.recordInstance.record({ filename: '_doc/audio/' }, (recordFile) => {
						console.log(recordFile,'保存录音----')
						plus.io.resolveLocalFileSystemURL(recordFile, (entry) => {
							console.log(entry,'转换后的录音地址')
							this.recordFile = entry
							// this.getSpeech(entry.fullPath)
						}, (e) => {
							this.$refs.uToast.show({ title: '读取录音文件错误', type: 'warning' })
						});
					}, (e) => {
						console.log(e,)
						this.$refs.uToast.show({ title: '录音失败', type: 'warning' })
					});
				}else {
					this.record_status = 4//结束录
					this.record_time_copy = this.record_time
					this.recordInstance.stop()
				}
				if(this.record_status == 0) this.record_status = 1
				// #endif
				console.log(this.recordInstance,'this.recordInstance')
				// #ifdef MP-WEIXIN
				this.recordInstance = uni.getRecorderManager()
				this.setSetting()
				// #endif
				
				
				 
				
				
				
				
				
			},
			//小程序录音功能
			MPWEIXINstart() {
				console.log(this.recordInstance,'this.recordInstance')
				//监听开始
				this.recordInstance.onStart((res) => {
					if(this.record_status == 0) this.record_status = 1
					console.log('开始录音')
				})
				//监听暂停
				this.recordInstance.onPause(() => {
					console.log('监听暂停')
					this.record_status = 2
					this.record_time_copy = this.record_time
				})
				//监听继续
				this.recordInstance.onResume(() => {
					console.log('监听继续')
					this.record_status = 3
					this.record_time_copy = this.record_time
				})
				//监听结束
				this.recordInstance.onStop((res) => {
					console.log(res.tempFilePath,'监听结束')
					this.record_status = 4
					this.recordFile.fullPath = res.tempFilePath
					this.recordFile.name = res.tempFilePath
				})
				//监听错误
				this.recordInstance.onError((err) => { console.log(err) })
				if(this.record_status == 0) {
					this.recordInstance.start({duration:600000,format:'wav'});
					return;
				}else if(this.record_status == 1) {//暂停
					this.recordInstance.pause()
					return;
				}else if(this.record_status == 2) {//继续
					this.recordInstance.resume()
					return;
				}else if(this.record_status == 3) {//暂停
					this.recordInstance.pause()
					return;
				}
			},
			//录音完成
			saveRecord() {
				if(this.record_status != 4)
				this.recordInstance.stop()
			},
			//设置定时器
			setTime() {
				if(this.timer) return;
				this.timer = setInterval(() => {
					if(this.record_time >= this.time){
						return this.record_status = 4
					}
					this.record_time = this.record_time + 1
				},1000)
			},
			//清除定时器
			clearTime() {clearInterval(this.timer);this.timer = null},
			//获取录音权限
			getRecordSetting() {
				// console.log(uni.getSetting,'uni.getSetting')
				// #ifdef MP-WEIXIN
				this.toggleDialog = !this.toggleDialog
				// #endif

				// #ifdef APP-PLUS
				this.confirmPlatform()
				// #endif
			},
			// #ifdef MP-WEIXIN
			setSetting() {
				uni.getSetting({
					success: (res) => {
						console.log(res, JSON.stringify(res, 'getSetting'))
						if (res.authSetting['scope.record'] != undefined && res.authSetting['scope.record'] != true) {
							uni.showModal({
								title: '请求授权位置权限',
								content: '需要获取位置权限,请确认授权',
								success: (res) => {
									if (res.cancel) {
										this.$refs.uToast.show({
											title: '拒绝授权!',
											type: 'warning'
										})
									} else if (res.confirm) {
										uni.openSetting({
											success: (dataAu) => {
												console.log(dataAu, 'openSetting')
												if (dataAu.authSetting[
														"scope.record"] == true) {
													this.$refs.uToast.show({
														title: '授权成功!',
														type: 'success'
													})
													//再次授权,调用wx.getLocation的API
													this.MPWEIXINstart()
												} else {
													this.$refs.uToast.show({
														title: '授权失败!',
														type: 'warning'
													})
												}
											}
										})
									}
								}
							})
						} else if (res.authSetting['scope.record'] == undefined) {
							//调用wx.getLocation的API
							console.log('首次授权')
				
							this.MPWEIXINstart()
						} else {
							//调用wx.getLocation的API
							this.MPWEIXINstart()
						}
					},
					fail(err){
						console.log(err,'fail')
					},
					complete(err) {
						console.log(err,'getSetting')
					}
				})
				
			},
			// #endif
			
			
			// #ifdef APP-PLUS
			// 确定运行平台
			confirmPlatform() {
				switch (uni.getSystemInfoSync().platform) {
					case 'android':
						console.log('运行Android上');
						this.androidGetRecordSetting()
						break;
					case 'ios':
						console.log('运行iOS上');
						break;
					default:
						console.log('运行在开发者工具上');
						break;
				}
			},
			//android权限设置
			androidGetRecordSetting() {
				plus.android.requestPermissions(['android.permission.RECORD_AUDIO'], (e) => {
					console.log(e.length > 0, 'e-----android权限设置')
					if (e.deniedAlways.length > 0) { //权限被永久拒绝
						// plus.runtime.openURL("app-settings://");
						var main = plus.android.runtimeMainActivity();
						var Intent = plus.android.importClass("android.content.Intent");
						//可能应该直接进入应用列表的权限设置?=> android.settings.APPLICATION_SETTINGS
						var mIntent = new Intent('android.settings.APPLICATION_SETTINGS');
						main.startActivity(mIntent);
						// 弹出提示框解释为何需要定位权限,引导用户打开设置页面开启
						this.$refs.uToast.show({
							title: '该功能需要录音权限,请在权限设置中进行授权!'
						})
						console.log('Always Denied!!! ' + e.deniedAlways.toString());
					}
					if (e.deniedPresent.length > 0) { //权限被临时拒绝
						this.toggleDialog = !this.toggleDialog
						// 弹出提示框解释为何需要定位权限,可再次调用plus.android.requestPermissions申请权限
						console.log('Present Denied!!! ' + e.deniedPresent.toString());
					}
					if (e.granted.length > 0) { //权限被允许
						//调用依赖获取定位权限的代码
						this.toggleDialog = !this.toggleDialog
						console.log('Granted!!! ' + e.granted.toString());
					}
				}, (e) => {
					// this.toggleDialog = !this.toggleDialog
					// console.log('Request Permissions error:' + JSON.stringify(e));
				});
			},
			// #endif
			//数字转时间
			secondsFormat(sec){
			   let hour = Math.floor(sec / 3600)
			   let minute = Math.floor((sec - hour * 3600) / 60)
			   let second = sec - hour * 3600 - minute * 60
			   if (hour < 10) { hour = "0" + hour; }
			   if (minute < 10) { minute = "0" + minute; }
			   if (second < 10) { second = "0" + second; }
			   return hour + ":" + minute + ":" + second;
			},
			//录音转文字
			async getSpeech(tempFilePath) {
				await getSpeech({ filePath: this.tempFilePath || tempFilePath }, { myFile: this.tempFilePath || tempFilePath })
					.then(res => {
						console.log(res, '录音转文字')
						this.$emit('input', JSON.parse(res.data.data)[0])
						this.$refs.uToast.show({ title: '录音转文字成功,请粘贴内容', type: 'success' })
					})
			},
		},
		watch: {
			record_time(newValue, oldValue) {
				if(newValue == 0) {
					this.record_progress_time = 0
					this.record_formate_time = '00:00:00'
				}else {
					this.record_progress_time = (newValue * 100) / this.time
					this.record_formate_time = this.secondsFormat(newValue)
				}
			},
			//录音状态0未开始,1开始,2暂停,3继续,4结束录,5播放,6重新录
			record_status(newValue, oldValue) {
				switch(newValue) {
					case 0 : this.initData() ;this.startBtnText = '开始';this.topTipText=""; break;
					case 1 : this.setTime() ;this.startBtnText = '暂停' ;this.topTipText="录音中..."; break;
					case 2 : this.clearTime() ;this.startBtnText = '继续' ;this.topTipText="录音中..."; break;
					case 3 : this.setTime() ;this.startBtnText = '暂停'; this.topTipText="录音中..."; break;
					case 4 : this.clearTime() ;this.startBtnText = '录制结束' ; this.playBtnText = '播放录音';this.topTipText=""; break;
					case 5 : this.clearTime() ;this.playBtnText = '录音播放中';this.topTipText="播放中..."; break;
				}
			},
		},
		mounted() {
			this.init() //初始化对象
		},
		computed:{
			//格式化已经录制的时间
			formatRecordTime() {
				return this.secondsFormat(this.record_time)
			}
		}
	}
</script>

<style lang="scss">
	//录音弹窗样式
	.recordWrap {
		width: 100%;
		height: 100vh;
		background-color: #000000;
		position: relative;
		z-index: 999;
		box-sizing: border-box;
		padding-bottom: 100rpx;
		overflow: hidden;
		color: white;
		.progress_time_wrap{
			margin-top: 200rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-direction: column;
		}
		.top_tip{
			position: absolute;
			top: 20rpx;
			left: 0;
			width: 100%;
			text-align: center;
			height: 60rpx;
			line-height: 60rpx;
		}
		.record_control{
			display: flex;
			padding: 100rpx;
			justify-content: center;
			align-items: center;
			.btn{
				position: relative;
				margin: 0 40rpx;
				transition: all .5s;
				background: #d8d6d6;
				box-shadow: 0 0 10px #d8d6d6;
				width: 100rpx;
				height: 100rpx;
				border-radius: 50%;
				display: flex;
				justify-content: space-around;
				align-items: center;
				padding: 20rpx;
				box-sizing: border-box;
				&:active{
					transform: scale(0.8);
				}
				.btn_title{
					position: absolute;
					top: 100%;
					width: 100%;
					font-size: 28rpx;
					text-align: center;
					white-space: nowrap;
				}
				.in_btn{
					background-color: red;
					transition: all .5s;
					height: 100%;
					&.start {
						width: 40rpx;
						&.start.l_btn{
							border-radius: 40rpx 0 0 40rpx;
						}
						&.start.r_btn{
							border-radius:  0 40rpx 40rpx 0;
						}
					}
					&.pause {
						width: 20rpx;
						border-radius: 10rpx
					}
					&.reset_btn{
						width: 100%;
						height: 100%;
						border-radius: 20rpx;
						
					}
					&.play{
						width: 100%;
						height: 100%;
						border-radius: 10rpx;
						&.play.l_play_btn{
							background-color: transparent;
							// transform: rotate(-45deg);
						}
						&.play.r_end_btn{
							background-color: transparent;
						}
					}
					&.end{
						width: 20rpx;
						border-radius: 10rpx
					}
				}
			}
		}
		.action_btn{
			position: absolute;
			z-index: 1;
			bottom: 8rpx;
			left: 0;
			width: 100%;
			display: flex;
			justify-content: space-around;
			align-items: center;
			box-sizing: border-box;
			.btn{
				flex: 1;
				margin: 32rpx;
			}
		}
		.footer{
			
		}
	}
	.load_more_m {
		margin: 33vh auto auto;
		width: 300rpx;
		height: 200rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #fff;
		border-radius: 20rpx;
		flex-direction: column;
		.word {
			margin-top: 24rpx;
			letter-spacing: 0.1em;
		}
	}
</style>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362
  • 363
  • 364
  • 365
  • 366
  • 367
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 374
  • 375
  • 376
  • 377
  • 378
  • 379
  • 380
  • 381
  • 382
  • 383
  • 384
  • 385
  • 386
  • 387
  • 388
  • 389
  • 390
  • 391
  • 392
  • 393
  • 394
  • 395
  • 396
  • 397
  • 398
  • 399
  • 400
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409
  • 410
  • 411
  • 412
  • 413
  • 414
  • 415
  • 416
  • 417
  • 418
  • 419
  • 420
  • 421
  • 422
  • 423
  • 424
  • 425
  • 426
  • 427
  • 428
  • 429
  • 430
  • 431
  • 432
  • 433
  • 434
  • 435
  • 436
  • 437
  • 438
  • 439
  • 440
  • 441
  • 442
  • 443
  • 444
  • 445
  • 446
  • 447
  • 448
  • 449
  • 450
  • 451
  • 452
  • 453
  • 454
  • 455
  • 456
  • 457
  • 458
  • 459
  • 460
  • 461
  • 462
  • 463
  • 464
  • 465
  • 466
  • 467
  • 468
  • 469
  • 470
  • 471
  • 472
  • 473
  • 474
  • 475
  • 476
  • 477
  • 478
  • 479
  • 480
  • 481
  • 482
  • 483
  • 484
  • 485
  • 486
  • 487
  • 488
  • 489
  • 490
  • 491
  • 492
  • 493
  • 494
  • 495
  • 496
  • 497
  • 498
  • 499
  • 500
  • 501
  • 502
  • 503
  • 504
  • 505
  • 506
  • 507
  • 508
  • 509
  • 510
  • 511
  • 512
  • 513
  • 514
  • 515
  • 516
  • 517
  • 518
  • 519
  • 520
  • 521
  • 522
  • 523
  • 524
  • 525
  • 526
  • 527
  • 528
  • 529
  • 530
  • 531
  • 532
  • 533
  • 534
  • 535
  • 536
  • 537
  • 538
  • 539
  • 540
  • 541
  • 542
  • 543
  • 544
  • 545
  • 546
  • 547
  • 548
  • 549
  • 550
  • 551
  • 552
  • 553
  • 554
  • 555
  • 556
  • 557
  • 558
  • 559
  • 560
  • 561
  • 562
  • 563
  • 564
  • 565
  • 566
  • 567
  • 568
  • 569
  • 570
  • 571
  • 572
  • 573
  • 574
  • 575
  • 576
  • 577
  • 578
  • 579
  • 580
  • 581
  • 582
  • 583
  • 584
  • 585
  • 586
  • 587
  • 588
  • 589
  • 590
  • 591
  • 592
  • 593
  • 594
  • 595
  • 596
  • 597
  • 598
  • 599
  • 600
  • 601
  • 602
  • 603
  • 604
  • 605
  • 606
  • 607
  • 608
  • 609
  • 610
  • 611
  • 612
  • 613
  • 614
  • 615
  • 616
  • 617
  • 618
  • 619
  • 620
  • 621
  • 622
  • 623
  • 624
  • 625
  • 626
  • 627
  • 628
  • 629
  • 630
  • 631
  • 632
  • 633
  • 634
  • 635
  • 636
  • 637
  • 638
  • 639
  • 640
  • 641
  • 642
  • 643
  • 644
  • 645
  • 646
  • 647
  • 648
  • 649

调用:引用、注册、使用(这儿只写 使用)

<fs-audio v-model="CONTENT"></fs-audio>
  • 1

ok 完事了, 有问题就问,我还会完善的!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/人工智能uu/article/detail/874314
推荐阅读
相关标签
  

闽ICP备14008679号