diff --git a/frontend/src/views/Settings.vue b/frontend/src/views/Settings.vue index bf786c1..e7638a0 100644 --- a/frontend/src/views/Settings.vue +++ b/frontend/src/views/Settings.vue @@ -1061,51 +1061,73 @@
-
-
- - 每小时扣分 + +
+
+
+
+ +
+ 每小时扣分 +
+
任务延误完结时每延误1小时扣除的分数,支持小数。
+
+
+ + +
-
任务延误完结时每延误1小时扣除的分数
- - -
-
-
- - 月度积分清零 + +
+
+
+
+ +
+ 月度积分清零 +
+
启用后,接单部门的积分统计将在每月1号自动归零重新开始。
+
+
+
-
接单部门积分是否按月清零重新统计
-
+ style="margin-top: 24px; margin-bottom: 24px;" + > + + - + - + - 保存配置 + 保存延误配置 @@ -5014,6 +5036,93 @@ watch(activeTab, (value) => { } } +// 延误配置卡片样式 +.delay-config-card { + display: flex !important; + flex-direction: row !important; + align-items: center; + justify-content: space-between; + min-height: 100px; + background: rgba(255, 255, 255, 0.03); + border: 1px solid rgba(255, 255, 255, 0.08); + transition: all 0.3s ease; + + &:hover { + background: rgba(255, 255, 255, 0.05); + border-color: rgba(255, 255, 255, 0.15); + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); + } + + .config-info { + flex: 1; + display: flex; + flex-direction: column; + gap: 8px; + padding-right: 20px; + + .config-header { + display: flex; + align-items: center; + gap: 12px; + + .icon-box { + width: 36px; + height: 36px; + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + + &.red { + background: rgba(255, 77, 79, 0.1); + color: #ff4d4f; + } + + &.green { + background: rgba(49, 240, 139, 0.1); + color: #31f08b; + } + } + + .title { + font-size: 16px; + font-weight: 600; + color: $text-primary; + } + } + + .desc { + font-size: 13px; + color: $text-tertiary; + padding-left: 48px; + line-height: 1.5; + } + } + + .config-action { + display: flex; + align-items: center; + padding-left: 20px; + border-left: 1px solid rgba(255, 255, 255, 0.08); + } +} + +.formula-desc { + p { + margin-bottom: 4px; + &:last-child { + margin-bottom: 0; + } + + &.note { + color: #ff4d4f; + margin-top: 8px; + font-size: 12px; + } + } +} + // 测试消息提示 .test-message-hint { margin-left: $space-md;