提交 6dbed17b authored 作者: wangjiahao's avatar wangjiahao

refactor:代码格式化

上级 c25adf6b
...@@ -28,7 +28,6 @@ import { viewData } from '@/api/panel/panel' ...@@ -28,7 +28,6 @@ import { viewData } from '@/api/panel/panel'
import ChartComponent from '@/views/chart/components/ChartComponent.vue' import ChartComponent from '@/views/chart/components/ChartComponent.vue'
import TableNormal from '@/views/chart/components/table/TableNormal' import TableNormal from '@/views/chart/components/table/TableNormal'
import LabelNormal from '../../../views/chart/components/normal/LabelNormal' import LabelNormal from '../../../views/chart/components/normal/LabelNormal'
import UserViewDialog from './UserViewDialog'
import { uuid } from 'vue-uuid' import { uuid } from 'vue-uuid'
import { mapState } from 'vuex' import { mapState } from 'vuex'
...@@ -36,11 +35,10 @@ import { isChange } from '@/utils/conditionUtil' ...@@ -36,11 +35,10 @@ import { isChange } from '@/utils/conditionUtil'
import { BASE_CHART_STRING } from '@/views/chart/chart/chart' import { BASE_CHART_STRING } from '@/views/chart/chart/chart'
import eventBus from '@/components/canvas/utils/eventBus' import eventBus from '@/components/canvas/utils/eventBus'
import { deepCopy } from '@/components/canvas/utils/utils' import { deepCopy } from '@/components/canvas/utils/utils'
import SettingMenu from '@/components/canvas/components/Editor/SettingMenu'
export default { export default {
name: 'UserView', name: 'UserView',
components: { ChartComponent, TableNormal, LabelNormal, UserViewDialog, SettingMenu }, components: { ChartComponent, TableNormal, LabelNormal },
props: { props: {
element: { element: {
type: Object, type: Object,
......
/* Element 变量 */ /* Element 变量 */
$--color-primary: #447DF7; $--color-primary: #447df7;
$--color-success: #87CB16; $--color-success: #87cb16;
$--color-warning: #FFA534; $--color-warning: #ffa534;
$--color-danger: #FB404B; $--color-danger: #fb404b;
$--box-shadow-light: 0 1px 4px 0 rgb(0 0 0 / 14%); $--box-shadow-light: 0 1px 4px 0 rgb(0 0 0 / 14%);
$--color-text-primary: #3c4858; $--color-text-primary: #3c4858;
/* layout */ /* layout */
$layout-bg-color: #F2F2F2; $layout-bg-color: #f2f2f2;
/* sidebar */ /* sidebar */
$sidebar-open-width: 260px; $sidebar-open-width: 260px;
$sidebar-close-width: 60px; $sidebar-close-width: 60px;
$sidebar-bg-color: #30373d; $sidebar-bg-color: #30373d;
$sidebar-bg-gradient: linear-gradient(to bottom right, #30373D, #3E3E3D); $sidebar-bg-gradient: linear-gradient(to bottom right, #30373d, #3e3e3d);
/* menu */ /* menu */
$menu-height: 50px; // 菜单项高度 $menu-height: 50px; // 菜单项高度
$menu-bg-color: transparent; // 菜单项背景 $menu-bg-color: transparent; // 菜单项背景
$menu-bg-color-hover: mix($sidebar-bg-color, #000, 90%); // 菜单项hover背景 $menu-bg-color-hover: mix($sidebar-bg-color, #000, 90%); // 菜单项hover背景
$menu-color: #B6C0CD; // 菜单项字体颜色 $menu-color: #b6c0cd; // 菜单项字体颜色
$menu-open-bg-color: #252B2F; // 菜单项展开背景 $menu-open-bg-color: #252b2f; // 菜单项展开背景
$menu-active-color: #FFF; // 菜单项激活时颜色 $menu-active-color: #FFF; // 菜单项激活时颜色
$menu-active-bg-color: transparent; // 菜单项激活时背景 $menu-active-bg-color: transparent; // 菜单项激活时背景
...@@ -36,7 +36,7 @@ $menu-active-prefix-width: 4px; // 菜单激活前缀宽度 ...@@ -36,7 +36,7 @@ $menu-active-prefix-width: 4px; // 菜单激活前缀宽度
/* logo */ /* logo */
$logo-height: 40px; $logo-height: 40px;
$logo-bg-color: #4E5051; $logo-bg-color: #4e5051;
/* header */ /* header */
$header-height: 60px; $header-height: 60px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论