From eb51f1645cd2e133e1d914f4333ba316a5a8568e Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Fri, 22 Aug 2025 17:32:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/src/pages/task/myDocument.vue | 123 ++++++++----------------- mobile/src/pages/task/taskCopyList.vue | 49 +++------- mobile/src/pages/task/taskFinish.vue | 66 ++++++------- mobile/src/pages/task/taskWaiting.vue | 56 ++++------- 4 files changed, 101 insertions(+), 193 deletions(-) diff --git a/mobile/src/pages/task/myDocument.vue b/mobile/src/pages/task/myDocument.vue index 068c09e9..3f9ce5d6 100644 --- a/mobile/src/pages/task/myDocument.vue +++ b/mobile/src/pages/task/myDocument.vue @@ -72,44 +72,56 @@ - - - 查看 - + > - - - 编辑 - + > - - - 撤销 - + > - - - 删除 - + > @@ -752,69 +764,14 @@ export default { color: #999; } -/* 操作按钮样式 - 参考index.vue设计 */ +/* 操作按钮样式 */ .card-actions { display: flex; justify-content: flex-end; - padding: 0 20rpx 0rpx 20rpx; + padding: 12px 16px; border-top: 1px solid #f0f0f0; - gap: 16rpx; -} - -.action-btn { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 16rpx 20rpx; - border-radius: 12rpx; - background-color: #f8f9fa; - min-width: 120rpx; - transition: all 0.3s ease; -} - -.action-btn:active { - transform: scale(0.95); - opacity: 0.8; -} - -.btn-text { - font-size: 24rpx; - margin-top: 8rpx; - color: #303133; - font-weight: 500; -} - -.info-btn { - background-color: rgba(60, 156, 255, 0); -} - -.info-btn .btn-text { - color: #3c9cff; -} - -.success-btn { - background-color: rgba(90, 199, 37, 0); -} - -.success-btn .btn-text { - color: #5ac725; -} - -.warning-btn { - background-color: rgba(255, 153, 0, 0); -} - -.warning-btn .btn-text { - color: #ff9900; -} - -.error-btn { - background-color: rgba(255, 77, 79, 0); -} - -.error-btn .btn-text { - color: #ff4d4f; + gap: 8px; + margin-top: 12px; } .pagination { diff --git a/mobile/src/pages/task/taskCopyList.vue b/mobile/src/pages/task/taskCopyList.vue index 1146857c..ac2812a6 100644 --- a/mobile/src/pages/task/taskCopyList.vue +++ b/mobile/src/pages/task/taskCopyList.vue @@ -79,10 +79,21 @@ - - - 查看 - + + + 查看 + @@ -496,36 +507,6 @@ export default { border-top: 1px solid #f0f0f0; } -.action-btn { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 16rpx 20rpx; - border-radius: 12rpx; - background-color: rgba(60, 156, 255, 0); - min-width: 120rpx; - transition: all 0.3s ease; - - &:active { - transform: scale(0.95); - opacity: 0.8; - } -} - -.btn-text { - font-size: 24rpx; - margin-top: 8rpx; - color: #3c9cff; - font-weight: 500; -} - -.info-btn { - .btn-text { - color: #3c9cff; - } -} - .load-more { display: flex; justify-content: center; diff --git a/mobile/src/pages/task/taskFinish.vue b/mobile/src/pages/task/taskFinish.vue index 1e9f540f..44923641 100644 --- a/mobile/src/pages/task/taskFinish.vue +++ b/mobile/src/pages/task/taskFinish.vue @@ -129,10 +129,20 @@ - - - 查看 - + + + 查看 + @@ -209,8 +219,20 @@ - 取消 - + + 取消 + + 确定 @@ -866,38 +888,6 @@ export default { border-top: 1px solid #f0f0f0; } -.action-btn { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 16rpx 40rpx; - border-radius: 12rpx; - background-color: #f8f9fa; - min-width: 120rpx; - transition: all 0.3s ease; - - &:active { - transform: scale(0.95); - opacity: 0.8; - } -} - -.btn-text { - font-size: 24rpx; - margin-top: 8rpx; - color: #303133; - font-weight: 500; -} - -.info-btn { - background-color: rgba(60, 156, 255, 0); - - .btn-text { - color: #3c9cff; - } -} - // 申请人选择弹窗样式 .user-select-popup { background-color: #fff; diff --git a/mobile/src/pages/task/taskWaiting.vue b/mobile/src/pages/task/taskWaiting.vue index dd797979..2c9188f6 100644 --- a/mobile/src/pages/task/taskWaiting.vue +++ b/mobile/src/pages/task/taskWaiting.vue @@ -110,10 +110,20 @@ - - - 办理 - + + + 办理 + @@ -194,8 +204,10 @@ - 取消 - + + 取消 + + 确定 @@ -785,38 +797,6 @@ export default { border-top: 1px solid #f0f0f0; } -.action-btn { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 16rpx 40rpx; - border-radius: 12rpx; - background-color: #f8f9fa; - min-width: 120rpx; - transition: all 0.3s ease; - - &:active { - transform: scale(0.95); - opacity: 0.8; - } -} - -.btn-text { - font-size: 24rpx; - margin-top: 8rpx; - color: #303133; - font-weight: 500; -} - -.primary-btn { - background-color: rgba(60, 156, 255, 0); - - .btn-text { - color: #3c9cff; - } -} - // 申请人选择弹窗样式 .user-select-popup { background-color: #fff;