|
@@ -35,7 +35,7 @@
|
|
|
</view>
|
|
|
|
|
|
<navigator url="/pages-voice/addVoice">
|
|
|
- <view class="add-btn" :style="{bottom:temAudio.item?temAudio.showBig?'440rpx':'340rpx':'180rpx'}" v-if="IsVoiceAdmin">新建语音</view>
|
|
|
+ <view :class="['add-btn',temAudio.item?temAudio.showBig?'add-btn-bot3':'add-btn-bot2':'add-btn-bot1']" v-if="IsVoiceAdmin">新建语音</view>
|
|
|
</navigator>
|
|
|
|
|
|
<!-- 筛选弹窗 -->
|
|
@@ -309,6 +309,11 @@ export default {
|
|
|
message: '确定要删除该语音播报吗?',
|
|
|
confirmButtonText:'确定'
|
|
|
}).then(()=>{
|
|
|
+ if(this.temAudio.item&&this.temAudio.item.id==item.BroadcastId){
|
|
|
+ //删除的音频正好在播放则暂停
|
|
|
+ this.globalBgMusic.stop()
|
|
|
+ }
|
|
|
+
|
|
|
apiVoiceDel({broadcast_id:Number(item.BroadcastId)}).then(res=>{
|
|
|
if(res.code===200){
|
|
|
uni.showToast({
|
|
@@ -496,12 +501,24 @@ export default {
|
|
|
color: #E3B377;
|
|
|
font-size: 32rpx;
|
|
|
left: 50%;
|
|
|
- bottom: calc(80px + constant(safe-area-inset-bottom));
|
|
|
- bottom: calc(80px + env(safe-area-inset-bottom));
|
|
|
+ bottom: calc(150rpx + constant(safe-area-inset-bottom));
|
|
|
+ bottom: calc(150rpx + env(safe-area-inset-bottom));
|
|
|
transform: translateX(-50%);
|
|
|
background: #333333;
|
|
|
box-shadow: 0px 4rpx 20rpx rgba(160, 126, 84, 0.25);
|
|
|
border-radius: 40rpx;
|
|
|
}
|
|
|
+.add-btn-bot1{
|
|
|
+ bottom: calc(120rpx + constant(safe-area-inset-bottom));
|
|
|
+ bottom: calc(120rpx + env(safe-area-inset-bottom));
|
|
|
+}
|
|
|
+.add-btn-bot2{
|
|
|
+ bottom: calc(260rpx + constant(safe-area-inset-bottom));
|
|
|
+ bottom: calc(260rpx + env(safe-area-inset-bottom));
|
|
|
+}
|
|
|
+.add-btn-bot3{
|
|
|
+ bottom: calc(355rpx + constant(safe-area-inset-bottom));
|
|
|
+ bottom: calc(355rpx + env(safe-area-inset-bottom));
|
|
|
+}
|
|
|
|
|
|
</style>
|