文件详情页面按钮比例调整

This commit is contained in:
yujh_java 2025-08-08 10:16:39 +08:00
parent 3a41f8b727
commit fa5053fcf0

View File

@ -89,6 +89,10 @@
background-color: #4e7ff9;
color: white;
cursor: pointer;
/* 新增固定最小宽度确保3-4个字按钮大小一致 */
min-width: 70px;
/* 可选:让文字居中显示 */
text-align: center;
}
.floating-button:hover {
@ -786,6 +790,8 @@
taskId : taskId
},
success : function(msg) {
if (msg.result == "ok") {
//$.simpleAlert("close");
if (msg['data']) {
@ -1140,7 +1146,7 @@
<!-- 新增按钮容器 -->
<div id="floating-buttons" class="floating-buttons" style="display: none">
<button class="floating-button" onclick="openInfo('epc')" >流程图</button>
<button class="floating-button" onclick="openInfo('word')" >手册图</button>
<button class="floating-button" onclick="openInfo('word')" >文件全文</button>
</div>
<div class="title"><span></span></div>