|
我头部不见了。
<template name='chat-box'>
<view class="page">
<a-header :left-icon="true" right-icon="../../image/ellipsis.png" onClickRight="onClickRight()">lengtoo</a-header>
</view>
</template>
<script>
import AHeader from "../../components/a-header.stml";
export default {
name: 'chat-box',
apiready() {
api.openFrame({
name: 'chat-content',
url: './chat-content.stml',
rect: {
x: 0,
y: 0,
w: 'auto',
h: 'auto'
},
pageParam: {
name: 'test'
}
});
},
data() {
return {};
},
methods: {
}
}
</script>
<style scoped>
.page {
height: 100%;
background-color: rgba(244, 244, 244, 1);
}
</style>
是不是 rect 要把头部高度去掉?可是我不知道怎么知道头部高度。 |
|