achao 2 anos atrás
pai
commit
dc4e9736d0
1 arquivos alterados com 3 adições e 12 exclusões
  1. 3 12
      xiaochengxu/pages/cardHolder/cardHolder.vue

+ 3 - 12
xiaochengxu/pages/cardHolder/cardHolder.vue

@@ -87,8 +87,6 @@
 		</mescroll-body>
 		<u-picker :show="isShowType" :columns="typeColumns" keyName="circleName" title="选择分类" @close="isShowType=false"
 			@cancel="isShowType=false" closeOnClickOverlay @confirm="typeConfirm"></u-picker>
-		<lyuan-tx-asr ref="asr" :uploadMethod="uploadFile" @change="asrChange" @fileChange="fileChange" appId=""
-			secretId="" secretKey=""></lyuan-tx-asr>
 		<u-toast ref="uToast"></u-toast>
 		<u-modal :show="delShow" title="提示" showCancelButton='true' @cancel="delShow=false" @confirm="delConfirm"
 			:content='"已选中"+this.checkedList.length+"张名片,确定删除?"'></u-modal>
@@ -549,16 +547,9 @@
 				})
 			},
 			micOpen: function() {
-				this.$refs.asr.show();
-			},
-			asrChange: function(res) {
-				console.log('语音识别确认结果:' + res);
-			},
-			fileChange: function({
-				file,
-				content
-			}) {
-				console.log('录音文件', file);
+				uni.navigateTo({
+					url: "/pages/cardHolder/search?mic=1"
+				})
 			},
 			uploadFile: function(tempFilePath) {
 				return new Promise((resolve, reject) => {