sgj
7 天以前 b3de26a4f625f901080e92b0d73e1e90141d6d0a
图片回显修改
已修改4个文件
18 ■■■■■ 文件已修改
fzzy-igdss-web/src/main/resources/static/eventInfo/eventInfo.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fzzy-igdss-web/src/main/resources/static/snapRecord/snapRecord.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fzzy-igdss-web/src/main/resources/templates/eventInfo/eventInfo.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fzzy-igdss-web/src/main/resources/templates/snapRecord/snapRecord.html 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fzzy-igdss-web/src/main/resources/static/eventInfo/eventInfo.js
@@ -138,8 +138,8 @@
    records.forEach(function(record) {
        html += `
            <div class="gallery-item">
                <img src="/logo-sm.png" alt="${record.id}"
                     data-url="/logo-sm.png" data-id="${record.id}"
                <img src="${record.imgName || '/logo-sm.png'}" alt="${record.id}"
                    data-url="${record.imgName || '/logo-sm.png'}" data-id="${record.id}"
                     class="gallery-img" onclick="showEventInfoPreview(this.getAttribute('data-url'))">
                <div class="gallery-info">
                    <div class="gallery-header">
fzzy-igdss-web/src/main/resources/static/snapRecord/snapRecord.js
@@ -138,8 +138,8 @@
    records.forEach(function(record) {
        html += `
            <div class="gallery-item">
                <img src="/logo-sm.png" alt="${record.id}"
                     data-url="/logo-sm.png" data-id="${record.id}"
                <img  src="${record.imgName || '/logo-sm.png'}" alt="${record.id}"
                     data-url="${record.imgName || '/logo-sm.png'}" data-id="${record.id}"
                     class="gallery-img" onclick="showSnapRecordPreview(this.getAttribute('data-url'))">
                <div class="gallery-info">
                    <div class="gallery-header">
fzzy-igdss-web/src/main/resources/templates/eventInfo/eventInfo.html
@@ -39,8 +39,8 @@
                </div>
                <!-- 事件卡片 -->
                <div th:each="eventInfo : ${eventInfoList}" class="gallery-item">
                    <img th:src="@{/logo-sm.png}" th:alt="${eventInfo.id}"
                         th:data-url="@{/logo-sm.png}" th:data-id="${eventInfo.id}"
                    <img th:src="${eventInfo.imgName ?: '/logo-sm.png'}" th:alt="${eventInfo.id}"
                         th:data-url="${eventInfo.imgName ?: '/logo-sm.png'}" th:data-id="${eventInfo.id}"
                         class="gallery-img" onclick="showEventInfoPreview(this.getAttribute('data-url'))">
                    <div class="gallery-info">
                        <div class="gallery-header">
fzzy-igdss-web/src/main/resources/templates/snapRecord/snapRecord.html
@@ -39,10 +39,8 @@
                </div>
                <!-- 图片卡片 -->
                <div th:each="snapRecord : ${snapRecordList}" class="gallery-item">
<!--                    <img th:src="${snapRecord.imgPath}" th:alt="${snapRecord.id}"-->
<!--                         th:data-url="${snapRecord.imgPath}" th:data-id="${snapRecord.id}"-->
                    <img th:src="@{/logo-sm.png}" th:alt="${snapRecord.id}"
                         th:data-url="@{/logo-sm.png}" th:data-id="${snapRecord.id}"
                    <img th:src="${snapRecord.imgName ?: '/logo-sm.png'}" th:alt="${snapRecord.id}"
                         th:data-url="${snapRecord.imgName ?: '/logo-sm.png'}" th:data-id="${snapRecord.id}"
                         class="gallery-img" onclick="showSnapRecordPreview(this.getAttribute('data-url'))">
                    <div class="gallery-info">
                        <div class="gallery-header">