11
This commit is contained in:
@@ -48,6 +48,7 @@ import SlideshowCard from './components/slideshow_card.vue'
|
||||
import TeachingStudent from './components/teaching_student.vue'
|
||||
import Bottom from './components/bottom.vue'
|
||||
import {getConfig} from "@/api";
|
||||
import {setAppLanguage, setLanguage} from "@/utils/sist";
|
||||
|
||||
export default {
|
||||
name: "index",
|
||||
@@ -71,6 +72,7 @@ export default {
|
||||
window.removeEventListener('scroll', this.handleScroll)
|
||||
},
|
||||
created() {
|
||||
setLanguage(this)
|
||||
getConfig("sist_bg").then(res=>{
|
||||
this.imageUrl = res.data
|
||||
})
|
||||
@@ -92,7 +94,6 @@ export default {
|
||||
methods: {
|
||||
handleScroll() {
|
||||
this.iftop = window.pageYOffset > 400
|
||||
console.log(window.pageYOffset)
|
||||
this.$emit("input", window.pageYOffset)
|
||||
},
|
||||
backTop() {
|
||||
|
||||
Reference in New Issue
Block a user