This commit is contained in:
parent
8d95d093c8
commit
2c146ddfa9
|
|
@ -6,7 +6,15 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Demo</title>
|
||||
<link rel="stylesheet" href="../../../layui/css/layui.css" />
|
||||
<style>
|
||||
.dialog-title {
|
||||
padding: 12px 6px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
|
|
@ -226,14 +234,14 @@
|
|||
// 在这里添加按钮点击后的逻辑
|
||||
|
||||
// 组装dom
|
||||
let formHtml = ''
|
||||
let formHtml = `<div class="dialog-title">${tableList[rowIndex].proName}</div>`
|
||||
dialogLabelList.forEach((e, index) => {
|
||||
formHtml += `
|
||||
<div style="padding: 11px;">
|
||||
<div style="padding: 20px;">
|
||||
<form id="uploadForm">
|
||||
<div style="display: flex; align-items: center;">
|
||||
<div style="margin-right: 10px;width: 180px";>${e.title}</div>
|
||||
<input type="text" data-id="${dialogLabelInfo[index].field}" id="numberInput" name="numberInput" min="0.01" step="0.01" placeholder="请输入大于0的数字" style=";width:"180px"; padding:12px 5px;" value="${tableList[rowIndex][dialogLabelInfo[index].field]}">
|
||||
<div style="margin-right: 10px;width: 200px";>${e.title}</div>
|
||||
<input type="text" data-id="${dialogLabelInfo[index].field}" id="numberInput" name="numberInput" min="0.01" step="0.01" placeholder="请输入大于0的数字" style=";width:180px"; padding:12px 5px;" value="${tableList[rowIndex][dialogLabelInfo[index].field]}">
|
||||
<button type="button" id="uploadBtn" style="color: #4CAF50; border: none; margin-left: 10px; cursor: pointer;">
|
||||
+ 上传评分依据
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue