You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
612 B
42 lines
612 B
1 year ago
|
<template>
|
||
|
<view style="width:100vw;" :style="{height:height}"></view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: 'm-private',
|
||
|
props: {
|
||
|
src: {
|
||
|
type: String,
|
||
|
default: ''
|
||
|
},
|
||
|
defaultImage: {
|
||
|
type: String,
|
||
|
default: ''
|
||
|
},
|
||
|
size: {
|
||
|
type: String,
|
||
|
default: '150rpx'
|
||
|
}
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
height: '0',
|
||
|
}
|
||
|
},
|
||
|
computed: {},
|
||
|
methods: {},
|
||
|
mounted() {
|
||
|
uni.$m.uniSysInfo().then(response => {
|
||
|
this.height = response.sysAndMenuHeight + 'px';
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
page {
|
||
|
width: 100%;
|
||
|
}
|
||
|
</style>
|