diff --git a/src/components/Trumbs/index.vue b/src/components/Trumbs/index.vue index deffcd1..6df6204 100644 --- a/src/components/Trumbs/index.vue +++ b/src/components/Trumbs/index.vue @@ -17,7 +17,11 @@ :key="item.picUrl" style="background: none" > -
+
查看详情
@@ -83,6 +87,15 @@ const props = defineProps({ isCase: Boolean, }) const modules = ref([FreeMode, Navigation]) + +const isActive = index => { + if (props.isCase) { + return index == detailStore.example_id + } else { + return index == detailStore.hardwareExampleId + } +} + const viewDetail = index => { myEmit('onMySonFunc') if (props.isCase) { @@ -158,6 +171,10 @@ const onSwiper = swiper => { } } } + .active_card { + border-top: solid 6px #283fe7; + box-sizing: border-box; + } .dialog_text:hover { background: rgba(53, 83, 227, 0.63); opacity: 1;