1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
<div class="c-page-container">
<!-- <div class="title" v-if="showTitle">
<i class="el-icon-location" style="color: #409eff;"></i>
<span>{{ title }}</span>
</div> -->
<div style="flex: 1; padding: 5px 15px; position: relative">
<slot></slot>
</div>
</div>
</template>
<script>
export default {
props: ["title"],
computed: {
// showTitle() {
// return this.$route.path.startsWith('/review');
// }
}
};
</script>
<style scoped>
.title {
margin: 0;
padding: 8px;
padding-left: 20px;
font-size: 14px;
border-bottom: 1px solid var(--darkbgcolor);
background-color: var(--darkbgcolor);
}
.c-page-container {
height: 100%;
display: flex;
flex-direction: column;
/* overflow-x: hidden; */
overflow: hidden;
}
</style>