From e2a48bfd943873c2afce5b5fd207c0e79f937c03 Mon Sep 17 00:00:00 2001 From: chenbiao Date: Thu, 26 Jul 2018 15:48:48 +0800 Subject: [PATCH] add --- topages/workfill/workfill.css | 9 ++++++++- topages/workfill/workfill.js | 11 ++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/topages/workfill/workfill.css b/topages/workfill/workfill.css index 66dbdc7..f9a56b2 100644 --- a/topages/workfill/workfill.css +++ b/topages/workfill/workfill.css @@ -147,5 +147,12 @@ } /*input 样式*/ .bootstrap-select.btn-group .dropdown-toggle .filter-option { - text-align: center !important; + text-align: left !important; +} +.bootstrap-select.btn-group .dropdown-toggle .caret{ + position: absolute; + top: 50%; + left:180px !important;; + margin-top: -2px; + vertical-align: middle; } \ No newline at end of file diff --git a/topages/workfill/workfill.js b/topages/workfill/workfill.js index 95f7804..5ff411b 100644 --- a/topages/workfill/workfill.js +++ b/topages/workfill/workfill.js @@ -46,4 +46,13 @@ $('#time-opr-prevbtn').on('click',function () { // 下一周点击time-opr-nextbtn $('#time-opr-nextbtn').on('click',function () { fun.timeoprnextbtn(); -}); \ No newline at end of file +}); +//提交事件 +$('.workfill-list-btn').on('click',function () { + var _this=$(this); + console.log(_this); + _this.text('编辑'); + _this.parent().parent().find('.workfill-list-projectnamewrap .workfill-projectCon').addClass('display-none'); + _this.parent().parent().find('.workfill-list-projectnamewrap .workfill-list-projectname').removeClass('display-none'); + +}); -- libgit2 0.21.4