Commit fbd2a7d6 by 胡悦

添加布局

1 parent 287d941a
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-07-17 15:41:03
* @LastEditTime: 2023-07-18 17:47:05
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件
-->
......@@ -165,10 +165,10 @@ export default {
}
.first-tab {
position: relative;
width: 23.33vw;
width: 26.53vw;
box-sizing: border-box;
.merchant-name {
max-width: 18.61vw;
max-width: 22.36vw;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
......@@ -197,16 +197,6 @@ export default {
left: 0;
}
}
.other-tab{
width: 7.22vw;
box-sizing: border-box;
&.active {
background-image: url('../assets/images/other-tab-bg.png');
background-repeat: no-repeat;
background-size: 100% 100%;
border: none;
}
}
}
.search {
position: relative;
......
......@@ -3,25 +3,15 @@
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-07-05 10:26:49
* @LastEditTime: 2023-07-19 10:30:04
-->
<template>
<div class="layout">
<view-container>
<template #title>
<view-title>
</view-title>
</template>
<template #content>
<Charts></Charts>
</template>
</view-container>
</div>
<div class="left">afadf</div>
</template>
<script>
export default {
name: '',
name: 'ContentLeft',
data() {
return {}
},
......@@ -32,5 +22,11 @@ export default {
</script>
<style lang="scss" scoped>
.left {
display: flex;
flex-direction: column;
width: 64.17vw;
background: #091C40;
}
</style>
<!--
* @Description:
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-07-19 10:34:43
-->
<template>
<div class="right">aaaaaa</div>
</template>
<script>
export default {
name: 'ContentRight',
data() {
return {}
},
mounted() { },
methods: {
}
}
</script>
<style lang="scss" scoped>
.right {
display: flex;
flex-direction: column;
width: 31.39vw;
background: #091C40;
}
</style>
......@@ -3,17 +3,26 @@
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-07-06 12:04:11
* @LastEditTime: 2023-07-19 10:28:42
-->
<template>
<div>
<Charts></Charts>
<div class="view-content">
<div class="content">
<ContentLeft></ContentLeft>
<ContentRight></ContentRight>
</div>
</div>
</template>
<script>
import ContentLeft from '../../boutique/ContentLeft'
import ContentRight from '../../boutique/ContentRight.vue'
export default {
name: 'ViewBoutique',
components: {
ContentLeft,
ContentRight
},
data() {
return {}
},
......@@ -24,5 +33,20 @@ export default {
</script>
<style lang="scss" scoped>
.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 0;
margin-top: 1.78vh;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!