持续集成分支
This commit is contained in:
154
library/project/saas/AppDataStatistics/AppDataOverview.vue
Normal file
154
library/project/saas/AppDataStatistics/AppDataOverview.vue
Normal file
@@ -0,0 +1,154 @@
|
||||
<template>
|
||||
<div class="AppDataOverview">
|
||||
<div class="head">
|
||||
<div class="head_title">
|
||||
<span>数据总览</span>
|
||||
<span>数据截至 昨日24:00</span>
|
||||
</div>
|
||||
<div class="head_data">
|
||||
<div class="head_data_item" v-for="(e,ind) in monthData" :key="ind">
|
||||
<span class="dot"></span>
|
||||
<span>{{ e }} {{ data[e] }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="information">
|
||||
<div class="u-sub">
|
||||
<u-subsection :list="list" :current="current" @change="sectionChange"></u-subsection>
|
||||
</div>
|
||||
|
||||
<div class="card_list">
|
||||
<div class="card" v-for="(item,index) in dataArray" :key="index">
|
||||
<div class="card_name">{{ item }}</div>
|
||||
<div class="card_num">{{ Number(data[item]).toLocaleString('en-US') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "AppDataOverview",
|
||||
data() {
|
||||
return {
|
||||
list: [
|
||||
{ name: '本周' },
|
||||
{ name: '本月' }
|
||||
],
|
||||
current: 0,
|
||||
data: {},
|
||||
dataArray: ['新增居民档案','居民档案更新','新增网格员','新增走访记录','新增矛盾调解','新增宣发记录'],
|
||||
monthData: ['本月访问次数','本月访问人数'],
|
||||
beginDate: ''
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
sectionChange(e) {
|
||||
this.current = e
|
||||
this.getData()
|
||||
},
|
||||
getData() {
|
||||
this.$http.post(`/app/appwxcpopenstatistics/statistics`,null, {
|
||||
params: {
|
||||
beginDate: this.beginDate,
|
||||
type: this.current==0? '1':'2'
|
||||
}
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
this.data = res.data
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
document.title = '慧政务'
|
||||
this.beginDate = o.beginDate
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AppDataOverview {
|
||||
.head {
|
||||
height: 212px;
|
||||
background: #3975C6;
|
||||
.head_title {
|
||||
color: #FFFFFF;
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
span:first-child {
|
||||
font-size: 44px;
|
||||
}
|
||||
span:last-child {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
.head_data {
|
||||
display: flex;
|
||||
padding: 0 32px;
|
||||
box-sizing: border-box;
|
||||
.head_data_item {
|
||||
flex: 1;
|
||||
color: #FFFFFF;
|
||||
.dot {
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 4px;
|
||||
background: #FFFFFF;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.information {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.u-sub {
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
background: #FFFFFF;
|
||||
border-radius: 16px 16px 0 0;
|
||||
}
|
||||
|
||||
.card_list {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
background: #FFFFFF;
|
||||
padding: 0 32px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 0 0 16px 16px;
|
||||
|
||||
.card {
|
||||
width: 50%;
|
||||
height: 160px;
|
||||
text-align: center;
|
||||
.card_name {
|
||||
margin-top: 32px;
|
||||
color: #666666;
|
||||
}
|
||||
.card_num {
|
||||
font-size: 36px;
|
||||
color: #000000;
|
||||
font-weight: 600;
|
||||
margin-top: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
150
library/project/saas/AppDataStatistics/AppDataStatistics.vue
Normal file
150
library/project/saas/AppDataStatistics/AppDataStatistics.vue
Normal file
@@ -0,0 +1,150 @@
|
||||
<template>
|
||||
<div class="AppDataStatistics">
|
||||
<AiTopFixed>
|
||||
<div class="area-content">
|
||||
<AiAreaPicker v-model="areaId" :name.sync="areaName" :area-id="user.areaId" @select="areaSelect">
|
||||
<div flex>
|
||||
<img src="./img/location.png" alt="" class="icon-img">
|
||||
<AiMore v-model="areaName" icon="arrow-down"/>
|
||||
</div>
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
</AiTopFixed>
|
||||
<div class="tab-list">
|
||||
<div :class="index == tabIndex ? 'tab-item active' : 'tab-item'" v-for="(item, index) in tabList" :key="index" @click="tabClick(index)">{{ item.text }}<span></span></div>
|
||||
</div>
|
||||
<component ref='list' :is="tabList[tabIndex].component" :areaId="areaId" class="component" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import resident from './components/resident.vue'
|
||||
import update from './components/update'
|
||||
import wechat from './components/wechat'
|
||||
import message from './components/message'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: "AppDataStatistics",
|
||||
appName: "数据统计",
|
||||
data() {
|
||||
return {
|
||||
tabList: [
|
||||
{
|
||||
text: '居民统计',
|
||||
component: resident
|
||||
},
|
||||
{
|
||||
text: '更新统计',
|
||||
component: update
|
||||
},
|
||||
{
|
||||
text: '微信统计',
|
||||
component: wechat
|
||||
},
|
||||
{
|
||||
text: '会话统计',
|
||||
component: message
|
||||
},
|
||||
],
|
||||
tabIndex: 0,
|
||||
areaId: '',
|
||||
areaName: '',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user'])
|
||||
},
|
||||
components: {resident, update, wechat, message},
|
||||
methods: {
|
||||
tabClick(index) {
|
||||
this.tabIndex = index
|
||||
},
|
||||
toOverData() {
|
||||
uni.navigateTo({url:'./AppDataOverview'})
|
||||
},
|
||||
areaSelect(e) {
|
||||
this.areaId = e
|
||||
this.refreshList()
|
||||
},
|
||||
refreshList() {
|
||||
this.$nextTick(() => this.$refs.list.getData())
|
||||
},
|
||||
refreshTally() {
|
||||
this.$http.post('/app/appwxcpopenstatistics/tally').then(res=> {
|
||||
if(res.code == 0) {
|
||||
console.log('手动触发成功');
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
onLoad() {
|
||||
this.refreshTally()
|
||||
},
|
||||
onShow() {
|
||||
document.title = "数据统计"
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AppDataStatistics {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #F5F6F7;
|
||||
padding-bottom: 112px;
|
||||
::v-deep .AiTopFixed {
|
||||
.content {
|
||||
background-color: #3975C6;
|
||||
color: #fff;
|
||||
}
|
||||
.icon-img{
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
::v-deep .AiMore{
|
||||
span{
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.tab-list {
|
||||
width: 100%;
|
||||
line-height: 88px;
|
||||
display: flex;
|
||||
background-color: #fff;
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
|
||||
.tab-item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #666;
|
||||
position: relative;
|
||||
}
|
||||
.active {
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
span {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
margin-left: -25px;
|
||||
width: 50px;
|
||||
height: 6px;
|
||||
background: #3399FF;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.component{
|
||||
padding-top: 88px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
483
library/project/saas/AppDataStatistics/components/message.vue
Normal file
483
library/project/saas/AppDataStatistics/components/message.vue
Normal file
@@ -0,0 +1,483 @@
|
||||
<template>
|
||||
<div class="message">
|
||||
<div class="head">
|
||||
<span>消息回复率</span>
|
||||
</div>
|
||||
|
||||
<div class="echarts_list">
|
||||
<div id="echarts1"></div>
|
||||
<div id="echarts2"></div>
|
||||
<div id="echarts3"></div>
|
||||
</div>
|
||||
|
||||
<div class="head">
|
||||
<span>单聊统计</span>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="item" :class="privateCurrent == 0? 'active':''" @click="privateCurrent = 0,getPrivateData()">
|
||||
<div class="item_name">单聊会话</div>
|
||||
<div class="item_num" v-if="privateCard">{{ Number(privateCard.chatCnt).toLocaleString('en-US') }}</div>
|
||||
<div class="item_num" v-else>0</div>
|
||||
</div>
|
||||
<div class="item" :class="privateCurrent == 1? 'active':''" @click="privateCurrent = 1,getPrivateData()">
|
||||
<div class="item_name">单聊消息</div>
|
||||
<div class="item_num" v-if="privateCard">{{ Number(privateCard.messageCnt).toLocaleString('en-US') }}</div>
|
||||
<div class="item_num" v-else>0</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="privateChat_box">
|
||||
<div id="privateChat" v-if="privateData.length > 0"></div>
|
||||
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
|
||||
</div>
|
||||
|
||||
<div class="head">
|
||||
<span>群聊统计</span>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="item" :class="groupCurrent == 0? 'active':''" @click="groupCurrent = 0,getGroupData()">
|
||||
<div class="item_name">活跃群聊</div>
|
||||
<div class="item_num" v-if="groupCard">{{ Number(groupCard.chatHasMsg).toLocaleString('en-US') }}</div>
|
||||
<div class="item_num" v-else>0</div>
|
||||
</div>
|
||||
<div class="item" :class="groupCurrent == 1? 'active':''" @click="groupCurrent = 1,getGroupData()">
|
||||
<div class="item_name">活跃群成员</div>
|
||||
<div class="item_num" v-if="groupCard">{{ Number(groupCard.memberHasMsg).toLocaleString('en-US') }}</div>
|
||||
<div class="item_num" v-else>0</div>
|
||||
</div>
|
||||
<div class="item" :class="groupCurrent == 2? 'active':''" @click="groupCurrent = 2,getGroupData()">
|
||||
<div class="item_name">群聊消息</div>
|
||||
<div class="item_num" v-if="groupCard">{{ Number(groupCard.msgTotal).toLocaleString('en-US') }}</div>
|
||||
<div class="item_num" v-else>0</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="groupChat_box">
|
||||
<div id="groupChat" v-if="groupData.length > 0"></div>
|
||||
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import echarts from "echarts"
|
||||
export default {
|
||||
name: 'message',
|
||||
data() {
|
||||
return {
|
||||
privateCard: {},
|
||||
privateData: [],
|
||||
privateDate: [],
|
||||
privateMsg: [],
|
||||
privateCurrent: 0,
|
||||
groupCard: {},
|
||||
groupData: [],
|
||||
groupDate: [],
|
||||
groupMsg: [],
|
||||
groupCurrent: 0,
|
||||
replyData: {},
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
getData() {
|
||||
// 回复率
|
||||
this.$http.post(`/app/wxgroupstatistic/replyPercentage`).then(res=> {
|
||||
if(res?.data) {
|
||||
this.replyData = res.data
|
||||
this.getEcharts1(this.replyData)
|
||||
this.getEcharts2(this.replyData)
|
||||
this.getEcharts3(this.replyData)
|
||||
}
|
||||
})
|
||||
this.getPrivateData()
|
||||
this.getGroupData()
|
||||
},
|
||||
getPrivateData() {
|
||||
// 单聊统计
|
||||
this.$http.post('/app/wxgroupstatistic/getUserChatNumber').then(res=> {
|
||||
if(res?.data) {
|
||||
this.privateCard = res.data.单聊总和
|
||||
this.privateData = res.data.条形统计
|
||||
this.privateDate = this.privateData?.map(v=> v.dateDay)
|
||||
if(this.privateCurrent == 0) {
|
||||
this.privateMsg = this.privateData?.map(v=> v.chatCnt)
|
||||
} else if(this.privateCurrent == 1) {
|
||||
this.privateMsg = this.privateData?.map(v=> v.messageCnt)
|
||||
}
|
||||
this.$nextTick(()=> {
|
||||
this.getPrivateChat(this.privateDate,this.privateMsg)
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
getGroupData() {
|
||||
// 群聊统计
|
||||
this.$http.post('/app/wxgroupstatistic/getgroupChatNumber').then(res=> {
|
||||
if(res?.data) {
|
||||
this.groupCard = res.data.群聊总和
|
||||
this.groupData = res.data.条形统计
|
||||
this.groupDate = this.groupData?.map(v=> v.dateDay)
|
||||
if(this.groupCurrent == 0) {
|
||||
this.groupMsg = this.groupData?.map(v=>v.chatHasMsg)
|
||||
} else if(this.groupCurrent ==1) {
|
||||
this.groupMsg = this.groupData?.map(v=>v.memberHasMsg)
|
||||
} else if(this.groupCurrent == 2) {
|
||||
this.groupMsg = this.groupData?.map(v=>v.msgTotal)
|
||||
}
|
||||
this.$nextTick(()=> {
|
||||
this.getGroupChat(this.groupDate,this.groupMsg)
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
getEcharts1({replyPercentage}) {
|
||||
let echarts1 = document.getElementById('echarts1');
|
||||
let myChart1 = echarts.init(echarts1);
|
||||
let option = {
|
||||
// tooltip: {
|
||||
// trigger: 'item',
|
||||
// },
|
||||
title: {
|
||||
zlevel: 0,
|
||||
text: [`{name|昨日}\n{value|${ replyPercentage } %}`],
|
||||
top: 'center',
|
||||
left: '46%',
|
||||
textAlign: 'center',
|
||||
textStyle: {
|
||||
rich: {
|
||||
name: {
|
||||
color: '#999999',
|
||||
fontSize: 13,
|
||||
lineHeight: 15
|
||||
},
|
||||
value: {
|
||||
color: '#333333',
|
||||
fontSize: 13,
|
||||
lineHeight: 16
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
color: ['#3975C6','#C7C7C7'],
|
||||
series: [
|
||||
{
|
||||
name: '昨天',
|
||||
type: 'pie',
|
||||
radius: ['50%', '70%'],
|
||||
avoidLabelOverlap: false,
|
||||
hoverAnimation: false,
|
||||
labelLine: {
|
||||
show: false,
|
||||
},
|
||||
data: [
|
||||
{ value: replyPercentage, name: '' },
|
||||
{ value: 100 - replyPercentage, name: '' },
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myChart1.setOption(option);
|
||||
},
|
||||
getEcharts2({weekSum}) {
|
||||
let echarts2 = document.getElementById('echarts2');
|
||||
let myChart2 = echarts.init(echarts2);
|
||||
let option = {
|
||||
// tooltip: {
|
||||
// trigger: "item",
|
||||
// },
|
||||
title: {
|
||||
zlevel: 0,
|
||||
text: [`{name|近7天}\n{value|${ weekSum } %}`],
|
||||
top: 'center',
|
||||
left: '46%',
|
||||
textAlign: 'center',
|
||||
textStyle: {
|
||||
rich: {
|
||||
name: {
|
||||
color: '#999999',
|
||||
fontSize: 13,
|
||||
lineHeight: 15
|
||||
},
|
||||
value: {
|
||||
color: '#333333',
|
||||
fontSize: 13,
|
||||
lineHeight: 16
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
color: ['#3975C6','#C7C7C7'],
|
||||
series: [
|
||||
{
|
||||
name: '近7天',
|
||||
type: 'pie',
|
||||
radius: ['50%', '70%'],
|
||||
avoidLabelOverlap: false,
|
||||
hoverAnimation: false,
|
||||
labelLine: {
|
||||
show: false,
|
||||
},
|
||||
data: [
|
||||
{ value: weekSum, name: '' },
|
||||
{ value: 100 - weekSum, name: '' },
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myChart2.setOption(option);
|
||||
},
|
||||
getEcharts3({monthSum}) {
|
||||
let echarts3 = document.getElementById('echarts3');
|
||||
let myChart3 = echarts.init(echarts3);
|
||||
let option = {
|
||||
// tooltip: {
|
||||
// trigger: "item",
|
||||
// },
|
||||
title: {
|
||||
zlevel: 0,
|
||||
text: [`{name|近30天}\n{value|${ monthSum } %}`],
|
||||
top: 'center',
|
||||
left: '46%',
|
||||
textAlign: 'center',
|
||||
textStyle: {
|
||||
rich: {
|
||||
name: {
|
||||
color: '#999999',
|
||||
fontSize: 13,
|
||||
lineHeight: 15
|
||||
},
|
||||
value: {
|
||||
color: '#333333',
|
||||
fontSize: 13,
|
||||
lineHeight: 16
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
color: ['#3975C6','#C7C7C7'],
|
||||
series: [
|
||||
{
|
||||
name: '近30天',
|
||||
type: 'pie',
|
||||
radius: ['50%', '70%'],
|
||||
avoidLabelOverlap: false,
|
||||
hoverAnimation: false,
|
||||
labelLine: {
|
||||
show: false,
|
||||
},
|
||||
data: [
|
||||
{ value: monthSum, name: '' },
|
||||
{ value: 100 - monthSum, name: '' },
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myChart3.setOption(option);
|
||||
},
|
||||
getPrivateChat(privateDate,privateMsg) {
|
||||
let privateDom = document.getElementById('privateChat');
|
||||
let myChartPrivate = echarts.init(privateDom);
|
||||
let option = {
|
||||
tooltip: {
|
||||
trigger: "axis",
|
||||
},
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: privateDate,
|
||||
axisTick: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLine: {
|
||||
show: false,
|
||||
},
|
||||
axisTick: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
data: privateMsg,
|
||||
type: 'line',
|
||||
lineStyle: {
|
||||
color: '#3975C6', // 折线线条颜色
|
||||
},
|
||||
itemStyle: {
|
||||
color: '#3975C6', // 折角颜色
|
||||
},
|
||||
areaStyle: {
|
||||
color: {
|
||||
type: 'linear',
|
||||
x: 0,
|
||||
y: 0,
|
||||
x2: 0,
|
||||
y2: 1,
|
||||
colorStops: [ // 渐变颜色
|
||||
{
|
||||
offset: 0,
|
||||
color: '#2891ff33',
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: '#2891ff00',
|
||||
},
|
||||
],
|
||||
global: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myChartPrivate.setOption(option);
|
||||
},
|
||||
getGroupChat(groupDate,groupMsg) {
|
||||
let groupDom = document.getElementById('groupChat');
|
||||
let myChartGroup = echarts.init(groupDom);
|
||||
let option = {
|
||||
tooltip: {
|
||||
trigger: "axis",
|
||||
},
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: groupDate,
|
||||
axisTick: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLine: {
|
||||
show: false,
|
||||
},
|
||||
axisTick: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
data: groupMsg,
|
||||
type: 'line',
|
||||
lineStyle: {
|
||||
color: '#3975C6', // 折线线条颜色
|
||||
},
|
||||
itemStyle: {
|
||||
color: '#3975C6', // 折角颜色
|
||||
},
|
||||
areaStyle: {
|
||||
color: {
|
||||
type: 'linear',
|
||||
x: 0,
|
||||
y: 0,
|
||||
x2: 0,
|
||||
y2: 1,
|
||||
colorStops: [ // 渐变颜色
|
||||
{
|
||||
offset: 0,
|
||||
color: '#2891ff33',
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: '#2891ff00',
|
||||
},
|
||||
],
|
||||
global: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myChartGroup.setOption(option);
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.message {
|
||||
padding: 0 32px;
|
||||
box-sizing: border-box;
|
||||
.head {
|
||||
margin-top: 32px;
|
||||
span {
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 8px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
background: #FFF;
|
||||
border-radius: 16px 16px 0 0;
|
||||
margin-top: 24px;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
padding: 16px 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
.item_name {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.item_num {
|
||||
color: #000000;
|
||||
font-size: 36px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.imgs {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
.active {
|
||||
background: #EBF1F9;
|
||||
border-radius: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.privateChat_box,
|
||||
.groupChat_box {
|
||||
width: 100%;
|
||||
height: 514px;
|
||||
background: #FFF;
|
||||
border-radius: 0 0 16px 16px;
|
||||
|
||||
#privateChat,
|
||||
#groupChat {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.echarts_list {
|
||||
width: 100%;
|
||||
height: 256px;
|
||||
background: #FFF;
|
||||
border-radius: 8px;
|
||||
margin-top: 24px;
|
||||
display: flex;
|
||||
|
||||
#echarts1,
|
||||
#echarts2,
|
||||
#echarts3 {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
318
library/project/saas/AppDataStatistics/components/resident.vue
Normal file
318
library/project/saas/AppDataStatistics/components/resident.vue
Normal file
@@ -0,0 +1,318 @@
|
||||
<template>
|
||||
<div class="resident">
|
||||
<div class="resident_num">
|
||||
<div class="num_item" v-for="(item,index) in cardArray" :key="index">
|
||||
<p class="num_item_name">{{ item }}</p>
|
||||
<p class="num_item_data">{{ Number(data[item]).toLocaleString('en-US') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 特殊人群 -->
|
||||
<div class="specialPeople">
|
||||
<h3>特殊人群</h3>
|
||||
<div class="specialBox">
|
||||
<div id="specialEcharts" v-if="specialFlag"></div>
|
||||
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 年龄分布 -->
|
||||
<div class="ageDistribution">
|
||||
<h3>年龄分布</h3>
|
||||
<div class="ageBox">
|
||||
<div id="ageEcharts" v-if="ageFlag"></div>
|
||||
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 男女比例 -->
|
||||
<div class="ageProportion">
|
||||
<h3>男女比例</h3>
|
||||
<div class="proportionBox">
|
||||
<div id="proportionEcharts" v-if="sexFlag"></div>
|
||||
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import echarts from 'echarts';
|
||||
export default {
|
||||
name: "resident",
|
||||
props: ['areaId'],
|
||||
data() {
|
||||
return {
|
||||
data: {},
|
||||
specialPeople: {},
|
||||
specialFlag: true,
|
||||
ageArray: [],
|
||||
ageRange: [],
|
||||
ageFlag: true,
|
||||
sexArray: [],
|
||||
sexFlag: true,
|
||||
cardArray: ['居民总数','本地居民','流动人口']
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getData()
|
||||
},
|
||||
mounted() {
|
||||
this.getSpecialEcharts()
|
||||
this.getAgeEcherts()
|
||||
this.getAgeProportion()
|
||||
},
|
||||
methods: {
|
||||
getData() {
|
||||
this.$http.post(`/app/appresident/residentStatisticsByAreaId?areaId=${this.areaId}`).then(res=> {
|
||||
if(res?.data) {
|
||||
this.data = res.data
|
||||
this.specialPeople = res.data.特殊人群
|
||||
this.$nextTick(()=> {
|
||||
let specialArr = Object.values(this.specialPeople)
|
||||
this.specialFlag = !specialArr.every(e=> e==0)
|
||||
})
|
||||
this.ageArray = res.data.年龄层次.map(v=> v.v2)
|
||||
this.ageRange = res.data.年龄层次.map(v=> v.v1)
|
||||
this.ageFlag = !this.ageArray.every(e=> e==0)
|
||||
this.sexArray = res.data.男女比例.map(v=> v.v2)
|
||||
this.sexFlag = !this.sexArray.every(e=> e==0)
|
||||
this.getSpecialEcharts()
|
||||
this.getAgeProportion()
|
||||
this.getAgeEcherts(this.ageArray)
|
||||
}
|
||||
})
|
||||
},
|
||||
// 特殊人群
|
||||
getSpecialEcharts() {
|
||||
let specialDom = document.getElementById('specialEcharts');
|
||||
let mySpecialChart = echarts.init(specialDom);
|
||||
let option = {
|
||||
title: {
|
||||
zlevel: 0,
|
||||
text: ['{name|特殊人群}'],
|
||||
top: 'center',
|
||||
left: '48%',
|
||||
textAlign: 'center',
|
||||
textStyle: {
|
||||
rich: {
|
||||
name: {
|
||||
color: '#999999',
|
||||
fontSize: 13,
|
||||
lineHeight: 15
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
color: ['#4980CB','#F3A963','#6B79BB','#97D1B3'],
|
||||
series: [
|
||||
{
|
||||
name: '特殊人群',
|
||||
type: 'pie',
|
||||
radius: ['30%', '60%'],
|
||||
avoidLabelOverlap: false,
|
||||
hoverAnimation: false,
|
||||
emphasis: {
|
||||
disabled: false,
|
||||
scale: false,
|
||||
scaleSize: 0,
|
||||
},
|
||||
label: {
|
||||
alignTo: 'labelLine',
|
||||
formatter: '{name|{b}}\n{value|{c}}',
|
||||
padding: [0, -70],
|
||||
minMargin: 5,
|
||||
edgeDistance: 10,
|
||||
lineHeight: 15,
|
||||
rich: {
|
||||
time: {
|
||||
fontSize: 10,
|
||||
color: '#999'
|
||||
}
|
||||
}
|
||||
},
|
||||
labelLine: {
|
||||
length: 15,
|
||||
length2: 70,
|
||||
maxSurfaceAngle: 80
|
||||
},
|
||||
data: [
|
||||
{ value: this.specialPeople.吸毒人员, name: '吸毒人员' },
|
||||
{ value: this.specialPeople.残疾人, name: '残疾人' },
|
||||
{ value: this.specialPeople.刑满释放人员, name: '刑满释放人员' },
|
||||
{ value: this.specialPeople.社区矫正人群, name: '社区矫正人群' },
|
||||
{ value: this.specialPeople.精神病人, name: '精神病人' },
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
option && mySpecialChart.setOption(option);
|
||||
},
|
||||
// 年龄分布
|
||||
getAgeEcherts(ageArray) {
|
||||
let ageDom = document.getElementById('ageEcharts');
|
||||
let myAgeChart = echarts.init(ageDom);
|
||||
let option;
|
||||
option = {
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: this.ageRange,
|
||||
},
|
||||
yAxis: {
|
||||
type: "value",
|
||||
axisTick: {
|
||||
show: false,
|
||||
},
|
||||
axisLine: {
|
||||
show: false,
|
||||
},
|
||||
},
|
||||
series: [
|
||||
{
|
||||
data: ageArray,
|
||||
type: 'bar',
|
||||
itemStyle: {
|
||||
normal: {
|
||||
// 每个柱子的颜色
|
||||
color: function(params) {
|
||||
var colorList = ['#3975C6','#3975C6', '#3975C6', '#3975C6', '#F3A963',];
|
||||
return colorList[params.dataIndex]
|
||||
},
|
||||
label: {
|
||||
show: true, //开启显示
|
||||
position: 'top', //在上方显示
|
||||
textStyle: {
|
||||
fontSize: 13,
|
||||
color: '#4980CB'
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
barWidth: 22,
|
||||
barGap: '20%',
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myAgeChart.setOption(option);
|
||||
},
|
||||
// 男女比例
|
||||
getAgeProportion() {
|
||||
let proportionDom = document.getElementById('proportionEcharts');
|
||||
let myChart = echarts.init(proportionDom);
|
||||
let option = {
|
||||
title: {
|
||||
zlevel: 0,
|
||||
text: ['{name|男女比例}'],
|
||||
top: 'center',
|
||||
left: '48%',
|
||||
textAlign: 'center',
|
||||
textStyle: {
|
||||
rich: {
|
||||
name: {
|
||||
color: '#999999',
|
||||
fontSize: 13,
|
||||
lineHeight: 15
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
color: ['#3975C6','#F3A963'],
|
||||
series: [
|
||||
{
|
||||
name: '特殊人群',
|
||||
type: 'pie',
|
||||
radius: ['30%', '60%'],
|
||||
avoidLabelOverlap: false,
|
||||
hoverAnimation: false,
|
||||
emphasis: {
|
||||
disabled: false,
|
||||
scale: false,
|
||||
scaleSize: 0,
|
||||
},
|
||||
label: {
|
||||
alignTo: 'labelLine',
|
||||
formatter: '{name|{b}}{value|{c}}\n',
|
||||
padding: [0, -50],
|
||||
minMargin: 5,
|
||||
edgeDistance: 10,
|
||||
lineHeight: 15,
|
||||
rich: {
|
||||
time: {
|
||||
fontSize: 10,
|
||||
color: '#999'
|
||||
}
|
||||
}
|
||||
},
|
||||
labelLine: {
|
||||
length: 20,
|
||||
length2: 50,
|
||||
maxSurfaceAngle: 80
|
||||
},
|
||||
data: [
|
||||
{ value: this.sexArray?.[1] , name: '男' },
|
||||
{ value: this.sexArray?.[0] , name: '女' },
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myChart.setOption(option);
|
||||
},
|
||||
},
|
||||
destroyed() {
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.resident {
|
||||
padding: 0 30px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.resident_num {
|
||||
width: 100%;
|
||||
height: 160px;
|
||||
background: #FFF;
|
||||
margin-top: 32px;
|
||||
border-radius: 16px;
|
||||
display: flex;
|
||||
.num_item {
|
||||
width: 33%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
margin-top: 32px;
|
||||
|
||||
.num_item_name {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.num_item_data {
|
||||
margin-top: 10px;
|
||||
color: #000000;
|
||||
font-size: 36px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.specialPeople,
|
||||
.ageDistribution,
|
||||
.ageProportion {
|
||||
margin-top: 32px;
|
||||
.specialBox,
|
||||
.ageBox,
|
||||
.proportionBox {
|
||||
margin-top: 24px;
|
||||
width: 100%;
|
||||
height: 480px;
|
||||
border-radius: 8px;
|
||||
background: #FFF;
|
||||
|
||||
#specialEcharts,
|
||||
#ageEcharts,
|
||||
#proportionEcharts {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</style>
|
||||
95
library/project/saas/AppDataStatistics/components/update.vue
Normal file
95
library/project/saas/AppDataStatistics/components/update.vue
Normal file
@@ -0,0 +1,95 @@
|
||||
<template>
|
||||
<div class="update">
|
||||
<h3>更新统计</h3>
|
||||
<div class="information">
|
||||
<u-subsection :list="list" :current="current" @change="sectionChange"></u-subsection>
|
||||
|
||||
<div class="card_list">
|
||||
<div class="card" v-for="(item,index) in dataArray" :key="index">
|
||||
<div class="card_name">{{ item }}</div>
|
||||
<div class="card_num">{{ Number(data[item]).toLocaleString('en-US') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "update",
|
||||
props: ['areaId'],
|
||||
data() {
|
||||
return {
|
||||
list: [
|
||||
{ name: '本日' },
|
||||
{ name: '本周' },
|
||||
{ name: '本月' },
|
||||
{ name: '本年' }
|
||||
],
|
||||
current: 0,
|
||||
data: {},
|
||||
dataArray: ['新增居民档案','居民档案更新','新增网格员','新增走访记录','新增矛盾调解','新增宣发记录'],
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
sectionChange(e) {
|
||||
this.current = e
|
||||
this.getData()
|
||||
},
|
||||
getData() {
|
||||
this.$http.post(`/app/wxgroupstatistic/updateStatistics`,null,{
|
||||
params: {
|
||||
areaId: this.areaId,
|
||||
type: this.current
|
||||
}
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
this.data = res.data
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.update {
|
||||
padding: 0 30px;
|
||||
box-sizing: border-box;
|
||||
h3 {
|
||||
margin: 32px 0 24px 0;
|
||||
}
|
||||
.information {
|
||||
width: 100%;
|
||||
background: #FFFFFF;
|
||||
border-radius: 16px;
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.card_list {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
.card {
|
||||
width: 50%;
|
||||
height: 160px;
|
||||
text-align: center;
|
||||
.card_name {
|
||||
margin-top: 32px;
|
||||
color: #666666;
|
||||
}
|
||||
.card_num {
|
||||
font-size: 36px;
|
||||
color: #000000;
|
||||
font-weight: 600;
|
||||
margin-top: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
297
library/project/saas/AppDataStatistics/components/wechat.vue
Normal file
297
library/project/saas/AppDataStatistics/components/wechat.vue
Normal file
@@ -0,0 +1,297 @@
|
||||
<template>
|
||||
<div class="wechat">
|
||||
<div class="head">
|
||||
<span>居民好友统计</span><span>(统计数据为去重后的数据)</span>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="item">
|
||||
<div class="item_name">居民好友</div>
|
||||
<div class="item_num">{{ Number(friendsCard.customerTotal).toLocaleString('en-US') }}</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item_name">昨日新增</div>
|
||||
<div class="item_num">{{ Number(friendsCard.addCustomerCount).toLocaleString('en-US') }}
|
||||
<img src="../img/up.png" alt="" class="imgs" v-show="friendsCard.addCustomerCount != 0">
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item_name">昨日流失</div>
|
||||
<div class="item_num">{{ Number(friendsCard.removeCustomerCount).toLocaleString('en-US') }}
|
||||
<img src="../img/down.png" alt="" class="imgs" v-show="friendsCard.removeCustomerCount !=0"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="friends_box">
|
||||
<div id="friends" v-if="friendsData.length > 0"></div>
|
||||
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
|
||||
</div>
|
||||
|
||||
<div class="head">
|
||||
<span>居民群统计</span><span>(统计数据为去重后的数据)</span>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="item">
|
||||
<div class="item_name">居民群</div>
|
||||
<div class="item_num">{{ Number(groupsCard.groupSum).toLocaleString('en-US') }}</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item_name">群成员</div>
|
||||
<div class="item_num">{{ Number(groupsCard.totalSum).toLocaleString('en-US') }}</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item_name">昨日新增</div>
|
||||
<div class="item_num">{{ Number(groupsCard.increaseSum).toLocaleString('en-US') }}
|
||||
<img src="../img/up.png" alt="" class="imgs" v-show="groupsCard.increaseSum"></div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item_name">昨日流失</div>
|
||||
<div class="item_num">{{ Number(groupsCard.decreaseSum).toLocaleString('en-US') }}
|
||||
<img src="../img/down.png" alt="" class="imgs" v-show="groupsCard.decreaseSum"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="groups_box">
|
||||
<div id="groups" v-if="groupsData.length > 0"></div>
|
||||
<AiEmpty style="padding-top: 10px;" description="暂无数据" v-else></AiEmpty>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import echarts from 'echarts';
|
||||
export default {
|
||||
name: "wechat",
|
||||
data() {
|
||||
return {
|
||||
friendsCard: {},
|
||||
friendsData: [],
|
||||
friendsMonth: [],
|
||||
friendsNumber: [],
|
||||
groupsCard: {},
|
||||
groupsData: [],
|
||||
groupsMonth: [],
|
||||
groupsNumber: []
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
getData() {
|
||||
// 居民好友
|
||||
this.$http.post(`/app/wxgroupstatistic/getCustommerNumber`).then(res=> {
|
||||
if(res?.data) {
|
||||
this.friendsCard = res.data.居民统计
|
||||
this.friendsData = res.data.居民好友数
|
||||
this.friendsMonth = this.friendsData.map(e=> e.month)
|
||||
this.friendsNumber = this.friendsData.map(e=> e.totalNumber)
|
||||
this.$nextTick(()=> {
|
||||
this.getFriendsEcharts(this.friendsMonth,this.friendsNumber)
|
||||
})
|
||||
}
|
||||
})
|
||||
// 居民群
|
||||
this.$http.post(`/app/wxgroupstatistic/getGroupNumber`).then(res=> {
|
||||
if(res?.data) {
|
||||
this.groupsCard = res.data.居民群统计
|
||||
this.groupsData = res.data.群成员数
|
||||
this.groupsMonth = this.groupsData.map(e=> e.month)
|
||||
this.groupsNumber = this.groupsData.map(e=> e.totalNumber)
|
||||
this.$nextTick(()=> {
|
||||
this.getGroupsEcharts(this.groupsMonth,this.groupsNumber)
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
getFriendsEcharts(friendsMonth,friendsNumber) {
|
||||
let friendsDom = document.getElementById('friends');
|
||||
let myFriendsChart = echarts.init(friendsDom);
|
||||
let option = {
|
||||
tooltip: {
|
||||
trigger: "axis",
|
||||
},
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: friendsMonth,
|
||||
axisTick: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLine: {
|
||||
show: false,
|
||||
},
|
||||
axisTick: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
grid:{
|
||||
x:50,
|
||||
y:50,
|
||||
},
|
||||
series: [
|
||||
{
|
||||
data: friendsNumber,
|
||||
type: 'line',
|
||||
lineStyle: {
|
||||
color: '#3975C6', // 折线线条颜色
|
||||
},
|
||||
itemStyle: {
|
||||
color: '#3975C6', // 折角颜色
|
||||
},
|
||||
areaStyle: {
|
||||
color: {
|
||||
type: 'linear',
|
||||
x: 0,
|
||||
y: 0,
|
||||
x2: 0,
|
||||
y2: 1,
|
||||
colorStops: [ // 渐变颜色
|
||||
{
|
||||
offset: 0,
|
||||
color: '#2891ff33',
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: '#2891ff00',
|
||||
},
|
||||
],
|
||||
global: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myFriendsChart.setOption(option);
|
||||
},
|
||||
getGroupsEcharts(groupsMonth,groupsNumber) {
|
||||
let groupsDom = document.getElementById('groups');
|
||||
let myGroupsChart = echarts.init(groupsDom);
|
||||
let option = {
|
||||
tooltip: {
|
||||
trigger: "axis",
|
||||
},
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: groupsMonth,
|
||||
axisTick: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLine: {
|
||||
show: false,
|
||||
},
|
||||
axisTick: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
grid:{
|
||||
x:50,
|
||||
y:50,
|
||||
},
|
||||
series: [
|
||||
{
|
||||
data: groupsNumber,
|
||||
type: 'line',
|
||||
lineStyle: {
|
||||
color: '#3975C6', // 折线线条颜色
|
||||
},
|
||||
itemStyle: {
|
||||
color: '#3975C6', // 折角颜色
|
||||
},
|
||||
areaStyle: {
|
||||
color: {
|
||||
type: 'linear',
|
||||
x: 0,
|
||||
y: 0,
|
||||
x2: 0,
|
||||
y2: 1,
|
||||
colorStops: [ // 渐变颜色
|
||||
{
|
||||
offset: 0,
|
||||
color: '#2891ff33',
|
||||
},
|
||||
{
|
||||
offset: 1,
|
||||
color: '#2891ff00',
|
||||
},
|
||||
],
|
||||
global: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
option && myGroupsChart.setOption(option);
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.wechat {
|
||||
padding: 0 32px;
|
||||
box-sizing: border-box;
|
||||
.head {
|
||||
margin-top: 32px;
|
||||
span:first-child {
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
font-weight: 600;
|
||||
}
|
||||
span:last-child {
|
||||
font-size: 26px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 24px 0;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
background: #FFF;
|
||||
border-radius: 16px;
|
||||
margin-top: 24px;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
|
||||
.item_name {
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.item_num {
|
||||
color: #000000;
|
||||
font-size: 36px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.imgs {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.friends_box,
|
||||
.groups_box {
|
||||
margin-top: 24px;
|
||||
width: 100%;
|
||||
height: 514px;
|
||||
background: #FFF;
|
||||
|
||||
#friends,
|
||||
#groups {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
BIN
library/project/saas/AppDataStatistics/img/down.png
Normal file
BIN
library/project/saas/AppDataStatistics/img/down.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 940 B |
BIN
library/project/saas/AppDataStatistics/img/location.png
Normal file
BIN
library/project/saas/AppDataStatistics/img/location.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 766 B |
BIN
library/project/saas/AppDataStatistics/img/up.png
Normal file
BIN
library/project/saas/AppDataStatistics/img/up.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 990 B |
Reference in New Issue
Block a user