From 8e943b7104561c3b14cf223016698709c5ade4b5 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期二, 03 二月 2026 15:37:26 +0800
Subject: [PATCH] #pda料箱组托和换码

---
 src/main/webapp/views/detail.html |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/webapp/views/detail.html b/src/main/webapp/views/detail.html
index 323814b..cd7040a 100644
--- a/src/main/webapp/views/detail.html
+++ b/src/main/webapp/views/detail.html
@@ -57,13 +57,13 @@
                     <div class="layui-form-mid layui-word-aux">褰撳墠瑙掕壊涓嶅彲鏇存敼涓哄叾瀹冭鑹�</div>
                 </div>
                 <div class="layui-form-item">
-                    <label class="layui-form-label">璐﹀彿鍚�</label>
+                    <label class="layui-form-label">鍚嶇О</label>
                     <div class="layui-input-inline">
                         <input id="username" class="layui-input" type="text" placeholder="璇疯緭鍏�" autocomplete="off">
                     </div>
                 </div>
                 <div class="layui-form-item">
-                    <label class="layui-form-label">鎵嬫満鍙�</label>
+                    <label class="layui-form-label">璐﹀彿</label>
                     <div class="layui-input-inline">
                         <input id="mobile" class="layui-input" type="text" placeholder="璇疯緭鍏�" autocomplete="off">
                     </div>
@@ -116,9 +116,9 @@
                         $('#person-detail').find(":input[id='" + val + "']").val(user[val]);
                     }
                 } else if (res.code === 403){
-                    top.location.href = "/";
+                    top.location.href = baseUrl+"/";
                 } else {
-                    layer.msg(res.msg);
+                    layer.msg(typeof I18n !== 'undefined' ? I18n.t(res.msg) : res.msg, {icon: 2});
                 }
             }
         });
@@ -130,11 +130,10 @@
                 title: '淇敼瀵嗙爜',
                 maxmin: true,
                 area: ['350px', '310px'],
-                offset: ['120px', '350px'],
                 shadeClose: false,
                 content: 'password.html',
                 success: function(layero, index){
-
+                    layer.iframeAuto(index);
                 }
             })
         });
@@ -155,13 +154,13 @@
                     method: 'POST',
                     success: function (res) {
                         if (res.code === 200){
-                            layer.msg(res.msg);
+                            layer.msg(typeof I18n !== 'undefined' ? I18n.t(res.msg) : res.msg, {icon: 2});
                             localStorage.setItem("username", user.username);
                             parent.$('#person-username').text(localStorage.getItem('username'));
                         } else if (res.code === 403){
-                            top.location.href = "/";
+                            top.location.href = baseUrl+"/";
                         } else {
-                            layer.msg(res.msg);
+                            layer.msg(typeof I18n !== 'undefined' ? I18n.t(res.msg) : res.msg, {icon: 2});
                         }
                     }
                 });
@@ -170,4 +169,5 @@
         });
     });
 </script>
+
 </html>
\ No newline at end of file

--
Gitblit v1.9.1