in this case, the relative path of the picture is written in the style, as follows
-sharpuserBtn select{
width: 300px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border:solid 1px -sharpccc;
background:url("./images/icon_sanjiaoxing.png") no-repeat scroll 275px transparent;
background-size:15px 15px;
}
now, uh, there are several calls to this style at the front desk, and other styles can be applied, but this url is wrong.
correctly display
:http://localhost:8070/front/images/icon_sanjiaoxing.png
path: http://localhost:8070/front/sysItem/images/icon_sanjiaoxing.png
the first thing that makes me wonder is why the path has changed. The second is not to use the absolute path, can there be a way to keep the relative path unchanged or what, is there a great god to solve the problem for me?