|
@@ -24,7 +24,9 @@
|
|
|
<text v-if="item.BroadcastId==temAudio.id">{{temAudio.curTime|formatVoiceTime}}</text>
|
|
|
<text v-else>{{item.VoicePlaySeconds|formatVoiceTime}}</text>
|
|
|
</view>
|
|
|
- <image class="del-btn" src="@/static/voice/del.png" @click="handleDelItem(item)" mode="widthFix" v-if="item.IsAuthor" />
|
|
|
+ <button class="del-btn">
|
|
|
+ <image class="del-img" src="@/static/voice/del.png" @click="handleDelItem(item)" mode="widthFix" v-if="item.IsAuthor" />
|
|
|
+ </button>
|
|
|
<button
|
|
|
class="share-btn"
|
|
|
open-type="share"
|
|
@@ -318,6 +320,7 @@ export default {
|
|
|
this.temAudio.duration=item.VoicePlaySeconds
|
|
|
this.temAudio.curTime=item.VoicePlaySeconds
|
|
|
innerAudioContext.src=item.VoiceUrl
|
|
|
+ innerAudioContext.obeyMuteSwitch=false
|
|
|
innerAudioContext.play()
|
|
|
this.handleVoicePlayRecord(item)
|
|
|
}
|
|
@@ -444,10 +447,21 @@ export default {
|
|
|
.del-btn{
|
|
|
position: absolute;
|
|
|
right: 130rpx;
|
|
|
- bottom: 34rpx;
|
|
|
+ bottom: 30rpx;
|
|
|
+ width: 36rpx;
|
|
|
+ height: 36rpx;
|
|
|
+ background-color: transparent;
|
|
|
+ line-height: 1;
|
|
|
+ padding: 0;
|
|
|
+ &::after{
|
|
|
+ border: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .del-img{
|
|
|
width: 34rpx;
|
|
|
height: 34rpx;
|
|
|
}
|
|
|
+
|
|
|
.share-btn{
|
|
|
position: absolute;
|
|
|
bottom: 30rpx;
|