style:移除国家和地区页面中 van-index-bar 组件的多余 class 属性

- 删除了 van-index-bar 组件中的 class 属性,以简化代码结构
-此修改不会影响页面功能,仅优化了代码的可读性和维护性
This commit is contained in:
xingyy 2025-01-13 11:33:15 +08:00
parent cd427c8353
commit b9aaef6b47

View File

@ -48,7 +48,7 @@ initData()
<van-sticky>
<van-search v-model="value" placeholder="请输入国家和地区"/>
</van-sticky>
<van-index-bar sticky :sticky-offset-top="55" class="mt-[00px]" :index-list="alphabet">
<van-index-bar sticky :sticky-offset-top="55" :index-list="alphabet">
<template v-for="(countries, index) in searchCountry" :key="index">
<van-index-anchor
:index="index"