|
|
|
@ -118,28 +118,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</module-title>
|
|
|
|
|
<div v-if="announceCurrentIndex === 0" >
|
|
|
|
|
<div class="labels">
|
|
|
|
|
<div
|
|
|
|
|
class="label-item"
|
|
|
|
|
v-for="(item, index) in pieData"
|
|
|
|
|
:key="index"
|
|
|
|
|
:style="{
|
|
|
|
|
backgroundImage: `url(${require('@/assets/sentimeent/' +
|
|
|
|
|
(item.name === '小程序' ? '其他' : item.name) +
|
|
|
|
|
'.png')})`,
|
|
|
|
|
backgroundSize: '100% 100%',
|
|
|
|
|
}"
|
|
|
|
|
>
|
|
|
|
|
<div class="label-content">
|
|
|
|
|
<div class="percent" :style="{ color: getItemColor(index) }">
|
|
|
|
|
{{ getItemPercent(item) }}%
|
|
|
|
|
</div>
|
|
|
|
|
<div class="name">{{ item.name }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<Localnotification v-if="announceCurrentIndex === 0" >
|
|
|
|
|
</Localnotification>
|
|
|
|
|
<Department v-if="announceCurrentIndex === 1" />
|
|
|
|
|
<!-- <ReportingStatistics :announce-current-index="announceCurrentIndex" /> -->
|
|
|
|
|
</div>
|
|
|
|
|