Browse Source

修改页面图标静态样式

wangqin
刘朋 9 months ago
parent
commit
4b8bcf962b
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/ListItem.vue
  2. 19
      ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue

2
ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/ListItem.vue

@ -1,6 +1,6 @@
<template>
<div class='ListItem'>
<img class="prefix" :src="require(`@screen/images/ListItem/${eventTypeIcon[1]}.svg`)" />
<img class="prefix" :src="require(`@screen/images/ListItem/${eventTypeIcon[data.type]}.svg`)" />
<div class="center">
<div class="header">
<span class="title">{{ data.title || '-' }}</span>

19
ruoyi-ui/src/views/JiHeExpressway/pages/service/InformationReleaseManagement/Cards/AuditLists/index.vue

@ -2,7 +2,8 @@
<Card2 class='Auditlists' title="审核列表">
<InputSearch style="width: 100%;" />
<div class="body">
<ListItem v-for="item in list" :key="item.id" :data="item" origin="left" class="middle-ratio" />
<ListItem v-for="item in list1" :key="item.id" :data="item" origin="left" class="middle-ratio" />
<ListItem v-for="item in list2" :key="item.id" :data="item" origin="left" class="middle-ratio" />
</div>
<div class="footer">
<Pagination :total="90" />
@ -26,14 +27,20 @@ export default {
},
data() {
return {
list: Array.from({ length: 20 }).map(() => ({
list1: Array.from({ length: 3 }).map(() => ({
title: "异常天气",
content: "2023.12.23 13:00:00 济南方向K100+000 交通事故",
type: (() => {
content: "2023.12.23 13:00:00 济南方向K100+000 中雪",
type: 0,
isverify: (() => {
const min = 0;
const max = 1;
const max = 2;
return Math.floor(Math.random() * (max - min + 1)) + min;
})(),
})()
})),
list2: Array.from({ length: 10 }).map(() => ({
title: "交通事故",
content: "2023.12.23 13:00:00 济南方向K100+000 交通事故",
type: 1,
isverify: (() => {
const min = 0;
const max = 2;

Loading…
Cancel
Save