This commit is contained in:
Zheng Jie
2022-08-01 17:41:18 +08:00
parent ff0aa185f1
commit 2a38d50e88
13 changed files with 57 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
import wwads from '@/components/Ad'
export default (Vue) => {
Vue.component('wwads', wwads)
}

View File

@@ -0,0 +1,30 @@
<template>
<div
v-show="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;"
/>
</template>
<script>
export default {
data() {
return {
show: false
}
},
created() {
const _this = this
setTimeout(function() {
_this.show = true
}, 650)
}
}
</script>
<style lang="scss" scoped>
.wwads-vertical .wwads-poweredby {
display: none !important;
}
</style>

View File

@@ -5,11 +5,6 @@
<router-view :key="key" />
</keep-alive>
</transition>
<div
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;"
/>
<div v-if="$store.state.settings.showFooter" id="el-main-footer">
<span v-html="$store.state.settings.footerTxt" />
<span v-if="$store.state.settings.caseNumber"> </span>
@@ -70,7 +65,4 @@ export default {
padding-right: 15px;
}
}
.wwads-vertical .wwads-poweredby {
display: none !important;
}
</style>

View File

@@ -17,6 +17,9 @@ 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'
@@ -30,6 +33,7 @@ Vue.use(dict)
Vue.use(Element, {
size: Cookies.get('size') || 'small' // set element-ui default size
})
Vue.use(components)
Vue.config.productionTip = false

View File

@@ -1,5 +1,7 @@
<template>
<div class="dashboard-container">
<!--广告-->
<wwads />
<div class="dashboard-editor-container">
<github-corner class="github-corner" />

View File

@@ -1,5 +1,7 @@
<template>
<div class="app-container">
<!--广告-->
<wwads />
<!--工具栏-->
<div class="head-container">
<div v-if="crud.props.searchToggle">

View File

@@ -1,5 +1,7 @@
<template>
<div class="app-container">
<!--广告-->
<wwads />
<!--表单组件-->
<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">

View File

@@ -1,5 +1,7 @@
<template>
<div class="app-container">
<!--广告-->
<wwads />
<!--工具栏-->
<div class="head-container">
<eHeader :dict="dict" :permission="permission" />

View File

@@ -1,5 +1,7 @@
<template>
<div class="app-container">
<!--广告-->
<wwads />
<!--工具栏-->
<div class="head-container">
<div v-if="crud.props.searchToggle">

View File

@@ -1,5 +1,7 @@
<template>
<div class="app-container">
<!--广告-->
<wwads />
<!--工具栏-->
<div class="head-container">
<div v-if="crud.props.searchToggle">

View File

@@ -1,5 +1,7 @@
<template>
<div class="app-container">
<!--广告-->
<wwads />
<!--工具栏-->
<div class="head-container">
<div v-if="crud.props.searchToggle">

View File

@@ -1,5 +1,7 @@
<template>
<div class="app-container">
<!--广告-->
<wwads />
<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">

View File

@@ -1,5 +1,7 @@
<template>
<div class="app-container">
<!--广告-->
<wwads />
<el-row :gutter="20">
<!--侧边部门数据-->
<el-col :xs="9" :sm="6" :md="5" :lg="4" :xl="4">