bug
This commit is contained in:
		| @@ -26,7 +26,7 @@ | ||||
|           </div> | ||||
|         </scroll-view> | ||||
|       </div> | ||||
|       <div class="tips"> | ||||
|       <div class="tips" v-if="!isShowRecord"> | ||||
|         <image src="./img/body.png" /> | ||||
|         <p>请先选择设备再按住下方按钮开始喊话~</p> | ||||
|       </div> | ||||
| @@ -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%; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user