Commit 2fb0cbbe by 前端

ui

1 parent f39c5a77
@import './normalize.scss';
@import "./normalize.scss";
@font-face {
font-family: 'PingFangSC-Regular';
src: url('../font/PingFang-Regular.ttf');
font-family: "PingFangSC-Regular";
src: url("../font/PingFang-Regular.ttf");
}
html,
body .app {
color: #333333;
font-family: 'PingFangSC-Regular', Arial, Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, sans-serif;
font-family: "PingFangSC-Regular", Arial, Helvetica, "STHeiti STXihei", "Microsoft YaHei", Tohoma, sans-serif;
background-color: #fff;
-webkit-overflow-scrolling: touch;
height: 100%;
......@@ -101,7 +101,7 @@ img {
}
.icon-title {
display: inline-block;
width:0.94vw;
width: 0.94vw;
height: 0.93vh;
background: url(../images/operation//icon-title.png) no-repeat;
background-size: 100%;
......@@ -131,8 +131,8 @@ img {
height: 8.54vh;
margin: 8px 6px 8px 8px;
}
.user-container{
height:6.1vh;
.user-container {
height: 6.1vh;
margin: 5px 6px 5px 6px;
}
.empty {
......@@ -149,14 +149,14 @@ img {
}
.text-linear {
display: inline-block;
color: #5894FF;
background-image:-webkit-linear-gradient(left,#24D8FF,#7787FF);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
color: #5894ff;
background-image: -webkit-linear-gradient(left, #24d8ff, #7787ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.user-box {
height: 9.63vh;
width:13.26vw;
height: 9.23vh;
width: 13.26vw;
background: #071735;
}
.patch-title {
......@@ -168,18 +168,18 @@ img {
font-size: 14px;
z-index: 1;
&::before {
content: '';
content: "";
position: absolute;
left: 0;
width: 7.5vw;
height: 2.22vh;
background-image: linear-gradient(269deg, #5663ff00 10%, #6578ffd4 49%, #079FF1 100%);
background-image: linear-gradient(269deg, #5663ff00 10%, #6578ffd4 49%, #079ff1 100%);
z-index: -1;
}
}
.linear-gradient-text {
color: #5894FF;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF);
color: #5894ff;
background-image: -webkit-linear-gradient(left, #0185f9, #53faff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
\ No newline at end of file
}
......@@ -350,7 +350,7 @@ export default {
.footer {
position: relative;
width: 1280px;
height: 723px;
height: 705px;
.swiper {
li {
display: flex;
......
......@@ -67,19 +67,19 @@ export default {
overflow: hidden;
.top {
height: 52.4vh;
height: 544px;
width: 100%;
// padding: 0 16px;
box-sizing: border-box;
background: url(../../assets/images/operation/bg-1.png) no-repeat;
background-size: 100% 52.4vh;
background-size: 100% 544px;
}
.bottom {
height: 34.15vh;
margin-top: 1.95vh;
height: 338px;
margin-top: 20px;
box-sizing: content-box;
background: url(../../assets/images/operation/bg-3.png) no-repeat;
background-size: 100% 34.15vh;
background-size: 100% 100%;
}
}
</style>
......@@ -16,12 +16,12 @@
<box-title title="私域用户池总览" :textAlign="'center'"></box-title>
<div class="bottom-content">
<UserTab></UserTab>
<view-chart></view-chart>
<view-line-group>
<div slot="1"><Analyse :height="defaultHeight"></Analyse></div>
<div slot="2"><Brand :height="defaultHeight" :brandList="brandList"></Brand></div>
<div slot="3"><Area :height="defaultHeight" :areaList="areaList"></Area></div>
</view-line-group>
<view-chart></view-chart>
<view-line-group>
<div slot="1"><Analyse :height="defaultHeight"></Analyse></div>
<div slot="2"><Brand :height="defaultHeight" :brandList="brandList"></Brand></div>
<div slot="3"><Area :height="defaultHeight" :areaList="areaList"></Area></div>
</view-line-group>
</div>
</div>
</div>
......@@ -87,14 +87,14 @@ export default {
display: flex;
flex-direction: column;
.top {
height: 34.15vh;
height: 338px;
box-sizing: border-box;
background: url(../../assets/images/operation/bg-2.png) no-repeat;
background-size: 100% 100%;
}
.bottom {
height: 53.66vh;
margin-top: 0.95vh;
height: 544px;
margin-top: 20px;
box-sizing: border-box;
background: url(../../assets/images/operation/bg-4.png) no-repeat;
background-size: 100% 100%;
......
......@@ -68,12 +68,13 @@ export default {
}
.icon {
display: inline-block;
width:0.94vw;
width: 0.94vw;
height: 0.93vh;
transform: rotate(90deg);
background: url(../../../assets/images/operation//icon-title.png) no-repeat;
background-size: 100%;
margin-top: 7px;
margin-left: 14px;
}
.title {
display: block;
......@@ -83,14 +84,14 @@ export default {
// margin: 4px 4px;
// height:10.98vh;
font-size: 10px;
margin-left: 5px;
margin-left: 20px;
// transform: rotate(90deg);
}
.go {
width: 0.65vw;
height: 0.65vw;
margin: 3px 5px;
cursor: pointer;
margin: 3px 17px;
cursor: pointer;
}
}
</style>
......@@ -10,8 +10,8 @@
<div class="business-wrap flex">
<div class="business-data">
<!-- <business-view :businessNum="businessNum"></business-view> -->
<StatisticsBox class="business-box" :list="list.slice(0,2)"></StatisticsBox>
<StatisticsBox class="business-box second-box" :list="list.slice(2,4)"></StatisticsBox>
<StatisticsBox class="business-box" :list="list.slice(0, 2)"></StatisticsBox>
<StatisticsBox class="business-box second-box" :list="list.slice(2, 4)"></StatisticsBox>
</div>
<div class="business-category">
<Category :categoryData="categoryData"></Category>
......@@ -48,7 +48,7 @@ export default {
{
name: '2.3新车延保',
value: 4441921
},
}
],
list: [
{
......@@ -116,7 +116,7 @@ export default {
<style lang="scss" scoped>
.business-wrap {
height: 14.15vh;
height: 13.15vh;
margin: 1.98vh 0.83vw 0.98vh;
// margin-bottom: 0.98vh;
// margin-top: 0.98vh;
......@@ -126,9 +126,9 @@ export default {
// margin-top: 0.98vh;
width: 38.06vw;
height: 100%;
/deep/{
/deep/ {
.business-box.statistics {
height: 6.83vh;
height: 6.33vh;
box-sizing: border-box;
.statistics-item {
margin-right: 0.28vw;
......
......@@ -46,7 +46,7 @@ export default {
<style lang="scss" scoped>
.category-box {
overflow: hidden;
height: 13.9vh;
height: 13.2vh;
background-color: rgba(11, 44, 142, 0.28);
.title-icon {
font-weight: 500;
......@@ -58,7 +58,7 @@ export default {
// }
}
.category-container {
height: 11.34vh;
height: 10.54vh;
// margin: 1.59vh 1.67vw 1.46vh 1.11vw;
.category-legend {
width: 4.2vw;
......
......@@ -108,7 +108,7 @@ export default {
},
methods: {
toFixNum(val) {
if(!val){
if (!val) {
return '0.0%'
}
return (val * 100).toFixed(1) + '%'
......@@ -155,8 +155,8 @@ export default {
height: 29.27vh;
}
.headline {
height: 5.61vh;
background: #092A46;
height: 5.01vh;
background: #092a46;
font-weight: 600;
font-size: 12px;
color: #e8e8e8;
......@@ -204,7 +204,7 @@ export default {
width: 4.29vw;
}
.pd26 {
height: 9.51vh;
height: 9.01vh;
padding: 3.17vh 0;
}
}
......@@ -221,9 +221,9 @@ export default {
font-weight: 400;
font-size: 12px;
color: #fff;
border-bottom: 1px solid #0E2949;
border-bottom: 1px solid #0e2949;
box-sizing: border-box;
height: 3.17vh;
height: 2.97vh;
.clew-num {
font-weight: 700;
font-size: 12px;
......
......@@ -126,7 +126,7 @@ export default {
const selectIndex = TEXT_VIEW.findIndex(item => item.name === name)
if (selectIndex > 2) return
this.selectIndex = selectIndex
const params = { req: { queryItem }}
const params = { req: { queryItem } }
this.api.operational.getTrend(params).then(res => {
if (res.code === '0') {
const dataList = res.data.dataList
......@@ -165,7 +165,7 @@ export default {
.statistics {
display: flex;
color: #fff;
height: 9.51vh;
height: 9.01vh;
&-item {
padding: 0.49vh 0.53vw;
margin-right: 0.56vw;
......@@ -193,7 +193,7 @@ export default {
font-weight: 500;
font-size: 12px;
margin-bottom: 0.4vh;
height: 2.22vh;
height: 1.82vh;
}
&-unit {
padding-right: 0.56vw;
......@@ -204,7 +204,7 @@ export default {
color: #25d6ff;
font-weight: 600;
font-size: 14px;
height: 3.11vh;
height: 2.81vh;
&-number {
padding-right: 0.56vw;
font-size: 24px;
......
......@@ -56,7 +56,7 @@ export default {
<style scoped lang="scss">
.view-chart {
height: 19.39vh;
height: 18.5vh;
margin: 0.98vh 0;
.line-chart {
width: 25.14vw;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!