bug
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</div>
|
</div>
|
||||||
<div class="tips">
|
<div class="tips" v-if="!isShowRecord">
|
||||||
<image src="./img/body.png" />
|
<image src="./img/body.png" />
|
||||||
<p>请先选择设备再按住下方按钮开始喊话~</p>
|
<p>请先选择设备再按住下方按钮开始喊话~</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
y: 0,
|
y: 0,
|
||||||
w: 0,
|
w: 0,
|
||||||
h: 0,
|
h: 0,
|
||||||
isShowRecord: false,
|
isShowRecord: true,
|
||||||
close: require('./img/close.png'),
|
close: require('./img/close.png'),
|
||||||
closeW: require('./img/close-w.png'),
|
closeW: require('./img/close-w.png'),
|
||||||
isShow: false,
|
isShow: false,
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
|
|
||||||
onLongtap () {
|
onLongtap () {
|
||||||
if (!this.equipmentList.length) {
|
if (!this.equipmentList.length) {
|
||||||
return this.$u.toast('请选择播发设备')
|
// return this.$u.toast('请选择播发设备')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.isImpact = false
|
this.isImpact = false
|
||||||
@@ -253,13 +253,13 @@
|
|||||||
formData = new FormData()
|
formData = new FormData()
|
||||||
formData.append('file', new window.File([blob], `${(new Date).getTime()}` ))
|
formData.append('file', new window.File([blob], `${(new Date).getTime()}` ))
|
||||||
// this.$u.toast('播发成功')
|
// this.$u.toast('播发成功')
|
||||||
// this.recordList.push({
|
this.recordList.push({
|
||||||
// src: (window.URL || webkitURL).createObjectURL(blob),
|
src: (window.URL || webkitURL).createObjectURL(blob),
|
||||||
// isPlay: false,
|
isPlay: false,
|
||||||
// duration: (duration / 1000).toFixed(0)
|
duration: (duration / 1000).toFixed(0)
|
||||||
// })
|
})
|
||||||
// this.isShowRecord = true
|
this.isShowRecord = true
|
||||||
// return
|
return
|
||||||
|
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$http.post(`/app/appdlbresource/uploadDlbFile`, formData).then(res => {
|
this.$http.post(`/app/appdlbresource/uploadDlbFile`, formData).then(res => {
|
||||||
@@ -378,7 +378,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 234px;
|
height: 234px;
|
||||||
margin-top: 48px;
|
margin-top: 48px;
|
||||||
border-radius: 200px 200px 0 0;
|
|
||||||
background: url(./img/voice-bg.png);
|
background: url(./img/voice-bg.png);
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user