处理用户头像无法修改问题
parent
98fe77113f
commit
3bf1a349b2
5
pom.xml
5
pom.xml
|
@ -179,6 +179,11 @@
|
|||
</compilerArguments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.0.0</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# site-url: 119.91.222.184
|
||||
site-url: 127.0.0.1
|
||||
server:
|
||||
port: 80
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 24 KiB |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 28 KiB |
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
Binary file not shown.
After Width: | Height: | Size: 450 KiB |
|
@ -115,7 +115,7 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img id="header" th:src="@{${session.user.getHeader()}}" width="350" style="border-radius: 100%" onclick="upImg()">
|
||||
<img id="header" th:src="@{${session.user.getHeader()}}" width="350" style="border-radius: 100%" onclick="upImgFunction()">
|
||||
<br>
|
||||
点击头像上传图片
|
||||
<input id="upImg" name="img" type="file" style="width: 200px;display: none" onchange="showImg(this,'header')"/>
|
||||
|
@ -183,7 +183,7 @@
|
|||
reader.readAsDataURL(file)
|
||||
}
|
||||
|
||||
function upImg(){
|
||||
function upImgFunction(){
|
||||
var upImg = document.getElementById("upImg");
|
||||
upImg.click();
|
||||
}
|
||||
|
|
|
@ -55,6 +55,9 @@
|
|||
<button type="button" id="button" class="btn_sign_up" onclick="button()">注册</button>
|
||||
</div>
|
||||
</div>
|
||||
<a th:href="@{/}" style="position: relative; top: 15px">
|
||||
暂 以 游 客 身 份 访 问
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -80,14 +80,14 @@
|
|||
<script th:src="@{/js/user/home/vendor/modernizr-2.8.3.min.js}"></script>
|
||||
<style>
|
||||
table {
|
||||
background: #bcc2e4;
|
||||
background: #c8d4e4;
|
||||
border-radius: 20px;
|
||||
width: 85%;
|
||||
height: 100px;
|
||||
color: darkslategrey;
|
||||
}
|
||||
pre {
|
||||
background: #bcc2e4;
|
||||
background: #c8d4e4;
|
||||
border: 0;
|
||||
}
|
||||
.context{
|
||||
|
|
Loading…
Reference in New Issue