12345678910111213141516171819202122232425262728293031323334353637 |
- import Vue from 'vue'
- import browser from '@/utils/browser'
- import {
- $showShare,
- $hideShare,
- $showTips,
- $hideTips
- } from '@/components/popupLayout'
- import {$showHotspot,$hideHotspot } from '@/components/hotspot/index.js'
- Vue.prototype.$bus = new Vue()
- Vue.mixin({
- data() {
- return {
- isMobile: browser.mobile
- }
- },
- methods: {
- $showShare,
- $hideShare,
- $showHotspot,
- $hideHotspot,
- $showTips,
- $hideTips,
- g_dealUrl(src){
- return window.manage.dealURL(src)
- }
- // $showLoading,
- // $showBroadcast,
- // $hideBroadcast
- }
- })
|