From 90c5e0f9a6f55b4a4db6c052e239cc511c7ddc8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 13 Jul 2019 00:08:48 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/forums/Post.css | 5 ++++ .../PackageIndexNEIBannerConcent.js | 23 +++++++++++-------- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/public/react/src/modules/forums/Post.css b/public/react/src/modules/forums/Post.css index d7ae41df..718950a2 100644 --- a/public/react/src/modules/forums/Post.css +++ b/public/react/src/modules/forums/Post.css @@ -204,4 +204,9 @@ margin-right: 50px; position: relative; bottom: 12px; +} + +.attachment .icon-fujian { + margin-top: -3px !important; + font-size: 14px !important; } \ No newline at end of file diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js index b8449bd7..3fa6ca6d 100644 --- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js +++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js @@ -49,15 +49,7 @@ class PackageIndexNEIBannerConcent extends Component { contact_phone:undefined, code:undefined, publish:false, - attachments:[ - { - id: 206525, - title: "412420b57ed8c141963d4c548bde551f", - filesize: 18523, - description: null, - url: "/api/attachments/206525" - } - ] + } } @@ -534,7 +526,8 @@ class PackageIndexNEIBannerConcent extends Component { console.log(window.$('.file_selector')[0]) window.addInputFiles(window.$('.file_selector')[0]) }} - style={{'display': 'none'}} type="file"> + style={{'display': 'none'}} + type="file"> @@ -681,3 +674,13 @@ class PackageIndexNEIBannerConcent extends Component { export default PackageIndexNEIBannerConcent; +// attachments:[ +// { +// id: 206525, +// title: "412420b57ed8c141963d4c548bde551f", +// filesize: 18523, +// description: null, +// url: "/api/attachments/206525" +// } +// ] +