color.js 898 B

1234567891011121314151617181920212223242526
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. export default {
  11. data() {
  12. return {
  13. colorStyle: '',
  14. colorStatus: ''
  15. };
  16. },
  17. created() {
  18. this.colorStyle = uni.getStorageSync('viewColor')
  19. uni.$on('ok', (data, status) => {
  20. this.colorStyle = data
  21. this.colorStatus = status
  22. })
  23. },
  24. methods: {}
  25. };