记得上下班打卡 | git大法好,push需谨慎

Commit 6c59309e authored by dongchun's avatar dongchun

修改前端bug

parent beef231c
......@@ -14,11 +14,16 @@
padding: 20px;
}
.top_data_img span {
display: inline-block;
display: flex;
width: 70px;
height: 70px;
background: #ccc;
border-radius: 50%;
justify-content: center;
align-items: center;
}
.top_data_img span img {
height: 100%;
}
.top_data_right {
margin-left: 12px;
......@@ -44,7 +49,9 @@
<div class="col-sm-12 search-collapse">
<div class="top_data">
<div class="top_data_img">
<span></span>
<span>
<img id="avatar" src="" alt="">
</span>
</div>
<div class="top_data_right">
<div class="name"><span id="name">张三</span><span class="nameSp">17788774478</span></div>
......@@ -134,6 +141,7 @@
$.table.init(options);
console.log(1)
$('#name').text(dto.nickName);
$('#avatar').attr('src', dto.avatar);
$('.nameSp').text(dto.mobile);
let statusName = '';
$('#scoreAll').text(dto.scoreAll);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment