|
@@ -430,13 +430,19 @@
|
|
|
<li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="手机号码"><i class="fa fa-tablet"></i> <%=salesmanData.telephone%></li>
|
|
|
<li class="list-group-item" data-toggle="tooltip" data-placement="bottom" title="固定电话"><i class="fa fa-phone"></i> <%=salesmanData.fixedphone%></li>
|
|
|
<% if (projectData.qrcode_json) { %>
|
|
|
- <li class="list-group-item container-fluid">
|
|
|
- <div class="row">
|
|
|
+ <li class="list-group-item container-fluid qrcode-height">
|
|
|
+ <div class="row qrcode-height">
|
|
|
<% for (const qr of JSON.parse(projectData.qrcode_json)) { %>
|
|
|
- <div class="col-sm text-center"><img src="/<%= qr.path %>" width="90"><div class="text-center"><%= qr.name %></div></div>
|
|
|
+ <div class="col-sm text-center"><img src="/<%= qr.path %>" width="100%" style="max-width: 180px"><div class="text-center"><%= qr.name %></div></div>
|
|
|
<% } %>
|
|
|
</div>
|
|
|
</li>
|
|
|
+ <% } else { %>
|
|
|
+ <li class="list-group-item container-fluid">
|
|
|
+ <div class="row qrcode-height">
|
|
|
+ <div class="col-sm text-center"><img src="/public/images/erweima.jpg" width="100%" style="max-width: 180px"><div class="text-center">虾米造价</div></div>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
<% } %>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -474,6 +480,8 @@
|
|
|
$('.contant-height-one').height($('.agency-partheight').height() - 52 - 20);
|
|
|
$('.contant-height-two').height($('.agency-partheight').height() - 52 - getObjHeight($(".echart-height")) - 20);
|
|
|
$('.contant-height-three').height($('.agency-partheight').height() - 52 - getObjHeight($(".addmsg-height")) - 20);
|
|
|
+ $('.qrcode-height').height($('.contant-height-one').height() - 43 - 44 - 44 - 25);
|
|
|
+ $('.qrcode-height .col-sm').css('padding-top', ($('.qrcode-height').height()/2 - ($('.qrcode-height img').height()+18)/2) + 'px');
|
|
|
// resizeChart();
|
|
|
}
|
|
|
setDashboardHeight();
|