Files
dvcp_v2_wxcp_app/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue

855 lines
20 KiB
Vue
Raw Normal View History

2022-07-08 11:22:57 +08:00
<template>
<div class="AppPropagandaStatistics">
2022-07-12 18:10:42 +08:00
<div class="calendar_header">
2022-07-15 10:44:31 +08:00
<u-section
title="宣发日历"
:show-line="false"
sub-title="查看更多"
@click="readMore"
></u-section>
2022-07-12 18:10:42 +08:00
</div>
<div class="threeDays">
<div class="yesterday">
2022-07-15 10:44:31 +08:00
<div class="itemYesterday">
昨天<span>{{ nowMonth }}.{{ nowDate - 1 }}</span>
</div>
<div
v-if="
calendarList &&
calendarList[nowDate - 1] &&
calendarList[nowDate - 1].taskList.length > 0
"
>
晴风小区志愿者活动
</div>
<div
v-if="
!(
calendarList &&
calendarList[nowDate - 1] &&
calendarList[nowDate - 1].taskList.length > 0
)
"
>
今日暂无宣发任务
</div>
2022-07-12 18:10:42 +08:00
</div>
<div class="today">
2022-07-15 10:44:31 +08:00
<div class="itemToday">
今天<span>{{ nowMonth }}.{{ nowDate }}</span>
</div>
<div
v-if="
calendarList &&
calendarList[nowDate - 1] &&
calendarList[nowDate - 1].taskList.length > 0
"
>
晴风小区志愿者活动
</div>
<div
v-if="
!(
calendarList &&
calendarList[nowDate - 1] &&
calendarList[nowDate - 1].taskList.length > 0
)
"
>
今日暂无宣发任务
</div>
2022-07-12 18:10:42 +08:00
</div>
<div class="tomorrow">
2022-07-15 10:44:31 +08:00
<div class="itemTomorrow">
明天<span>{{ nowMonth }}.{{ nowDate + 1 }}</span>
</div>
<div
v-if="
calendarList &&
calendarList[nowDate - 1] &&
calendarList[nowDate - 1].taskList.length > 0
"
>
晴风小区志愿者活动
</div>
<div
v-if="
!(
calendarList &&
calendarList[nowDate - 1] &&
calendarList[nowDate - 1].taskList.length > 0
)
"
>
今日暂无宣发任务
</div>
<div class="isShow" @click="showMore()">
{{ isShow ? "收起" : "展开" }}
</div>
2022-07-14 15:40:57 +08:00
<span></span>
2022-07-12 18:10:42 +08:00
</div>
</div>
2022-07-11 16:01:51 +08:00
<!-- 折线图 -->
<div class="brokenEcharts">
2022-07-13 10:52:43 +08:00
<div class="broken_title">
<div class="broken_left">宣发效果</div>
2022-07-15 10:44:31 +08:00
<div class="broken_right" @click="filterShow = true">
<img src="./images/shaixuan.png" alt="" />筛选
</div>
2022-07-13 10:52:43 +08:00
</div>
<div class="broken_statistics">
<div class="broken_item">
<div>创建宣发任务数</div>
2022-07-15 10:44:31 +08:00
<div>{{ peopleNum }}</div>
2022-07-13 10:52:43 +08:00
</div>
<div class="broken_item">
<div>执行宣发次数</div>
2022-07-15 10:44:31 +08:00
<div>{{ sendNum }}</div>
2022-07-13 10:52:43 +08:00
</div>
<div class="broken_item">
<div>触达人次</div>
2022-07-15 10:44:31 +08:00
<div>{{ predictNum }}</div>
2022-07-13 10:52:43 +08:00
</div>
2022-07-12 18:10:42 +08:00
</div>
2022-07-13 14:35:20 +08:00
<div class="title">触达人次</div>
<div id="brokenEcharts1"></div>
<div class="title">宣发次数</div>
<div id="brokenEcharts2"></div>
<div class="title">宣发任务数</div>
<div id="brokenEcharts3"></div>
2022-07-11 16:01:51 +08:00
</div>
<div class="columnarEcharts">
2022-07-13 10:52:43 +08:00
<div class="broken_title">
<div class="broken_left">宣发明细</div>
2022-07-14 15:40:57 +08:00
<div class="broken_right">
2022-07-15 10:44:31 +08:00
<span
:class="detailType == 0 ? 'active' : ''"
@click="(detailType = 0), getColData()"
>近七天</span
>
<span
:class="detailType == 1 ? 'active' : ''"
@click="(detailType = 1), getColData()"
>近30天</span
>
<span
:class="detailType == 2 ? 'active' : ''"
@click="(detailType = 2), getColData()"
>近1年</span
>
2022-07-14 15:40:57 +08:00
</div>
2022-07-13 10:52:43 +08:00
</div>
2022-07-11 16:01:51 +08:00
<div id="columnarEcharts"></div>
</div>
2022-07-13 10:52:43 +08:00
2022-07-14 15:40:57 +08:00
<u-popup v-model="filterShow" mode="bottom" border-radius="14">
2022-07-13 10:52:43 +08:00
<div class="popup">
<div class="tips"></div>
<div class="title">
2022-07-15 10:44:31 +08:00
<div
class="cancel"
@click.stop="(filterShow = false), (timeSelect = 0)"
>
取消
</div>
2022-07-13 10:52:43 +08:00
<p>筛选条件</p>
<div class="confirm" @click.stop="selectConfirm">确定</div>
</div>
<scroll-view class="select-content" scroll-y="true">
<div class="type-list">
<div class="type-title">宣发时间</div>
2022-07-15 10:44:31 +08:00
<div
class="item"
v-for="(item, index) in timeList"
:key="index"
:class="index == timeSelect ? 'active' : ''"
@click.stop="checkTime(index)"
>
{{ item }}
</div>
2022-07-13 10:52:43 +08:00
</div>
<div class="type-list">
<div class="type-title">宣发部门</div>
2022-07-15 10:44:31 +08:00
<AiPagePicker
type="custom"
:selected.sync="deptList"
nodeKey="id"
:ops="{ url: `./selectDeptUser`, label: 'name' }"
valueObj
>
2022-07-14 15:40:57 +08:00
<span class="label" v-if="deptList.length">已选择</span>
2022-07-15 10:44:31 +08:00
<span v-else style="color: #999">请选择</span>
<u-icon
name="arrow-right"
color="#999"
size="24"
style="margin-left: 8px"
/>
2022-07-14 15:40:57 +08:00
</AiPagePicker>
2022-07-13 10:52:43 +08:00
</div>
</scroll-view>
2022-07-14 15:40:57 +08:00
<div class="popBtn">
<div @click="reset">重置</div>
<div @click="selectConfirm">确认</div>
</div>
2022-07-13 10:52:43 +08:00
</div>
2022-07-14 15:40:57 +08:00
<u-popup v-model="customShow" mode="bottom" border-radius="14" closeable>
2022-07-15 10:44:31 +08:00
<div class="customPop">
2022-07-14 15:40:57 +08:00
<div class="startTime">
<div>开始时间</div>
2022-07-15 11:08:32 +08:00
<div style="display: flex; justify-content: space-between;">
<u-input v-model="startTime" placeholder="请选择开始时间" disabled @click="showStart = true"/>
<u-icon name="arrow-right"></u-icon>
2022-07-14 15:40:57 +08:00
</div>
</div>
<div class="endTime">
<div>结束时间</div>
2022-07-15 11:08:32 +08:00
<div style="display: flex; justify-content: space-between;">
<u-input v-model="endTime" placeholder="请选择结束时间" disabled @click="showEnd = true" />
<u-icon name="arrow-right"></u-icon>
2022-07-14 15:40:57 +08:00
</div>
</div>
2022-07-15 11:08:32 +08:00
<u-picker mode="time" v-model="showStart" @confirm="confirmStart"></u-picker>
<u-picker mode="time" v-model="showEnd" @confirm="confirmEnd"></u-picker>
2022-07-14 15:40:57 +08:00
<div class="timeBtn" @click="handleTime">确定</div>
</div>
</u-popup>
2022-07-13 10:52:43 +08:00
</u-popup>
2022-07-08 11:22:57 +08:00
</div>
</template>
<script>
2022-07-15 10:44:31 +08:00
import echarts from "echarts";
2022-07-08 11:22:57 +08:00
export default {
2022-07-15 10:44:31 +08:00
name: "AppPropagandaStatistics",
appName: "宣发统计",
2022-07-08 11:22:57 +08:00
data() {
return {
2022-07-12 18:10:42 +08:00
isShow: false,
2022-07-13 14:35:20 +08:00
brokenEcharts1: null,
brokenEcharts2: null,
brokenEcharts3: null,
2022-07-11 16:01:51 +08:00
columnarEcharts: null,
2022-07-13 10:52:43 +08:00
filterShow: false,
2022-07-14 15:40:57 +08:00
customShow: false,
2022-07-15 10:44:31 +08:00
timeList: ["近7天", "近30天", "近1年", "自定义"],
2022-07-14 15:40:57 +08:00
timeSelect: 0,
2022-07-15 10:44:31 +08:00
start: "",
end: "",
2022-07-14 15:40:57 +08:00
deptList: [],
2022-07-15 10:44:31 +08:00
nowMonth: "",
nowDate: "",
2022-07-14 15:40:57 +08:00
calendarList: [],
colData: {},
detailType: 0,
2022-07-15 10:44:31 +08:00
timeType: "",
departId: "",
startTime: "",
endTime: "",
2022-07-15 11:08:32 +08:00
showStart: false,
showEnd: false,
2022-07-15 10:44:31 +08:00
resX: [],
resY: [],
res2Y: [],
res3Y: [],
peopleNum: "",
sendNum: "",
predictNum: "",
};
2022-07-08 11:22:57 +08:00
},
2022-07-15 10:44:31 +08:00
2022-07-08 11:22:57 +08:00
onShow() {
2022-07-15 10:44:31 +08:00
document.title = "宣发统计";
},
created() {
this.getBrokenDate();
this.getData();
this.getColData();
this.getNowDate();
2022-07-11 16:01:51 +08:00
},
mounted() {
2022-07-15 10:44:31 +08:00
// this.getBrokenDate();
this.getBrokenEcharts1();
this.getBrokenEcharts2();
this.getBrokenEcharts3();
this.getColumnarEcharts();
2022-07-08 11:22:57 +08:00
},
methods: {
2022-07-12 18:10:42 +08:00
showMore() {},
2022-07-14 15:40:57 +08:00
checkTime(index) {
2022-07-15 10:44:31 +08:00
if (index == 3) {
this.timeSelect = index;
this.customShow = true;
2022-07-15 11:08:32 +08:00
this.showStart = false;
this.showEnd = false;
2022-07-14 15:40:57 +08:00
} else {
2022-07-15 10:44:31 +08:00
this.timeSelect = index;
2022-07-14 15:40:57 +08:00
}
},
2022-07-15 10:44:31 +08:00
2022-07-13 10:52:43 +08:00
readMore() {
2022-07-15 10:44:31 +08:00
uni.navigateTo({ url: `./calendarInfo` });
2022-07-13 10:52:43 +08:00
},
2022-07-14 15:40:57 +08:00
// 重置
reset() {
2022-07-15 10:44:31 +08:00
this.timeType = 0;
this.startTime = "";
this.endTime = "";
this.departId = "";
2022-07-14 15:40:57 +08:00
},
2022-07-15 11:08:32 +08:00
// selectConfirm() {
// if (this.timeSelect == 3) {
// this.timeType = this.timeSelect;
// this.startTime = this.start;
// this.endTime = this.end;
// this.getBrokenDate();
// } else {
// this.timeType = this.timeSelect;
// this.getBrokenDate();
// }
// this.filterShow = false;
// },
confirmStart(val) {
this.startTime = val.year + '-' + val.month + '-' + val.day
},
confirmEnd(val) {
this.endTime = val.year + '-' + val.month + '-' + val.day
2022-07-14 15:40:57 +08:00
},
handleTime() {
2022-07-15 10:44:31 +08:00
this.startTime = this.start;
this.endTime = this.end;
this.customShow = false;
2022-07-14 15:40:57 +08:00
},
getNowDate() {
2022-07-15 10:44:31 +08:00
let date = new Date();
this.nowDate = date.getDate();
this.nowMonth = date.getMonth() + 1;
2022-07-14 15:40:57 +08:00
},
// 宣发日历
getData() {
2022-07-15 10:44:31 +08:00
this.$http
.post(`/app/appmasssendingtask/statisticsCalendar`, null, {
params: {},
})
.then((res) => {
{
if (res?.data) {
this.calendarList = res.data;
}
}
});
2022-07-14 15:40:57 +08:00
},
// 宣发效果
getBrokenDate() {
2022-07-15 10:44:31 +08:00
this.$http
.post(`/app/appmasssendingtask/statisticsEffect`, null, {
params: {
type: this.timeSelect,
startTime: this.startTime,
endTime: this.endTime,
// departId: this.departId
},
})
.then((res) => {
if (res?.data) {
if (this.timeType == 0) {
this.resX = res.data.trend.map((e) =>e.ymd.substring(5, 7) + "月" + e.ymd.substring(8, 10) + "日");
} else if (this.timeType == 1) {
this.resX = res.data.trend.map((e) =>e.ymd.substring(5, 7) + "月" + e.ymd.substring(8, 10) + "日");
} else if (this.timeType == 2) {
this.resX = res.data.trend.map((e) =>e.ymd.substring(0, 4) + "年" + e.ymd.substring(5, 7) + "月");
}
this.resY = res.data.trend.map((e) => e.receiveCount);
this.peopleNum = this.resY.reduce((accumulator, currentValue)=>{ return accumulator + currentValue})
this.res2Y = res.data.trend.map((e) => e.executeCount);
this.sendNum = this.res2Y.reduce((accumulator, currentValue)=>{ return accumulator + currentValue})
this.res3Y = res.data.trend.map((e) => e.createCount);
this.predictNum = this.res3Y.reduce((accumulator, currentValue)=>{ return accumulator + currentValue})
2022-07-14 16:44:21 +08:00
}
2022-07-15 10:44:31 +08:00
});
2022-07-14 15:40:57 +08:00
},
// 触发人数
2022-07-13 14:35:20 +08:00
getBrokenEcharts1() {
2022-07-15 10:44:31 +08:00
let dataX = this.resX;
let dataY1 = this.resY;
console.log(dataX);
console.log(dataY1);
this.brokenEcharts1 = echarts.init(
document.getElementById("brokenEcharts1")
);
const option = {
2022-07-11 16:01:51 +08:00
tooltip: {
2022-07-15 10:44:31 +08:00
trigger: "axis",
2022-07-11 16:01:51 +08:00
},
grid: {
2022-07-15 10:44:31 +08:00
left: "2%",
right: "5%",
bottom: "2%",
containLabel: true,
2022-07-11 16:01:51 +08:00
},
2022-07-13 10:52:43 +08:00
dataZoom: [
{
2022-07-15 10:44:31 +08:00
id: "dataZoomX",
type: "slider",
2022-07-13 10:52:43 +08:00
xAxisIndex: [0],
2022-07-15 10:44:31 +08:00
filterMode: "filter",
2022-07-13 10:52:43 +08:00
},
],
2022-07-11 16:01:51 +08:00
xAxis: {
2022-07-15 10:44:31 +08:00
type: "category",
2022-07-11 16:01:51 +08:00
boundaryGap: false,
2022-07-13 10:52:43 +08:00
axisTick: {
show: false,
},
axisLine: {
show: false,
},
2022-07-15 10:44:31 +08:00
data: dataX,
2022-07-11 16:01:51 +08:00
},
yAxis: {
2022-07-15 10:44:31 +08:00
type: "value",
2022-07-13 10:52:43 +08:00
axisTick: {
show: false,
},
axisLine: {
show: false,
2022-07-15 10:44:31 +08:00
},
2022-07-11 16:01:51 +08:00
},
series: [
{
2022-07-15 10:44:31 +08:00
type: "line",
data: dataY1,
2022-07-13 14:35:20 +08:00
lineStyle: {
2022-07-15 10:44:31 +08:00
color: "#4B87FE",
2022-07-13 14:35:20 +08:00
},
itemStyle: {
2022-07-15 10:44:31 +08:00
color: "#4E8EEE",
},
2022-07-11 16:01:51 +08:00
},
2022-07-15 10:44:31 +08:00
],
};
option && this.brokenEcharts1.setOption(option);
2022-07-13 14:35:20 +08:00
},
2022-07-14 15:40:57 +08:00
// 宣发次数
2022-07-13 14:35:20 +08:00
getBrokenEcharts2() {
2022-07-15 10:44:31 +08:00
this.brokenEcharts2 = echarts.init(
document.getElementById("brokenEcharts2")
);
2022-07-13 14:35:20 +08:00
this.brokenEcharts2.setOption({
tooltip: {
2022-07-15 10:44:31 +08:00
trigger: "axis",
2022-07-13 14:35:20 +08:00
},
grid: {
2022-07-15 10:44:31 +08:00
left: "2%",
right: "5%",
bottom: "2%",
containLabel: true,
2022-07-13 14:35:20 +08:00
},
dataZoom: [
{
2022-07-15 10:44:31 +08:00
id: "dataZoomX",
type: "slider",
2022-07-13 14:35:20 +08:00
xAxisIndex: [0],
2022-07-15 10:44:31 +08:00
filterMode: "filter",
2022-07-13 14:35:20 +08:00
},
],
2022-07-15 10:44:31 +08:00
calculable: true,
2022-07-13 14:35:20 +08:00
xAxis: {
2022-07-15 10:44:31 +08:00
type: "category",
2022-07-13 14:35:20 +08:00
boundaryGap: false,
axisTick: {
show: false,
},
axisLine: {
show: false,
},
2022-07-15 10:44:31 +08:00
data: this.resX,
2022-07-13 14:35:20 +08:00
},
yAxis: {
2022-07-15 10:44:31 +08:00
type: "value",
2022-07-13 14:35:20 +08:00
axisTick: {
show: false,
},
axisLine: {
show: false,
2022-07-15 10:44:31 +08:00
},
2022-07-13 14:35:20 +08:00
},
series: [
2022-07-11 16:01:51 +08:00
{
2022-07-15 10:44:31 +08:00
type: "line",
data: this.res2Y,
2022-07-13 14:35:20 +08:00
lineStyle: {
2022-07-15 10:44:31 +08:00
color: "#32C5FF",
2022-07-13 14:35:20 +08:00
},
itemStyle: {
2022-07-15 10:44:31 +08:00
color: "#31C1FA",
},
2022-07-13 14:35:20 +08:00
},
2022-07-15 10:44:31 +08:00
],
});
2022-07-13 14:35:20 +08:00
},
2022-07-14 15:40:57 +08:00
// 宣发任务数
2022-07-13 14:35:20 +08:00
getBrokenEcharts3() {
2022-07-15 10:44:31 +08:00
this.brokenEcharts3 = echarts.init(
document.getElementById("brokenEcharts3")
);
2022-07-13 14:35:20 +08:00
this.brokenEcharts3.setOption({
tooltip: {
2022-07-15 10:44:31 +08:00
trigger: "axis",
2022-07-13 14:35:20 +08:00
},
grid: {
2022-07-15 10:44:31 +08:00
left: "2%",
right: "5%",
bottom: "2%",
containLabel: true,
2022-07-13 14:35:20 +08:00
},
dataZoom: [
{
2022-07-15 10:44:31 +08:00
id: "dataZoomX",
type: "slider",
2022-07-13 14:35:20 +08:00
xAxisIndex: [0],
2022-07-15 10:44:31 +08:00
filterMode: "filter",
2022-07-11 16:01:51 +08:00
},
2022-07-13 14:35:20 +08:00
],
xAxis: {
2022-07-15 10:44:31 +08:00
type: "category",
2022-07-13 14:35:20 +08:00
boundaryGap: false,
axisTick: {
show: false,
},
axisLine: {
show: false,
},
2022-07-15 10:44:31 +08:00
data: this.resX,
2022-07-13 14:35:20 +08:00
},
yAxis: {
2022-07-15 10:44:31 +08:00
type: "value",
2022-07-13 14:35:20 +08:00
axisTick: {
show: false,
},
axisLine: {
show: false,
2022-07-15 10:44:31 +08:00
},
2022-07-13 14:35:20 +08:00
},
series: [
2022-07-11 16:01:51 +08:00
{
2022-07-15 10:44:31 +08:00
type: "line",
data: this.res3Y,
2022-07-13 14:35:20 +08:00
lineStyle: {
2022-07-15 10:44:31 +08:00
color: "#FFAA44",
2022-07-13 14:35:20 +08:00
},
itemStyle: {
2022-07-15 10:44:31 +08:00
color: "#FFAA44",
},
2022-07-11 16:01:51 +08:00
},
2022-07-15 10:44:31 +08:00
],
});
2022-07-11 16:01:51 +08:00
},
2022-07-14 15:40:57 +08:00
// 宣发明细
getColData() {
2022-07-15 10:44:31 +08:00
this.$http
.post(`/app/appmasssendingtask/statisticsDepart`, null, {
params: {
type: this.detailType,
},
})
.then((res) => {
if (res?.data) {
console.log(res);
this.colData = res.data;
}
});
2022-07-14 15:40:57 +08:00
},
2022-07-11 16:01:51 +08:00
getColumnarEcharts() {
2022-07-15 10:44:31 +08:00
this.columnarEcharts = echarts.init(
document.getElementById("columnarEcharts")
);
2022-07-11 16:01:51 +08:00
this.columnarEcharts.setOption({
xAxis: {
2022-07-15 10:44:31 +08:00
type: "category",
2022-07-13 10:52:43 +08:00
axisTick: {
show: false,
},
axisLine: {
show: false,
},
2022-07-15 10:44:31 +08:00
data: ["卫健委", "法院", "团委", "扶贫办", "警察局"],
2022-07-11 16:01:51 +08:00
},
yAxis: {
2022-07-15 10:44:31 +08:00
type: "value",
2022-07-13 10:52:43 +08:00
axisTick: {
show: false,
},
axisLine: {
show: false,
},
2022-07-11 16:01:51 +08:00
},
series: [
{
data: [120, 200, 150, 80, 70, 110, 130],
2022-07-15 10:44:31 +08:00
itemStyle: {
normal: {
color: "#5087ec",
},
2022-07-11 16:01:51 +08:00
},
2022-07-15 10:44:31 +08:00
type: "bar",
},
],
});
2022-07-11 17:29:18 +08:00
},
2022-07-15 10:44:31 +08:00
},
};
2022-07-08 11:22:57 +08:00
</script>
2022-07-08 17:33:14 +08:00
<style lang="scss" scoped>
.AppPropagandaStatistics {
2022-07-12 18:10:42 +08:00
.calendar_header {
padding: 26px 32px;
box-sizing: border-box;
2022-07-15 10:44:31 +08:00
background: #fff;
2022-07-12 18:10:42 +08:00
::v-deep .u-section__title__text {
font-size: 32px;
}
2022-07-08 17:33:14 +08:00
}
2022-07-12 18:10:42 +08:00
.threeDays {
2022-07-15 10:44:31 +08:00
background: #fff;
2022-07-12 18:10:42 +08:00
padding: 8px 32px 12px 32px;
box-sizing: border-box;
.yesterday,
.today,
.tomorrow {
2022-07-15 10:44:31 +08:00
background: #f7f8fa;
2022-07-12 18:10:42 +08:00
margin-bottom: 32px;
padding: 30px 0 30px 40px;
box-sizing: border-box;
.isShow {
2022-07-15 10:44:31 +08:00
color: #3aa0ff;
2022-07-12 18:10:42 +08:00
}
.itemYesterday,
.itemToday,
.itemTomorrow {
color: #999999;
span {
margin-left: 20px;
}
}
}
.yesterday {
2022-07-15 10:44:31 +08:00
border-left: 6px solid #fbd444;
2022-07-12 18:10:42 +08:00
}
.today {
2022-07-15 10:44:31 +08:00
border-left: 6px solid #50cb74;
2022-07-12 18:10:42 +08:00
}
.tomorrow {
2022-07-15 10:44:31 +08:00
border-left: 6px solid #3aa0ff;
2022-07-12 18:10:42 +08:00
}
2022-07-08 17:33:14 +08:00
}
2022-07-15 10:44:31 +08:00
2022-07-13 10:52:43 +08:00
.brokenEcharts,
.columnarEcharts {
margin: 24px 0 24px 0;
padding: 0 32px 32px 32px;
box-sizing: border-box;
.broken_title {
display: flex;
justify-content: space-between;
height: 96px;
2022-07-14 15:40:57 +08:00
align-items: center;
2022-07-13 10:52:43 +08:00
.broken_left {
font-size: 32px;
font-weight: 600;
}
.broken_right {
font-size: 24px;
2022-07-14 15:40:57 +08:00
// color: #3399FF;
img {
width: 28px;
height: 28px;
}
2022-07-15 10:44:31 +08:00
2022-07-14 15:40:57 +08:00
span {
margin-right: 12px;
padding: 8px 10px;
display: inline-block;
2022-07-15 10:44:31 +08:00
border: 1px solid #ddd;
2022-07-14 15:40:57 +08:00
border-radius: 8px;
}
.active {
2022-07-15 10:44:31 +08:00
background: #3399ff;
color: #fff;
2022-07-14 15:40:57 +08:00
}
2022-07-13 10:52:43 +08:00
}
}
.broken_statistics {
display: flex;
padding: 24px 0;
box-sizing: border-box;
.broken_item {
flex: 1;
text-align: center;
div:first-child {
font-size: 24px;
color: #999999;
padding: 10px 0;
}
div:last-child {
font-size: 36px;
color: #000000;
font-weight: 600;
}
}
}
2022-07-13 14:35:20 +08:00
.title {
padding: 30px 0;
box-sizing: border-box;
font-size: 32px;
font-weight: 600;
}
2022-07-11 16:01:51 +08:00
}
.brokenEcharts,
2022-07-13 16:59:58 +08:00
.columnarEcharts {
2022-07-15 10:44:31 +08:00
background: #fff;
2022-07-11 16:01:51 +08:00
2022-07-13 14:35:20 +08:00
#brokenEcharts1,
#brokenEcharts2,
#brokenEcharts3,
2022-07-13 16:59:58 +08:00
#columnarEcharts {
2022-07-11 16:01:51 +08:00
width: 100%;
height: 400px;
2022-07-15 10:44:31 +08:00
background: #f9f9f9;
2022-07-13 10:52:43 +08:00
border-radius: 8px;
}
}
2022-07-15 10:44:31 +08:00
.popup {
2022-07-14 15:40:57 +08:00
box-sizing: border-box;
// height: 800px;
2022-07-15 10:44:31 +08:00
.tips {
2022-07-13 10:52:43 +08:00
width: 80px;
height: 6px;
2022-07-15 10:44:31 +08:00
background: #dddddd;
2022-07-13 10:52:43 +08:00
border-radius: 4px;
2022-07-14 15:40:57 +08:00
padding: 0 32px;
box-sizing: border-box;
2022-07-13 10:52:43 +08:00
margin: 32px auto 8px auto;
2022-07-11 16:01:51 +08:00
}
2022-07-15 10:44:31 +08:00
.title {
2022-07-13 10:52:43 +08:00
height: 48px;
line-height: 48px;
font-size: 34px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #222;
2022-07-14 15:40:57 +08:00
padding: 0 32px;
box-sizing: border-box;
2022-07-13 10:52:43 +08:00
padding-bottom: 32px;
2022-07-15 10:44:31 +08:00
.cancel {
2022-07-13 10:52:43 +08:00
display: inline-block;
width: 200px;
color: #aaa;
}
2022-07-15 10:44:31 +08:00
.confirm {
2022-07-13 10:52:43 +08:00
display: inline-block;
width: 200px;
text-align: right;
color: #333;
}
2022-07-15 10:44:31 +08:00
p {
2022-07-13 10:52:43 +08:00
display: inline-block;
width: calc(100% - 400px);
text-align: center;
font-size: 28px;
}
}
2022-07-15 10:44:31 +08:00
.select-content {
2022-07-13 10:52:43 +08:00
height: calc(100% - 100px);
overflow-y: scroll;
}
2022-07-15 10:44:31 +08:00
.type-list {
2022-07-14 15:40:57 +08:00
padding: 0 32px;
box-sizing: border-box;
2022-07-13 10:52:43 +08:00
margin-bottom: 32px;
2022-07-15 10:44:31 +08:00
.type-title {
2022-07-13 10:52:43 +08:00
line-height: 108px;
font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333;
}
2022-07-15 10:44:31 +08:00
.item {
2022-07-13 10:52:43 +08:00
display: inline-block;
width: 210px;
text-align: center;
line-height: 64px;
2022-07-15 10:44:31 +08:00
background: #f3f4f7;
2022-07-13 10:52:43 +08:00
border-radius: 4px;
margin: 0 16px 16px 0;
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
}
2022-07-15 10:44:31 +08:00
.active {
background: #1365dd;
2022-07-13 10:52:43 +08:00
color: #fff;
}
2022-07-14 15:40:57 +08:00
}
.popBtn {
display: flex;
height: 98px;
line-height: 98px;
div {
width: 50%;
2022-07-15 10:44:31 +08:00
border: 2px solid #3399ff;
2022-07-14 15:40:57 +08:00
text-align: center;
}
div:first-child {
2022-07-15 10:44:31 +08:00
color: #3399ff;
2022-07-14 15:40:57 +08:00
}
div:last-child {
2022-07-15 10:44:31 +08:00
color: #fff;
background: #3399ff;
2022-07-14 15:40:57 +08:00
}
2022-07-13 10:52:43 +08:00
}
}
2022-07-14 15:40:57 +08:00
.customPop {
padding: 80px 32px 20px 32px;
box-sizing: border-box;
2022-07-15 11:08:32 +08:00
height: 600px;
2022-07-14 15:40:57 +08:00
.startTime,
.endTime {
2022-07-15 10:44:31 +08:00
border-bottom: 1px solid #ddd;
2022-07-14 15:40:57 +08:00
margin-bottom: 20px;
}
.timeBtn {
width: 100%;
2022-07-15 10:44:31 +08:00
background: #3399ff;
2022-07-14 15:40:57 +08:00
height: 80px;
line-height: 80px;
text-align: center;
border-radius: 16px;
2022-07-15 10:44:31 +08:00
color: #fff;
2022-07-15 11:08:32 +08:00
margin-top: 164px;
2022-07-14 15:40:57 +08:00
}
2022-07-11 16:01:51 +08:00
}
2022-07-08 17:33:14 +08:00
}
2022-07-13 16:59:58 +08:00
</style>