Commit e87cc36a by 胡悦

提交

1 parent 9fd18815
......@@ -3,11 +3,11 @@
* @Author: huyue
* @Date: 2022-06-23 10:52:23
* @LastEditors: huyue
* @LastEditTime: 2023-08-16 16:45:18
* @LastEditTime: 2023-08-17 18:02:44
-->
<template>
<div class="right">
<div class="top">
<div class="top box">
<box-title title="营销增值服务业务"></box-title>
<Business></Business>
<Project></Project>
......@@ -86,10 +86,6 @@ export default {
flex-direction: column;
.top {
height: 33.41vh;
// background-image: url('../assets/images/bg-3.png');
background-repeat: no-repeat;
background-size: 100% 100%;
padding: 0 16px;
box-sizing: border-box;
}
.bottom {
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-08-17 16:38:12
* @LastEditTime: 2023-08-17 18:03:51
* @FilePath: \dj-data-view\src\views\saas\business.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -89,8 +89,9 @@ export default {
<style lang="scss" scoped>
.business-wrap {
height: 13.9vh;
margin-bottom: 0.98vh;
margin-top: 0.98vh;
margin: 0.98vh 0.83vw;
// margin-bottom: 0.98vh;
// margin-top: 0.98vh;
.business-data {
margin-right: 4px;
// margin-top: 0.98vh;
......
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-08-17 15:07:11
* @FilePath: \dj-data-view\src\views\saas\business.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="business-desc-wrap">
<div class="business-top flex">
<div class="business-border box">
<div class="business-title">累计展业门店数</div>
<div class="business-number">{{ numAddSymbol(businessNum.totalNum) }}</div>
</div>
<div class="business-border box">
<div class="business-title">当年新增门店数</div>
<div class="business-number">{{ numAddSymbol(businessNum.increnum) }}</div>
</div>
<div class="business-border box">
<div class="business-title">客单价</div>
<div class="business-number">{{ toFixNum(businessNum.atv) }}</div>
</div>
</div>
<div class="business-bottom flex">
<div class="business-border box">
<div class="business-title">上月GMV</div>
<div class="business-number">{{ numAddSymbol(businessNum.outputValuethismonth) }}</div>
</div>
<div class="business-border box">
<div class="business-title">累计GMV</div>
<div class="business-number">{{ numAddSymbol(businessNum.outputValuethisyear) }}</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'BusinessView',
data() {
return {}
},
props: {
businessNum: {
type: Object,
default: () => {}
}
},
methods: {
toFixNum(val) {
return this.numAddSymbol(Math.round(Number(val)))
}
}
}
</script>
<style lang="scss" scoped>
.business-desc-wrap {
.business-top {
justify-content: space-around;
.business-border {
height: 6.71vh;
width: 11.86vw;
padding: 0.4vh 1.11vw;
box-sizing: border-box;
background: #0b0e31;
.business-title {
font-weight: 400;
font-size: 12px;
color: #e8e8e8;
}
.business-number {
font-weight: 700;
font-size: 24px;
line-height: 30px;
color: #6578ff;
}
}
}
.business-bottom {
margin-top: 0.5vh;
height: 6.71vh;
width: 100%;
padding: 0.4vh 1.11vw;
box-sizing: border-box;
background: #0b0e31;
.business-border {
width: 50%;
&:first-child {
// width: 12vw;
}
}
.business-title {
font-weight: 400;
font-size: 12px;
color: #e8e8e8;
}
.business-number {
font-weight: 700;
font-size: 24px;
line-height: 30px;
color: #6578ff;
}
}
}
</style>
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-08-16 15:31:34
* @LastEditTime: 2023-08-17 18:05:36
* @FilePath: \dj-data-view\src\views\saas\project.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -11,7 +11,7 @@
<div class="project-item flex" v-for="(item, index) in projectList" :key="index">
<div class="project-left">
<div :class="['project-title', { fontSmall: index == 3 }]">{{ item.name }}</div>
<!-- <div class="project-icon"><img src="@/assets/images/arrow.png" alt="" /></div> -->
<div class="project-icon"><img src="@/assets/images/arrow.png" alt="" /></div>
</div>
<div class="project-right flex">
<div class="project-content-item">
......@@ -44,7 +44,7 @@ export default {
name: 'Project',
data() {
return {
projectList: []
projectList: [{}, {}, {}, {}]
}
},
mounted() {
......@@ -70,18 +70,18 @@ export default {
<style lang="scss" scoped>
.project-wrap {
margin-top: 1.5vh;
margin: 1.5vh 0.83vw 0;
height: 11.71vh;
flex-wrap: wrap;
justify-content: space-between;
.project-item {
width: 49.6%;
background: #0b0e31;
background: #071735;
.project-left {
width: 2.8vw;
padding: 0px 0.4vw;
height: 5.61vh;
background: #2436b7;
background-image: linear-gradient(270deg, #6578FF 0%, #079FF1 100%);
text-align: center;
.project-title {
color: #e8e8e8;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!