Commit 4e230bf3 authored by wangxuelai's avatar wangxuelai

''

parent fe2731af
......@@ -169,6 +169,9 @@ Page({
this.data.audioInfo.duration = this.data.duration;
this.data.audioCanPlay = true
} else {
his.setData({
voiceuploading: false
})
wx.showModal({
title: '提示',
content: '录音上传失败',
......@@ -176,6 +179,9 @@ Page({
})
}
}).catch((err) => {
his.setData({
voiceuploading: false
})
this.data.audioStatus.upload = false;
wx.showModal({
title: '提示',
......@@ -729,6 +735,7 @@ Page({
wx.showToast({
title: '录音上传中,请稍等...',
duration: 1000,
icon: 'none'
})
return;
}
......
......@@ -101,7 +101,7 @@
width: 100%;
font-size: 13px;
letter-spacing: 2rpx;
z-index: 3;
z-index: 50;
}
.hascomment {
position: absolute;
......
......@@ -498,6 +498,9 @@ Page({
voiceuploading: false
})
} else {
this.setData({
voiceuploading: false
})
wx.showModal({
title: '提示',
content: '录音上传失败',
......@@ -505,7 +508,10 @@ Page({
})
}
}).catch((err) => {
this.data.audioStatus.upload = false
this.data.audioStatus.upload = false;
this.setData({
voiceuploading: false
})
wx.showModal({
title: '提示',
content: '录音上传失败',
......@@ -557,6 +563,7 @@ Page({
wx.showToast({
title: '录音上传中,请稍等...',
duration: 1000,
icon: 'none'
})
return;
}
......
......@@ -185,7 +185,7 @@
{{filter.voiceTimeFormat(audioInfo.duration)}}
</view>
</view>
<cover-view class="success-modal">
<cover-view class="success-modal" hidden="{{commentSuccessHide}}">
<cover-view class="mask"></cover-view>
<cover-view class="modal-box">
<cover-image class="header-bg" src="{{imageRoot}}2b/comment/header_bg.png?{{imageVersion}}" mode="aspectFit"></cover-image>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment