diff --git a/src/components/BrandScroll/BrandScroll.vue b/src/components/BrandScroll/BrandScroll.vue
index e7b4ca3..00393c7 100644
--- a/src/components/BrandScroll/BrandScroll.vue
+++ b/src/components/BrandScroll/BrandScroll.vue
@@ -3,7 +3,7 @@
- {{ item.name }}/ {{ item.shopList.length }}个
+ {{ item.name }}/ {{ item.shopList.length }}个 您在本层
@@ -17,6 +17,12 @@
import { ref, nextTick, watch } from 'vue'
import ShopItem from '@/base/ShopItem/ShopItem.vue'
import ScrollView from '@/base/ScrollView/ScrollView.vue'
+import { storeToRefs } from 'pinia'
+import { useStore } from '@/store/root'
+
+const store = useStore()
+const { currentFloor } = storeToRefs(store)
+
const scroll = ref(null)
const props = defineProps({
list: Array,
@@ -99,6 +105,18 @@ watch(
line-height: 23px;
color: rgba(0, 0, 0, 0.6);
}
+ .current {
+ display: flex;
+ width: 96px;
+ height: 27px;
+ background: linear-gradient(113.71deg, #435acd 0%, #749cf3 100%);
+ font-size: 16px;
+ color: #ffffff;
+ justify-content: center;
+ align-items: center;
+ border-radius: 6px;
+ margin-left: 12px;
+ }
}
.group {
display: grid;