Commit 073251ae by 杨北旺

修复UI

1 parent 7c21c9ae
...@@ -61,12 +61,14 @@ export default { ...@@ -61,12 +61,14 @@ export default {
> p { > p {
// margin: 0 auto; // margin: 0 auto;
text-align: center; text-align: center;
margin-bottom: 25px; margin-bottom: 9px;
line-height: 20px;
font-weight: bold;
} }
.box_item { .box_item {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 15px; padding: 0 15px;
.textOne { .textOne {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
...@@ -75,13 +77,14 @@ export default { ...@@ -75,13 +77,14 @@ export default {
} }
.image_wrap { .image_wrap {
width: 100%; width: 100%;
height: 180px;
// width: 285px; // width: 285px;
height: 150px; // height: 150px;
margin: 10px 0; margin: 10px 0;
> img { > img {
width: 100%; width: 100%;
// width: 285px; // width: 285px;
height: 150px; height: 180px;
} }
} }
} }
......
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
} }
.table_widget { .table_widget {
width: 100%; width: 100%;
height: 90px; // height: 90px;
background: #f6f6f7; background: #f6f6f7;
// overflow: hidden; // overflow: hidden;
td, td,
......
...@@ -114,6 +114,7 @@ export default { ...@@ -114,6 +114,7 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #3a3a3a; color: #3a3a3a;
background: #f6f6f7;
} }
th, th,
td { td {
......
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
type: 'inside', type: 'inside',
show: false, show: false,
xAxisIndex: [0], xAxisIndex: [0],
start: 0, //默认为1 start: 1, //默认为1
end: 100 - 1500 / 31 //默认为100 end: 100 - 1500 / 31 //默认为100
} }
] ]
...@@ -81,35 +81,36 @@ export default { ...@@ -81,35 +81,36 @@ export default {
} }
}, },
grid: { grid: {
height: '60%' height: '60%',
}, },
legend: { legend: {
// data: ['领券数', '核销数', '精品升级订单'], data: ['领券数', '核销数', '精品升级订单']
itemWidth: 12, // itemWidth: 12,
itemHeight: 12, // itemHeight: 12,
data: [ // data: [
{ // {
icon: `image://${base_url}echart_icon_1.png`, // icon: `image://${base_url}echart_icon_1.png`,
name: '领券数' // name: '领券数'
}, // },
{ // {
icon: `image://${base_url}echart_icon_2.png`, // icon: `image://${base_url}echart_icon_2.png`,
name: '核销数' // name: '核销数'
}, // },
{ // {
icon: `image://${base_url}echart_icon_3.png`, // icon: `image://${base_url}echart_icon_3.png`,
name: '精品升级订单' // name: '精品升级订单'
} // }
] // ]
}, },
xAxis: [ xAxis: [
{ {
type: 'category', type: 'category',
axisTick: { show: false }, axisTick: { show: false },
data: this.xAxisData, data: this.xAxisData.reverse(),
axisLabel: { axisLabel: {
interval: 0 interval: 0
} },
inverse:true
} }
], ],
yAxis: [ yAxis: [
......
...@@ -62,15 +62,16 @@ export default { ...@@ -62,15 +62,16 @@ export default {
name: '金额' name: '金额'
}, },
legend: { legend: {
// data: ['分润金额', '分账金额']
itemWidth: 12, itemWidth: 12,
itemHeight: 12, itemHeight: 12,
data: [ data: [
{ {
icon: `image://${base_url}echart_icon_4.png`, icon: 'roundRect',
name: '分润金额' name: '分润金额'
}, },
{ {
icon: `image://${base_url}echart_icon_5.png`, icon: 'roundRect',
name: '分账金额' name: '分账金额'
} }
] ]
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<div class="introduct-container"> <div class="introduct-container">
<div class="wrap_con flex_scb"> <div class="wrap_con flex_scb">
<div class="text_wrap"> <div class="text_wrap">
<span>《嘀加企微管家》</span> <span class="h4_title">《嘀加企微管家》</span>
<div class="maxText"> <div class="maxText">
<span> <span>
给您一套 给你一套
<span style="font-size: 42px">帮你变现</span> <span style="font-size: 42px">帮你变现</span>
的服务系统 的服务系统
</span> </span>
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
<img class="icon" :src="item.icon" /> <img class="icon" :src="item.icon" />
<p class="title">{{ item.title }}</p> <p class="title">{{ item.title }}</p>
<div style="height: 15px"></div> <div style="height: 15px"></div>
<p class="h9_title">{{ item.desc }}</p> <p class="h9_title lih18">{{ item.desc }}</p>
<p v-if="item.miniDesc" class="h9_title">{{ item.miniDesc }}</p> <p v-if="item.miniDesc" class="h9_title lih18">{{ item.miniDesc }}</p>
<div v-if="!item.miniDesc" style="height: 14px"></div> <div v-if="!item.miniDesc" style="height: 14px"></div>
<div style="height: 23px"></div> <div style="height: 23px"></div>
<div class="btn_text h13_title flex_scb"> <div class="btn_text h13_title flex_scb">
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
padding-right: 80px; padding-right: 80px;
.text_wrap { .text_wrap {
box-sizing: border-box; box-sizing: border-box;
padding-left: 44px; padding-left: 60px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
...@@ -271,7 +271,7 @@ export default { ...@@ -271,7 +271,7 @@ export default {
} }
.maxText { .maxText {
font-size: 30px; font-size: 30px;
font-weight: 500; font-weight: bold;
color: #000000; color: #000000;
margin-top: 10px; margin-top: 10px;
} }
...@@ -347,6 +347,9 @@ export default { ...@@ -347,6 +347,9 @@ export default {
margin-left: 14px; margin-left: 14px;
} }
} }
.lih18{
line-height: 18px;
}
} }
} }
.sec_con { .sec_con {
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<div class="not-open-container"> <div class="not-open-container">
<div class="header_widget"> <div class="header_widget">
<div class="posi_wrap_one"> <div class="posi_wrap_one">
<div class="h2_title">精品升级</div> <div class="h2_title lih33">精品升级</div>
<div class="h1_title title_margin">帮您创造新的业绩增长点</div> <div class="h1_title lih59">帮您创造新的业绩增长点</div>
<div class="h4_title">专注经销商精品礼券转化升级服务,为经销商提供增值服务。</div> <div class="h4_title lih22">专注经销商精品礼券转化升级服务,为经销商提供增值服务。</div>
<div class="video_wrapper"> <div class="video_wrapper">
<el-button size="small" type="primary" @click="openVideoWindow">接入演示</el-button> <el-button size="small" type="primary" @click="openVideoWindow">接入演示</el-button>
</div> </div>
...@@ -153,17 +153,26 @@ export default { ...@@ -153,17 +153,26 @@ export default {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
box-sizing: border-box; box-sizing: border-box;
padding: 0 80px; padding: 0 80px 0 60px;
.posi_wrap_one { .posi_wrap_one {
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
padding-top: 77px; padding-top: 77px;
overflow: hidden; overflow: hidden;
.title_margin {
margin: 5px 0 10px 0;
}
.video_wrapper { .video_wrapper {
margin-top: 25px; margin-top: 31px;
}
.lih33{
line-height: 33px;
font-weight: bold;
}
.lih59{
line-height: 59px;
font-weight: bold;
}
.lih22{
line-height: 22px;
margin-top: 10px;
} }
} }
.posi_wrap_two { .posi_wrap_two {
......
...@@ -28,9 +28,12 @@ ...@@ -28,9 +28,12 @@
</div> </div>
<template v-if="accountLevel == 4"> <template v-if="accountLevel == 4">
<span class="text_tip h12_title">{{ showMoneyLineTitle }}</span> <span class="text_tip h12_title">{{ showMoneyLineTitle }}</span>
<span class="text_tip_price h13_title">昨日产值:{{ productValueInfo.yesterdayDivisionMoney ? '¥' : '' }}{{ productValueInfo.yesterdayDivisionMoney || '---' }}</span> <div class="posi_wrapper">
<span class="text_tip_price1 h13_title">今日产值:{{ productValueInfo.todayDivisionMoney ? '¥' : '' }}{{ productValueInfo.todayDivisionMoney || '---' }}</span> <p class="h13_title">昨日产值:{{ productValueInfo.yesterdayDivisionMoney ? '¥' : '' }}{{ productValueInfo.yesterdayDivisionMoney || '---' }}</p>
<span class="text_tip_price2 h13_title">行业均值(单店):{{ productValueInfo.totalDivisionMoney ? '¥' : '' }}{{ productValueInfo.totalDivisionMoney || '---' }}</span> <p style="height:15px"></p>
<p class="h13_title">今日产值:{{ productValueInfo.todayDivisionMoney ? '¥' : '' }}{{ productValueInfo.todayDivisionMoney || '---' }}</p>
</div>
<span class="text_tip_price2 h13_title">平均单店产值:{{ productValueInfo.totalDivisionMoney ? '¥' : '' }}{{ productValueInfo.totalDivisionMoney || '---' }}</span>
<span class="text_tip_price3 h13_title">累计利润:{{ productValueInfo.profitMoney ? '¥' : '' }}{{ productValueInfo.profitMoney || '---' }}</span> <span class="text_tip_price3 h13_title">累计利润:{{ productValueInfo.profitMoney ? '¥' : '' }}{{ productValueInfo.profitMoney || '---' }}</span>
<span class="text_tip_price4 h13_title">昨日利润:{{ productValueInfo.yesterdayProfitMoney ? '¥' : '' }}{{ productValueInfo.yesterdayProfitMoney || '---' }}</span> <span class="text_tip_price4 h13_title">昨日利润:{{ productValueInfo.yesterdayProfitMoney ? '¥' : '' }}{{ productValueInfo.yesterdayProfitMoney || '---' }}</span>
</template> </template>
...@@ -297,11 +300,12 @@ export default { ...@@ -297,11 +300,12 @@ export default {
}, },
// 已开通--订单统计 // 已开通--订单统计
judgeOpen() { judgeOpen() {
let openInfo = JSON.parse(localStorage.getItem('openInfo')) // let openInfo = JSON.parse(localStorage.getItem('openInfo'))
this.bengintime = utils.dateFormat(openInfo.openDate) // this.bengintime = utils.dateFormat(openInfo.openDate)
this.bengintime = utils.getDateStr(-15)
// this.bengintime = this.$defaultStartDate // this.bengintime = this.$defaultStartDate
this.endtime = utils.dateFormat(new Date()) this.endtime = utils.dateFormat(new Date())
this.chartStartDate = this.bengintime this.chartStartDate = utils.getDateStr(-15)
this.chartEndDate = this.endtime this.chartEndDate = this.endtime
this.orderDataInfo() this.orderDataInfo()
}, },
...@@ -467,18 +471,24 @@ export default { ...@@ -467,18 +471,24 @@ export default {
left: 224px; left: 224px;
top: 128px; top: 128px;
} }
.text_tip_price { .posi_wrapper{
position: absolute; position: absolute;
top: 109px; top: 109px;
right: 108px; right: 108px;
min-width: 110px; min-width: 110px;
} }
.text_tip_price1 { // .text_tip_price {
min-width: 110px; // position: absolute;
position: absolute; // top: 109px;
top: 144px; // right: 108px;
right: 108px; // min-width: 110px;
} // }
// .text_tip_price1 {
// min-width: 110px;
// position: absolute;
// top: 144px;
// right: 108px;
// }
.text_tip_price2 { .text_tip_price2 {
position: absolute; position: absolute;
bottom: 90px; bottom: 90px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!