跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] element plus,如何设置局部组件黑暗模式

发表于

如题,vue3 项目,已使用 element plus ui 库

需求描述:一些页面整体偏暗,其中的组件默认是白天模式,看着不协调,但因为每个组件里面可能是各种按钮表单表格之类的组件,一个一个调 css 太麻烦了,想直接使用黑暗模式的组件样式凑合下。

看官方的教程,好像只能全局修改颜色模式,没找到局部的方法。特来问问各位大佬

附上官方 element plus 链接: https://element-plus.org/zh-CN/guide/dark-mode.html

Featured Replies

没有可显示的帖子

创建帐户或登录来提出意见

Account

导航

搜索

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.