This commit is contained in:
Zheng Jie
2022-10-25 11:11:05 +08:00
parent 159e24537f
commit 20af998dfe
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<template>
<div
v-if="show"
id="ww-container"
class="wwads-cn wwads-vertical"
data-id="148"
style="z-index:10000;padding: 12px 10px;"
/>
</template>
<script>
export default {
data() {
return {
show: true
}
},
created() {
if (window._AdBlockInit === undefined) {
this.show = false
}
}
}
</script>

View File

@@ -32,6 +32,7 @@
</el-button>
</el-form-item>
</el-form>
<Ad />
<!-- 底部 -->
<div v-if="$store.state.settings.showFooter" id="el-login-footer">
<span v-html="$store.state.settings.footerTxt" />
@@ -42,6 +43,7 @@
</template>
<script>
import Ad from '@/components/Ad'
import { encrypt } from '@/utils/rsaEncrypt'
import Config from '@/settings'
import { getCodeImg } from '@/api/login'
@@ -50,6 +52,7 @@ import qs from 'qs'
import Background from '@/assets/images/background.webp'
export default {
name: 'Login',
components: { Ad },
data() {
return {
Background: Background,