setting.vue 908 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <div>
  3. <BorderSetting
  4. ref="form"
  5. :config="config"
  6. :predefine-theme-colors="predefineThemeColors"
  7. />
  8. <RotateSetting
  9. :config="config"
  10. />
  11. </div>
  12. </template>
  13. <script>
  14. import BorderSetting from 'data-room-ui/BigScreenDesign/BorderSetting.vue'
  15. export default {
  16. name: 'Border1Setting',
  17. components: {
  18. BorderSetting
  19. },
  20. data () {
  21. return {
  22. // 预设主题色
  23. predefineThemeColors: [
  24. '#007aff',
  25. '#1aa97b',
  26. '#ff4d53',
  27. '#1890FF',
  28. '#DF0E1B',
  29. '#0086CC',
  30. '#2B74CF',
  31. '#00BC9D',
  32. '#ED7D32'
  33. ]
  34. }
  35. },
  36. computed: {
  37. config: {
  38. get () {
  39. return this.$store.state.bigScreen.activeItemConfig
  40. },
  41. set (val) {
  42. this.$store.state.bigScreen.activeItemConfig = val
  43. }
  44. }
  45. },
  46. watch: {},
  47. mounted () { },
  48. methods: {}
  49. }
  50. </script>