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
68bb5268
Commit
68bb5268
authored
Mar 08, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ネームカード修正
parent
3edb8574
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
21 deletions
+12
-21
public/index.html
+3
-3
public/js/chat-ui.js
+9
-18
No files found.
public/index.html
View file @
68bb5268
...
@@ -432,9 +432,9 @@
...
@@ -432,9 +432,9 @@
<
/div
>
<
/div
>
<
div
class
=
"text-center"
>
<
div
class
=
"text-center"
>
<
button
type
=
"button"
class
=
"btn btn-primary"
id
=
"nameCardChatBtn"
>
{{
chat
}}
<
/button
>
<
button
type
=
"button"
class
=
"btn btn-primary"
id
=
"nameCardChatBtn"
onclick
=
"CHAT_UI.startChat();"
>
{{
chat
}}
<
/button
>
<
button
type
=
"button"
class
=
"btn btn-primary"
id
=
"nameCardVoiceBtn"
>
{{
voice
}}
<
/button
>
<
button
type
=
"button"
class
=
"btn btn-primary"
id
=
"nameCardVoiceBtn"
onclick
=
"CHAT_UI.startVoice();"
>
{{
voice
}}
<
/button
>
<
button
type
=
"button"
class
=
"btn btn-primary"
id
=
"nameCardFavoriteBtn"
>
{{
favorite
}}
<
/button
>
<
button
type
=
"button"
class
=
"btn btn-primary"
id
=
"nameCardFavoriteBtn"
onclick
=
"CHAT_UI.changeFavorite();"
>
{{
favorite
}}
<
/button
>
<
/div
>
<
/div
>
</script>
</script>
<script
id=
"message-template"
type=
"text/template"
>
<script
id=
"message-template"
type=
"text/template"
>
...
...
public/js/chat-ui.js
View file @
68bb5268
...
@@ -1225,15 +1225,6 @@ CHAT_UI.hideNamecard = function(id) {
...
@@ -1225,15 +1225,6 @@ CHAT_UI.hideNamecard = function(id) {
$
(
'#'
+
id
).
modal
(
'hide'
);
$
(
'#'
+
id
).
modal
(
'hide'
);
}
}
$
(
document
).
click
(
function
(
e
)
{
console
.
log
(
$
(
e
.
target
));
if
(
$
(
e
.
target
).
hasClass
(
'my-name-card-close'
)){
console
.
log
(
'hideNameCard'
);
CHAT_UI
.
hideNamecard
(
'myNamecard'
);
CHAT_UI
.
hideNamecard
(
'userNamecard'
);
}
});
CHAT_UI
.
showUserNamecard
=
function
(
shopMemberId
)
{
CHAT_UI
.
showUserNamecard
=
function
(
shopMemberId
)
{
// $('#myNamecard').appendTo("body").modal({
// $('#myNamecard').appendTo("body").modal({
...
@@ -1334,17 +1325,18 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) {
...
@@ -1334,17 +1325,18 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) {
$
(
'#allGroupArea'
).
show
();
$
(
'#allGroupArea'
).
show
();
}
}
$
(
'#nameCardChatBtn'
).
on
(
'click'
,
function
(
e
)
{
CHAT_UI
.
startChat
=
function
(
)
{
//add Android Chat click
//add Android Chat click
console
.
log
(
"ChatClick"
);
console
.
log
(
"ChatClick"
);
}
)
;
};
$
(
'#nameCardVoiceBtn'
).
on
(
'click'
,
function
(
e
)
{
CHAT_UI
.
startVoice
=
function
(
)
{
//add Android
Voice
click
//add Android
Chat
click
console
.
log
(
"VoiceClick"
);
console
.
log
(
"VoiceClick"
);
}
)
;
};
$
(
'#nameCardFavoriteBtn'
).
on
(
'click'
,
function
(
e
)
{
CHAT_UI
.
changeFavorite
=
function
(
)
{
//add Android
Favorite
click
//add Android
Chat
click
console
.
log
(
"FavoriteClick"
);
console
.
log
(
"FavoriteClick"
);
});
};
\ No newline at end of file
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