adata-ui 3.1.76 → 3.1.78
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/module.json
CHANGED
|
@@ -222,7 +222,11 @@ const isActive = computed(() => {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.active-item .title {
|
|
225
|
-
color: #
|
|
225
|
+
color: #0070eb;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.active-item .icon-item {
|
|
229
|
+
color: #0070eb;
|
|
226
230
|
}
|
|
227
231
|
|
|
228
232
|
.active-item .border-path {
|
|
@@ -269,6 +273,9 @@ const isActive = computed(() => {
|
|
|
269
273
|
.dark .active-item .title {
|
|
270
274
|
color: #1b98e2;
|
|
271
275
|
}
|
|
276
|
+
.dark .active-item .icon-item {
|
|
277
|
+
color: #1b98e2;
|
|
278
|
+
}
|
|
272
279
|
.dark .active-item .border-path {
|
|
273
280
|
fill: rgba(27, 152, 226, 0.1019607843);
|
|
274
281
|
}
|
|
@@ -9,7 +9,7 @@ import Yuan from "#icons/currency/yuan.vue";
|
|
|
9
9
|
import XMark from "#icons/x-mark.vue";
|
|
10
10
|
import Down from "#icons/currency/down.vue";
|
|
11
11
|
import { useI18n, useAppConfig } from "#imports";
|
|
12
|
-
const { t } = useI18n();
|
|
12
|
+
const { t, locale } = useI18n();
|
|
13
13
|
const props = defineProps({
|
|
14
14
|
daysRemaining: { type: Number, required: true },
|
|
15
15
|
limitRemaining: { type: Number, required: true },
|
|
@@ -55,7 +55,17 @@ const fetchNotification = async () => {
|
|
|
55
55
|
const response = await fetch(link);
|
|
56
56
|
const { data } = await response.json();
|
|
57
57
|
if (data.details.length) {
|
|
58
|
-
|
|
58
|
+
switch (locale.value) {
|
|
59
|
+
case "ru":
|
|
60
|
+
systemMessage.value = data.details[0].message;
|
|
61
|
+
break;
|
|
62
|
+
case "en":
|
|
63
|
+
systemMessage.value = data.details[0].message_en;
|
|
64
|
+
break;
|
|
65
|
+
case "kk":
|
|
66
|
+
systemMessage.value = data.details[0].message_kz;
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
59
69
|
isOpenNotification.value = true;
|
|
60
70
|
}
|
|
61
71
|
}
|