@cmstops/pro-compo 0.1.72 → 0.1.73
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/dist/index.css +40 -3
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/components/Records/MatrixItem/index.js +70 -45
- package/es/contentDetailList/style/MatrixItem.less +51 -7
- package/es/contentDetailList/style/index.css +40 -3
- package/es/index.css +40 -3
- package/es/utils/typeMap.d.ts +2 -0
- package/es/utils/typeMap.js +3 -1
- package/lib/contentDetailList/components/Records/MatrixItem/index.js +69 -44
- package/lib/contentDetailList/style/MatrixItem.less +51 -7
- package/lib/contentDetailList/style/index.css +40 -3
- package/lib/index.css +40 -3
- package/lib/utils/typeMap.js +3 -1
- package/package.json +1 -1
|
@@ -35,6 +35,12 @@
|
|
|
35
35
|
height: 100%;
|
|
36
36
|
color: white;
|
|
37
37
|
font-size: 30px;
|
|
38
|
+
|
|
39
|
+
&.weixin {
|
|
40
|
+
font-size: 20px;
|
|
41
|
+
background: #89be89;
|
|
42
|
+
border-radius: 6px;
|
|
43
|
+
}
|
|
38
44
|
}
|
|
39
45
|
}
|
|
40
46
|
|
|
@@ -93,11 +99,25 @@
|
|
|
93
99
|
.account {
|
|
94
100
|
margin-left: 10px;
|
|
95
101
|
|
|
96
|
-
.avatar {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
.avatar-v {
|
|
103
|
+
position: relative;
|
|
104
|
+
|
|
105
|
+
.avatar {
|
|
106
|
+
width: 25px;
|
|
107
|
+
height: 25px;
|
|
108
|
+
margin-right: 10px;
|
|
109
|
+
border-radius: 50%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.pla-icon {
|
|
113
|
+
position: absolute;
|
|
114
|
+
right: -5px;
|
|
115
|
+
bottom: 1px;
|
|
116
|
+
width: 12px;
|
|
117
|
+
height: 12px;
|
|
118
|
+
margin-right: 10px;
|
|
119
|
+
border-radius: 50%;
|
|
120
|
+
}
|
|
101
121
|
|
|
102
122
|
img {
|
|
103
123
|
width: 100%;
|
|
@@ -117,18 +137,42 @@
|
|
|
117
137
|
content: '';
|
|
118
138
|
}
|
|
119
139
|
|
|
140
|
+
&.p-state-1 {
|
|
141
|
+
// 处理中
|
|
142
|
+
color: rgb(var(--primary-6));
|
|
143
|
+
}
|
|
144
|
+
|
|
120
145
|
&.p-state-2 {
|
|
121
146
|
// 成功
|
|
122
147
|
color: #4caf50;
|
|
123
148
|
}
|
|
124
149
|
|
|
150
|
+
&.p-state-3,
|
|
151
|
+
&.p-state-4 {
|
|
152
|
+
// 审核
|
|
153
|
+
color: #ff9800;
|
|
154
|
+
}
|
|
155
|
+
|
|
125
156
|
&.m-state-0 {
|
|
126
157
|
// 成功
|
|
127
158
|
color: #4caf50;
|
|
128
159
|
}
|
|
129
160
|
|
|
130
|
-
&.m-state
|
|
131
|
-
|
|
161
|
+
&.m-state--1,
|
|
162
|
+
&.m-state-1,
|
|
163
|
+
&.m-state-2,
|
|
164
|
+
&.m-state-3,
|
|
165
|
+
&.m-state-4,
|
|
166
|
+
&.m-state-5,
|
|
167
|
+
&.m-state-6,
|
|
168
|
+
&.m-state-7,
|
|
169
|
+
&.m-state-8,
|
|
170
|
+
&.m-state-9,
|
|
171
|
+
&.m-state-10,
|
|
172
|
+
&.m-state-11,
|
|
173
|
+
&.m-state-12,
|
|
174
|
+
&.m-state-13 {
|
|
175
|
+
// 异常
|
|
132
176
|
color: #ff9800;
|
|
133
177
|
}
|
|
134
178
|
}
|
|
@@ -968,6 +968,11 @@
|
|
|
968
968
|
color: white;
|
|
969
969
|
font-size: 30px;
|
|
970
970
|
}
|
|
971
|
+
.matrix-records-item-view .cover-view .no-img.weixin {
|
|
972
|
+
font-size: 20px;
|
|
973
|
+
background: #89be89;
|
|
974
|
+
border-radius: 6px;
|
|
975
|
+
}
|
|
971
976
|
.matrix-records-item-view .info-view {
|
|
972
977
|
display: flex;
|
|
973
978
|
flex: 1;
|
|
@@ -1019,13 +1024,25 @@
|
|
|
1019
1024
|
.matrix-records-item-view .info-view .abttrite-v .left .account {
|
|
1020
1025
|
margin-left: 10px;
|
|
1021
1026
|
}
|
|
1022
|
-
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar {
|
|
1027
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v {
|
|
1028
|
+
position: relative;
|
|
1029
|
+
}
|
|
1030
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v .avatar {
|
|
1023
1031
|
width: 25px;
|
|
1024
1032
|
height: 25px;
|
|
1025
1033
|
margin-right: 10px;
|
|
1026
1034
|
border-radius: 50%;
|
|
1027
1035
|
}
|
|
1028
|
-
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar
|
|
1036
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v .pla-icon {
|
|
1037
|
+
position: absolute;
|
|
1038
|
+
right: -5px;
|
|
1039
|
+
bottom: 1px;
|
|
1040
|
+
width: 12px;
|
|
1041
|
+
height: 12px;
|
|
1042
|
+
margin-right: 10px;
|
|
1043
|
+
border-radius: 50%;
|
|
1044
|
+
}
|
|
1045
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v img {
|
|
1029
1046
|
width: 100%;
|
|
1030
1047
|
height: 100%;
|
|
1031
1048
|
}
|
|
@@ -1038,13 +1055,33 @@
|
|
|
1038
1055
|
border-radius: 50%;
|
|
1039
1056
|
content: '';
|
|
1040
1057
|
}
|
|
1058
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-1 {
|
|
1059
|
+
color: rgb(var(--primary-6));
|
|
1060
|
+
}
|
|
1041
1061
|
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-2 {
|
|
1042
1062
|
color: #4caf50;
|
|
1043
1063
|
}
|
|
1064
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-3,
|
|
1065
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-4 {
|
|
1066
|
+
color: #ff9800;
|
|
1067
|
+
}
|
|
1044
1068
|
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-0 {
|
|
1045
1069
|
color: #4caf50;
|
|
1046
1070
|
}
|
|
1047
|
-
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state
|
|
1071
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state--1,
|
|
1072
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-1,
|
|
1073
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-2,
|
|
1074
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-3,
|
|
1075
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-4,
|
|
1076
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-5,
|
|
1077
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-6,
|
|
1078
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-7,
|
|
1079
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-8,
|
|
1080
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-9,
|
|
1081
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-10,
|
|
1082
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-11,
|
|
1083
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-12,
|
|
1084
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-13 {
|
|
1048
1085
|
color: #ff9800;
|
|
1049
1086
|
}
|
|
1050
1087
|
.matrix-records-item-view .info-view .abttrite-v .right {
|
package/es/index.css
CHANGED
|
@@ -2991,6 +2991,11 @@
|
|
|
2991
2991
|
color: white;
|
|
2992
2992
|
font-size: 30px;
|
|
2993
2993
|
}
|
|
2994
|
+
.matrix-records-item-view .cover-view .no-img.weixin {
|
|
2995
|
+
font-size: 20px;
|
|
2996
|
+
background: #89be89;
|
|
2997
|
+
border-radius: 6px;
|
|
2998
|
+
}
|
|
2994
2999
|
.matrix-records-item-view .info-view {
|
|
2995
3000
|
display: flex;
|
|
2996
3001
|
flex: 1;
|
|
@@ -3042,13 +3047,25 @@
|
|
|
3042
3047
|
.matrix-records-item-view .info-view .abttrite-v .left .account {
|
|
3043
3048
|
margin-left: 10px;
|
|
3044
3049
|
}
|
|
3045
|
-
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar {
|
|
3050
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v {
|
|
3051
|
+
position: relative;
|
|
3052
|
+
}
|
|
3053
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v .avatar {
|
|
3046
3054
|
width: 25px;
|
|
3047
3055
|
height: 25px;
|
|
3048
3056
|
margin-right: 10px;
|
|
3049
3057
|
border-radius: 50%;
|
|
3050
3058
|
}
|
|
3051
|
-
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar
|
|
3059
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v .pla-icon {
|
|
3060
|
+
position: absolute;
|
|
3061
|
+
right: -5px;
|
|
3062
|
+
bottom: 1px;
|
|
3063
|
+
width: 12px;
|
|
3064
|
+
height: 12px;
|
|
3065
|
+
margin-right: 10px;
|
|
3066
|
+
border-radius: 50%;
|
|
3067
|
+
}
|
|
3068
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v img {
|
|
3052
3069
|
width: 100%;
|
|
3053
3070
|
height: 100%;
|
|
3054
3071
|
}
|
|
@@ -3061,13 +3078,33 @@
|
|
|
3061
3078
|
border-radius: 50%;
|
|
3062
3079
|
content: '';
|
|
3063
3080
|
}
|
|
3081
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-1 {
|
|
3082
|
+
color: rgb(var(--primary-6));
|
|
3083
|
+
}
|
|
3064
3084
|
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-2 {
|
|
3065
3085
|
color: #4caf50;
|
|
3066
3086
|
}
|
|
3087
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-3,
|
|
3088
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-4 {
|
|
3089
|
+
color: #ff9800;
|
|
3090
|
+
}
|
|
3067
3091
|
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-0 {
|
|
3068
3092
|
color: #4caf50;
|
|
3069
3093
|
}
|
|
3070
|
-
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state
|
|
3094
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state--1,
|
|
3095
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-1,
|
|
3096
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-2,
|
|
3097
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-3,
|
|
3098
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-4,
|
|
3099
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-5,
|
|
3100
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-6,
|
|
3101
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-7,
|
|
3102
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-8,
|
|
3103
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-9,
|
|
3104
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-10,
|
|
3105
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-11,
|
|
3106
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-12,
|
|
3107
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-13 {
|
|
3071
3108
|
color: #ff9800;
|
|
3072
3109
|
}
|
|
3073
3110
|
.matrix-records-item-view .info-view .abttrite-v .right {
|
package/es/utils/typeMap.d.ts
CHANGED
|
@@ -142,10 +142,12 @@ export declare const local_live_doc_status: {
|
|
|
142
142
|
bgColor: string;
|
|
143
143
|
}[];
|
|
144
144
|
export declare const matrixPublishStateMap: {
|
|
145
|
+
'-1': string;
|
|
145
146
|
0: string;
|
|
146
147
|
1: string;
|
|
147
148
|
2: string;
|
|
148
149
|
3: string;
|
|
150
|
+
4: string;
|
|
149
151
|
};
|
|
150
152
|
export declare const matrixPublishFormalStateMap: {
|
|
151
153
|
'-1': string;
|
package/es/utils/typeMap.js
CHANGED
|
@@ -137,10 +137,12 @@ const local_live_doc_status = [
|
|
|
137
137
|
{ value: 2, label: "\u5DF2\u7ED3\u675F", bgColor: "rgba(0, 0, 0, 0.6)" }
|
|
138
138
|
];
|
|
139
139
|
const matrixPublishStateMap = {
|
|
140
|
+
"-1": "\u5F85\u83B7\u53D6\u72B6\u6001",
|
|
140
141
|
0: "\u5F85\u53D1\u5E03",
|
|
141
142
|
1: "\u53D1\u5E03\u4E2D",
|
|
142
143
|
2: "\u53D1\u5E03\u6210\u529F",
|
|
143
|
-
3: "\u53D1\u5E03\u5931\u8D25"
|
|
144
|
+
3: "\u53D1\u5E03\u5931\u8D25",
|
|
145
|
+
4: "\u53D1\u5E03\u5931\u8D25"
|
|
144
146
|
};
|
|
145
147
|
const matrixPublishFormalStateMap = {
|
|
146
148
|
"-1": "\u5F85\u83B7\u53D6\u72B6\u6001",
|
|
@@ -8,20 +8,25 @@ var typeMap = require("../../../../utils/typeMap.js");
|
|
|
8
8
|
const _hoisted_1 = { class: "cover-view" };
|
|
9
9
|
const _hoisted_2 = {
|
|
10
10
|
key: 1,
|
|
11
|
+
class: "no-img weixin"
|
|
12
|
+
};
|
|
13
|
+
const _hoisted_3 = {
|
|
14
|
+
key: 2,
|
|
11
15
|
class: "no-img"
|
|
12
16
|
};
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
17
|
+
const _hoisted_4 = { class: "batch-select" };
|
|
18
|
+
const _hoisted_5 = { class: "info-view" };
|
|
19
|
+
const _hoisted_6 = { class: "title_i" };
|
|
20
|
+
const _hoisted_7 = { class: "abttrite-v" };
|
|
21
|
+
const _hoisted_8 = { class: "left" };
|
|
22
|
+
const _hoisted_9 = { class: "abttr tags account" };
|
|
23
|
+
const _hoisted_10 = { class: "avatar-v" };
|
|
24
|
+
const _hoisted_11 = { class: "name" };
|
|
25
|
+
const _hoisted_12 = { key: 1 };
|
|
26
|
+
const _hoisted_13 = { class: "abttr tags user" };
|
|
27
|
+
const _hoisted_14 = { class: "abttr time" };
|
|
28
|
+
const _hoisted_15 = { class: "abttr time" };
|
|
29
|
+
const _hoisted_16 = { class: "right" };
|
|
25
30
|
const _sfc_main = vue.defineComponent({
|
|
26
31
|
__name: "index",
|
|
27
32
|
props: {
|
|
@@ -33,15 +38,28 @@ const _sfc_main = vue.defineComponent({
|
|
|
33
38
|
const props = __props;
|
|
34
39
|
const emit = __emit;
|
|
35
40
|
const { matrix } = props.extraAttrs || {};
|
|
36
|
-
const { getPlatformInfoById
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
const { getPlatformInfoById } = matrix || {};
|
|
42
|
+
const cover = vue.computed(() => {
|
|
43
|
+
if (props.item.cover) {
|
|
44
|
+
return props.item.cover;
|
|
45
|
+
}
|
|
46
|
+
if (props.item.payload) {
|
|
47
|
+
const _payload = JSON.parse(props.item.payload);
|
|
48
|
+
if (_payload[0] && _payload[0].covers.length) {
|
|
49
|
+
return _payload[0].covers[0];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return "";
|
|
44
53
|
});
|
|
54
|
+
const setAvatar = (account) => {
|
|
55
|
+
if (!account.avatar) {
|
|
56
|
+
return platformInfo.value.pfIcon;
|
|
57
|
+
}
|
|
58
|
+
if (props.item.platformId === 15) {
|
|
59
|
+
return platformInfo.value.pfIcon;
|
|
60
|
+
}
|
|
61
|
+
return account.avatar;
|
|
62
|
+
};
|
|
45
63
|
const platformInfo = vue.computed(() => {
|
|
46
64
|
return getPlatformInfoById(props.item.platformId);
|
|
47
65
|
});
|
|
@@ -67,62 +85,69 @@ const _sfc_main = vue.defineComponent({
|
|
|
67
85
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, _ctx.item))
|
|
68
86
|
}, [
|
|
69
87
|
vue.createElementVNode("div", _hoisted_1, [
|
|
70
|
-
|
|
88
|
+
cover.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
71
89
|
key: 0,
|
|
72
|
-
src:
|
|
90
|
+
src: cover.value,
|
|
73
91
|
preview: false,
|
|
74
92
|
fit: "cover",
|
|
75
93
|
class: "image"
|
|
76
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
|
|
77
|
-
vue.createElementVNode("div",
|
|
94
|
+
}, null, 8, ["src"])) : _ctx.item.platformId === 20 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, "\u5FAE\u4FE1\u7EC4\u7A3F")) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3, vue.toDisplayString(vue.unref(index.noCoverText)(_ctx.item)), 1)),
|
|
95
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
78
96
|
vue.renderSlot(_ctx.$slots, "batch", { row: _ctx.item })
|
|
79
97
|
])
|
|
80
98
|
]),
|
|
81
|
-
vue.createElementVNode("div",
|
|
99
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
82
100
|
vue.createElementVNode("div", {
|
|
83
101
|
class: "title",
|
|
84
102
|
onClick: clickTitle
|
|
85
103
|
}, [
|
|
86
104
|
vue.renderSlot(_ctx.$slots, "index"),
|
|
87
|
-
vue.createElementVNode("span",
|
|
105
|
+
vue.createElementVNode("span", _hoisted_6, vue.toDisplayString(_ctx.item.alias || _ctx.item.title || `\u5206\u53D1\u8BB0\u5F55${new Date().getTime()}`), 1)
|
|
88
106
|
]),
|
|
89
|
-
vue.createElementVNode("div",
|
|
90
|
-
vue.createElementVNode("div",
|
|
107
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
108
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
91
109
|
vue.createVNode(component, {
|
|
92
110
|
class: "icon",
|
|
93
111
|
doc: true,
|
|
94
112
|
type: docTypeMap[_ctx.item.contentType]
|
|
95
113
|
}, null, 8, ["type"]),
|
|
96
114
|
vue.renderSlot(_ctx.$slots, "tip"),
|
|
97
|
-
vue.createElementVNode("span",
|
|
98
|
-
account
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
115
|
+
vue.createElementVNode("span", _hoisted_9, [
|
|
116
|
+
_ctx.item.account ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
117
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
118
|
+
vue.createVNode(vue.unref(webVue.Image), {
|
|
119
|
+
class: "avatar",
|
|
120
|
+
src: setAvatar(_ctx.item.account),
|
|
121
|
+
preview: false,
|
|
122
|
+
fit: "cover"
|
|
123
|
+
}, null, 8, ["src"]),
|
|
124
|
+
vue.createVNode(vue.unref(webVue.Image), {
|
|
125
|
+
class: "pla-icon",
|
|
126
|
+
src: platformInfo.value.pfIcon,
|
|
127
|
+
preview: false,
|
|
128
|
+
fit: "cover"
|
|
129
|
+
}, null, 8, ["src"])
|
|
130
|
+
]),
|
|
131
|
+
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(_ctx.item.account.name || `\u7528\u6237${new Date().getTime()}`), 1)
|
|
132
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, "--"))
|
|
108
133
|
]),
|
|
109
134
|
vue.createElementVNode("span", {
|
|
110
135
|
class: vue.normalizeClass(["abttr tags state", [`p-state-${_ctx.item.publishState}`]])
|
|
111
136
|
}, vue.toDisplayString(vue.unref(typeMap.matrixPublishStateMap)[_ctx.item.publishState]), 3),
|
|
112
|
-
vue.createElementVNode("span",
|
|
113
|
-
vue.createElementVNode("span",
|
|
137
|
+
vue.createElementVNode("span", _hoisted_13, vue.toDisplayString(((_a = _ctx.item.user) == null ? void 0 : _a.alias) || "--"), 1),
|
|
138
|
+
vue.createElementVNode("span", _hoisted_14, [
|
|
114
139
|
vue.createVNode(vue.unref(icon.IconSubscribed)),
|
|
115
|
-
vue.createTextVNode(" \u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.publishTime)), 1)
|
|
140
|
+
vue.createTextVNode(" \u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.publishTime || _ctx.item.updatedAt)), 1)
|
|
116
141
|
]),
|
|
117
142
|
vue.createElementVNode("span", {
|
|
118
143
|
class: vue.normalizeClass(["abttr tags state", [`m-state-${_ctx.item.platformState}`]])
|
|
119
144
|
}, vue.toDisplayString(vue.unref(typeMap.matrixPublishFormalStateMap)[_ctx.item.platformState]), 3),
|
|
120
|
-
vue.createElementVNode("span",
|
|
145
|
+
vue.createElementVNode("span", _hoisted_15, [
|
|
121
146
|
vue.createVNode(vue.unref(icon.IconSend)),
|
|
122
147
|
vue.createTextVNode(" \u5206\u53D1\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.distributeTime)), 1)
|
|
123
148
|
])
|
|
124
149
|
]),
|
|
125
|
-
vue.createElementVNode("div",
|
|
150
|
+
vue.createElementVNode("div", _hoisted_16, [
|
|
126
151
|
vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
127
152
|
])
|
|
128
153
|
])
|
|
@@ -35,6 +35,12 @@
|
|
|
35
35
|
height: 100%;
|
|
36
36
|
color: white;
|
|
37
37
|
font-size: 30px;
|
|
38
|
+
|
|
39
|
+
&.weixin {
|
|
40
|
+
font-size: 20px;
|
|
41
|
+
background: #89be89;
|
|
42
|
+
border-radius: 6px;
|
|
43
|
+
}
|
|
38
44
|
}
|
|
39
45
|
}
|
|
40
46
|
|
|
@@ -93,11 +99,25 @@
|
|
|
93
99
|
.account {
|
|
94
100
|
margin-left: 10px;
|
|
95
101
|
|
|
96
|
-
.avatar {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
.avatar-v {
|
|
103
|
+
position: relative;
|
|
104
|
+
|
|
105
|
+
.avatar {
|
|
106
|
+
width: 25px;
|
|
107
|
+
height: 25px;
|
|
108
|
+
margin-right: 10px;
|
|
109
|
+
border-radius: 50%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.pla-icon {
|
|
113
|
+
position: absolute;
|
|
114
|
+
right: -5px;
|
|
115
|
+
bottom: 1px;
|
|
116
|
+
width: 12px;
|
|
117
|
+
height: 12px;
|
|
118
|
+
margin-right: 10px;
|
|
119
|
+
border-radius: 50%;
|
|
120
|
+
}
|
|
101
121
|
|
|
102
122
|
img {
|
|
103
123
|
width: 100%;
|
|
@@ -117,18 +137,42 @@
|
|
|
117
137
|
content: '';
|
|
118
138
|
}
|
|
119
139
|
|
|
140
|
+
&.p-state-1 {
|
|
141
|
+
// 处理中
|
|
142
|
+
color: rgb(var(--primary-6));
|
|
143
|
+
}
|
|
144
|
+
|
|
120
145
|
&.p-state-2 {
|
|
121
146
|
// 成功
|
|
122
147
|
color: #4caf50;
|
|
123
148
|
}
|
|
124
149
|
|
|
150
|
+
&.p-state-3,
|
|
151
|
+
&.p-state-4 {
|
|
152
|
+
// 审核
|
|
153
|
+
color: #ff9800;
|
|
154
|
+
}
|
|
155
|
+
|
|
125
156
|
&.m-state-0 {
|
|
126
157
|
// 成功
|
|
127
158
|
color: #4caf50;
|
|
128
159
|
}
|
|
129
160
|
|
|
130
|
-
&.m-state
|
|
131
|
-
|
|
161
|
+
&.m-state--1,
|
|
162
|
+
&.m-state-1,
|
|
163
|
+
&.m-state-2,
|
|
164
|
+
&.m-state-3,
|
|
165
|
+
&.m-state-4,
|
|
166
|
+
&.m-state-5,
|
|
167
|
+
&.m-state-6,
|
|
168
|
+
&.m-state-7,
|
|
169
|
+
&.m-state-8,
|
|
170
|
+
&.m-state-9,
|
|
171
|
+
&.m-state-10,
|
|
172
|
+
&.m-state-11,
|
|
173
|
+
&.m-state-12,
|
|
174
|
+
&.m-state-13 {
|
|
175
|
+
// 异常
|
|
132
176
|
color: #ff9800;
|
|
133
177
|
}
|
|
134
178
|
}
|
|
@@ -968,6 +968,11 @@
|
|
|
968
968
|
color: white;
|
|
969
969
|
font-size: 30px;
|
|
970
970
|
}
|
|
971
|
+
.matrix-records-item-view .cover-view .no-img.weixin {
|
|
972
|
+
font-size: 20px;
|
|
973
|
+
background: #89be89;
|
|
974
|
+
border-radius: 6px;
|
|
975
|
+
}
|
|
971
976
|
.matrix-records-item-view .info-view {
|
|
972
977
|
display: flex;
|
|
973
978
|
flex: 1;
|
|
@@ -1019,13 +1024,25 @@
|
|
|
1019
1024
|
.matrix-records-item-view .info-view .abttrite-v .left .account {
|
|
1020
1025
|
margin-left: 10px;
|
|
1021
1026
|
}
|
|
1022
|
-
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar {
|
|
1027
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v {
|
|
1028
|
+
position: relative;
|
|
1029
|
+
}
|
|
1030
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v .avatar {
|
|
1023
1031
|
width: 25px;
|
|
1024
1032
|
height: 25px;
|
|
1025
1033
|
margin-right: 10px;
|
|
1026
1034
|
border-radius: 50%;
|
|
1027
1035
|
}
|
|
1028
|
-
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar
|
|
1036
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v .pla-icon {
|
|
1037
|
+
position: absolute;
|
|
1038
|
+
right: -5px;
|
|
1039
|
+
bottom: 1px;
|
|
1040
|
+
width: 12px;
|
|
1041
|
+
height: 12px;
|
|
1042
|
+
margin-right: 10px;
|
|
1043
|
+
border-radius: 50%;
|
|
1044
|
+
}
|
|
1045
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v img {
|
|
1029
1046
|
width: 100%;
|
|
1030
1047
|
height: 100%;
|
|
1031
1048
|
}
|
|
@@ -1038,13 +1055,33 @@
|
|
|
1038
1055
|
border-radius: 50%;
|
|
1039
1056
|
content: '';
|
|
1040
1057
|
}
|
|
1058
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-1 {
|
|
1059
|
+
color: rgb(var(--primary-6));
|
|
1060
|
+
}
|
|
1041
1061
|
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-2 {
|
|
1042
1062
|
color: #4caf50;
|
|
1043
1063
|
}
|
|
1064
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-3,
|
|
1065
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-4 {
|
|
1066
|
+
color: #ff9800;
|
|
1067
|
+
}
|
|
1044
1068
|
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-0 {
|
|
1045
1069
|
color: #4caf50;
|
|
1046
1070
|
}
|
|
1047
|
-
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state
|
|
1071
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state--1,
|
|
1072
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-1,
|
|
1073
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-2,
|
|
1074
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-3,
|
|
1075
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-4,
|
|
1076
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-5,
|
|
1077
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-6,
|
|
1078
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-7,
|
|
1079
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-8,
|
|
1080
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-9,
|
|
1081
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-10,
|
|
1082
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-11,
|
|
1083
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-12,
|
|
1084
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-13 {
|
|
1048
1085
|
color: #ff9800;
|
|
1049
1086
|
}
|
|
1050
1087
|
.matrix-records-item-view .info-view .abttrite-v .right {
|
package/lib/index.css
CHANGED
|
@@ -2991,6 +2991,11 @@
|
|
|
2991
2991
|
color: white;
|
|
2992
2992
|
font-size: 30px;
|
|
2993
2993
|
}
|
|
2994
|
+
.matrix-records-item-view .cover-view .no-img.weixin {
|
|
2995
|
+
font-size: 20px;
|
|
2996
|
+
background: #89be89;
|
|
2997
|
+
border-radius: 6px;
|
|
2998
|
+
}
|
|
2994
2999
|
.matrix-records-item-view .info-view {
|
|
2995
3000
|
display: flex;
|
|
2996
3001
|
flex: 1;
|
|
@@ -3042,13 +3047,25 @@
|
|
|
3042
3047
|
.matrix-records-item-view .info-view .abttrite-v .left .account {
|
|
3043
3048
|
margin-left: 10px;
|
|
3044
3049
|
}
|
|
3045
|
-
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar {
|
|
3050
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v {
|
|
3051
|
+
position: relative;
|
|
3052
|
+
}
|
|
3053
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v .avatar {
|
|
3046
3054
|
width: 25px;
|
|
3047
3055
|
height: 25px;
|
|
3048
3056
|
margin-right: 10px;
|
|
3049
3057
|
border-radius: 50%;
|
|
3050
3058
|
}
|
|
3051
|
-
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar
|
|
3059
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v .pla-icon {
|
|
3060
|
+
position: absolute;
|
|
3061
|
+
right: -5px;
|
|
3062
|
+
bottom: 1px;
|
|
3063
|
+
width: 12px;
|
|
3064
|
+
height: 12px;
|
|
3065
|
+
margin-right: 10px;
|
|
3066
|
+
border-radius: 50%;
|
|
3067
|
+
}
|
|
3068
|
+
.matrix-records-item-view .info-view .abttrite-v .left .account .avatar-v img {
|
|
3052
3069
|
width: 100%;
|
|
3053
3070
|
height: 100%;
|
|
3054
3071
|
}
|
|
@@ -3061,13 +3078,33 @@
|
|
|
3061
3078
|
border-radius: 50%;
|
|
3062
3079
|
content: '';
|
|
3063
3080
|
}
|
|
3081
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-1 {
|
|
3082
|
+
color: rgb(var(--primary-6));
|
|
3083
|
+
}
|
|
3064
3084
|
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-2 {
|
|
3065
3085
|
color: #4caf50;
|
|
3066
3086
|
}
|
|
3087
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-3,
|
|
3088
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.p-state-4 {
|
|
3089
|
+
color: #ff9800;
|
|
3090
|
+
}
|
|
3067
3091
|
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-0 {
|
|
3068
3092
|
color: #4caf50;
|
|
3069
3093
|
}
|
|
3070
|
-
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state
|
|
3094
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state--1,
|
|
3095
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-1,
|
|
3096
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-2,
|
|
3097
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-3,
|
|
3098
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-4,
|
|
3099
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-5,
|
|
3100
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-6,
|
|
3101
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-7,
|
|
3102
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-8,
|
|
3103
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-9,
|
|
3104
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-10,
|
|
3105
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-11,
|
|
3106
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-12,
|
|
3107
|
+
.matrix-records-item-view .info-view .abttrite-v .left .state.m-state-13 {
|
|
3071
3108
|
color: #ff9800;
|
|
3072
3109
|
}
|
|
3073
3110
|
.matrix-records-item-view .info-view .abttrite-v .right {
|