From 285d6a6aab2cc8934058fa392dea133a527ddc6c Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 13 Jun 2022 14:58:32 +0800 Subject: [PATCH] bug --- src/apps/AppBroadcast1/LiveBroadcast.vue | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/apps/AppBroadcast1/LiveBroadcast.vue b/src/apps/AppBroadcast1/LiveBroadcast.vue index 4f32b28c..c61e83e2 100644 --- a/src/apps/AppBroadcast1/LiveBroadcast.vue +++ b/src/apps/AppBroadcast1/LiveBroadcast.vue @@ -26,7 +26,7 @@ -
+

请先选择设备再按住下方按钮开始喊话~

@@ -84,7 +84,7 @@ y: 0, w: 0, h: 0, - isShowRecord: false, + isShowRecord: true, close: require('./img/close.png'), closeW: require('./img/close-w.png'), isShow: false, @@ -159,7 +159,7 @@ onLongtap () { if (!this.equipmentList.length) { - return this.$u.toast('请选择播发设备') + // return this.$u.toast('请选择播发设备') } this.isImpact = false @@ -253,13 +253,13 @@ formData = new FormData() formData.append('file', new window.File([blob], `${(new Date).getTime()}` )) // this.$u.toast('播发成功') - // this.recordList.push({ - // src: (window.URL || webkitURL).createObjectURL(blob), - // isPlay: false, - // duration: (duration / 1000).toFixed(0) - // }) - // this.isShowRecord = true - // return + this.recordList.push({ + src: (window.URL || webkitURL).createObjectURL(blob), + isPlay: false, + duration: (duration / 1000).toFixed(0) + }) + this.isShowRecord = true + return this.$loading() this.$http.post(`/app/appdlbresource/uploadDlbFile`, formData).then(res => { @@ -378,7 +378,6 @@ width: 100%; height: 234px; margin-top: 48px; - border-radius: 200px 200px 0 0; background: url(./img/voice-bg.png); background-size: 100% 100%;