Commit c9baea0e by 前端

fixed

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