update
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
import wwads from '@/components/Ad'
|
||||
|
||||
export default (Vue) => {
|
||||
Vue.component('wwads', wwads)
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div
|
||||
v-show="show"
|
||||
v-if="show"
|
||||
class="wwads-cn wwads-vertical"
|
||||
data-id="148"
|
||||
style="z-index:10000;position:fixed;bottom:33px;right:5px;max-width:200px;padding:10px;border-radius:5px;"
|
||||
@@ -11,22 +11,12 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
show: false
|
||||
show: true
|
||||
}
|
||||
},
|
||||
created() {
|
||||
const _this = this
|
||||
if (window._AdBlockInit === undefined) {
|
||||
_this.show = false
|
||||
} else {
|
||||
const oScript = document.createElement('script')
|
||||
oScript.type = 'text/javascript'
|
||||
oScript.src = '//cdn.wwads.cn/js/makemoney.js'
|
||||
document.body.appendChild(oScript)
|
||||
window._AdBlockInit()
|
||||
setTimeout(function() {
|
||||
_this.show = true
|
||||
}, 650)
|
||||
this.show = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,12 +10,15 @@
|
||||
<span v-if="$store.state.settings.caseNumber"> ⋅ </span>
|
||||
<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank">{{ $store.state.settings.caseNumber }}</a>
|
||||
</div>
|
||||
<wwads />
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import wwads from '@/components/Ad'
|
||||
export default {
|
||||
name: 'AppMain',
|
||||
components: { wwads },
|
||||
computed: {
|
||||
cachedViews() {
|
||||
return this.$store.state.tagsView.cachedViews
|
||||
@@ -23,12 +26,6 @@ export default {
|
||||
key() {
|
||||
return this.$route.path
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$route.path': {
|
||||
handler: function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -17,9 +17,6 @@ import './assets/styles/element-variables.scss'
|
||||
// global css
|
||||
import './assets/styles/index.scss'
|
||||
|
||||
// AD
|
||||
import components from '@/components/Ad/components.js'
|
||||
|
||||
import App from './App'
|
||||
import store from './store'
|
||||
import router from './router/routers'
|
||||
@@ -33,7 +30,6 @@ Vue.use(dict)
|
||||
Vue.use(Element, {
|
||||
size: Cookies.get('size') || 'small' // set element-ui default size
|
||||
})
|
||||
Vue.use(components)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!--广告-->
|
||||
<wwads />
|
||||
<div class="app-container">===
|
||||
<!--工具栏-->
|
||||
<div class="head-container">
|
||||
<div v-if="crud.props.searchToggle">
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!--广告-->
|
||||
<wwads />
|
||||
<div class="app-container">===
|
||||
<!--表单组件-->
|
||||
<el-dialog append-to-body :close-on-click-modal="false" :before-close="crud.cancelCU" :visible="crud.status.cu > 0" :title="crud.status.title" width="500px">
|
||||
<el-form ref="form" :model="form" :rules="rules" size="small" label-width="80px">
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!--广告-->
|
||||
<wwads />
|
||||
<div class="app-container">===
|
||||
<!--工具栏-->
|
||||
<div class="head-container">
|
||||
<eHeader :dict="dict" :permission="permission" />
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!--广告-->
|
||||
<wwads />
|
||||
<div class="app-container">===
|
||||
<!--工具栏-->
|
||||
<div class="head-container">
|
||||
<div v-if="crud.props.searchToggle">
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!--广告-->
|
||||
<wwads />
|
||||
<div class="app-container">===
|
||||
<!--工具栏-->
|
||||
<div class="head-container">
|
||||
<div v-if="crud.props.searchToggle">
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!--广告-->
|
||||
<wwads />
|
||||
<div class="app-container">===
|
||||
<!--工具栏-->
|
||||
<div class="head-container">
|
||||
<div v-if="crud.props.searchToggle">
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!--广告-->
|
||||
<wwads />
|
||||
<div class="app-container">===
|
||||
<el-row :gutter="20">
|
||||
<el-col :xs="24" :sm="24" :md="8" :lg="6" :xl="5" style="margin-bottom: 10px">
|
||||
<el-card class="box-card">
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!--广告-->
|
||||
<wwads />
|
||||
<div class="app-container">===
|
||||
<el-row :gutter="20">
|
||||
<!--侧边部门数据-->
|
||||
<el-col :xs="9" :sm="6" :md="5" :lg="4" :xl="4">
|
||||
|
||||
Reference in New Issue
Block a user