From ef944e895392cf57004b2e8dbad76a159ab0cd4b Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 26 八月 2025 17:47:01 +0800
Subject: [PATCH] 45
---
src/views/paiban/index.vue | 12 ++++++++++++
.stylelintrc.js | 8 ++++++++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/.stylelintrc.js b/.stylelintrc.js
index 64cf96f..960c835 100644
--- a/.stylelintrc.js
+++ b/.stylelintrc.js
@@ -5,6 +5,14 @@
"stylelint-scss"
],
"rules": {
+ 'selector-pseudo-class-no-unknown': [
+ true,
+ {
+ ignorePseudoClasses: ['deep'], // 允许 :deep()
+ },
+ ],
+ 'selector-class-pattern': null, // 关闭类选择器命名规则
+ 'color-named': null, // 允许使用颜色名称
"keyframes-name-pattern": null,
// http://stylelint.cn/user-guide/rules/
// 要求在 at 规则之后有一个一个空格
diff --git a/src/views/paiban/index.vue b/src/views/paiban/index.vue
index 43384fd..8fd725e 100644
--- a/src/views/paiban/index.vue
+++ b/src/views/paiban/index.vue
@@ -234,4 +234,16 @@
}
}
+/* eslint-disable selector-class-pattern */
+
+/* eslint-disable selector-pseudo-element-no-unknown */
+
+/* eslint-disable color-named */
+/* stylelint-disable selector-pseudo-class-no-unknown */
+
+:deep(.van-calendar__day--end) {
+ border-radius: 0 var(--van-border-radius-md) var(--van-border-radius-md) 0;
+ background: #4696f9;
+}
+
</style>
\ No newline at end of file
--
Gitblit v1.8.0