Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
4e230bf3
Commit
4e230bf3
authored
Sep 27, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
fe2731af
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
imagecomment.js
business/pages/commenteditor/imagecomment.js
+7
-0
imagelistshow.wxss
business/pages/commenteditor/imagelistshow.wxss
+1
-1
videocomment.js
business/pages/commenteditor/videocomment.js
+8
-1
videocomment.wxml
business/pages/commenteditor/videocomment.wxml
+1
-1
No files found.
business/pages/commenteditor/imagecomment.js
View file @
4e230bf3
...
...
@@ -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
;
}
...
...
business/pages/commenteditor/imagelistshow.wxss
View file @
4e230bf3
...
...
@@ -101,7 +101,7 @@
width: 100%;
font-size: 13px;
letter-spacing: 2rpx;
z-index:
3
;
z-index:
50
;
}
.hascomment {
position: absolute;
...
...
business/pages/commenteditor/videocomment.js
View file @
4e230bf3
...
...
@@ -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
;
}
...
...
business/pages/commenteditor/videocomment.wxml
View file @
4e230bf3
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment