From ca4b370b2475e73ea45bdd18b8bbcc22ac798daa Mon Sep 17 00:00:00 2001 From: songwc Date: Sat, 22 Oct 2022 11:37:54 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=96=B0=E5=A2=9E=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E4=BB=BB=E5=8A=A1=E5=BC=B9=E7=AA=97=20=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1-=E6=97=A0=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/projectcenter/TaskAdd.vue | 49 +++++++++++++++++++- src/views/projectcenter/TaskPage.vue | 68 ++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+), 2 deletions(-) diff --git a/src/views/projectcenter/TaskAdd.vue b/src/views/projectcenter/TaskAdd.vue index cc7cc8b6..97914d79 100644 --- a/src/views/projectcenter/TaskAdd.vue +++ b/src/views/projectcenter/TaskAdd.vue @@ -468,6 +468,36 @@ + + +
+
+
+
+
+ 提示 +
+
+
+ 您确定要删除此任务吗 +
+
+
+
取消
+
+
+
确定
+
+
+
+
+
@@ -795,6 +825,7 @@ export default { confirmModal: false, //确认添加阶段弹窗 cC: false, cancelModal: false, //确认取消阶段弹窗 + deleteModal: false, //确认删除弹窗 }); const selectProjectName = (value, index) => { console.log("value", value, index); @@ -915,7 +946,14 @@ export default { > 编辑 - 删除 + { + showDelete(); + }} + > + 删除 + ); @@ -1003,7 +1041,12 @@ export default { const closeCancel = () => { state.cancelModal = false; }; - + const showDelete = () => { + state.deleteModal = true; + }; + const closeDelete = () => { + state.deleteModal = false; + }; return { ...toRefs(state), selectProjectName, @@ -1031,6 +1074,8 @@ export default { closeConfirm, showCancel, closeCancel, + showDelete, + closeDelete, }; }, }; diff --git a/src/views/projectcenter/TaskPage.vue b/src/views/projectcenter/TaskPage.vue index 3e3cb32e..793a0248 100644 --- a/src/views/projectcenter/TaskPage.vue +++ b/src/views/projectcenter/TaskPage.vue @@ -211,6 +211,25 @@
+ +
任务大纲
@@ -2794,6 +2813,55 @@ export default { margin-left: 30px; margin-top: 10px; } + .notable { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + .notablebox { + width: 412px; + height: 212px; + background: linear-gradient(180deg, #fef3dd 0%, #fffaf0 100%); + border-radius: 10px; + display: flex; + justify-content: center; + text-align: center; + margin-top: 77px; + margin-bottom: 109px; + cursor: pointer; + position: relative; + .smallleft { + position: absolute; + top: 18px; + left: 0px; + width: 8px; + height: 21px; + border-radius: 0px 4px 4px 0px; + background-color: #ffb64e; + } + .smallright { + position: absolute; + bottom: 18px; + right: 0px; + width: 8px; + height: 21px; + border-radius: 4px 0px 0px 4px; + background-color: #ffb64e; + } + .boxbody { + .boximg { + width: 72px; + height: 72px; + margin: 32px auto 20px auto; + background-image: url(@/assets/images/coursewareManage/nostate.png); + background-size: 100% 100%; + } + .boxtitle { + margin-bottom: 4px; + } + } + } + } .onerow { //width: 100%; display: flex;