adata-ui 2.0.30 → 2.0.31
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.
|
@@ -68,12 +68,12 @@ onUnmounted(() => clearTimer())
|
|
|
68
68
|
<component
|
|
69
69
|
:is="item.icon"
|
|
70
70
|
class="shrink-0 size-6 transition-colors duration-300 ease-in-out"
|
|
71
|
-
:class="selected === idx ? 'text-white dark:text-gray-900' : 'text-gray-600 dark:text-
|
|
71
|
+
:class="selected === idx ? 'text-white dark:text-gray-900' : 'text-gray-600 dark:text-[#9DA3AC]'"
|
|
72
72
|
/>
|
|
73
73
|
</div>
|
|
74
74
|
<p
|
|
75
75
|
class="font-semibold text-base lg:text-xl transition-colors duration-300 ease-in-out"
|
|
76
|
-
:class="selected === idx ? 'dark:text-[#E3E5E8]' : 'text-gray-600 dark:text-
|
|
76
|
+
:class="selected === idx ? 'dark:text-[#E3E5E8]' : 'text-gray-600 dark:text-[#9DA3AC]'"
|
|
77
77
|
>
|
|
78
78
|
{{ item.title }}
|
|
79
79
|
</p>
|
|
@@ -125,8 +125,11 @@ function moveFocus(index: number, to: string) {
|
|
|
125
125
|
v-model="otp[index]"
|
|
126
126
|
type="text"
|
|
127
127
|
maxlength="1"
|
|
128
|
-
class="size-10 rounded bg-deepblue-900/5 text-center text-lg caret-transparent focus:
|
|
129
|
-
:class="{
|
|
128
|
+
class="size-10 rounded bg-deepblue-900/5 text-center text-lg caret-transparent focus:outline-none dark:bg-[#E3E5E80D]"
|
|
129
|
+
:class="{
|
|
130
|
+
'border border-[#E74135] bg-[#E741351A] dark:border-[#F47E75] dark:bg-[#F47E751A]': showError,
|
|
131
|
+
'focus:border focus:border-blue-700 dark:focus:border-blue-500': !showError,
|
|
132
|
+
}"
|
|
130
133
|
@input="onInput($event, index)"
|
|
131
134
|
@keydown.backspace="onBackspace(index, $event)"
|
|
132
135
|
@keydown.enter.prevent
|
|
@@ -74,7 +74,7 @@ async function onSubmit() {
|
|
|
74
74
|
|
|
75
75
|
try {
|
|
76
76
|
loading.value = true
|
|
77
|
-
const { success, message } = await $fetch(`${authApiURL}/register`, {
|
|
77
|
+
const { success, message } = await $fetch(`${authApiURL}/v2/register`, {
|
|
78
78
|
method: 'POST',
|
|
79
79
|
credentials: 'include',
|
|
80
80
|
headers: {
|