whyuzeim 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/GroupDetail/index.js
CHANGED
|
@@ -23,7 +23,8 @@ var GroupDetail = function GroupDetail(props) {
|
|
|
23
23
|
var _useContext = React.useContext(context.Context),
|
|
24
24
|
http = _useContext.http,
|
|
25
25
|
mobile = _useContext.mobile,
|
|
26
|
-
setRightComponent = _useContext.setRightComponent
|
|
26
|
+
setRightComponent = _useContext.setRightComponent,
|
|
27
|
+
renderMidComponent = _useContext.renderMidComponent;
|
|
27
28
|
var _useState = React.useState(false),
|
|
28
29
|
_useState2 = _slicedToArray(_useState, 2),
|
|
29
30
|
isEdit = _useState2[0],
|
|
@@ -217,6 +218,7 @@ var GroupDetail = function GroupDetail(props) {
|
|
|
217
218
|
roletype: item.roletype,
|
|
218
219
|
groupRoleType: groupInfo === null || groupInfo === void 0 ? void 0 : groupInfo.roletype,
|
|
219
220
|
onClick: function onClick() {
|
|
221
|
+
renderMidComponent && renderMidComponent();
|
|
220
222
|
setCurrentConversation({
|
|
221
223
|
conversationId: item.userid,
|
|
222
224
|
chatType: "singleChat",
|
package/cjs/IM/style/index.scss
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
--im-group-join-cancel-line: rgba(0, 0, 0 0.9);
|
|
23
23
|
|
|
24
24
|
//override
|
|
25
|
-
--im-msg-bubble-color-left:
|
|
26
|
-
--im-msg-bubble-color-right: rgba(
|
|
25
|
+
--im-msg-bubble-color-left: #9cff1e;
|
|
26
|
+
--im-msg-bubble-color-right: rgba(0, 0, 0, 0.05);
|
|
27
27
|
--im-msg-bubble-font-color: rgba(0, 0, 0, 0.7);
|
|
28
28
|
|
|
29
29
|
--im-border-10: rgba(0, 0, 0, 0.1);
|
|
@@ -38,8 +38,6 @@
|
|
|
38
38
|
.ant-select-dropdown {
|
|
39
39
|
background-color: var(--im-main-backgroundColor);
|
|
40
40
|
}
|
|
41
|
-
height: 100vh;
|
|
42
|
-
overflow: auto;
|
|
43
41
|
}
|
|
44
42
|
.im-dark {
|
|
45
43
|
--im-main-backgroundColor: #1e2329;
|
|
@@ -92,9 +90,6 @@
|
|
|
92
90
|
}
|
|
93
91
|
|
|
94
92
|
--im-border-10: rgba(255, 255, 255, 0.1);
|
|
95
|
-
|
|
96
|
-
height: 100vh;
|
|
97
|
-
overflow: auto;
|
|
98
93
|
}
|
|
99
94
|
|
|
100
95
|
.cui-message-base-right {
|
package/es/GroupDetail/index.js
CHANGED
|
@@ -21,7 +21,8 @@ var GroupDetail = function GroupDetail(props) {
|
|
|
21
21
|
var _useContext = useContext(Context),
|
|
22
22
|
http = _useContext.http,
|
|
23
23
|
mobile = _useContext.mobile,
|
|
24
|
-
setRightComponent = _useContext.setRightComponent
|
|
24
|
+
setRightComponent = _useContext.setRightComponent,
|
|
25
|
+
renderMidComponent = _useContext.renderMidComponent;
|
|
25
26
|
var _useState = useState(false),
|
|
26
27
|
_useState2 = _slicedToArray(_useState, 2),
|
|
27
28
|
isEdit = _useState2[0],
|
|
@@ -215,6 +216,7 @@ var GroupDetail = function GroupDetail(props) {
|
|
|
215
216
|
roletype: item.roletype,
|
|
216
217
|
groupRoleType: groupInfo === null || groupInfo === void 0 ? void 0 : groupInfo.roletype,
|
|
217
218
|
onClick: function onClick() {
|
|
219
|
+
renderMidComponent && renderMidComponent();
|
|
218
220
|
setCurrentConversation({
|
|
219
221
|
conversationId: item.userid,
|
|
220
222
|
chatType: "singleChat",
|
package/es/IM/style/index.scss
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
--im-group-join-cancel-line: rgba(0, 0, 0 0.9);
|
|
23
23
|
|
|
24
24
|
//override
|
|
25
|
-
--im-msg-bubble-color-left:
|
|
26
|
-
--im-msg-bubble-color-right: rgba(
|
|
25
|
+
--im-msg-bubble-color-left: #9cff1e;
|
|
26
|
+
--im-msg-bubble-color-right: rgba(0, 0, 0, 0.05);
|
|
27
27
|
--im-msg-bubble-font-color: rgba(0, 0, 0, 0.7);
|
|
28
28
|
|
|
29
29
|
--im-border-10: rgba(0, 0, 0, 0.1);
|
|
@@ -38,8 +38,6 @@
|
|
|
38
38
|
.ant-select-dropdown {
|
|
39
39
|
background-color: var(--im-main-backgroundColor);
|
|
40
40
|
}
|
|
41
|
-
height: 100vh;
|
|
42
|
-
overflow: auto;
|
|
43
41
|
}
|
|
44
42
|
.im-dark {
|
|
45
43
|
--im-main-backgroundColor: #1e2329;
|
|
@@ -92,9 +90,6 @@
|
|
|
92
90
|
}
|
|
93
91
|
|
|
94
92
|
--im-border-10: rgba(255, 255, 255, 0.1);
|
|
95
|
-
|
|
96
|
-
height: 100vh;
|
|
97
|
-
overflow: auto;
|
|
98
93
|
}
|
|
99
94
|
|
|
100
95
|
.cui-message-base-right {
|