暖心人
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.
 
 
 

41 lines
612 B

<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>