feat: 更新银行卡列表的默认标识颜色,优化视觉效果
This commit is contained in:
@@ -140,7 +140,7 @@ onUpdated(() => {
|
||||
class="bg-gray-50 dark:bg-gray-900 rounded-xl p-4 flex items-center cursor-pointer transition-all duration-300 border-2 border-dashed border-gray-200 dark:border-gray-600"
|
||||
@click="handleAddCard"
|
||||
>
|
||||
<div class="w-10 h-10 rounded-full bg-linear-to-r from-indigo-500 to-purple-600 flex items-center justify-center mr-3">
|
||||
<div class="w-10 h-10 rounded-full bg-linear-to-r from-green-500 to-emerald-600 flex items-center justify-center mr-3">
|
||||
<ion-icon :icon="addOutline" class="text-white text-xl" />
|
||||
</div>
|
||||
<span class="font-semibold text-#151515 dark:text-white">{{ t('bankCard.list.addCard') }}</span>
|
||||
@@ -170,7 +170,7 @@ onUpdated(() => {
|
||||
</h4>
|
||||
<span
|
||||
v-if="card.isDefault"
|
||||
class="bg-linear-to-r from-indigo-500 to-purple-600 text-white text-xs px-2 py-0.5 rounded-lg font-medium"
|
||||
class="bg-linear-to-r from-green-500 to-emerald-600 text-white text-xs px-2 py-0.5 rounded-lg font-medium"
|
||||
>
|
||||
{{ t('bankCard.list.defaultCard') }}
|
||||
</span>
|
||||
@@ -199,7 +199,7 @@ onUpdated(() => {
|
||||
</div>
|
||||
|
||||
<!-- 默认标识条 -->
|
||||
<div v-if="card.isDefault" class="bg-linear-to-r from-indigo-500 to-purple-600 text-white px-5 py-2 flex items-center gap-2 text-sm font-medium">
|
||||
<div v-if="card.isDefault" class="bg-linear-to-r from-green-500 to-emerald-600 text-white px-5 py-2 flex items-center gap-2 text-sm font-medium">
|
||||
<ion-icon :icon="star" class="text-base" />
|
||||
<span>{{ t('bankCard.list.defaultCard') }}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user