1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
| <!DOCTYPE html>
| <html>
|
| <head>
| <meta charset="UTF-8">
| <title>Title</title>
| <script src="../js/load.js"></script>
| </head>
|
| <body>
| <div id="container">
| <div id="formcontainer" style="display:flex;align-items: center;justify-content: center">
| <img id="showImg" src="" width="200" height="200" alt="图片 预览..." style="display:none"> <br />
| </div>
| <div id="opcontainer">
| <button class="layui-btn layui-btn-primary" onclick="HandleClose()">关闭</button>
| </div>
| </div>
| </body>
| <script>
| var FormDetail = null;
|
| $(function() {
| LoadDetail();
| })
|
| function LoadDetail() {
| var param = {
| userID: GetUrlParam("userID")
| }
| SetForm("editform", "face/regist/detail", param, function(data) {
| FormDetail = data;
| $("#showImg").attr("src", FormDetail.base64Image);
| $("#showImg").show();
| })
| }
|
| function HandleClose() {
| CloseDialog();
| }
| </script>
|
| </html>
|
|