@cmstops/pro-compo 0.1.2 → 0.1.3

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.
Files changed (58) hide show
  1. package/dist/index.css +115 -1
  2. package/dist/index.min.css +1 -1
  3. package/es/appCenter/component.js +1 -1
  4. package/es/appCenter/script/routeMap.d.ts +1 -1
  5. package/es/appCenter/style/index.css +1 -1
  6. package/es/appCenter/style/index.less +1 -1
  7. package/es/index.css +115 -1
  8. package/es/index.d.ts +2 -0
  9. package/es/index.js +2 -0
  10. package/es/index.less +2 -0
  11. package/es/messageBox/component.d.ts +0 -0
  12. package/es/messageBox/component.js +145 -0
  13. package/es/messageBox/index.d.ts +2 -0
  14. package/es/messageBox/index.js +7 -0
  15. package/es/messageBox/list.d.ts +0 -0
  16. package/es/messageBox/list.js +116 -0
  17. package/es/messageBox/script/api.d.ts +6 -0
  18. package/es/messageBox/script/api.js +16 -0
  19. package/es/messageBox/style/css.js +1 -0
  20. package/es/messageBox/style/index.css +64 -0
  21. package/es/messageBox/style/index.d.ts +1 -0
  22. package/es/messageBox/style/index.js +1 -0
  23. package/es/messageBox/style/index.less +71 -0
  24. package/es/userAvater/component.d.ts +0 -0
  25. package/es/userAvater/component.js +167 -0
  26. package/es/userAvater/index.d.ts +2 -0
  27. package/es/userAvater/index.js +7 -0
  28. package/es/userAvater/script/api.d.ts +8 -0
  29. package/es/userAvater/script/api.js +32 -0
  30. package/es/userAvater/style/css.js +1 -0
  31. package/es/userAvater/style/index.css +50 -0
  32. package/es/userAvater/style/index.d.ts +1 -0
  33. package/es/userAvater/style/index.js +1 -0
  34. package/es/userAvater/style/index.less +54 -0
  35. package/es/utils/request.js +3 -2
  36. package/lib/appCenter/component.js +1 -1
  37. package/lib/appCenter/style/index.css +1 -1
  38. package/lib/appCenter/style/index.less +1 -1
  39. package/lib/index.css +115 -1
  40. package/lib/index.js +4 -0
  41. package/lib/index.less +2 -0
  42. package/lib/messageBox/component.js +146 -0
  43. package/lib/messageBox/index.js +8 -0
  44. package/lib/messageBox/list.js +117 -0
  45. package/lib/messageBox/script/api.js +19 -0
  46. package/lib/messageBox/style/css.js +2 -0
  47. package/lib/messageBox/style/index.css +64 -0
  48. package/lib/messageBox/style/index.js +2 -0
  49. package/lib/messageBox/style/index.less +71 -0
  50. package/lib/userAvater/component.js +168 -0
  51. package/lib/userAvater/index.js +8 -0
  52. package/lib/userAvater/script/api.js +37 -0
  53. package/lib/userAvater/style/css.js +2 -0
  54. package/lib/userAvater/style/index.css +50 -0
  55. package/lib/userAvater/style/index.js +2 -0
  56. package/lib/userAvater/style/index.less +54 -0
  57. package/lib/utils/request.js +3 -2
  58. package/package.json +1 -1
@@ -0,0 +1,64 @@
1
+ .reference-btn {
2
+ border: none;
3
+ padding: 12px 16px;
4
+ border-radius: 4px;
5
+ color: #5f5f5f;
6
+ }
7
+ .message-boxs-popover {
8
+ width: 435px;
9
+ position: relative;
10
+ }
11
+ .message-boxs-popover .arco-tabs-content {
12
+ padding-top: 0;
13
+ }
14
+ .message-boxs-popover .msg-scroll-bar {
15
+ height: 80vh;
16
+ overflow-y: auto;
17
+ display: block;
18
+ }
19
+ .message-boxs-popover .message-list {
20
+ margin: 0;
21
+ padding: 0;
22
+ list-style: none;
23
+ }
24
+ .message-boxs-popover .message-item {
25
+ padding: 16px;
26
+ padding-bottom: 0px;
27
+ }
28
+ .message-boxs-popover .message-item:last-child .message-body {
29
+ border-bottom: none;
30
+ }
31
+ .message-boxs-popover .message-item .message-body {
32
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
33
+ padding-bottom: 16px;
34
+ }
35
+ .message-boxs-popover .message-item .message-body .media-message-content {
36
+ width: 100%;
37
+ }
38
+ .message-boxs-popover .message-item .message-body .media-message-content .message-content {
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: space-between;
42
+ font-size: 12px;
43
+ color: #4e5969;
44
+ margin-bottom: 18px;
45
+ }
46
+ .message-boxs-popover .message-item .message-body .media-message-content .message-info {
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: space-between;
50
+ color: #1d2129;
51
+ font-size: 14px;
52
+ line-height: 14px;
53
+ }
54
+ .message-boxs-popover .message-item .message-body .media-message-content .message-info .message-media-title {
55
+ overflow: hidden;
56
+ text-overflow: ellipsis;
57
+ white-space: nowrap;
58
+ }
59
+ .message-boxs-popover .message-item .message-body .media-message-content .message-info .message-media-title .icon {
60
+ margin-right: 4px;
61
+ }
62
+ .message-boxs-popover .message-item .message-body .media-message-content .message-info .message-media-title:hover {
63
+ text-decoration: underline;
64
+ }
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1 @@
1
+ import "./index.less";
@@ -0,0 +1,71 @@
1
+ .reference-btn {
2
+ border: none;
3
+ padding: 12px 16px;
4
+ border-radius: 4px;
5
+ color: #5f5f5f;
6
+ }
7
+
8
+ .message-boxs-popover {
9
+ width: 435px;
10
+ position: relative;
11
+ // padding: 10px;
12
+
13
+ .arco-tabs-content {
14
+ padding-top: 0;
15
+ }
16
+
17
+ .msg-scroll-bar {
18
+ height: 80vh;
19
+ overflow-y: auto;
20
+ display: block;
21
+ }
22
+
23
+ .message-list {
24
+ margin: 0;
25
+ padding: 0;
26
+ list-style: none;
27
+ }
28
+
29
+ .message-item {
30
+ padding: 16px;
31
+ padding-bottom: 0px;
32
+ &:last-child .message-body {
33
+ border-bottom: none;
34
+ }
35
+ .message-body {
36
+ border-bottom: 1px solid rgba(0,0,0,.05);
37
+ padding-bottom: 16px;
38
+
39
+ .media-message-content {
40
+ width: 100%;
41
+ .message-content {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: space-between;
45
+ font-size: 12px;
46
+ color: #4e5969;
47
+ margin-bottom: 18px;
48
+ }
49
+ .message-info {
50
+ display: flex;
51
+ align-items: center;
52
+ justify-content: space-between;
53
+ color: #1d2129;
54
+ font-size: 14px;
55
+ line-height: 14px;
56
+ .message-media-title {
57
+ overflow: hidden;
58
+ text-overflow: ellipsis;
59
+ white-space: nowrap;
60
+ .icon {
61
+ margin-right: 4px;
62
+ }
63
+ &:hover {
64
+ text-decoration: underline;
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
File without changes
@@ -0,0 +1,167 @@
1
+ import { defineComponent, useSlots, ref, onMounted, openBlock, createElementBlock, createBlock, unref, withCtx, createElementVNode, createVNode, withModifiers, toDisplayString, createCommentVNode, Fragment, renderList, createTextVNode, renderSlot } from "vue";
2
+ import { Popover, Avatar, Dropdown, Doption, Button } from "@arco-design/web-vue";
3
+ import { IconEdit } from "@arco-design/web-vue/es/icon";
4
+ import { getUserInfo, getUserDetails, accountLogout, domainSelect } from "./script/api.js";
5
+ const _hoisted_1 = { class: "user-avater-container" };
6
+ const _hoisted_2 = ["src"];
7
+ const _hoisted_3 = { key: 1 };
8
+ const _hoisted_4 = { class: "user-avater-content-info" };
9
+ const _hoisted_5 = { class: "avatar" };
10
+ const _hoisted_6 = ["src"];
11
+ const _hoisted_7 = { class: "nick-name" };
12
+ const _hoisted_8 = { class: "user-name" };
13
+ const _hoisted_9 = { class: "user-email" };
14
+ const _hoisted_10 = {
15
+ key: 0,
16
+ class: "org-alias"
17
+ };
18
+ const _hoisted_11 = { class: "b_info_bottom" };
19
+ const _sfc_main = defineComponent({
20
+ ...{ name: "userAvater" },
21
+ __name: "component",
22
+ props: {
23
+ BASE_API: {},
24
+ BASE_ACCOUNT_HOST: {},
25
+ userStore: {}
26
+ },
27
+ setup(__props) {
28
+ const props = __props;
29
+ const BASE_API = props.BASE_API || "https://site.cmstop.xyz";
30
+ const BASE_ACCOUNT_HOST = props.BASE_ACCOUNT_HOST || "https://account.cmstop.xyz";
31
+ const slotTest = !!useSlots().reference;
32
+ const userInfo = ref(null);
33
+ const loadUserInfo = async () => {
34
+ const res = await getUserInfo(BASE_API);
35
+ if (res.code === 0 && res.message) {
36
+ const userInfo2 = res.message;
37
+ getUserDomainsByDetail(userInfo2);
38
+ }
39
+ };
40
+ const getUserDomainsByDetail = async (_userInfo) => {
41
+ const res = await getUserDetails(BASE_API, {
42
+ id: _userInfo.id,
43
+ domainid: _userInfo.domain_id
44
+ });
45
+ if (res.code === 0 && res.message) {
46
+ _userInfo.domains = res.message.domains;
47
+ for (const k in _userInfo.domains) {
48
+ if (_userInfo.domains[k].id === _userInfo.domain_id) {
49
+ _userInfo.currentDomain = _userInfo.domains[k].alias;
50
+ }
51
+ }
52
+ userInfo.value = _userInfo;
53
+ }
54
+ };
55
+ const loginOut = async () => {
56
+ await accountLogout(BASE_ACCOUNT_HOST);
57
+ window.location.href = BASE_ACCOUNT_HOST;
58
+ };
59
+ const profile = () => {
60
+ window.open(`${BASE_API}/foowz/#/account`, "_blank");
61
+ };
62
+ const domainClick = async (item) => {
63
+ const res = await domainSelect(BASE_API, item.id);
64
+ if (res.code === 0 && res.message) {
65
+ window.location.href = res.message;
66
+ }
67
+ };
68
+ onMounted(() => {
69
+ if (props.userStore) {
70
+ userInfo.value = props.userStore;
71
+ getUserDomainsByDetail(userInfo.value);
72
+ } else {
73
+ loadUserInfo();
74
+ }
75
+ });
76
+ return (_ctx, _cache) => {
77
+ return openBlock(), createElementBlock("div", _hoisted_1, [
78
+ userInfo.value ? (openBlock(), createBlock(unref(Popover), {
79
+ key: 0,
80
+ trigger: "hover",
81
+ position: "bottom",
82
+ "arrow-style": { display: "none" },
83
+ "content-style": { padding: 0 }
84
+ }, {
85
+ content: withCtx(() => {
86
+ var _a;
87
+ return [
88
+ createElementVNode("div", _hoisted_4, [
89
+ createElementVNode("div", _hoisted_5, [
90
+ createVNode(unref(Avatar), {
91
+ "trigger-type": "mask",
92
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => profile(), ["stop"]))
93
+ }, {
94
+ "trigger-icon": withCtx(() => [
95
+ createVNode(unref(IconEdit))
96
+ ]),
97
+ default: withCtx(() => [
98
+ createElementVNode("img", {
99
+ alt: "avatar",
100
+ src: userInfo.value.avatar
101
+ }, null, 8, _hoisted_6)
102
+ ]),
103
+ _: 1
104
+ })
105
+ ]),
106
+ createElementVNode("div", _hoisted_7, toDisplayString(userInfo.value.alias || "\u6682\u65E0"), 1),
107
+ createElementVNode("div", _hoisted_8, toDisplayString(userInfo.value.name), 1),
108
+ createElementVNode("div", _hoisted_9, toDisplayString(userInfo.value.mail || "\u6682\u65E0\u90AE\u7BB1"), 1),
109
+ ((_a = userInfo.value.domains) == null ? void 0 : _a.length) === 1 && userInfo.value.currentDomain ? (openBlock(), createElementBlock("div", _hoisted_10, toDisplayString(userInfo.value.currentDomain), 1)) : createCommentVNode("v-if", true),
110
+ createVNode(unref(Dropdown), null, {
111
+ content: withCtx(() => [
112
+ (openBlock(true), createElementBlock(Fragment, null, renderList(userInfo.value.domains, (item, index) => {
113
+ return openBlock(), createBlock(unref(Doption), {
114
+ key: index,
115
+ onClick: withModifiers(($event) => domainClick(item), ["stop"])
116
+ }, {
117
+ default: withCtx(() => [
118
+ createTextVNode(toDisplayString(item.alias), 1)
119
+ ]),
120
+ _: 2
121
+ }, 1032, ["onClick"]);
122
+ }), 128))
123
+ ]),
124
+ default: withCtx(() => [
125
+ createVNode(unref(Button), { long: "" }, {
126
+ default: withCtx(() => [
127
+ createTextVNode(toDisplayString(userInfo.value.currentDomain), 1)
128
+ ]),
129
+ _: 1
130
+ })
131
+ ]),
132
+ _: 1
133
+ }),
134
+ createElementVNode("div", _hoisted_11, [
135
+ createVNode(unref(Button), {
136
+ long: "",
137
+ type: "text",
138
+ onClick: _cache[1] || (_cache[1] = ($event) => loginOut())
139
+ }, {
140
+ default: withCtx(() => [
141
+ createTextVNode("\u9000\u51FA")
142
+ ]),
143
+ _: 1
144
+ })
145
+ ])
146
+ ])
147
+ ];
148
+ }),
149
+ default: withCtx(() => [
150
+ slotTest ? renderSlot(_ctx.$slots, "reference", { key: 0 }) : (openBlock(), createBlock(unref(Avatar), { key: 1 }, {
151
+ default: withCtx(() => [
152
+ userInfo.value.avatar ? (openBlock(), createElementBlock("img", {
153
+ key: 0,
154
+ alt: "avatar",
155
+ src: userInfo.value.avatar
156
+ }, null, 8, _hoisted_2)) : (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(userInfo.value.name), 1))
157
+ ]),
158
+ _: 1
159
+ }))
160
+ ]),
161
+ _: 3
162
+ })) : createCommentVNode("v-if", true)
163
+ ]);
164
+ };
165
+ }
166
+ });
167
+ export { _sfc_main as default };
@@ -0,0 +1,2 @@
1
+ declare const userAvater: any;
2
+ export default userAvater;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./component.js";
2
+ const userAvater = Object.assign(_sfc_main, {
3
+ install: (app) => {
4
+ app.component(_sfc_main.name, _sfc_main);
5
+ }
6
+ });
7
+ export { userAvater as default };
@@ -0,0 +1,8 @@
1
+ interface Params {
2
+ [key: string]: any;
3
+ }
4
+ export declare function getUserInfo(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
5
+ export declare function getUserDetails(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
6
+ export declare function domainSelect(BASE_API: string, did: number): import("axios").AxiosPromise<any>;
7
+ export declare function accountLogout(BASE_API: string, params?: Params): import("axios").AxiosPromise<any>;
8
+ export {};
@@ -0,0 +1,32 @@
1
+ import request from "../../utils/request.js";
2
+ function getUserInfo(BASE_API, params) {
3
+ return request(BASE_API, {
4
+ url: "/poplar/v2/account/info",
5
+ method: "get",
6
+ params
7
+ });
8
+ }
9
+ function getUserDetails(BASE_API, params) {
10
+ return request(BASE_API, {
11
+ url: `/poplar/v2/account/detail`,
12
+ method: "get",
13
+ params
14
+ });
15
+ }
16
+ function domainSelect(BASE_API, did) {
17
+ return request(BASE_API, {
18
+ url: "/sandy/v1/account/domain/select",
19
+ method: "post",
20
+ data: {
21
+ domain_id: did
22
+ }
23
+ });
24
+ }
25
+ function accountLogout(BASE_API, params) {
26
+ return request(BASE_API, {
27
+ url: "/sandy/v1/account/logout",
28
+ method: "post",
29
+ params
30
+ });
31
+ }
32
+ export { accountLogout, domainSelect, getUserDetails, getUserInfo };
@@ -0,0 +1 @@
1
+ import "./index.css";
@@ -0,0 +1,50 @@
1
+ .user-avater-content-info {
2
+ width: 328px;
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+ padding: 24px;
8
+ padding-bottom: 0px;
9
+ line-height: 1;
10
+ }
11
+ .user-avater-content-info .avatar {
12
+ width: 74px;
13
+ height: 74px;
14
+ position: relative;
15
+ border-radius: 50%;
16
+ overflow: hidden;
17
+ margin-bottom: 10px;
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: center;
21
+ }
22
+ .user-avater-content-info .avatar .arco-avatar {
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+ .user-avater-content-info .nick-name {
27
+ font-size: 16px;
28
+ color: #1D2129;
29
+ font-weight: 500;
30
+ margin-bottom: 10px;
31
+ }
32
+ .user-avater-content-info .user-name,
33
+ .user-avater-content-info .user-email {
34
+ font-size: 14px;
35
+ color: #86909C;
36
+ margin-bottom: 10px;
37
+ }
38
+ .user-avater-content-info .org-alias {
39
+ border: 1px solid #EBEEF5;
40
+ padding: 10px 20px;
41
+ border-radius: 40px;
42
+ }
43
+ .user-avater-content-info .b_info_bottom {
44
+ height: 52px;
45
+ padding: 10px 16px;
46
+ width: 100%;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ }
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1 @@
1
+ import "./index.less";
@@ -0,0 +1,54 @@
1
+ .user-avater-container {
2
+
3
+ }
4
+
5
+ .user-avater-content-info {
6
+ width: 328px;
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: center;
10
+ justify-content: center;
11
+ padding: 24px;
12
+ padding-bottom: 0px;
13
+ line-height: 1;
14
+ .avatar {
15
+ width: 74px;
16
+ height: 74px;
17
+ position: relative;
18
+ border-radius: 50%;
19
+ overflow: hidden;
20
+ margin-bottom: 10px;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ .arco-avatar {
25
+ width: 100%;
26
+ height: 100%;
27
+ }
28
+ }
29
+ .nick-name {
30
+ font-size: 16px;
31
+ color: #1D2129;
32
+ font-weight: 500;
33
+ margin-bottom: 10px;
34
+ }
35
+ .user-name,
36
+ .user-email {
37
+ font-size: 14px;
38
+ color: #86909C;
39
+ margin-bottom: 10px;
40
+ }
41
+ .org-alias {
42
+ border: 1px solid #EBEEF5;
43
+ padding: 10px 20px;
44
+ border-radius: 40px;
45
+ }
46
+ .b_info_bottom {
47
+ height: 52px;
48
+ padding: 10px 16px;
49
+ width: 100%;
50
+ display: flex;
51
+ align-items: center;
52
+ justify-content: center;
53
+ }
54
+ }
@@ -9,7 +9,7 @@ function request(BASE_API, options) {
9
9
  service.interceptors.request.use(
10
10
  (config) => {
11
11
  if (getToken()) {
12
- config.headers.Authorization = `Bearer ${getToken()}`;
12
+ config.headers["Authorization"] = `Bearer ${getToken()}`;
13
13
  }
14
14
  return config;
15
15
  },
@@ -23,8 +23,9 @@ function request(BASE_API, options) {
23
23
  const res = response.data;
24
24
  if (res.code !== 0) {
25
25
  return Promise.reject(new Error(res.message || "Error"));
26
+ } else {
27
+ return res;
26
28
  }
27
- return res;
28
29
  },
29
30
  (error) => {
30
31
  console.log("err" + error);
@@ -10,7 +10,7 @@ const _hoisted_1 = {
10
10
  key: 1,
11
11
  class: "reference-btn"
12
12
  };
13
- const _hoisted_2 = { class: "app-list-wrap apps-popover" };
13
+ const _hoisted_2 = { class: "apps-box-popover" };
14
14
  const _hoisted_3 = {
15
15
  key: 0,
16
16
  class: "app-title"
@@ -4,7 +4,7 @@
4
4
  border-radius: 4px;
5
5
  color: #5f5f5f;
6
6
  }
7
- .app-list-wrap {
7
+ .apps-box-popover {
8
8
  position: relative;
9
9
  padding: 10px;
10
10
  }
@@ -4,7 +4,7 @@
4
4
  border-radius: 4px;
5
5
  color: #5f5f5f;
6
6
  }
7
- .app-list-wrap {
7
+ .apps-box-popover {
8
8
  position: relative;
9
9
  padding: 10px;
10
10
  }
package/lib/index.css CHANGED
@@ -8,7 +8,7 @@
8
8
  border-radius: 4px;
9
9
  color: #5f5f5f;
10
10
  }
11
- .app-list-wrap {
11
+ .apps-box-popover {
12
12
  position: relative;
13
13
  padding: 10px;
14
14
  }
@@ -92,3 +92,117 @@
92
92
  top: 2px;
93
93
  right: 4px;
94
94
  }
95
+ .reference-btn {
96
+ border: none;
97
+ padding: 12px 16px;
98
+ border-radius: 4px;
99
+ color: #5f5f5f;
100
+ }
101
+ .message-boxs-popover {
102
+ width: 435px;
103
+ position: relative;
104
+ }
105
+ .message-boxs-popover .arco-tabs-content {
106
+ padding-top: 0;
107
+ }
108
+ .message-boxs-popover .msg-scroll-bar {
109
+ height: 80vh;
110
+ overflow-y: auto;
111
+ display: block;
112
+ }
113
+ .message-boxs-popover .message-list {
114
+ margin: 0;
115
+ padding: 0;
116
+ list-style: none;
117
+ }
118
+ .message-boxs-popover .message-item {
119
+ padding: 16px;
120
+ padding-bottom: 0px;
121
+ }
122
+ .message-boxs-popover .message-item:last-child .message-body {
123
+ border-bottom: none;
124
+ }
125
+ .message-boxs-popover .message-item .message-body {
126
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
127
+ padding-bottom: 16px;
128
+ }
129
+ .message-boxs-popover .message-item .message-body .media-message-content {
130
+ width: 100%;
131
+ }
132
+ .message-boxs-popover .message-item .message-body .media-message-content .message-content {
133
+ display: flex;
134
+ align-items: center;
135
+ justify-content: space-between;
136
+ font-size: 12px;
137
+ color: #4e5969;
138
+ margin-bottom: 18px;
139
+ }
140
+ .message-boxs-popover .message-item .message-body .media-message-content .message-info {
141
+ display: flex;
142
+ align-items: center;
143
+ justify-content: space-between;
144
+ color: #1d2129;
145
+ font-size: 14px;
146
+ line-height: 14px;
147
+ }
148
+ .message-boxs-popover .message-item .message-body .media-message-content .message-info .message-media-title {
149
+ overflow: hidden;
150
+ text-overflow: ellipsis;
151
+ white-space: nowrap;
152
+ }
153
+ .message-boxs-popover .message-item .message-body .media-message-content .message-info .message-media-title .icon {
154
+ margin-right: 4px;
155
+ }
156
+ .message-boxs-popover .message-item .message-body .media-message-content .message-info .message-media-title:hover {
157
+ text-decoration: underline;
158
+ }
159
+ .user-avater-content-info {
160
+ width: 328px;
161
+ display: flex;
162
+ flex-direction: column;
163
+ align-items: center;
164
+ justify-content: center;
165
+ padding: 24px;
166
+ padding-bottom: 0px;
167
+ line-height: 1;
168
+ }
169
+ .user-avater-content-info .avatar {
170
+ width: 74px;
171
+ height: 74px;
172
+ position: relative;
173
+ border-radius: 50%;
174
+ overflow: hidden;
175
+ margin-bottom: 10px;
176
+ display: flex;
177
+ align-items: center;
178
+ justify-content: center;
179
+ }
180
+ .user-avater-content-info .avatar .arco-avatar {
181
+ width: 100%;
182
+ height: 100%;
183
+ }
184
+ .user-avater-content-info .nick-name {
185
+ font-size: 16px;
186
+ color: #1D2129;
187
+ font-weight: 500;
188
+ margin-bottom: 10px;
189
+ }
190
+ .user-avater-content-info .user-name,
191
+ .user-avater-content-info .user-email {
192
+ font-size: 14px;
193
+ color: #86909C;
194
+ margin-bottom: 10px;
195
+ }
196
+ .user-avater-content-info .org-alias {
197
+ border: 1px solid #EBEEF5;
198
+ padding: 10px 20px;
199
+ border-radius: 40px;
200
+ }
201
+ .user-avater-content-info .b_info_bottom {
202
+ height: 52px;
203
+ padding: 10px 16px;
204
+ width: 100%;
205
+ display: flex;
206
+ align-items: center;
207
+ justify-content: center;
208
+ }
package/lib/index.js CHANGED
@@ -3,6 +3,10 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  var components = require("./components.js");
4
4
  var index = require("./button/index.js");
5
5
  var index$1 = require("./appCenter/index.js");
6
+ var index$2 = require("./messageBox/index.js");
7
+ var index$3 = require("./userAvater/index.js");
6
8
  exports["default"] = components;
7
9
  exports.button = index;
8
10
  exports.appCenter = index$1;
11
+ exports.messageBox = index$2;
12
+ exports.userAvater = index$3;
package/lib/index.less CHANGED
@@ -1,3 +1,5 @@
1
1
  @import './style/index.less';
2
2
  @import './button/style/index.less';
3
3
  @import './appCenter/style/index.less';
4
+ @import './messageBox/style/index.less';
5
+ @import './userAvater/style/index.less';