Blame view

src/components/home/footer/footer.js 657 Bytes
simon committed
1 2 3 4 5 6 7 8 9 10
import api from '@/api/api'
import {
	httpGet,
	httpPost
} from '@/api/fetch-api.js'


export default {
	data() {
		return {
simon committed
11 12
			key: 'value',
			qrcodeVisible: false,
simon committed
13 14 15 16
		}
	},
	components: {},
	methods: {
simon committed
17 18 19 20 21 22
		onOverHandler(event) {
			this.qrcodeVisible = true;
		},
		onOutHandler(event) {
			this.qrcodeVisible = false;
		},
simon committed
23
		toPage(name) {
simon committed
24 25
			document.documentElement.scrollTop = 0;
			document.body.scrollTop = 0;
simon committed
26 27 28 29
			this.$router.push({
				name: name
			})
		},
simon committed
30
		toPath(path) {
joe committed
31 32 33 34 35 36
			document.documentElement.scrollTop = 0;
			document.body.scrollTop = 0;
			this.$router.push({
				path: path
			})
		},
simon committed
37 38 39 40 41
		initData() {}
	},
	mounted() {},
	created() {}
}