From dcd66c909dd1f2400c5338aa77269b9eacf67bf1 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 19 Dec 2024 12:57:28 +0800 Subject: [PATCH] refactor: 将项目名称从 E2Mart 修改为 RunStep- 更新了多个文件中的项目名称,包括 HTML 模板和日志输出 - 修改涉及错误页面、登录页面、主页等多处显示项目名称的地方 --- src/main/resources/templates/febs/views/modules/order/orderRefundList.html | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/order/orderRefundList.html b/src/main/resources/templates/febs/views/modules/order/orderRefundList.html index 390b3d3..d4e0b29 100644 --- a/src/main/resources/templates/febs/views/modules/order/orderRefundList.html +++ b/src/main/resources/templates/febs/views/modules/order/orderRefundList.html @@ -83,12 +83,28 @@ 暂无图片 {{# } else { }} {{# for(var i=0;i < d.refundPicList.length;i++){ }} - <img id="refundPic" width='100' style="cursor: pointer;" height='100' src="{{ d.refundPicList[i]}}" /> + <a href="javascript:;" onclick="showBigImage('{{ d.refundPicList[i]}}')"> + <img id="refundPic" width='100' style="cursor: pointer;" height='100' src="{{ d.refundPicList[i]}}"/> + </a> {{# } }} {{# } }} </script> <!-- 表格操作栏 end --> <script data-th-inline="none" type="text/javascript"> + //图片放大 + function showBigImage(url) { + layer.open({ + type: 1, + title: "图片", + skin: 'layui-layer-rim', //加上边框 + area: ['80%', '100%'], //宽高 + shadeClose: true, //开启遮罩关闭 + end: function (index, layero) { + return false; + }, + content: '<img src="' + url + '" alt="Big Image" style="max-width: 100%; height: auto;">' + }); + } // 引入组件并初始化 layui.use([ 'jquery', 'form', 'table', 'febs', 'formSelects'], function () { var $ = layui.jquery, -- Gitblit v1.9.1