|
|
@@ -0,0 +1,622 @@
|
|
|
+<template>
|
|
|
+ <div class="page kyc-page">
|
|
|
+ <div class="apply-card-steps">
|
|
|
+ <div class="steps-top">
|
|
|
+ <div class="step" :class="{ active: currentStep >= 1 }">
|
|
|
+ <div class="step-circle">1</div>
|
|
|
+ <div class="step-label">{{ t('kyc.step1') }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="step-dash" :class="{ active: currentStep >= 2 }"></div>
|
|
|
+ <div class="step" :class="{ active: currentStep >= 2 }">
|
|
|
+ <div class="step-circle">2</div>
|
|
|
+ <div class="step-label">{{ t('kyc.step2') }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="step-dash" :class="{ active: currentStep >= 3 }"></div>
|
|
|
+ <div class="step" :class="{ active: currentStep >= 3 }">
|
|
|
+ <div class="step-circle">3</div>
|
|
|
+ <div class="step-label">{{ t('kyc.step3') }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="kyc-form" v-show="currentStep === 1">
|
|
|
+ <div class="form-item">
|
|
|
+ <van-field
|
|
|
+ v-model="form.firstName"
|
|
|
+ :placeholder="t('kyc.firstName')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.firstName') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="form-item">
|
|
|
+ <van-field
|
|
|
+ v-model="form.lastName"
|
|
|
+ :placeholder="t('kyc.lastName')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.lastName') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="form-item">
|
|
|
+ <van-field
|
|
|
+ v-model="form.address"
|
|
|
+ :placeholder="t('kyc.address')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.address') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="form-item">
|
|
|
+ <van-field
|
|
|
+ v-model="form.email"
|
|
|
+ :placeholder="t('kyc.email')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.email') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="form-item phone-input">
|
|
|
+ <div :class="{ 'phone-code': true, 'phone-code-active': form.phoneCode }">
|
|
|
+ <van-field
|
|
|
+ is-link
|
|
|
+ readonly
|
|
|
+ @click="showPicker = true"
|
|
|
+ v-model="form.phoneCode"
|
|
|
+ :placeholder="t('kyc.phoneCode')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.phoneCode') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ <van-popup v-model:show="showPicker" destroy-on-close round position="bottom">
|
|
|
+ <van-picker
|
|
|
+ v-model="form.phoneCode1"
|
|
|
+ :visible-option-num="8"
|
|
|
+ show-toolbar
|
|
|
+ title="选择区号"
|
|
|
+ :columns="[phoneCodes]"
|
|
|
+ @cancel="showPicker = false"
|
|
|
+ @confirm="onConfirm"
|
|
|
+ />
|
|
|
+ </van-popup>
|
|
|
+ </div>
|
|
|
+ <div class="phone-divider"></div>
|
|
|
+ <div class="phone-number">
|
|
|
+ <van-field
|
|
|
+ v-model="form.phone"
|
|
|
+ :placeholder="t('kyc.phone')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.phone') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="kyc-button">
|
|
|
+ <van-button type="primary" block @click="handleNext">{{ t('kyc.next') }}</van-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="kyc-form" v-show="currentStep === 2">
|
|
|
+ <div class="form-item">
|
|
|
+ <van-field
|
|
|
+ v-model="form.amount"
|
|
|
+ type="number"
|
|
|
+ :placeholder="t('kyc.amount')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.amount') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="form-item">
|
|
|
+ <van-field
|
|
|
+ v-model="form.currency"
|
|
|
+ :placeholder="t('kyc.currency')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.currency') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="kyc-button">
|
|
|
+ <van-button type="primary" block @click="handleNext">{{ t('kyc.next') }}</van-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="kyc-form" v-show="currentStep === 3">
|
|
|
+ <div class="form-item">
|
|
|
+ <van-field
|
|
|
+ v-model="form.shippingAddress"
|
|
|
+ :placeholder="t('kyc.shippingAddress')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.shippingAddress') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="form-item">
|
|
|
+ <van-field
|
|
|
+ v-model="form.postalCode"
|
|
|
+ :placeholder="t('kyc.postalCode')"
|
|
|
+ :rules="[{ required: true, message: t('kyc.postalCode') }]"
|
|
|
+ autocomplete="off"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="kyc-button">
|
|
|
+ <van-button type="primary" block @click="handleSubmit">{{ t('kyc.submit') }}</van-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup lang="ts">
|
|
|
+import { ref } from 'vue'
|
|
|
+import { useRouter } from 'vue-router'
|
|
|
+import { useI18n } from 'vue-i18n'
|
|
|
+import { showToast } from 'vant'
|
|
|
+
|
|
|
+const { t } = useI18n()
|
|
|
+const router = useRouter()
|
|
|
+const currentStep = ref(1)
|
|
|
+
|
|
|
+const showPicker = ref(false)
|
|
|
+const onConfirm = (value: any) => {
|
|
|
+ form.value.phoneCode = value.selectedValues[0]
|
|
|
+ showPicker.value = false
|
|
|
+}
|
|
|
+
|
|
|
+const form = ref({
|
|
|
+ // 第一步
|
|
|
+ firstName: '',
|
|
|
+ lastName: '',
|
|
|
+ address: '',
|
|
|
+ email: '',
|
|
|
+ phone: '',
|
|
|
+ phoneCode: '',
|
|
|
+ phoneCode1: [],
|
|
|
+ // 第二步
|
|
|
+ amount: '',
|
|
|
+ currency: '',
|
|
|
+ // 第三步
|
|
|
+ shippingAddress: '',
|
|
|
+ postalCode: '',
|
|
|
+})
|
|
|
+
|
|
|
+// 区号选项
|
|
|
+const phoneCodes = [
|
|
|
+ { text: '中国 +86', value: '+86' },
|
|
|
+ { text: '美国 +1', value: '+1' },
|
|
|
+ { text: '英国 +44', value: '+44' },
|
|
|
+ { text: '日本 +81', value: '+81' },
|
|
|
+ { text: '韩国 +82', value: '+82' },
|
|
|
+ { text: '新加坡 +65', value: '+65' },
|
|
|
+ { text: '澳大利亚 +61', value: '+61' },
|
|
|
+ { text: '香港 +852', value: '+852' },
|
|
|
+ { text: '澳门 +853', value: '+853' },
|
|
|
+ { text: '台湾 +886', value: '+886' },
|
|
|
+ { text: '柬埔寨 +855', value: '+855' },
|
|
|
+ { text: '老挝 +856', value: '+856' },
|
|
|
+ { text: '缅甸 +95', value: '+95' },
|
|
|
+ { text: '泰国 +66', value: '+66' },
|
|
|
+ { text: '越南 +84', value: '+84' },
|
|
|
+ { text: '马来西亚 +60', value: '+60' },
|
|
|
+ { text: '菲律宾 +63', value: '+63' },
|
|
|
+ { text: '印度尼西亚 +62', value: '+62' },
|
|
|
+ { text: '印度 +91', value: '+91' },
|
|
|
+ { text: '巴基斯坦 +92', value: '+92' },
|
|
|
+]
|
|
|
+
|
|
|
+// 验证规则
|
|
|
+const validations = {
|
|
|
+ email: (value: string) => {
|
|
|
+ const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/
|
|
|
+ return emailRegex.test(value)
|
|
|
+ },
|
|
|
+ phone: (value: string) => {
|
|
|
+ const phoneRegex = /^1[3-9]\d{9}$/
|
|
|
+ return phoneRegex.test(value)
|
|
|
+ },
|
|
|
+ amount: (value: string) => {
|
|
|
+ const num = Number(value)
|
|
|
+ return !isNaN(num) && num > 0
|
|
|
+ },
|
|
|
+ postalCode: (value: string) => {
|
|
|
+ const postalCodeRegex = /^\d{6}$/
|
|
|
+ return postalCodeRegex.test(value)
|
|
|
+ },
|
|
|
+}
|
|
|
+
|
|
|
+function validateStep(step: number): boolean {
|
|
|
+ switch (step) {
|
|
|
+ case 1:
|
|
|
+ if (!form.value.firstName || !form.value.lastName || !form.value.address || !form.value.email || !form.value.phone) {
|
|
|
+ showToast(t('kyc.kycFailDesc'))
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if (!validations.email(form.value.email)) {
|
|
|
+ showToast(t('kyc.emailError'))
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if (!validations.phone(form.value.phone)) {
|
|
|
+ showToast(t('kyc.phoneError'))
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ break
|
|
|
+ case 2:
|
|
|
+ if (!form.value.amount || !form.value.currency) {
|
|
|
+ showToast(t('kyc.kycFailDesc'))
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if (!validations.amount(form.value.amount)) {
|
|
|
+ showToast(t('kyc.amountError'))
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ break
|
|
|
+ case 3:
|
|
|
+ if (!form.value.shippingAddress || !form.value.postalCode) {
|
|
|
+ showToast(t('kyc.kycFailDesc'))
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if (!validations.postalCode(form.value.postalCode)) {
|
|
|
+ showToast(t('kyc.postalCodeError'))
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ break
|
|
|
+ }
|
|
|
+ return true
|
|
|
+}
|
|
|
+
|
|
|
+function handleNext() {
|
|
|
+ if (validateStep(currentStep.value)) {
|
|
|
+ if (currentStep.value < 3) {
|
|
|
+ currentStep.value++
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+function handleSubmit() {
|
|
|
+ // 验证所有步骤
|
|
|
+ for (let step = 1; step <= 3; step++) {
|
|
|
+ if (!validateStep(step)) {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 提交所有表单数据
|
|
|
+ console.log('提交表单数据:', form.value)
|
|
|
+ router.push('/kyc/success')
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang="scss">
|
|
|
+.kyc-page {
|
|
|
+ min-height: 100vh;
|
|
|
+ background: linear-gradient(135deg, #232323 0%, #2a2a2a 100%);
|
|
|
+ color: #fff;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ padding: 32px 12px;
|
|
|
+}
|
|
|
+.kyc-header {
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ margin-bottom: 24px;
|
|
|
+ h2 {
|
|
|
+ font-size: var(--font-size-18);
|
|
|
+ color: var(--main-yellow);
|
|
|
+ margin-bottom: 8px;
|
|
|
+ }
|
|
|
+ p {
|
|
|
+ color: #bbb;
|
|
|
+ font-size: var(--font-size-12);
|
|
|
+ line-height: 1.5;
|
|
|
+ }
|
|
|
+}
|
|
|
+.kyc-form {
|
|
|
+ width: 100%;
|
|
|
+ max-width: 350px;
|
|
|
+ border-radius: 20px;
|
|
|
+ padding: 28px 18px 18px 18px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 18px;
|
|
|
+}
|
|
|
+
|
|
|
+.form-item {
|
|
|
+ margin-bottom: 0;
|
|
|
+ ::v-deep {
|
|
|
+ .van-field {
|
|
|
+ background: #181818;
|
|
|
+ border-radius: 12px;
|
|
|
+ padding: 12px 16px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:focus-within {
|
|
|
+ background: #1f1f1f;
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-field__label {
|
|
|
+ color: #bbb;
|
|
|
+ font-size: var(--font-size-14);
|
|
|
+ width: 80px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-field__control {
|
|
|
+ color: #fff;
|
|
|
+ font-size: var(--font-size-14);
|
|
|
+ min-height: 20px;
|
|
|
+ line-height: 20px;
|
|
|
+
|
|
|
+ &::placeholder {
|
|
|
+ color: #666;
|
|
|
+ font-size: var(--font-size-14);
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-webkit-input-placeholder {
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::-moz-placeholder {
|
|
|
+ color: #666;
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-field__right-icon {
|
|
|
+ color: var(--main-yellow);
|
|
|
+ margin-left: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-field__error-message {
|
|
|
+ color: #ff4d4f;
|
|
|
+ font-size: var(--font-size-12);
|
|
|
+ margin-top: 4px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.kyc-button {
|
|
|
+ margin-top: 18px;
|
|
|
+ ::v-deep {
|
|
|
+ .van-button {
|
|
|
+ height: 44px;
|
|
|
+ border-radius: 24px;
|
|
|
+ background: var(--main-yellow);
|
|
|
+ border: none;
|
|
|
+ color: #232323;
|
|
|
+ font-size: var(--font-size-16);
|
|
|
+ font-weight: bold;
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ opacity: 0.9;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.apply-card-steps {
|
|
|
+ width: 100%;
|
|
|
+ max-width: 350px;
|
|
|
+ margin-bottom: 32px;
|
|
|
+
|
|
|
+ .steps-top {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 0 12px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .step {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ gap: 8px;
|
|
|
+
|
|
|
+ .step-circle {
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: var(--action-bg, #181818);
|
|
|
+ border: 2px solid #444;
|
|
|
+ color: #444;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: var(--font-size-16);
|
|
|
+ font-weight: bold;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ }
|
|
|
+
|
|
|
+ .step-label {
|
|
|
+ font-size: var(--font-size-14);
|
|
|
+ color: #444;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.active {
|
|
|
+ .step-circle {
|
|
|
+ background: var(--main-yellow);
|
|
|
+ border-color: var(--main-yellow);
|
|
|
+ color: #232323;
|
|
|
+ }
|
|
|
+
|
|
|
+ .step-label {
|
|
|
+ color: var(--main-yellow);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .step-dash {
|
|
|
+ flex: 1;
|
|
|
+ height: 2px;
|
|
|
+ margin: 0 8px;
|
|
|
+ position: relative;
|
|
|
+ top: -16px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ background-image: linear-gradient(to right, #444 50%, transparent 50%);
|
|
|
+ background-size: 8px 2px;
|
|
|
+ background-repeat: repeat-x;
|
|
|
+
|
|
|
+ &.active {
|
|
|
+ background-image: linear-gradient(to right, var(--main-yellow) 50%, transparent 50%);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.phone-input {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ background: #181818;
|
|
|
+ border-radius: 12px;
|
|
|
+ padding: 0 16px;
|
|
|
+ height: 44px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:focus-within {
|
|
|
+ background: #1f1f1f;
|
|
|
+ }
|
|
|
+
|
|
|
+ .phone-code {
|
|
|
+ width: 20%;
|
|
|
+ ::v-deep .van-cell {
|
|
|
+ &::after {
|
|
|
+ border-bottom: 0;
|
|
|
+ }
|
|
|
+ .van-icon {
|
|
|
+ font-size: var(--font-size-14);
|
|
|
+ line-height: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ::v-deep {
|
|
|
+ .van-field {
|
|
|
+ background: transparent;
|
|
|
+ padding-left: 0;
|
|
|
+ padding-right: 0;
|
|
|
+
|
|
|
+ .van-field__control {
|
|
|
+ color: var(--white);
|
|
|
+ text-align: center;
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .phone-code-active {
|
|
|
+ ::v-deep .van-cell {
|
|
|
+ .van-icon {
|
|
|
+ color: var(--white);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .phone-divider {
|
|
|
+ width: 1px;
|
|
|
+ height: 20px;
|
|
|
+ background: #333;
|
|
|
+ margin: 0 12px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ }
|
|
|
+
|
|
|
+ .phone-number {
|
|
|
+ flex: 1;
|
|
|
+ ::v-deep {
|
|
|
+ .van-field {
|
|
|
+ background: transparent;
|
|
|
+ padding-left: 10px;
|
|
|
+
|
|
|
+ .van-field__control {
|
|
|
+ color: #fff;
|
|
|
+ text-align: left;
|
|
|
+ padding: 0;
|
|
|
+
|
|
|
+ &::placeholder {
|
|
|
+ color: #666;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes slideDown {
|
|
|
+ from {
|
|
|
+ opacity: 0;
|
|
|
+ transform: translateY(-10px);
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translateY(0);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes fadeIn {
|
|
|
+ from {
|
|
|
+ opacity: 0;
|
|
|
+ }
|
|
|
+ to {
|
|
|
+ opacity: 0.2;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep {
|
|
|
+ .van-picker {
|
|
|
+ background: #181818;
|
|
|
+
|
|
|
+ .van-picker__toolbar {
|
|
|
+ background: #181818;
|
|
|
+ border-bottom: 1px solid #333;
|
|
|
+ height: 44px;
|
|
|
+ padding: 0 16px;
|
|
|
+
|
|
|
+ .van-picker__title {
|
|
|
+ color: #fff;
|
|
|
+ font-size: var(--font-size-16);
|
|
|
+ font-weight: 500;
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-picker__cancel,
|
|
|
+ .van-picker__confirm {
|
|
|
+ color: var(--main-yellow);
|
|
|
+ font-size: var(--font-size-14);
|
|
|
+ padding: 0 8px;
|
|
|
+ height: 28px;
|
|
|
+ line-height: 28px;
|
|
|
+ border-radius: 14px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ opacity: 0.8;
|
|
|
+ background: rgba(255, 193, 7, 0.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-picker-column {
|
|
|
+ color: #fff;
|
|
|
+
|
|
|
+ .van-picker-column__item {
|
|
|
+ color: #fff;
|
|
|
+ font-size: var(--font-size-14);
|
|
|
+ padding: 0 16px;
|
|
|
+ height: 44px;
|
|
|
+ line-height: 44px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &--selected {
|
|
|
+ color: var(--main-yellow);
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: var(--font-size-16);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ background: rgba(255, 255, 255, 0.05);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-picker-column__wrapper {
|
|
|
+ &::after {
|
|
|
+ border-color: #333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-picker__mask {
|
|
|
+ background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.9), rgba(24, 24, 24, 0.4)),
|
|
|
+ linear-gradient(0deg, rgba(24, 24, 24, 0.9), rgba(24, 24, 24, 0.4));
|
|
|
+ }
|
|
|
+
|
|
|
+ .van-picker__indicator {
|
|
|
+ height: 44px;
|
|
|
+ background: rgba(255, 193, 7, 0.05);
|
|
|
+ border-top: 1px solid rgba(255, 193, 7, 0.1);
|
|
|
+ border-bottom: 1px solid rgba(255, 193, 7, 0.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|