主要的思路就是通过vuex,全局scss实现 例如主题分为 白天和暗黑主题(light/dark) vuex new Vuex.Store({ state: { vuex_theme: uni.getStorageSync('vuex_theme') ? uni.getStorageSync('vuex_theme'