郫都大屏
This commit is contained in:
@@ -71,15 +71,15 @@
|
||||
<div class="item-bottom">
|
||||
<div class="item-bottom__item">
|
||||
<h2>高龄老人</h2>
|
||||
<span>{{ tagInfo.elderlyPeople }}</span>
|
||||
<span>{{ tagInfo.elderlyPeople || 0 }}</span>
|
||||
</div>
|
||||
<div class="item-bottom__item">
|
||||
<h2>精神病人</h2>
|
||||
<span>{{ tagInfo.mentalIllness }}</span>
|
||||
<span>{{ tagInfo.mentalIllness || 0 }}</span>
|
||||
</div>
|
||||
<div class="item-bottom__item">
|
||||
<h2>贫困居民</h2>
|
||||
<span>{{ tagInfo.poorResidents }}</span>
|
||||
<span>{{ tagInfo.poorResidents || 0 }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -98,11 +98,11 @@
|
||||
<div class="item-top dl">
|
||||
<div class="item-top__item" @click="dlIndex = 0" :class="[dlIndex === 0 ? 'active' : '']">
|
||||
<h2>单聊会话</h2>
|
||||
<p>{{ userChatNumber.chatCnt }}</p>
|
||||
<p>{{ userChatNumber ? userChatNumber.chatCnt : 0 }}</p>
|
||||
</div>
|
||||
<div class="item-top__item" @click="dlIndex = 1" :class="[dlIndex === 1 ? 'active' : '']">
|
||||
<h2>单聊消息</h2>
|
||||
<p>{{ userChatNumber.messageCnt }}</p>
|
||||
<p>{{ userChatNumber ? userChatNumber.messageCnt : 0 }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="chart3" v-show="dlIndex === 0" style="width: 336px; height: 200px;"></div>
|
||||
@@ -113,15 +113,15 @@
|
||||
<div class="item-top ql">
|
||||
<div class="item-top__item" @click="qlIndex = 0" :class="[qlIndex === 0 ? 'active' : '']">
|
||||
<h2>活跃群聊</h2>
|
||||
<p>{{ groupChatNumber.chatHasMsg }}</p>
|
||||
<p>{{ groupChatNumber.chatHasMsg || 0 }}</p>
|
||||
</div>
|
||||
<div class="item-top__item" @click="qlIndex = 1" :class="[qlIndex === 1 ? 'active' : '']">
|
||||
<h2>活跃群成员</h2>
|
||||
<p>{{ groupChatNumber.memberHasMsg }}</p>
|
||||
<p>{{ groupChatNumber.memberHasMsg || 0 }}</p>
|
||||
</div>
|
||||
<div class="item-top__item" @click="qlIndex = 2" :class="[qlIndex === 2 ? 'active' : '']">
|
||||
<h2>群聊消息</h2>
|
||||
<p>{{ groupChatNumber.msgTotal }}</p>
|
||||
<p>{{ groupChatNumber.msgTotal || 0 }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="chart5" v-show="qlIndex === 0" style="width: 336px; height: 200px;"></div>
|
||||
|
||||
Reference in New Issue
Block a user