适配深色模式主题 场景:在手机打开深色模式时,h5页面会随着手机的主题更换而改变颜色 解决方案: //.vue文件中 import Cookie from 'js-cookie'; mouted(){ const isDarkMode = Cookie.get('darkMode') ===