Browse Source

对照片进行调整

master
zhaoyantao 6 months ago
parent
commit
37d3c22cc6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      rwk-admin/src/main/resources/templates/system/information/add.html
  2. +1
    -1
      rwk-admin/src/main/resources/templates/system/information/edit.html

+ 1
- 1
rwk-admin/src/main/resources/templates/system/information/add.html View File

@@ -24,7 +24,7 @@
<td colspan="2"><input name="nationality" class="form-control" type="text"></td>
<td colspan="2" rowspan="4" style="min-width: 240px;">
<div style="width:100%;display: flex;align-items: center;justify-content: center;flex-direction: column;">
<div style="width: 60%;max-height: 150px;"><img id="photo" class="img-xs" src="" style="display: none;width: 100%;height: 100%;"/></div>
<div style="max-width: 131px;max-height: 150px;"><img id="photo" class="img-xs" src="" style="display: none;width: 100%;height: 100%;"/></div>
<div style="width: 60%;height: 20%;text-align: center;">
<a class="btn btn-unite" onclick="$('#fileUpload').click();">上传照片</a>
</div>


+ 1
- 1
rwk-admin/src/main/resources/templates/system/information/edit.html View File

@@ -25,7 +25,7 @@
<td colspan="2"><input name="nationality" class="form-control" type="text" th:field="*{nationality}"></td>
<td colspan="2" rowspan="4" style="min-width: 240px;">
<div style="width:100%;display: flex;align-items: center;justify-content: center;flex-direction: column;">
<div style="width: 60%;max-height: 150px;"><img id="photo" class="img-xs" src="" style="display: none;width: 100%;height: 100%;"/></div>
<div style="max-width: 131px;max-height: 150px;"><img id="photo" class="img-xs" src="" style="display: none;width: 100%;height: 100%;"/></div>
<div style="width: 60%;height: 20%;text-align: center;">
<a class="btn btn-unite" onclick="$('#fileUpload').click();">上传照片</a>
</div>


Loading…
Cancel
Save