Browse Source

首页 压缩问题

wangqin
Joe 10 months ago
parent
commit
67c41ebd3e
  1. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/index.vue

4
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/index.vue

@ -9,8 +9,8 @@
<!-- group -->
<div name="fade-group" tag="div" class="tabs-content">
<div class="device-item" v-for="(item, index) in tabContentData" :key="item.id" @click="handleDevice(item)"
:style="getStart(index)">
<div class="device-item keep-ratio" v-for="(item, index) in tabContentData" :key="item.id"
@click="handleDevice(item)" :style="getStart(index)">
<div class="device-icon"
:style="{ backgroundImage: `url(${require(`@screen/images/layer/${active}/${item.title}${item.status}.svg`)})`, '--bgColor': `rgba(0, 209, 255, ${item.status ? 0.3 : 0})` }" />
<span>{{ item.title }}</span>

Loading…
Cancel
Save