平台产品介绍
了解数据平台一句话简介
@@ -178,7 +178,8 @@ export default {
page: 1,
pageSize: 10,
total: 0,
- hotData: []
+ hotData: [],
+ active: ''
}
},
computed: {
@@ -260,6 +261,8 @@ export default {
}
},
toPart(i){
+ console.log(i)
+ this.active = i
document.querySelector(`#part${i}`).scrollIntoView()
}
}
@@ -398,6 +401,11 @@ export default {
display: inline-flex;
align-items: center;
cursor: pointer;
+ &.active{
+ h6, .desc{
+ color: #006EFF;
+ }
+ }
}
img{
width: 50px;
diff --git a/src/pages/user/list/index.vue b/src/pages/user/list/index.vue
index 9e6b057..6a62d01 100644
--- a/src/pages/user/list/index.vue
+++ b/src/pages/user/list/index.vue
@@ -3,7 +3,7 @@