一分钟之后文字消失

This commit is contained in:
luyuan 2020-09-17 19:04:55 +08:00
parent a4fee4682f
commit 100d4d67b9
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -47,7 +47,7 @@
<image v-if="zhibo" class="closeimg" src="../../static/image/close.png" @click="closes"></image> <image v-if="zhibo" class="closeimg" src="../../static/image/close.png" @click="closes"></image>
<image v-if="zhibo" class="menuimg" src="../../static/image/menu.png" @click="tool = true"></image> <image v-if="zhibo" class="menuimg" src="../../static/image/menu.png" @click="tool = true"></image>
<image v-if="zhibo && list.length != 0" class="shoptapimg" @click="xianshi" src="../../static/image/shop.png" ></image> <image v-if="zhibo && list.length != 0" class="shoptapimg" @click="xianshi" src="../../static/image/shop.png" ></image>
<text v-if="zhibo" style="font-size:26rpx;color:#fff;width:512rpx;position:fixed;left:30rpx;top:793rpx">本平台提倡绿色健康直播,严禁在平台内外出现诱导未成年人诈骗、赌博、低俗色情、吸烟酗酒等不当行为,若有违反,将向相关部门依法追究您的法律责任。如因此给平台造成损失,有权向您全额追偿。 <text v-if="zhibo && fen" style="font-size:26rpx;color:#fff;width:512rpx;position:fixed;left:30rpx;top:793rpx;">本平台提倡绿色健康直播,严禁在平台内外出现诱导未成年人诈骗、赌博、低俗色情、吸烟酗酒等不当行为,若有违反,将向相关部门依法追究您的法律责任。如因此给平台造成损失,有权向您全额追偿。
</text> </text>
<div v-if="zhibo" class="danmulist"> <div v-if="zhibo" class="danmulist">
<text class="danmuitem" v-for="(i,j) in danmulist" :key="j">{{i.senderNickname}}:{{i.content}}</text> <text class="danmuitem" v-for="(i,j) in danmulist" :key="j">{{i.senderNickname}}:{{i.content}}</text>
@ -375,7 +375,8 @@
zhibo:true, zhibo:true,
jieshu:{}, jieshu:{},
renshumax:0, renshumax:0,
changeLiveRealtimeNumber:{} changeLiveRealtimeNumber:{},
fen:true
}, },
onLaunch: function() { onLaunch: function() {
console.log('App Launch'); console.log('App Launch');
@ -511,6 +512,9 @@
miao = parseInt(miao) miao = parseInt(miao)
miao = miao + 1 miao = miao + 1
// console.log(miao) // console.log(miao)
if(miao > 10){
that.fen = false;
}
if(miao == 60){ if(miao == 60){
miao = 0; miao = 0;
fen +=1 fen +=1