computed: {
styleVar() {
let h = this.hieght - 37;
return 'height:' + h + 'px';
},
},
//列表自适应高度
listHeight() {
let h = 0;
let contentHeight = 0;
if (window.innerHeight) {
h = window.innerHeight; //Mozilla
computed: {
styleVar() {
let h = this.hieght - 37;
return 'height:' + h + 'px';
},
},
//列表自适应高度
listHeight() {
let h = 0;
let contentHeight = 0;
if (window.innerHeight) {
h = window.innerHeight; //Mozilla