Commit fbd2a7d6 by 胡悦

添加布局

1 parent 287d941a
...@@ -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-17 15:41:03 * @LastEditTime: 2023-07-18 17:47:05
* @FilePath: \dj-data-view\src\components\ViewTitle.vue * @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件 * @Description: 页面头部组件
--> -->
...@@ -165,10 +165,10 @@ export default { ...@@ -165,10 +165,10 @@ export default {
} }
.first-tab { .first-tab {
position: relative; position: relative;
width: 23.33vw; width: 26.53vw;
box-sizing: border-box; box-sizing: border-box;
.merchant-name { .merchant-name {
max-width: 18.61vw; max-width: 22.36vw;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -197,16 +197,6 @@ export default { ...@@ -197,16 +197,6 @@ export default {
left: 0; 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 { .search {
position: relative; position: relative;
......
...@@ -3,25 +3,15 @@ ...@@ -3,25 +3,15 @@
* @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-05 10:26:49 * @LastEditTime: 2023-07-19 10:30:04
--> -->
<template> <template>
<div class="layout"> <div class="left">afadf</div>
<view-container>
<template #title>
<view-title>
</view-title>
</template>
<template #content>
<Charts></Charts>
</template>
</view-container>
</div>
</template> </template>
<script> <script>
export default { export default {
name: '', name: 'ContentLeft',
data() { data() {
return {} return {}
}, },
...@@ -32,5 +22,11 @@ export default { ...@@ -32,5 +22,11 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.left {
display: flex;
flex-direction: column;
width: 64.17vw;
background: #091C40;
}
</style> </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 @@ ...@@ -3,17 +3,26 @@
* @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 12:04:11 * @LastEditTime: 2023-07-19 10:28:42
--> -->
<template> <template>
<div> <div class="view-content">
<Charts></Charts> <div class="content">
<ContentLeft></ContentLeft>
<ContentRight></ContentRight>
</div>
</div> </div>
</template> </template>
<script> <script>
import ContentLeft from '../../boutique/ContentLeft'
import ContentRight from '../../boutique/ContentRight.vue'
export default { export default {
name: 'ViewBoutique', name: 'ViewBoutique',
components: {
ContentLeft,
ContentRight
},
data() { data() {
return {} return {}
}, },
...@@ -24,5 +33,20 @@ export default { ...@@ -24,5 +33,20 @@ export default {
</script> </script>
<style lang="scss" scoped> <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> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!