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"
|
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"
|
@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" />
|
<ion-icon :icon="addOutline" class="text-white text-xl" />
|
||||||
</div>
|
</div>
|
||||||
<span class="font-semibold text-#151515 dark:text-white">{{ t('bankCard.list.addCard') }}</span>
|
<span class="font-semibold text-#151515 dark:text-white">{{ t('bankCard.list.addCard') }}</span>
|
||||||
@@ -170,7 +170,7 @@ onUpdated(() => {
|
|||||||
</h4>
|
</h4>
|
||||||
<span
|
<span
|
||||||
v-if="card.isDefault"
|
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') }}
|
{{ t('bankCard.list.defaultCard') }}
|
||||||
</span>
|
</span>
|
||||||
@@ -199,7 +199,7 @@ onUpdated(() => {
|
|||||||
</div>
|
</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" />
|
<ion-icon :icon="star" class="text-base" />
|
||||||
<span>{{ t('bankCard.list.defaultCard') }}</span>
|
<span>{{ t('bankCard.list.defaultCard') }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user