From e57e89707d57d0af0ff8ed9f470f7450105ed4c0 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期日, 06 七月 2025 14:48:50 +0800
Subject: [PATCH] 1
---
src/main/webapp/views/detail.html | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/src/main/webapp/views/detail.html b/src/main/webapp/views/detail.html
index 323814b..878bbf1 100644
--- a/src/main/webapp/views/detail.html
+++ b/src/main/webapp/views/detail.html
@@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../static/layui/css/layui.css" media="all">
- <script type="text/javascript" src="../static/js/common.js"></script>
+ <script type="text/javascript" src="../static/js/common.js?v=100"></script>
<style>
body {
background-color: #fff;
@@ -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>
@@ -96,8 +96,8 @@
</fieldset>
</div>
</body>
-<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
-<script src="../static/layui/layui.js"></script>
+<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js?v=100"></script>
+<script src="../static/layui/layui.js?v=100"></script>
<script>
layui.use(['form'], function(){
var form = layui.form,
@@ -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