hookehuyr

fix(config): 禁用Webpack持久化缓存以解决构建问题

style(less): 移除深色模式适配代码并优化样式格式
...@@ -56,7 +56,7 @@ export default defineConfig(async (merge) => { ...@@ -56,7 +56,7 @@ export default defineConfig(async (merge) => {
56 } 56 }
57 }, 57 },
58 cache: { 58 cache: {
59 - enable: true // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache 59 + enable: false // Webpack 持久化缓存配置,建议开启。默认配置请参考:https://docs.taro.zone/docs/config-detail#cache
60 }, 60 },
61 sass:{ 61 sass:{
62 data: `@import "@nutui/nutui-taro/dist/styles/variables.scss";` 62 data: `@import "@nutui/nutui-taro/dist/styles/variables.scss";`
......
...@@ -170,23 +170,23 @@ ...@@ -170,23 +170,23 @@
170 } 170 }
171 171
172 // 深色模式适配 172 // 深色模式适配
173 -@media (prefers-color-scheme: dark) { 173 +// @media (prefers-color-scheme: dark) {
174 - .post-page { 174 +// .post-page {
175 - .bg-white { 175 +// .bg-white {
176 - background-color: #1f2937; 176 +// background-color: #1f2937;
177 - border-color: #374151; 177 +// border-color: #374151;
178 - color: #f9fafb; 178 +// color: #f9fafb;
179 - } 179 +// }
180 - 180 +
181 - .text-gray-600 { 181 +// .text-gray-600 {
182 - color: #9ca3af; 182 +// color: #9ca3af;
183 - } 183 +// }
184 - 184 +
185 - .text-gray-500 { 185 +// .text-gray-500 {
186 - color: #6b7280; 186 +// color: #6b7280;
187 - } 187 +// }
188 - } 188 +// }
189 -} 189 +// }
190 190
191 // 动画效果 191 // 动画效果
192 @keyframes spin { 192 @keyframes spin {
......