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
c9a4a037
Commit
c9a4a037
authored
Mar 22, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI適用
parent
5aeec968
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
164 additions
and
60 deletions
+164
-60
public_new/contact.html
+0
-0
public_new/css/chat.css
+5
-0
public_new/js/chat-db.js
+1
-0
public_new/js/chat-ui.js
+86
-50
public_new/js/chat.js
+1
-1
public_new/template/template_group_list.html
+24
-0
public_new/template/template_group_user_list.html
+34
-0
public_new/template/template_my_name_card.html
+1
-2
public_new/template/template_user_list.html
+7
-2
public_new/template/template_user_name_card.html
+5
-5
No files found.
public_new/contact.html
View file @
c9a4a037
This diff is collapsed.
Click to expand it.
public_new/css/chat.css
View file @
c9a4a037
...
@@ -37,6 +37,11 @@ input[name="tab_item"] {
...
@@ -37,6 +37,11 @@ input[name="tab_item"] {
display
:
block
;
display
:
block
;
}
}
#tabMyGroup
:checked
~
#tab1_content
,
#tabAllGroup
:checked
~
#tab2_content
{
display
:
block
;
}
.tabs
input
:checked
+
.tab_item
{
.tabs
input
:checked
+
.tab_item
{
background-color
:
#0070CA
;
background-color
:
#0070CA
;
color
:
#fff
;
color
:
#fff
;
...
...
public_new/js/chat-db.js
View file @
c9a4a037
...
@@ -56,6 +56,7 @@ CHAT_DB.getMyGroupUsers = function() {
...
@@ -56,6 +56,7 @@ CHAT_DB.getMyGroupUsers = function() {
//TODO IOS処理追加必要
//TODO IOS処理追加必要
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
//String形式をJsonに変更してReturn
//String形式をJsonに変更してReturn
console
.
log
(
JSON
.
parse
(
android
.
getMyGroupUsers
()));
return
JSON
.
parse
(
android
.
getMyGroupUsers
());
return
JSON
.
parse
(
android
.
getMyGroupUsers
());
}
}
};
};
...
...
public_new/js/chat-ui.js
View file @
c9a4a037
This diff is collapsed.
Click to expand it.
public_new/js/chat.js
View file @
c9a4a037
...
@@ -29,7 +29,7 @@ CHAT.getProfileImgUrl = function(path) {
...
@@ -29,7 +29,7 @@ CHAT.getProfileImgUrl = function(path) {
return
ASSET_PATH
+
'img/noImage.png'
;
return
ASSET_PATH
+
'img/noImage.png'
;
}
else
{
}
else
{
var
userInfo
=
path
.
split
(
"/"
).
reverse
();
var
userInfo
=
path
.
split
(
"/"
).
reverse
();
return
CMS_SERVER_URL
+
'/
file/getProfileImage?profileFileName='
+
userInfo
[
0
]
+
'&profileGetLoginId='
+
userInfo
[
1
]
;
return
CMS_SERVER_URL
+
'/
chatapi/user?profileFileName='
+
userInfo
[
0
]
+
'&profileGetLoginId='
+
userInfo
[
1
]
+
'&sid='
+
CHAT
.
globalLoginParameter
.
sid
+
'&cmd=12'
;
}
}
}
}
...
...
public_new/template/template_group_list.html
0 → 100644
View file @
c9a4a037
<li
class=
"d-flex align-items-center"
>
<a
href=
"chat_room.html"
class=
"w-100"
>
<div
class=
"chat_item d-flex flex-row align-items-center"
>
<div
class=
"chat_item_l"
>
<div
class=
"thubnail"
>
<img
src=
"icon/icon_folder.png"
alt=
"フォルダ"
/>
</div>
</div>
<div
class=
"chat_item_m px-0"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"chat_item_t"
>
<span
class=
"chat_item_ttl"
>
{{name}}
</span>
</div>
</div>
</div>
</div>
</a>
<div
class=
"chat_item_r"
>
<div
class=
"d-flex flex-column"
>
<span
class=
"star disable"
></span>
</div>
</div>
</li>
\ No newline at end of file
public_new/template/template_group_user_list.html
0 → 100644
View file @
c9a4a037
<div
class=
"category"
><div
class=
"category_name"
><span>
{{groupName}}
</span></div></div>
<ul
class=
"p-0 chat_make_room_list"
>
{{#groupUserList}}
<li
class=
"d-flex align-items-center"
>
<a
href=
"#"
onclick=
"CHAT_UI.makeNameCard({{shopMemberId}})"
style=
"width: 100%;"
>
<div
class=
"chat_item d-flex flex-row align-items-center"
>
<div
class=
"chat_item_l"
>
<div
class=
"thubnail"
>
<div
class=
"img_wrap"
><img
src=
"{{profileImagePath}}"
onError=
"this.src='./img/noImage.png'"
/></div>
</div>
</div>
<div
class=
"chat_item_m px-0"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"chat_item_t"
>
<span
class=
"chat_item_ttl"
>
{{shopMemberName}}
</span>
</div>
</div>
</div>
</div>
</a>
<div
class=
"chat_item_r"
>
<div
class=
"d-flex flex-column"
>
{{#isFavorite}}
<span
class=
"star active"
></span>
{{/isFavorite}}
{{^isFavorite}}
<span
class=
"star disable"
></span>
{{/isFavorite}}
</div>
</div>
</li>
{{/groupUserList}}
</ul>
\ No newline at end of file
public_new/template/template_my_name_card.html
View file @
c9a4a037
...
@@ -3,8 +3,7 @@
...
@@ -3,8 +3,7 @@
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header border-0"
>
<div
class=
"modal-header border-0"
>
<div
class=
"prifile_desc d-flex flex-row"
>
<div
class=
"prifile_desc d-flex flex-row"
>
<img
src=
"{{profileImage}}"
alt=
"プロフィール画像"
>
<img
src=
"{{profileImage}}"
onError=
"this.src='./img/noImage.png'"
>
<!--<div class="namedard-img-upload" >Upload</div>-->
<div
class=
"prifile_name"
><span>
{{name}}
</span></div>
<div
class=
"prifile_name"
><span>
{{name}}
</span></div>
</div>
</div>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
...
...
public_new/template/template_user_list.html
View file @
c9a4a037
<ul
class=
"p-0 chat_make_room_list"
>
<ul
class=
"p-0 chat_make_room_list"
>
<li
class=
"d-flex align-items-center"
>
<li
class=
"d-flex align-items-center"
>
<a
href=
"#"
data-toggle=
"modal"
data-target=
"#userNameCard"
class=
"w-100
"
>
<a
href=
"#"
onclick=
"CHAT_UI.makeNameCard({{shopMemberId}})"
style=
"width: 100%;
"
>
<div
class=
"chat_item d-flex flex-row align-items-center"
>
<div
class=
"chat_item d-flex flex-row align-items-center"
>
<div
class=
"chat_item_l"
>
<div
class=
"chat_item_l"
>
<div
class=
"thubnail"
>
<div
class=
"thubnail"
>
<div
class=
"img_wrap"
><img
src=
"{{profileImage}}"
alt=
"サムネイル画像
"
/></div>
<div
class=
"img_wrap"
><img
src=
"{{profileImage}}"
onError=
"this.src='./img/noImage.png'
"
/></div>
</div>
</div>
</div>
</div>
<div
class=
"chat_item_m px-0"
>
<div
class=
"chat_item_m px-0"
>
...
@@ -18,7 +18,12 @@
...
@@ -18,7 +18,12 @@
</a>
</a>
<div
class=
"chat_item_r"
>
<div
class=
"chat_item_r"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
{{#isFavorite}}
<span
class=
"star active"
></span>
{{/isFavorite}}
{{^isFavorite}}
<span
class=
"star disable"
></span>
<span
class=
"star disable"
></span>
{{/isFavorite}}
</div>
</div>
</div>
</div>
</li>
</li>
...
...
public_new/template/template_user_name_card.html
View file @
c9a4a037
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"modal-content"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header border-0"
>
<div
class=
"modal-header border-0"
>
<div
class=
"prifile_desc d-flex flex-row"
>
<div
class=
"prifile_desc d-flex flex-row"
>
<img
src=
"{{profileImage}}"
alt=
"プロフィール画像"
>
<img
src=
"{{profileImage}}"
onError=
"this.src='./img/noImage.png'"
/
>
<div
class=
"prifile_name"
><span>
{{name}}
</span></div>
<div
class=
"prifile_name"
><span>
{{name}}
</span></div>
</div>
</div>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</div>
</div>
<div
class=
"modal-footer border-0 justify-content-center"
>
<div
class=
"modal-footer border-0 justify-content-center"
>
{{#isFavorite}}
{{#isFavorite}}
<button
type=
"button"
class=
"border-0 bg_navy"
>
<button
type=
"button"
class=
"border-0 bg_navy"
onclick=
"CHAT_UI.removeFavoriteUser({{shopMemberId}})"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"img_wrap"
>
<div
class=
"img_wrap"
>
<img
src=
"icon/icon_profile_favorite.png"
alt=
"お気に入り"
>
<img
src=
"icon/icon_profile_favorite.png"
alt=
"お気に入り"
>
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
</div>
</div>
</button>
</button>
{{/isFavorite}}
{{/isFavorite}}
{{^isFavo
tir
e}}
{{^isFavo
rit
e}}
<button
type=
"button"
class=
"border-0 bg_navy"
>
<button
type=
"button"
class=
"border-0 bg_navy"
onclick=
"CHAT_UI.insertFavoriteUser({{shopMemberId}})"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"img_wrap"
>
<div
class=
"img_wrap"
>
<img
src=
"icon/icon_profile_favorite_white.png"
alt=
"お気に入り"
>
<img
src=
"icon/icon_profile_favorite_white.png"
alt=
"お気に入り"
>
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
</div>
</div>
</button>
</button>
{{/isFavorite}}
{{/isFavorite}}
<button
type=
"button"
class=
"border-0 bg_green"
>
<button
type=
"button"
class=
"border-0 bg_green"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"img_wrap"
>
<div
class=
"img_wrap"
>
<img
src=
"icon/icon_profile_phone.png"
alt=
"通話"
>
<img
src=
"icon/icon_profile_phone.png"
alt=
"通話"
>
...
...
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