
javascript
<div
style="
width: 170px;
display: flex;
flex-direction: column;
justify-content: space-between;
">
<div
class="tj_box"
:style="{
backgroundColor: fullscreen ? boxBgColor : '#1677ff',
}"
>
<div class="tj_tit">客户总数</div>
<div>{{ hzData.customer_num }}</div>
</div>
<div
class="tj_box"
:style="{
backgroundColor: fullscreen ? boxBgColor : '#ff8f1f',
}"
>
<div class="tj_tit">合同总数</div>
<div>{{ hzData.compact_num }}</div>
</div>
<div
class="tj_box"
:style="{
backgroundColor: fullscreen ? boxBgColor : '#00bfd0',
}"
>
<div class="tj_tit">销项合同金额</div>
<div>{{ hzData.xx_compact_money }}</div>
</div>
<div
class="tj_box"
:style="{
backgroundColor: fullscreen ? boxBgColor : '#f93a4a',
}"
>
<div class="tj_tit">进项合同金额</div>
<div>{{ hzData.jx_compact_money }}</div>
</div>
</div>
<style scoped>
.tj_box {
height: 100px;
border-radius: 8px;
/* margin-bottom: 10px; */
text-align: center;
font-size: 18px;
box-sizing: border-box;
padding-top: 20px;
color: #fff;
}
</style>