瀏覽代碼

对照片进行调整

master
zhaoyantao 6 月之前
父節點
當前提交
37d3c22cc6
共有 2 個文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存