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
485b0deb
Commit
485b0deb
authored
Aug 06, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed for contact and namecard for favorite
parent
0757186e
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
94 additions
and
103 deletions
+94
-103
public_new/js/views/chats/chat-room.js
+4
-0
public_new/js/views/collaboration/collaboration.js
+0
-8
public_new/js/views/collaboration/share-event-listener.js
+1
-8
public_new/js/views/contact/contact.js
+30
-28
public_new/js/views/contact/namecard.js
+36
-31
public_new/modal_chat_profile.html
+1
-0
public_new/modal_collabo_profile.html
+4
-6
public_new/template/template_chatroom_user_list.html
+1
-1
public_new/template/template_group_user_list.html
+3
-3
public_new/template/template_user_list.html
+5
-5
public_new/template/template_user_name_card.html
+9
-13
No files found.
public_new/js/views/chats/chat-room.js
View file @
485b0deb
...
@@ -10,6 +10,10 @@ window.onscroll = function () {
...
@@ -10,6 +10,10 @@ window.onscroll = function () {
return
;
return
;
}
}
beforeScroll
=
window
.
scrollY
;
beforeScroll
=
window
.
scrollY
;
ChatRoom
.
prependMessageWhenScrollIfNeeded
();
};
ChatRoom
.
prependMessageWhenScrollIfNeeded
=
function
()
{
const
beforeHeight
=
$
(
".room_container"
).
height
();
const
beforeHeight
=
$
(
".room_container"
).
height
();
messageCount
=
$
(
".chat_message"
).
length
;
messageCount
=
$
(
".chat_message"
).
length
;
if
(
$
(
this
).
scrollTop
()
===
0
&&
messageCount
>=
PagingSize
.
MESSAGE
)
{
if
(
$
(
this
).
scrollTop
()
===
0
&&
messageCount
>=
PagingSize
.
MESSAGE
)
{
...
...
public_new/js/views/collaboration/collaboration.js
View file @
485b0deb
...
@@ -185,14 +185,6 @@ CollaborationUI.refreshForOffline = function () {
...
@@ -185,14 +185,6 @@ CollaborationUI.refreshForOffline = function () {
}
}
};
};
CollaborationUI
.
showLoadingIndicator
=
function
()
{
$
(
"#loadingIndicator"
).
addClass
(
"full_active"
);
};
CollaborationUI
.
hideLoadingIndicator
=
function
()
{
$
(
"#loadingIndicator"
).
removeClass
(
"full_active"
);
};
CollaborationUI
.
displayAddUserButtonIfNeeded
=
function
()
{
CollaborationUI
.
displayAddUserButtonIfNeeded
=
function
()
{
if
(
roomInfo
.
roomType
==
ChatRoomType
.
DM
)
{
if
(
roomInfo
.
roomType
==
ChatRoomType
.
DM
)
{
$
(
".add_user_btn"
).
removeClass
(
"none"
);
$
(
".add_user_btn"
).
removeClass
(
"none"
);
...
...
public_new/js/views/collaboration/share-event-listener.js
View file @
485b0deb
...
@@ -28,7 +28,6 @@ CoviewBridge.bindFermiWebSocketOpenned = function () {
...
@@ -28,7 +28,6 @@ CoviewBridge.bindFermiWebSocketOpenned = function () {
CoviewBridge
.
bindStartEvent
=
function
()
{
CoviewBridge
.
bindStartEvent
=
function
()
{
coview_api
.
addEventListener
(
"start"
,
function
()
{
coview_api
.
addEventListener
(
"start"
,
function
()
{
CollaborationFeature
.
enableScrollLock
();
CollaborationFeature
.
enableScrollLock
();
CollaborationUI
.
hideLoadingIndicator
();
});
});
};
};
...
@@ -84,14 +83,11 @@ CoviewBridge.bindAllByeEvent = function () {
...
@@ -84,14 +83,11 @@ CoviewBridge.bindAllByeEvent = function () {
NativeBridgeDelegate
.
showExitHostAlert
();
NativeBridgeDelegate
.
showExitHostAlert
();
return
;
return
;
}
}
CollaborationUI
.
hideLoadingIndicator
();
});
});
};
};
CoviewBridge
.
bindGuestByeEvent
=
function
()
{
CoviewBridge
.
bindGuestByeEvent
=
function
()
{
coview_api
.
addEventListener
(
"guestbye"
,
function
()
{
coview_api
.
addEventListener
(
"guestbye"
,
function
()
{});
CollaborationUI
.
hideLoadingIndicator
();
});
};
};
CoviewBridge
.
bindDestroyEvent
=
function
()
{
CoviewBridge
.
bindDestroyEvent
=
function
()
{
...
@@ -99,7 +95,6 @@ CoviewBridge.bindDestroyEvent = function () {
...
@@ -99,7 +95,6 @@ CoviewBridge.bindDestroyEvent = function () {
CHAT_SOCKET
.
emitCollaborationFinishMessage
();
CHAT_SOCKET
.
emitCollaborationFinishMessage
();
alert
(
getLocalizedString
(
"inform_exit_host_collaboration"
));
alert
(
getLocalizedString
(
"inform_exit_host_collaboration"
));
CoviewBridge
.
exitCollaboration
();
CoviewBridge
.
exitCollaboration
();
CollaborationUI
.
hideLoadingIndicator
();
});
});
};
};
...
@@ -231,7 +226,6 @@ CollaborationFeature.didReceivedJoinRoomInfoResponseMessage = function () {
...
@@ -231,7 +226,6 @@ CollaborationFeature.didReceivedJoinRoomInfoResponseMessage = function () {
alert
(
getLocalizedString
(
"not_exist_sharing_call"
));
alert
(
getLocalizedString
(
"not_exist_sharing_call"
));
coview_api
.
LeaveRoom
();
coview_api
.
LeaveRoom
();
$
(
".coview_share_area"
).
hide
();
$
(
".coview_share_area"
).
hide
();
CollaborationUI
.
hideLoadingIndicator
();
NativeBridgeDelegate
.
joinRoom
(
roomInfo
.
roomID
,
roomInfo
.
roomName
);
NativeBridgeDelegate
.
joinRoom
(
roomInfo
.
roomID
,
roomInfo
.
roomName
);
};
};
...
@@ -498,7 +492,6 @@ CollaborationUI.refreshJoinedCollaboration = function (loginIDList) {
...
@@ -498,7 +492,6 @@ CollaborationUI.refreshJoinedCollaboration = function (loginIDList) {
};
};
CollaborationUI
.
moveToVideoShareArea
=
function
()
{
CollaborationUI
.
moveToVideoShareArea
=
function
()
{
CollaborationUI
.
showLoadingIndicator
();
$
(
".coview_share_area"
).
show
();
$
(
".coview_share_area"
).
show
();
$
(
"#collabo_main"
).
removeClass
(
"none"
);
$
(
"#collabo_main"
).
removeClass
(
"none"
);
};
};
public_new/js/views/contact/contact.js
View file @
485b0deb
...
@@ -143,9 +143,7 @@ Contact.refreshContactScreen = function () {
...
@@ -143,9 +143,7 @@ Contact.refreshContactScreen = function () {
Contact
.
appendMyNamecard
();
Contact
.
appendMyNamecard
();
Contact
.
appendFavoritGroupList
();
Contact
.
reloadFavoriteList
();
Contact
.
appendFavoritUsers
();
Contact
.
appendMyGroupList
();
Contact
.
appendMyGroupList
();
...
@@ -173,6 +171,12 @@ Contact.appendMyNamecard = function () {
...
@@ -173,6 +171,12 @@ Contact.appendMyNamecard = function () {
$
(
"#myImg"
).
attr
(
"src"
,
myInfo
.
profileImagePath
);
$
(
"#myImg"
).
attr
(
"src"
,
myInfo
.
profileImagePath
);
};
};
Contact
.
reloadFavoriteList
=
function
()
{
$
(
"#favoriteList"
).
html
(
""
);
Contact
.
appendFavoritGroupList
();
Contact
.
appendFavoritUsers
();
};
Contact
.
appendFavoritGroupList
=
function
()
{
Contact
.
appendFavoritGroupList
=
function
()
{
// グループの様式を読み込む
// グループの様式を読み込む
const
groupTemplate
=
getTemplate
(
TemplateURL
.
GROUP_LIST
);
const
groupTemplate
=
getTemplate
(
TemplateURL
.
GROUP_LIST
);
...
@@ -221,37 +225,35 @@ Contact.appendMyGroupList = function () {
...
@@ -221,37 +225,35 @@ Contact.appendMyGroupList = function () {
};
};
Contact
.
favoriteGroupChange
=
function
(
groupID
,
star
)
{
Contact
.
favoriteGroupChange
=
function
(
groupID
,
star
)
{
if
(
$
(
star
).
hasClass
(
"active"
))
{
const
div
=
$
(
star
);
Contact
.
removeFavoriteGroup
(
groupID
);
if
(
div
.
hasClass
(
"sp-circle"
))
{
}
else
if
(
$
(
star
).
hasClass
(
"disable"
))
{
return
;
Contact
.
insertFavoriteGroup
(
groupID
);
}
}
div
.
removeClass
(
"star"
);
div
.
addClass
(
"sp-circle"
);
setTimeout
(()
=>
{
if
(
div
.
hasClass
(
"active"
))
{
Contact
.
removeFavoriteGroup
(
groupID
,
div
);
}
else
if
(
div
.
hasClass
(
"disable"
))
{
Contact
.
insertFavoriteGroup
(
groupID
,
div
);
}
div
.
removeClass
(
"sp-circle"
);
div
.
addClass
(
"star"
);
Contact
.
reloadFavoriteList
();
},
0
);
};
};
Contact
.
removeFavoriteGroup
=
function
(
groupID
)
{
Contact
.
removeFavoriteGroup
=
function
(
groupID
,
div
)
{
Common
.
showLoadingIndicator
();
const
result
=
NativeBridgeDataSource
.
removeFavoriteGroup
(
groupID
);
var
result
=
NativeBridgeDataSource
.
removeFavoriteGroup
(
groupID
);
div
.
removeClass
(
result
?
"active"
:
"disable"
);
if
(
result
)
{
div
.
addClass
(
result
?
"disable"
:
"active"
);
$
(
".group_"
+
groupID
).
removeClass
(
"active"
);
$
(
".group_"
+
groupID
).
addClass
(
"disable"
);
}
else
{
$
(
".group_"
+
groupID
).
addClass
(
"active"
);
$
(
".group_"
+
groupID
).
removeClass
(
"disable"
);
}
Common
.
dismissLoadingIndicator
();
};
};
Contact
.
insertFavoriteGroup
=
function
(
groupID
)
{
Contact
.
insertFavoriteGroup
=
function
(
groupID
,
div
)
{
Common
.
showLoadingIndicator
();
const
result
=
NativeBridgeDataSource
.
addFavoriteGroup
(
groupID
);
const
result
=
NativeBridgeDataSource
.
addFavoriteGroup
(
groupID
);
if
(
result
)
{
div
.
removeClass
(
result
?
"disable"
:
"active"
);
$
(
".group_"
+
groupID
).
removeClass
(
"disable"
);
div
.
addClass
(
result
?
"active"
:
"disable"
);
$
(
".group_"
+
groupID
).
addClass
(
"active"
);
}
else
{
$
(
".group_"
+
groupID
).
addClass
(
"disable"
);
$
(
".group_"
+
groupID
).
removeClass
(
"active"
);
}
Common
.
dismissLoadingIndicator
();
};
};
//全グループ検索画面表示。
//全グループ検索画面表示。
...
...
public_new/js/views/contact/namecard.js
View file @
485b0deb
...
@@ -63,40 +63,44 @@ Namecard.startVoice = function (userShopMemberID, userName) {
...
@@ -63,40 +63,44 @@ Namecard.startVoice = function (userShopMemberID, userName) {
};
};
Namecard
.
favoriteUserChange
=
function
(
shopMemberID
,
star
)
{
Namecard
.
favoriteUserChange
=
function
(
shopMemberID
,
star
)
{
if
(
$
(
star
).
hasClass
(
"active"
))
{
const
div
=
$
(
star
);
Namecard
.
removeFavoriteUser
(
shopMemberID
);
if
(
div
.
hasClass
(
"sp-circle"
))
{
}
else
if
(
$
(
star
).
hasClass
(
"disable"
))
{
return
;
Namecard
.
insertFavoriteUser
(
shopMemberID
);
}
}
div
.
removeClass
(
"star"
);
div
.
addClass
(
"sp-circle"
);
setTimeout
(()
=>
{
if
(
div
.
hasClass
(
"active"
))
{
Namecard
.
removeFavoriteUser
(
shopMemberID
,
div
);
}
else
if
(
div
.
hasClass
(
"disable"
))
{
Namecard
.
insertFavoriteUser
(
shopMemberID
,
div
);
}
div
.
removeClass
(
"sp-circle"
);
div
.
addClass
(
"star"
);
if
(
typeof
Contact
!=
"undefined"
)
{
Contact
.
reloadFavoriteList
();
}
if
(
div
.
hasClass
(
"active"
))
{
window
.
scroll
(
0
,
window
.
scrollY
+
$
(
".my_info_sell"
).
height
());
}
else
if
(
div
.
hasClass
(
"disable"
))
{
window
.
scroll
(
0
,
window
.
scrollY
-
$
(
".my_info_sell"
).
height
());
}
},
0
);
};
};
Namecard
.
removeFavoriteUser
=
function
(
shopMemberID
)
{
Namecard
.
removeFavoriteUser
=
function
(
shopMemberID
,
div
)
{
Common
.
showLoadingIndicator
();
$
(
"#userNameCard"
).
modal
(
"hide"
);
$
(
"#myNameCard"
).
modal
(
"hide"
);
const
result
=
NativeBridgeDataSource
.
removeFavoriteUser
(
shopMemberID
);
const
result
=
NativeBridgeDataSource
.
removeFavoriteUser
(
shopMemberID
);
if
(
result
)
{
div
.
removeClass
(
result
?
"active"
:
"disable"
);
$
(
".shopmember_"
+
shopMemberID
).
removeClass
(
"active"
);
div
.
addClass
(
result
?
"disable"
:
"active"
);
$
(
".shopmember_"
+
shopMemberID
).
addClass
(
"disable"
);
}
else
{
$
(
".shopmember_"
+
shopMemberID
).
addClass
(
"active"
);
$
(
".shopmember_"
+
shopMemberID
).
removeClass
(
"disable"
);
}
Common
.
dismissLoadingIndicator
();
};
};
Namecard
.
insertFavoriteUser
=
function
(
shopMemberID
)
{
Namecard
.
insertFavoriteUser
=
function
(
shopMemberID
,
div
)
{
$
(
"#userNameCard"
).
modal
(
"hide"
);
$
(
"#myNameCard"
).
modal
(
"hide"
);
const
result
=
NativeBridgeDataSource
.
addFavoriteUser
(
shopMemberID
);
const
result
=
NativeBridgeDataSource
.
addFavoriteUser
(
shopMemberID
);
if
(
result
)
{
div
.
removeClass
(
result
?
"disable"
:
"active"
);
$
(
".shopmember_"
+
shopMemberID
).
removeClass
(
"disable"
);
div
.
addClass
(
result
?
"active"
:
"disable"
);
$
(
".shopmember_"
+
shopMemberID
).
addClass
(
"active"
);
}
else
{
$
(
".shopmember_"
+
shopMemberID
).
addClass
(
"disable"
);
$
(
".shopmember_"
+
shopMemberID
).
removeClass
(
"active"
);
}
Common
.
dismissLoadingIndicator
();
};
};
Namecard
.
refreshForOnline
=
function
()
{
Namecard
.
refreshForOnline
=
function
()
{
...
@@ -109,11 +113,12 @@ Namecard.refreshForOffline = function () {
...
@@ -109,11 +113,12 @@ Namecard.refreshForOffline = function () {
Namecard
.
moveContactPage
=
function
(
paramGroupID
)
{
Namecard
.
moveContactPage
=
function
(
paramGroupID
)
{
const
groupID
=
paramGroupID
;
const
groupID
=
paramGroupID
;
if
(
window
.
location
.
pathname
.
includes
(
"chat_room"
)
||
if
(
window
.
location
.
pathname
.
includes
(
"archive_detail"
))
window
.
location
.
pathname
.
includes
(
"chat_room"
)
||
{
window
.
location
.
pathname
.
includes
(
"archive_detail"
)
)
{
if
(
groupID
==
""
)
return
;
if
(
groupID
==
""
)
return
;
NativeBridgeDelegate
.
setToMoveGroupId
(
groupID
);
NativeBridgeDelegate
.
setToMoveGroupId
(
groupID
);
window
.
location
.
href
=
"contact.html"
;
window
.
location
.
href
=
"contact.html"
;
}
}
}
}
;
public_new/modal_chat_profile.html
View file @
485b0deb
<!-- TODO: peacekim:: this file is not using-->
<div
class=
"modal fade profile_modal"
id=
"profileModal1"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"profileModal1"
<div
class=
"modal fade profile_modal"
id=
"profileModal1"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"profileModal1"
aria-hidden=
"true"
>
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-dialog-centered"
role=
"document"
>
<div
class=
"modal-dialog modal-dialog-centered"
role=
"document"
>
...
...
public_new/modal_collabo_profile.html
View file @
485b0deb
...
@@ -19,21 +19,19 @@
...
@@ -19,21 +19,19 @@
</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"
id=
"favoriteButton"
>
onclick=
"CollaborationUI.removeFavoriteUserInCollaboration({{shopMemberId}})"
id=
"favoriteButton"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<span
class=
"star active shopmember_{{shopMemberId}}"
<span
class=
"star active shopmember_{{shopMemberId}}"
onclick=
"C
HAT_UI.favoriteUserChange('{{shopMemberId}}',this
)"
></span>
onclick=
"C
ollaborationUI.removeFavoriteUserInCollaboration({{shopMemberId}}
)"
></span>
<span>
お気に入り解除
</span>
<span>
お気に入り解除
</span>
</div>
</div>
</button>
</button>
{{/isFavorite}}
{{/isFavorite}}
{{^isFavorite}}
{{^isFavorite}}
<button
type=
"button"
class=
"border-0 bg_navy"
<button
type=
"button"
class=
"border-0 bg_navy"
id=
"favoriteButton"
>
onclick=
"CollaborationUI.insertFavoriteUserInCollaboration({{shopMemberId}})"
id=
"favoriteButton"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<span
class=
"star disable shopmember_{{shopMemberId}}"
<span
class=
"star disable shopmember_{{shopMemberId}}"
onclick=
"
Namecard.favoriteUserChange('{{shopMemberId}}',this
)"
></span>
onclick=
"
CollaborationUI.insertFavoriteUserInCollaboration({{shopMemberId}}
)"
></span>
<span>
お気に入り登録
</span>
<span>
お気に入り登録
</span>
</div>
</div>
</button>
</button>
...
...
public_new/template/template_chatroom_user_list.html
View file @
485b0deb
{{#userList}}
{{#userList}}
<div
class=
"user_item"
>
<div
class=
"user_item"
>
<a
href=
"
javascript:return false;
"
onclick=
"Namecard.makeNameCard({{shopMemberId}})"
>
<a
href=
"
#
"
onclick=
"Namecard.makeNameCard({{shopMemberId}})"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"img_wrap"
>
<div
class=
"img_wrap"
>
<img
src=
"{{profileUrl}}"
onError=
"this.src='./img/noImage.png'"
>
<img
src=
"{{profileUrl}}"
onError=
"this.src='./img/noImage.png'"
>
...
...
public_new/template/template_group_user_list.html
View file @
485b0deb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<ul
class=
"p-0 chat_make_room_list"
>
<ul
class=
"p-0 chat_make_room_list"
>
{{#groupUserList}}
{{#groupUserList}}
<li
class=
"d-flex align-items-center"
>
<li
class=
"d-flex align-items-center"
>
<a
href=
"
javascript:return false;
"
onclick=
"Namecard.makeNameCard({{shopMemberId}})"
style=
"width: 100%;"
>
<a
href=
"
#
"
onclick=
"Namecard.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=
"thumbnail"
>
<div
class=
"thumbnail"
>
...
@@ -21,10 +21,10 @@
...
@@ -21,10 +21,10 @@
<div
class=
"chat_item_r"
>
<div
class=
"chat_item_r"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
{{#isFavorite}}
{{#isFavorite}}
<span
class=
"star active shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}},this)"
></span>
<span
class=
"star active shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}},
this)"
></span>
{{/isFavorite}}
{{/isFavorite}}
{{^isFavorite}}
{{^isFavorite}}
<span
class=
"star disable shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}},this)"
></span>
<span
class=
"star disable shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}},
this)"
></span>
{{/isFavorite}}
{{/isFavorite}}
</div>
</div>
</div>
</div>
...
...
public_new/template/template_user_list.html
View file @
485b0deb
<ul
class=
"p-0
chat_make_room_list
"
style=
"margin-top: 0px !important;border-top: none !important;"
>
<ul
class=
"p-0"
style=
"margin-top: 0px !important;border-top: none !important;"
>
{{#userList}}
{{#userList}}
<li
class=
"d-flex align-items-center"
>
<li
class=
"d-flex align-items-center
userCell
"
>
<a
href=
"
javascript:return false;
"
onclick=
"Namecard.makeNameCard({{shopMemberId}})"
style=
"width: 100%;"
>
<a
href=
"
#
"
onclick=
"Namecard.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=
"thumbnail"
>
<div
class=
"thumbnail"
>
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
<div
class=
"chat_item_r"
>
<div
class=
"chat_item_r"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
{{#isFavorite}}
{{#isFavorite}}
<span
class=
"star active shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}},this)"
></span>
<span
class=
"star active shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}},
this)"
></span>
{{/isFavorite}}
{{/isFavorite}}
{{^isFavorite}}
{{^isFavorite}}
<span
class=
"star disable shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}},this)"
></span>
<span
class=
"star disable shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}},
this)"
></span>
{{/isFavorite}}
{{/isFavorite}}
</div>
</div>
</div>
</div>
...
...
public_new/template/template_user_name_card.html
View file @
485b0deb
...
@@ -18,24 +18,20 @@
...
@@ -18,24 +18,20 @@
{{/groupPathList}}
{{/groupPathList}}
</div>
</div>
<div
class=
"modal-footer border-0 justify-content-center"
>
<div
class=
"modal-footer border-0 justify-content-center"
>
{{#isFavorite}}
<button
type=
"button"
class=
"border-0"
id=
"favoriteButton"
>
<button
type=
"button"
class=
"border-0"
onclick=
"Namecard.removeFavoriteUser({{shopMemberId}})"
id=
"favoriteButton"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<span
class=
"star active shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange('{{shopMemberId}}', this)"
></span>
{{#isFavorite}}
<span
class=
"star active shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange({{shopMemberId}}, this)"
></span>
<span>
お気に入り解除
</span>
<span>
お気に入り解除
</span>
</div>
{{/isFavorite}}
</button>
{{^isFavorite}}
{{/isFavorite}}
<span
class=
"star disable shopmember_{{shopMemberId}}"
{{^isFavorite}}
onclick=
"Namecard.favoriteUserChange({{shopMemberId}}, this)"
></span>
<button
type=
"button"
class=
"border-0"
onclick=
"Namecard.insertFavoriteUser({{shopMemberId}})"
id=
"favoriteButton"
>
<div
class=
"d-flex flex-column"
>
<span
class=
"star disable shopmember_{{shopMemberId}}"
onclick=
"Namecard.favoriteUserChange('{{shopMemberId}}', this)"
></span>
<span>
お気に入り登録
</span>
<span>
お気に入り登録
</span>
{{/isFavorite}}
</div>
</div>
</button>
</button>
{{/isFavorite}}
<button
type=
"button"
class=
"border-0"
onclick=
"Namecard.startVoice('{{shopMemberId}}','{{name}}');"
>
<button
type=
"button"
class=
"border-0"
onclick=
"Namecard.startVoice('{{shopMemberId}}','{{name}}');"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"d-flex flex-column"
>
<div
class=
"img_wrap"
>
<div
class=
"img_wrap"
>
...
...
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