bug
This commit is contained in:
@@ -42,12 +42,12 @@ export default {
|
||||
path: './addPlay',
|
||||
bgClass: 'bg-67A3F4'
|
||||
},
|
||||
{
|
||||
title: '实时喊话',
|
||||
text: '实时在线喊话,远程广播通知',
|
||||
imgUrl: require('./img/bigHorn-icon22@2x.png'),
|
||||
bgClass: 'bg-4ED5BB'
|
||||
},
|
||||
// {
|
||||
// title: '实时喊话',
|
||||
// text: '实时在线喊话,远程广播通知',
|
||||
// imgUrl: require('./img/bigHorn-icon22@2x.png'),
|
||||
// bgClass: 'bg-4ED5BB'
|
||||
// },
|
||||
{
|
||||
title: '音频录制',
|
||||
text: '音频文件的录制',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="LiveBroadcast" @touchend="onTouchend" @touchmove="onTouchmove">
|
||||
<div class="top">
|
||||
<div class="top" @click="toChoose" hover-class="bg-hover">
|
||||
<h2>请选择设备</h2>
|
||||
<image src="./img/right.png" />
|
||||
</div>
|
||||
@@ -76,7 +76,7 @@
|
||||
y: 0,
|
||||
w: 0,
|
||||
h: 0,
|
||||
isShowRecord: true,
|
||||
isShowRecord: false,
|
||||
close: require('./img/close.png'),
|
||||
closeW: require('./img/close-w.png'),
|
||||
isShow: false,
|
||||
@@ -87,7 +87,8 @@
|
||||
blobFile: null,
|
||||
counterDownTime: 0,
|
||||
time: '00:00:00',
|
||||
timingTimeout: null
|
||||
timingTimeout: null,
|
||||
equipmentList: []
|
||||
}
|
||||
},
|
||||
|
||||
@@ -96,7 +97,6 @@
|
||||
},
|
||||
|
||||
mounted () {
|
||||
|
||||
const close = document.querySelector('.close')
|
||||
this.x = close.offsetLeft
|
||||
this.y = close.offsetTop
|
||||
@@ -104,6 +104,13 @@
|
||||
this.h = close.clientHeight
|
||||
},
|
||||
|
||||
onLoad () {
|
||||
uni.$on('chooseEquipment', e => {
|
||||
console.log(e)
|
||||
this.equipmentList = e.equipmentList
|
||||
})
|
||||
},
|
||||
|
||||
methods: {
|
||||
onLongtap () {
|
||||
this.isImpact = false
|
||||
@@ -112,6 +119,12 @@
|
||||
this.record()
|
||||
},
|
||||
|
||||
toChoose () {
|
||||
uni.navigateTo({
|
||||
url: './selectEquipment'
|
||||
})
|
||||
},
|
||||
|
||||
record () {
|
||||
this.duration = 0
|
||||
this.recorder = Recorder({
|
||||
|
||||
Reference in New Issue
Block a user