From b77e7c07e4984e8c4f5f6a392aed9a257c332d6d Mon Sep 17 00:00:00 2001 From: Panzihang <819652404@qq.com> Date: Tue, 11 Jul 2023 17:43:29 +0800 Subject: [PATCH] 7.11 pan --- pages/shipWork/shiftAdd.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pages/shipWork/shiftAdd.vue b/pages/shipWork/shiftAdd.vue index 6c66461..fafe402 100644 --- a/pages/shipWork/shiftAdd.vue +++ b/pages/shipWork/shiftAdd.vue @@ -40,7 +40,8 @@ - 添加 + 添加删除 + 取消 保存 @@ -198,12 +200,16 @@ ulAdd2() { this.ulList2.push({}) }, + del() { + this.ulList2.splice(0, 1) + }, // 车型下拉 cxChange(e) { this.cxValue = e; }, // 数量 numChange(val) { + console.log(val) this.numValue = val; }, // 装卸方式下拉 @@ -257,6 +263,10 @@ color: #2979ff; margin-right: 10px; } + + span:nth-of-type(2) { + color: red; + } } ul {