@xuda.io/account_module 1.2.456 → 1.2.458
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/index.mjs +21 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1173,6 +1173,27 @@ const get_contact_background = function (doc) {
|
|
|
1173
1173
|
ret = `linear-gradient(145deg, #4f4f4f8c 0%, #0e0f0f44 100%);`;
|
|
1174
1174
|
}
|
|
1175
1175
|
|
|
1176
|
+
switch (doc.contact_mood) {
|
|
1177
|
+
case -2: {
|
|
1178
|
+
ret = `linear-gradient(145deg, #f60404d8 0%, #7f98e344 100%)`;
|
|
1179
|
+
break;
|
|
1180
|
+
}
|
|
1181
|
+
case -1: {
|
|
1182
|
+
ret = `linear-gradient(145deg, #f6040452 0%, #7f98e344 100%)`;
|
|
1183
|
+
break;
|
|
1184
|
+
}
|
|
1185
|
+
case 1: {
|
|
1186
|
+
ret = `linear-gradient(145deg, #04f61452 0%, #7f98e344 100%)`;
|
|
1187
|
+
break;
|
|
1188
|
+
}
|
|
1189
|
+
case 2: {
|
|
1190
|
+
ret = `linear-gradient(145deg, #30f604c9 0%, #7f98e344 100%)`;
|
|
1191
|
+
break;
|
|
1192
|
+
}
|
|
1193
|
+
default:
|
|
1194
|
+
break;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1176
1197
|
return ret;
|
|
1177
1198
|
};
|
|
1178
1199
|
|