From 6f7a815b2d6e4f30e7ccf901b24d5103aaa72078 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期一, 25 十二月 2023 10:23:08 +0800
Subject: [PATCH] Merge branch 'tzskasrs-1' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs-1

---
 src/main/webapp/views/detail.html |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/main/webapp/views/detail.html b/src/main/webapp/views/detail.html
index 323814b..ed3397d 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,7 +116,7 @@
                         $('#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);
                 }
@@ -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);
                 }
             })
         });
@@ -159,7 +158,7 @@
                             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);
                         }

--
Gitblit v1.9.1