Commit be9f1db9 authored by renjintao's avatar renjintao

shopIndex

parent 9f7da4b7
......@@ -18,6 +18,7 @@
:action="action"
:conditions="easySearch"
style="margin-top: 45px;"
:height="tdHeight"
>
<template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline>
......@@ -103,6 +104,7 @@ export default {
editModal: false,
detailModal: false,
deletelModal: false,
tdHeight: "",
curId: 0,
curId1: 0,
curShopName: '',
......@@ -250,8 +252,17 @@ export default {
},
mounted() {
this.loadData()
window.onresize = () => {
///浏览器窗口大小变化
return (() => {
window.screenHeight = window.innerHeight;
this.tdHeight = window.screenHeight - 265;
})();
};
},
created() {
this.tdHeight = window.innerHeight - 265;
},
created() {},
async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典
},
......@@ -352,6 +363,6 @@ export default {
</script>
<style lang="less" scoped>
.full {
margin-top: 0;
margin-top:0;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment