1. 修改電站管理 上傳資料顯示

This commit is contained in:
Kai 2021-06-29 16:00:25 +08:00
parent f3bccf0692
commit 3f969389b9
2 changed files with 4 additions and 4 deletions

View File

@ -2260,7 +2260,7 @@
//#region 創建電站圖片box
function CreatePowerStationImageBox(dom, value) {
var str = '<div class="col-xl">' +
var str = '<div class="col-xl" style="max-width: 20%;">' +
'<div class="card border m-auto m-lg-0" style="padding: 9.5px;">' +
'<img src="' + value.image + '" class="card-img-top img-zoom" alt="...">' +
'<a href="javascript:void(0);" class="btn btn-danger btn-lg btn-icon rounded-circle waves-effect waves-themed position-absolute pos-top pos-right del-power-station-image-btn" data-id="' + value.id + '">' +
@ -2402,7 +2402,7 @@
//#region 創建單線圖box
function CreatePowerStationSingleLineBox(dom, value) {
var str = '<div class="col-xl">' +
var str = '<div class="col-xl" style="max-width: 20%;">' +
'<div class="card border m-auto m-lg-0" style="padding: 9.5px;">' +
'<img src="' + value.image + '" class="card-img-top img-zoom" alt="...">' +
'<a href="javascript:void(0);" class="btn btn-danger btn-lg btn-icon rounded-circle waves-effect waves-themed position-absolute pos-top pos-right del-power-station-single-line-btn" data-id="' + value.id + '">' +

View File

@ -11,7 +11,7 @@
</div>
</div>
<div class="card-body" id="power-station-image-card">
<div class="row d-flex justify-content-between img-zoom-div">
<div class="row d-flex justify-content-start img-zoom-div">
</div>
</div>
@ -46,7 +46,7 @@
</div>
</div>
<div class="card-body" id="power-station-single-line-card">
<div class="row d-flex justify-content-between img-zoom-div">
<div class="row d-flex justify-content-start img-zoom-div">
</div>
</div>