This commit is contained in:
13684185576
2025-12-05 10:11:04 +08:00
parent 223dd787b8
commit 5d8263c973
2 changed files with 5 additions and 12 deletions

View File

@ -1,14 +1,6 @@
<template> <template>
<div <div class="waning-cards noScollLine" v-infinite-scroll="rollingLoading" v-loading="loading">
class="waning-cards noScollLine" <div class="warning-card" v-for="(item, index) in warningList.data" :key="index">
v-infinite-scroll="rollingLoading"
v-loading="loading"
>
<div
class="warning-card"
v-for="(item, index) in warningList.data"
:key="index"
>
<div class="warning-image"> <div class="warning-image">
<img :src="item.yjTp" alt="预警图片" /> <img :src="item.yjTp" alt="预警图片" />
</div> </div>
@ -106,6 +98,7 @@ getPageList();
.warning-image { .warning-image {
width: 100px; width: 100px;
height: 80px; height: 80px;
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@ -4,9 +4,9 @@ function resolve(dir) {
return path.join(__dirname, dir); return path.join(__dirname, dir);
} }
// const serverHost = "http://47.108.232.77:9537"; const serverHost = "http://47.108.232.77:9537";
// const serverHost = "http://192.168.0.231:8006" // const serverHost = "http://192.168.0.231:8006"
const serverHost = "http://192.168.1.98:8006" // const serverHost = "http://192.168.1.98:8006"
module.exports = { module.exports = {
publicPath: "./", publicPath: "./",
outputDir: "jcz", outputDir: "jcz",