Commit c9baea0e by 前端

fixed

1 parent dfa8d6e5
......@@ -154,21 +154,13 @@
}
}
.left-content {
background: linear-gradient(
90deg,
rgba(255, 211, 177, 0.7) 0%,
rgba(255, 226, 205, 0) 100%
);
background: linear-gradient(90deg, rgba(255, 211, 177, 0.7) 0%, rgba(255, 226, 205, 0) 100%);
// opacity: 0.7;
border-radius: 22px;
padding: 14px 20px 8px;
}
.right-content {
background: linear-gradient(
270deg,
rgba(255, 167, 152, 0.6) 0%,
rgba(254, 177, 164, 0) 100%
);
background: linear-gradient(270deg, rgba(255, 167, 152, 0.6) 0%, rgba(254, 177, 164, 0) 100%);
// opacity: 0.6;
border-radius: 22px;
padding: 14px 20px 8px;
......@@ -214,8 +206,9 @@
}
.box-body-wrap {
display: flex;
justify-content: center;
&-vessel {
flex: 1;
width: 50%;
height: 374px;
background: linear-gradient(0deg, #ffefe2 0%, #fff6ea 100%);
box-shadow: 0px 0px 10px 0px rgba(255, 193, 88, 0.2);
......@@ -238,15 +231,15 @@
border-radius: 50%;
margin-right: 10px;
}
.brand-wrap{
margin:0 24px 24px 30px;
.brand-wrap {
margin: 0 24px 24px 30px;
}
.brand-text {
font-size: 20px;
font-weight: 400;
color: #333333;
align-items: center;
margin-bottom:20px;
margin-bottom: 20px;
}
}
.box-body-details {
......
......@@ -2,8 +2,8 @@
* @Description: 战报
* @Author: huyue
* @Date: 2022-10-11 17:41:38
* @LastEditors: huyue
* @LastEditTime: 2022-10-24 13:45:35
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2022-10-24 14:04:05
-->
<template>
<!-- 战报产品 -->
......@@ -379,7 +379,6 @@
<div class="first-bg">
<img src="@/assets/images/activityReport/first-bg.png" alt="" />
</div>
<div class="department first-department x-center">
{{ data.activitedInfo.departmentOrderRank[0].department }}
</div>
......@@ -542,7 +541,7 @@
<div class="box-body">
<div class="box-body-head">
<div>客户数占比</div>
<div>车型占比</div>
<div v-if="data.activitedInfo.seriesRank.length != 0">车型占比</div>
</div>
<div class="box-body-wrap">
<div class="box-body-wrap-vessel client">
......@@ -566,7 +565,10 @@
</div>
</div>
</div>
<div class="box-body-wrap-vessel vehicle">
<div
class="box-body-wrap-vessel vehicle"
v-if="data.activitedInfo.seriesRank.length != 0"
>
<echart-box
:value="data.activitedInfo.seriesRank"
id="vehicle"
......@@ -781,7 +783,6 @@
<div class="arrow-left">
<img src="@/assets/images/activityReport/arrow-left.png" alt="" />
</div>
<div class="arrow-right">
<img src="@/assets/images/activityReport/arrow.png" alt="" />
</div>
......@@ -959,11 +960,11 @@ const getInfo = async () => {
data.activitedInfo.coverRateValue = [
{
name: "1",
value: coverRate,
value: coverRate / 100,
},
{
name: "2",
value: 1 - coverRate,
value: 1 - coverRate / 100,
},
] as any;
if (
......@@ -1024,7 +1025,6 @@ onMounted(() => {
}
});
</script>
<style lang="scss" scoped>
@import "src/assets/styles/activity.scss";
@import "src/assets/styles/activited.scss";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!