diff --git a/src/App.vue b/src/App.vue index d37b098..f28d971 100644 --- a/src/App.vue +++ b/src/App.vue @@ -596,10 +596,12 @@ textarea { text-align: center; } /* 专业测评 */ +.evaluation{ + margin-top: 0; +} .index-evaluation-list{ display: flex; justify-content: space-between; - margin-top: .2rem; } .index-evaluation-list>li{ width: 48.875%; diff --git a/src/assets/images/home/home.png b/src/assets/images/home/home.png new file mode 100644 index 0000000..462c608 Binary files /dev/null and b/src/assets/images/home/home.png differ diff --git a/src/views/home/evaluation/entrance.vue b/src/views/home/evaluation/entrance.vue index 39dce66..32a88e8 100644 --- a/src/views/home/evaluation/entrance.vue +++ b/src/views/home/evaluation/entrance.vue @@ -38,7 +38,8 @@ export default { created() { this.isScroll = true; window.addEventListener("scroll", this.eventScrollTop); - if(this.$route.query.source !== ''){ + + if(this.$route.query.source){ localStorage.source = JSON.stringify(this.$route.query.source); } }, diff --git a/src/views/home/evaluation/index.vue b/src/views/home/evaluation/index.vue index 8913fac..9673d40 100644 --- a/src/views/home/evaluation/index.vue +++ b/src/views/home/evaluation/index.vue @@ -1,10 +1,5 @@