show ad in mobile
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<div v-if="show" class="wwads-cn wwads-horizontal" data-id="296"></div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
show: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.show = navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -1,3 +0,0 @@
|
||||
<template>
|
||||
<div class="wwads-cn wwads-vertical" data-id="296" style="max-width:350px; margin-bottom: 20px;"></div>
|
||||
</template>
|
||||
@@ -0,0 +1,3 @@
|
||||
<template>
|
||||
<div class="wwads-cn wwads-vertical" data-id="296" style="margin-bottom: 20px;"></div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user