Commit ca1b380f authored by 黄奎's avatar 黄奎

页面修改

parent d061a4e6
...@@ -148,13 +148,12 @@ ...@@ -148,13 +148,12 @@
linkAttr = ` class='attachNew' accessKey='${dataUrl}'`; linkAttr = ` class='attachNew' accessKey='${dataUrl}'`;
} }
var str= var str=
`<p ${linkAttr}> `<p ${linkAttr}>`+
<span ${linkAttr} contenteditable="false" style="display:-webkit-box;margin-top:10px;background: #F7F8FA;padding: 14px 16px;max-width: 572px;overflow: hidden;cursor:pointer;-webkit-box-align: center;text-align:left;cursor:pointer;" name="${iconObj.dataType}" data="${item.fileName}"> `<span ${linkAttr} contenteditable="false" style="display:-webkit-box;margin-top:10px;background: #F7F8FA;padding: 14px 16px;max-width: 572px;overflow: hidden;cursor:pointer;-webkit-box-align: center;text-align:left;cursor:pointer;" name="${iconObj.dataType}" data="${item.fileName}">`+
<img ${linkAttr} src="${iconObj.iconUrl}" style="width:42px; height:42px; overflow:hidden; margin-right:14px;border-radius:4px;"> `<img ${linkAttr} src="${iconObj.iconUrl}" style="width:42px; height:42px; overflow:hidden; margin-right:14px;border-radius:4px;">`+
<span ${linkAttr} style="font-size:14px; color:#181E33; line-height:20px; display:block; overflow:hidden; text-overflow:ellipsis;">${item.fileName}</span> `<span ${linkAttr} style="font-size:14px; color:#181E33; line-height:20px; display:block; overflow:hidden; text-overflow:ellipsis;">${item.fileName}</span>`+
</span> `</span>`+
</p>`; `</p>`;
console.log("str",str);
return str; return str;
}, },
//获取文件图标和类型 //获取文件图标和类型
......
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