Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
b3be7b29
Commit
b3be7b29
authored
Apr 23, 2021
by
Kang Donghun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release_sp3' into features/release_sp3_collaboration_audio
parents
6be00d70
88efa48f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
public_new/archive_detail.html
+2
-2
public_new/js/chat-ui.js
+4
-5
public_new/js/chat.js
+5
-1
No files found.
public_new/archive_detail.html
View file @
b3be7b29
...
...
@@ -39,7 +39,7 @@
<div
class=
"col-4 pr-0"
>
<div
class=
"nav-item"
>
<div
class=
"nav_prev"
>
<a
href=
"archive.html"
><span
class=
"ttl_archive
"
>
アーカイブ
</span></a>
<a
href=
"archive.html"
><span
style=
"font-size: 15px;
"
>
アーカイブ
</span></a>
</div>
</div>
</div>
...
...
@@ -107,7 +107,7 @@
<
div
class
=
"d-flex flex-row"
>
<
div
class
=
"d-flex flex-column"
>
<
img
src
=
"{{profileImage}}"
alt
=
"プロフィール画像"
onclick
=
"CHAT_UI.makeNameCard({{userId}})"
>
<
span
>
{{
userName
}}
<
/span
>
<
p
>
{{
userName
}}
<
/p
>
<
/div
>
<
/div
>
<
/div
>
...
...
public_new/js/chat-ui.js
View file @
b3be7b29
...
...
@@ -1740,7 +1740,6 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
//保存ユーザ情報を取得
var
userInfo
=
CHAT_DB
.
getUserInfo
(
archive
.
saveUserId
);
userInfo
.
profileUrl
=
CHAT
.
getProfileImgUrl
(
userInfo
.
profileUrl
);
// アーカイブ情報を表示
var
html
=
Mustache
.
render
(
archiveDetailTemplate
,
{
fileName
:
archive
.
archiveName
,
...
...
@@ -1748,7 +1747,7 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
chatRoomName
:
archive
.
roomName
,
chatRoomId
:
archive
.
roomId
,
profileImage
:
userInfo
.
profileUrl
,
userName
:
userInfo
.
shopMember
n
ame
,
userName
:
userInfo
.
shopMember
N
ame
,
userId
:
userInfo
.
shopMemberId
});
...
...
@@ -1765,11 +1764,11 @@ CHAT_UI.refreshArchiveDetailScreen = function(archiveId) {
break
;
case
"1"
:
// 動画
case
1
:
$
(
'#archive_player'
).
prepend
(
'<video class="archive_player" src='
+
archiveFilePath
+
' controls autoplay muted playsinline></video>'
);
$
(
'#archive_player'
).
prepend
(
'<video class="archive_player" src='
+
archiveFilePath
+
' controls autoplay muted playsinline
controlsList="nodownload"
></video>'
);
break
;
case
"2"
:
// 音声
case
2
:
$
(
'#archive_player'
).
prepend
(
'<audio class="archive_audio_player" src='
+
archiveFilePath
+
' controls></audio>'
);
$
(
'#archive_player'
).
prepend
(
'<audio class="archive_audio_player" src='
+
archiveFilePath
+
' controls
controlsList="nodownload"
></audio>'
);
$
(
'#archive_player'
).
prepend
(
'<img class="archive_player" src='
+
"./img/capture.png"
+
' />'
);
break
;
case
"3"
:
// 文書
...
...
@@ -2423,7 +2422,7 @@ CHAT_UI.refreshForOffline = function() {
$
(
'#imageInputButton'
).
addClass
(
'ui-state-disabled'
);
$
(
'#messageSend'
).
prop
(
'disabled'
,
true
);
$
(
'#messageInput'
).
prop
(
'disabled'
,
true
);
$
(
'#messageInput'
).
prop
(
'placeholder'
,
'
ネットワークに接続できません
'
);
$
(
'#messageInput'
).
prop
(
'placeholder'
,
''
);
$
(
'#favoriteButton'
).
prop
(
'disabled'
,
true
);
$
(
'#roomMenu'
).
hide
();
$
(
'.fa-download'
).
hide
();
...
...
public_new/js/chat.js
View file @
b3be7b29
...
...
@@ -279,6 +279,7 @@ $(function() {
// 検索アイコン押下イベント
$
(
'.nav_item_wrap .search_menu'
).
click
(
function
(){
$
(
'.nav_item_wrap'
).
addClass
(
'none'
);
$
(
'.footer-wrap'
).
addClass
(
'none'
);
$
(
'.chat_room_src_form'
).
removeClass
(
'none'
);
$
(
'.room_container'
).
addClass
(
'none'
);
$
(
'.overlay_src_msg'
).
removeClass
(
'none'
);
...
...
@@ -292,6 +293,7 @@ $(function() {
});
$
(
'.chat_room_src_form .cancel'
).
click
(
function
(){
$
(
'.nav_item_wrap'
).
removeClass
(
'none'
);
$
(
'.footer-wrap'
).
removeClass
(
'none'
);
$
(
'.chat_room_src_form'
).
addClass
(
'none'
);
$
(
'.chat_room_src_form input'
).
val
(
''
);
$
(
'.room_container'
).
removeClass
(
'none'
);
...
...
@@ -303,6 +305,7 @@ $(function() {
$
(
'.chat_room_src_form input[type="search"]'
).
blur
();
$
(
'#searchMessage'
).
removeClass
(
'onfocus'
);
$
(
'.chat_list'
).
addClass
(
'none'
);
CHAT_UI
.
scrollToBottom
();
});
$
(
'.chat_room_src_form input[type="search"]'
).
click
(
function
()
{
...
...
@@ -417,6 +420,7 @@ $(function() {
var
beforeHeight
;
var
beforeScroll
;
var
footerHeight
=
$
(
'.footer-wrap'
).
height
();
window
.
addEventListener
(
"resize"
,
function
()
{
console
.
log
(
'aaaa'
);
var
afterHeight
=
window
.
innerHeight
;
...
...
@@ -428,7 +432,7 @@ $(function() {
}
else
{
//キーボード非表示
$
(
'.room_container'
).
css
(
'margin-bottom'
,
$
(
'.footer-wrap'
).
height
()
);
$
(
'.room_container'
).
css
(
'margin-bottom'
,
footerHeight
);
window
.
scrollTo
(
0
,
beforeScroll
);
}
});
...
...
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