路过的大神帮小弟看一下,我计划在内网搭建一个网站,通过IIS搭建服务器,web网页已经设计好,并且能在本地电脑上正确显示,但是局域网内其他电脑登陆时能正确显示页面,但是页面模块中的内容却无法正确展示。跪求大神们给小弟一个指导,让局域网内其他电脑登陆时能正确展示模块中的文件,谢谢! 本地电脑正确展示页面如下:  本地电脑[http://localhost/](https://link.segmentfault.com/?enc=xrrfaXcpQcvpvyM6YBrCDA%3D%3D.07wrT3xj5vkH4QsL3TxoMxMooH5YulGKIsZ2AyhLk34%3D)打开之后页面展示如下:  iis默认文档设置:  网站项目文件夹:  网站页面放置目录:  网站中模块显示文件放置目录:  index.html页面代码如下: 内控园地 body { margin: 0; font-family: "仿宋", Arial, sans-serif; } header { background: linear-gradient(to right, #4e54c8, #8f94fb); color: #fff; text-align: center; padding: 60px 20px; position: relative; } header h1 { margin: 0; font-size: 60px; } .additional-text { position: absolute; bottom: 10px; right: 10px; color: #fff; font-size: 14px; font-weight: bold; } .module-container { display: flex; flex-wrap: wrap; justify-content: space-evenly; padding: 20px; justify-content: flex-start; } .module { border: 1px solid #ddd; border-radius: 20px; padding: 10px; width: 200px; /* Adjust the width as needed */ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin: 5px; text-align: center; font-weight: bold; } .level-container { display: flex; flex-direction: column; align-items: center; padding: 20px; } .level { display: flex; margin-bottom: 20px; } .branch { border: 0px solid #ddd; border-radius: 20px; padding: 10px; width: 150px; text-align: center; margin: 0 10px; font-weight: bold; } .sub-branch { border: 0px solid #ddd; border-radius: 20px; padding: 10px; width: 100px; text-align: center; margin: 0 10px; font-weight: bold; } .sub-branch-container { display: flex; flex-direction: column; align-items: center; } 内 控 园 地 Developed by 1375020 with full effort. 内控保卫部邮件 内控保卫部提示函 GMAP核查 了解你的机构 业务外包 不相容岗位 基本授权 《合规月月谈》手册 了解你的机构 绩效考核 基本授权 法律事务管理 不相容岗位 《合规月月谈》手册 更多 嘉兴市分行机构树 市行营业部 秀城支行 纺工路支行 经开支行 城南路支行 南湖支行 东方路支行 蓝天嘉苑支行 文昌支行 金融广场支行 秀洲支行 洪兴支行 凯旋支行 禾兴北支行 王江泾支行 海宁营业部 斜桥支行 长安支行 家纺城支行 袁花支行 皮革城支行 文苑支行 海昌支行 马桥支行 工业园区支行 经济开发区支行 桐乡营业部 屠甸支行 崇福支行 濮院支行 洲泉支行 振东支行 迎凤支行 乌镇支行 海盐营业部 勤俭支行 秦山支行 澉浦支行 城北支行 大桥新区支行 滨海新城支行 平湖营业部 东湖支行 环城东路支行 乍浦支行 独山港支行 新仓支行 经开支行 新埭支行 长三角营业部 晋阳支行 西塘支行 中山支行 体育路支行 亭桥路支行 姚庄支行 归谷支行 经济开发区支行 function redirectTo(page) { window.location.href = page; } 内控保卫部邮件web代码: 内控园地 body { margin: 0; font-family: "仿宋", Arial, sans-serif; /* Use "仿宋" as a fallback font */ } header { background: linear-gradient(to right, #4e54c8, #8f94fb); color: #fff; text-align: center; padding: 60px 20px; /* Increase header height by 100% */ width: 100%; height: 250%; /* Increase header height by 100% */ position: relative; } header h1 { margin: 0; font-size: 60px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } section { display: flex; flex-wrap: wrap; /* Allow items to wrap to the next line */ justify-content: center; padding: 20px; } .module { border: 1px solid #ddd; border-radius: 8px; padding: 40px; width: 80%; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin: 0 300px 20px; /* Add margin-bottom to create space between rows */ text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: left; /* Center text horizontally and vertically */ height: 100%; } .module h2 { color: #000; /* Set text color to black */ font-size: 40px; font-weight: bold; /* Make the title bold */ font-family: "仿宋", Arial, sans-serif; /* Use "仿宋" as a fallback font */ margin-top: 0; } .file-list { margin-top: 15px; list-style-type: none; padding: 5; text-align: left; } .file-list li { margin-bottom: 30px; font-size: 24px; color: #000; font-family: "仿宋", Arial, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: space-between; /* Add this property to evenly space items */ } .file-list li button { padding: 10px; border: none; border-radius: 4px; cursor: pointer; background-color: #3498db; color: white; margin-left: 10px; /* Add margin to create space between file name and button */ } .back-button { /* Add or adjust the width and height properties as needed */ width: 200px; height: /* Your desired height */; margin: 10px auto; /* Center the button horizontally, adjust the margin-top if needed */ padding: 10px; /* Adjust the padding if needed */ border: none; border-radius: 4px; cursor: pointer; background-color: #3498db; color: white; } 内 控 园 地 内控保卫部邮件 返回内控园地 document.addEventListener('DOMContentLoaded', () => { // Fetch files for 内控保卫部邮件 module fetchAndDisplayFiles('内控保卫部邮件-list'); }); function fetchAndDisplayFiles(listId) { const fileList = document.getElementById(listId); fetch('/files/内控保卫部邮件') .then(response => response.json()) .then(files => { files.forEach(file => { // Extract file name without extension const fileName = file.replace(/\..+$/, ''); const listItem = document.createElement('li'); listItem.textContent = fileName; const openButton = document.createElement('button'); openButton.textContent = '打开'; openButton.classList.add('open-button'); openButton.onclick = () => openFolderWindow('/files/内控保卫部邮件/' + file, fileName); listItem.appendChild(openButton); fileList.appendChild(listItem); }); }) .catch(error => { console.error(error); }); } function openFolderWindow(folderPath, windowTitle) { const left = (screen.width - 600) / 2; const top = (screen.height - 400) / 2; const newWindow = window.open('', windowTitle, `width=600, height=400, left=${left}, top=${top}`); fetch(folderPath) .then(response => response.json()) .then(files => { newWindow.document.write(`${windowTitle}`); newWindow.document.write(''); files.forEach(file => { const listItem = newWindow.document.createElement('li'); const downloadLink = newWindow.document.createElement('a'); downloadLink.textContent = file; downloadLink.href = `${folderPath.replace(/^[\\\/]?files\//, '/file/')}/${file}` downloadLink.download = file; listItem.appendChild(downloadLink); newWindow.document.write(listItem.outerHTML); }); newWindow.document.write(''); // Centered Close Button const closeButton = newWindow.document.createElement('button'); closeButton.textContent = '关闭'; closeButton.style.position = 'absolute'; closeButton.style.bottom = '10px'; // Adjust the bottom margin as needed closeButton.style.left = '50%'; closeButton.style.transform = 'translateX(-50%)'; closeButton.onclick = () => newWindow.close(); newWindow.document.body.appendChild(closeButton); }) .catch(error => { console.error(error); }); } function redirectToIndex() { window.location.href = 'index.html'; } 跪求大神们给小弟一个指导,让局域网内其他电脑登陆时能正确展示模块中的文件,谢谢!