bug
This commit is contained in:
@@ -30,7 +30,7 @@ Object.keys(utils).map((e) => (Vue.prototype['$' + e] = utils[e]));
|
||||
utils.dict.init({instance: axios})
|
||||
utils.action.init(axios)
|
||||
App.mpType = 'app';
|
||||
process.env.NODE_ENV == 'development' && new VConsole();
|
||||
// process.env.NODE_ENV == 'development' && new VConsole();
|
||||
const app = new Vue({
|
||||
store,
|
||||
...App
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<p>请先选择设备再按住下方按钮开始喊话~</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom" @longtap="onLongtap">
|
||||
<div class="bottom" @touchstart="onLongtap">
|
||||
<image src="./img/microphone.png" />
|
||||
<p>按住说话</p>
|
||||
</div>
|
||||
@@ -78,6 +78,7 @@
|
||||
|
||||
methods: {
|
||||
onLongtap () {
|
||||
this.isImpact = false
|
||||
this.startTime = new Date().getTime()
|
||||
this.isShow = true
|
||||
},
|
||||
@@ -122,6 +123,7 @@
|
||||
.LiveBroadcast {
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
background: #F6F8FC;
|
||||
|
||||
.voice {
|
||||
@@ -140,7 +142,7 @@
|
||||
transition: all ease 0.5s;
|
||||
|
||||
&.active {
|
||||
z-index: 1;
|
||||
z-index: 1111111111111;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -279,6 +281,7 @@
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
margin-bottom: 16px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
p {
|
||||
|
||||
Reference in New Issue
Block a user