更新大屏

This commit is contained in:
2025-07-14 14:21:12 +08:00
parent 813e5a9c97
commit bfc6504e2d
8 changed files with 239 additions and 270 deletions

View File

@ -1,32 +1,28 @@
<template>
<div class="warning-card flex align-center" :class="changeBG(item.yjjb)">
<div class="warning-image">
<img :src="item.image" alt="预警图片" />
<img :src="item.yjTp" alt="预警图片" />
</div>
<div class="warning-info">
<div class="flex just-between align-center">
<div class="flex align-center mt4">
<span>{{ item.name }}</span>
<span>{{ item.yjRyxm }}</span>
<span class="gapline mr10 ml10"></span>
<span>{{ item.gender }}</span>
<span>{{ IdCard(item.yjRysfzh,2) }}</span>
<span class="gapline mr10 ml10"></span>
<span>{{ item.age }}</span>
<span class="gapline mr10 ml10"></span>
<span>{{ item.mz }}</span>
<span>{{ IdCard(item.yjRysfzh,3) }}</span>
</div>
<span class="tag">涉警人员</span>
<span class="tag" v-if="item.yjbqmc">{{ item.yjbqmc }}</span>
</div>
<div class="mt4">身份证{{ item.sfzh }}</div>
<div class="mt4 one_text_detail">户籍地址{{ item.location }}</div>
<div class="mt4 one_text_detail">居住地址{{ item.location }}</div>
<div class="mt4 two_text_detail">预警内容{{ item.yjnr }}</div>
<div class="mt4">身份证{{ item.yjRysfzh }}</div>
<div class="mt4 one_text_detail">预警地址{{ item.yjDz }}</div>
<div class="mt4 two_text_detail">预警内容{{ item.yjNr }}</div>
</div>
</div>
</template>
<script setup>
import { de } from "element-plus/es/locale.mjs";
import { cs } from "element-plus/es/locale.mjs";
import { IdCard } from '@/utils/validate.js'
import { reactive, ref } from "vue";
const props = defineProps({
item: {