Commit 7e40a158 by 胡悦

修改文件位置

1 parent b22324b4
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26 * @Date: 2022-10-25 10:12:26
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-07-06 12:00:03 * @LastEditTime: 2023-07-06 14:16:20
* @FilePath: \dj-data-view\src\components\ViewTitle.vue * @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件 * @Description: 页面头部组件
--> -->
...@@ -67,6 +67,7 @@ export default { ...@@ -67,6 +67,7 @@ export default {
this.currentMenu = val this.currentMenu = val
if (val === 'home') _val = this.firstTab.value if (val === 'home') _val = this.firstTab.value
this.$bus.$emit('selectVal', _val) this.$bus.$emit('selectVal', _val)
this.isShow = false
} }
} }
} }
......
<!--
* @Description: 内容
* @Author: huyue
* @Date: 2023-07-04 13:56:33
* @LastEditors: huyue
* @LastEditTime: 2023-07-05 10:47:13
-->
<template>
<div class="view-content">
<ViewDate></ViewDate>
<div class="content">
<ContentLeft></ContentLeft>
<ContentRight></ContentRight>
</div>
</div>
</template>
<script>
import ContentLeft from './ContentLeft.vue'
import ContentRight from './ContentRight.vue'
export default {
name: 'ViewContent',
components: {
ContentLeft,
ContentRight
},
props: {
},
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.view-content {
width: 100%;
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1.78vh 24px;
gap: 0 16px;
}
.content {
display: flex;
justify-content: space-between;
padding: 1.78vh 0;
> div {
// height: 100%;
}
}
</style>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 13:55:35 * @Date: 2023-07-04 13:55:35
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-07-06 11:26:17 * @LastEditTime: 2023-07-06 15:03:06
--> -->
<template> <template>
<div class="layout"> <div class="layout">
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</template> </template>
<script> <script>
import './components' import './pages'
// import ViewContent from './components/ViewContent.vue' // import ViewContent from './components/ViewContent.vue'
export default { export default {
name: '', name: '',
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 13:56:33 * @Date: 2023-07-04 13:56:33
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-07-06 12:03:59 * @LastEditTime: 2023-07-06 15:04:01
--> -->
<template> <template>
<div class="view-content"> <div class="view-content">
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
</div> </div>
</template> </template>
<script> <script>
import ContentLeft from './ContentLeft.vue' import ContentLeft from '../components/ContentLeft'
import ContentRight from './ContentRight.vue' import ContentRight from '../components/ContentRight.vue'
export default { export default {
name: 'ViewSolar', name: 'ViewSolar',
components: { components: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!