55 lines
688 B
Vue
55 lines
688 B
Vue
<template>
|
|
<view @click="handleClick" style="height: 100%;">
|
|
<slot></slot>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { pageEventNames } from "@/common/enum"
|
|
export default {
|
|
props: {
|
|
|
|
},
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
created() {
|
|
|
|
},
|
|
onHide() {
|
|
|
|
},
|
|
unmounted() {},
|
|
|
|
methods: {
|
|
handleClick() {
|
|
uni.$emit(pageEventNames.globalClick)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<script module="VConsole" lang="renderjs">
|
|
import { initVConsole } from "./renderVConsole"
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
mounted() {
|
|
this.showVConsole()
|
|
},
|
|
methods: {
|
|
showVConsole(){
|
|
initVConsole()
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
|
|
</style> |