修改支付页面和订单页面高度错误问题
This commit is contained in:
parent
cc17426731
commit
827bb6e870
@ -77,6 +77,11 @@ export default {
|
|||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
height() {
|
height() {
|
||||||
|
if (/\/dp\//.test(this.$route.path) ||
|
||||||
|
/\/plan\//.test(this.$route.path)) {
|
||||||
|
return this.$store.state.app.height;
|
||||||
|
}
|
||||||
|
|
||||||
return this.$store.state.app.height - 61;
|
return this.$store.state.app.height - 61;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
listShow: true,
|
listShow: true,
|
||||||
widthLeft: 450
|
widthLeft: Number(localStore.get('LeftWidth')) || 450
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -43,9 +43,6 @@ export default {
|
|||||||
this.listShow = val;
|
this.listShow = val;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
this.widthLeft = Number(localStore.get('LeftWidth'));
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
refresh() {
|
refresh() {
|
||||||
this.$refs && this.$refs.examlList && this.$refs.examlList.refresh();
|
this.$refs && this.$refs.examlList && this.$refs.examlList.refresh();
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<el-card v-loading="loading" class="map-list-main">
|
<el-card v-loading="loading" class="map-list-main">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>试题列表</span>
|
<span>试题列表</span>
|
||||||
<!-- <div v-if="role" class="back-home" @click="backHome">返回首页</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
<filter-city
|
<filter-city
|
||||||
ref="filerCity"
|
ref="filerCity"
|
||||||
@ -12,7 +11,7 @@
|
|||||||
@filterSelectChange="refresh"
|
@filterSelectChange="refresh"
|
||||||
/>
|
/>
|
||||||
<el-input v-model="filterText" placeholder="输入关键字进行过滤" clearable />
|
<el-input v-model="filterText" placeholder="输入关键字进行过滤" clearable />
|
||||||
<el-scrollbar wrap-class="scrollbar-wrapper" :style="{ height: (height-125) +'px' }">
|
<el-scrollbar wrap-class="scrollbar-wrapper" :style="{ height: (height-175) +'px' }">
|
||||||
<el-tree
|
<el-tree
|
||||||
ref="tree"
|
ref="tree"
|
||||||
:data="treeData"
|
:data="treeData"
|
||||||
@ -97,9 +96,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// backHome() {
|
|
||||||
// this.$router.push({ path: `/` });
|
|
||||||
// },
|
|
||||||
filterNode(value, data) {
|
filterNode(value, data) {
|
||||||
if (!value) return true;
|
if (!value) return true;
|
||||||
return data.name.indexOf(value) !== -1;
|
return data.name.indexOf(value) !== -1;
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
:data="ruleList"
|
:data="ruleList"
|
||||||
border
|
border
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:height="height-400"
|
:height="height-450"
|
||||||
>
|
>
|
||||||
<el-table-column prop="createTime" label="创建时间" />
|
<el-table-column prop="createTime" label="创建时间" />
|
||||||
<el-table-column prop="creatorUserName" label="创建者" />
|
<el-table-column prop="creatorUserName" label="创建者" />
|
||||||
|
Loading…
Reference in New Issue
Block a user