diff --git a/src/assets/images/chart/decorates/flow-circle.png b/src/assets/images/chart/decorates/flow-circle.png
new file mode 100644
index 00000000..81e010d7
Binary files /dev/null and b/src/assets/images/chart/decorates/flow-circle.png differ
diff --git a/src/assets/images/chart/decorates/flow-zhexian.png b/src/assets/images/chart/decorates/flow-zhexian.png
new file mode 100644
index 00000000..6b72e9c2
Binary files /dev/null and b/src/assets/images/chart/decorates/flow-zhexian.png differ
diff --git a/src/hooks/useChartDataFetch.hook.ts b/src/hooks/useChartDataFetch.hook.ts
index 8eb47d90..3976dc5d 100644
--- a/src/hooks/useChartDataFetch.hook.ts
+++ b/src/hooks/useChartDataFetch.hook.ts
@@ -107,8 +107,6 @@ export const useChartDataFetch = (
// 开启轮询
if (time) {
fetchInterval = setInterval(fetchFn, intervalUnitHandle(time, unit))
- } else {
- fetchFn()
}
}
// eslint-disable-next-line no-empty
diff --git a/src/packages/components/Decorates/FlowChart/FlowChartLine/config.ts b/src/packages/components/Decorates/FlowChart/FlowChartLine/config.ts
new file mode 100644
index 00000000..db010cbc
--- /dev/null
+++ b/src/packages/components/Decorates/FlowChart/FlowChartLine/config.ts
@@ -0,0 +1,19 @@
+import { PublicConfigClass } from '@/packages/public'
+import { CreateComponentType } from '@/packages/index.d'
+import { FlowChartLineConfig } from './index'
+import cloneDeep from 'lodash/cloneDeep'
+
+export const option = {
+ endWidth: 15,
+ lineWidth: 2, //线条粗细
+ lineNum: 2, //向下数量
+ lineNumUp: 2, //向上数量
+ backgroundCol: '#303a4c', //线条背景
+ animateCol: '#3788ea' //流动动画背景
+}
+
+export default class Config extends PublicConfigClass implements CreateComponentType {
+ public key = FlowChartLineConfig.key
+ public chartConfig = cloneDeep(FlowChartLineConfig)
+ public option = cloneDeep(option)
+}
diff --git a/src/packages/components/Decorates/FlowChart/FlowChartLine/config.vue b/src/packages/components/Decorates/FlowChart/FlowChartLine/config.vue
new file mode 100644
index 00000000..1595aea1
--- /dev/null
+++ b/src/packages/components/Decorates/FlowChart/FlowChartLine/config.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/packages/components/Decorates/FlowChart/FlowChartLine/index.ts b/src/packages/components/Decorates/FlowChart/FlowChartLine/index.ts
new file mode 100644
index 00000000..1fcd9923
--- /dev/null
+++ b/src/packages/components/Decorates/FlowChart/FlowChartLine/index.ts
@@ -0,0 +1,14 @@
+import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
+import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
+
+export const FlowChartLineConfig: ConfigType = {
+ key: 'FlowChartLine',
+ chartKey: 'VFlowChartLine',
+ conKey: 'VCFlowChartLine',
+ title: '流程线',
+ category: ChatCategoryEnum.FlowChart,
+ categoryName: ChatCategoryEnumName.FlowChart,
+ package: PackagesCategoryEnum.DECORATES,
+ chartFrame: ChartFrameEnum.STATIC,
+ image: 'flow-zhexian.png'
+}
diff --git a/src/packages/components/Decorates/FlowChart/FlowChartLine/index.vue b/src/packages/components/Decorates/FlowChart/FlowChartLine/index.vue
new file mode 100644
index 00000000..015523e6
--- /dev/null
+++ b/src/packages/components/Decorates/FlowChart/FlowChartLine/index.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
diff --git a/src/packages/components/Decorates/FlowChart/index.ts b/src/packages/components/Decorates/FlowChart/index.ts
new file mode 100644
index 00000000..f96b146a
--- /dev/null
+++ b/src/packages/components/Decorates/FlowChart/index.ts
@@ -0,0 +1,3 @@
+import { FlowChartLineConfig } from './FlowChartLine/index'
+
+export default [FlowChartLineConfig]
diff --git a/src/packages/components/Decorates/Mores/CirclePoint/config.ts b/src/packages/components/Decorates/Mores/CirclePoint/config.ts
new file mode 100644
index 00000000..a319e802
--- /dev/null
+++ b/src/packages/components/Decorates/Mores/CirclePoint/config.ts
@@ -0,0 +1,20 @@
+import { PublicConfigClass } from '@/packages/public'
+import { CreateComponentType } from '@/packages/index.d'
+import { CirclePointConfig } from './index'
+import cloneDeep from 'lodash/cloneDeep'
+import { chartInitConfig } from '@/settings/designSetting'
+
+export const option = {
+ outCircle: 15,
+ inCircle: 5,
+ outCircleColor: '#3f5261',
+ inCircleColor: '#fff',
+ outCircleWidth: 2
+}
+
+export default class Config extends PublicConfigClass implements CreateComponentType {
+ public key = CirclePointConfig.key
+ public attr = { ...chartInitConfig, w: 97, h: 97, zIndex: 1 }
+ public chartConfig = cloneDeep(CirclePointConfig)
+ public option = cloneDeep(option)
+}
diff --git a/src/packages/components/Decorates/Mores/CirclePoint/config.vue b/src/packages/components/Decorates/Mores/CirclePoint/config.vue
new file mode 100644
index 00000000..7b7c6b7a
--- /dev/null
+++ b/src/packages/components/Decorates/Mores/CirclePoint/config.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/packages/components/Decorates/Mores/CirclePoint/index.ts b/src/packages/components/Decorates/Mores/CirclePoint/index.ts
new file mode 100644
index 00000000..bcc83d8d
--- /dev/null
+++ b/src/packages/components/Decorates/Mores/CirclePoint/index.ts
@@ -0,0 +1,14 @@
+import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
+import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
+
+export const CirclePointConfig: ConfigType = {
+ key: 'CirclePoint',
+ chartKey: 'VCirclePoint',
+ conKey: 'VCCirclePoint',
+ title: '圆点光环',
+ category: ChatCategoryEnum.MORE,
+ categoryName: ChatCategoryEnumName.MORE,
+ package: PackagesCategoryEnum.DECORATES,
+ chartFrame: ChartFrameEnum.STATIC,
+ image: 'flow-circle.png'
+}
diff --git a/src/packages/components/Decorates/Mores/CirclePoint/index.vue b/src/packages/components/Decorates/Mores/CirclePoint/index.vue
new file mode 100644
index 00000000..45674650
--- /dev/null
+++ b/src/packages/components/Decorates/Mores/CirclePoint/index.vue
@@ -0,0 +1,28 @@
+
+
+
+
+
+
diff --git a/src/packages/components/Decorates/Mores/index.ts b/src/packages/components/Decorates/Mores/index.ts
index 489b9c5c..95f26040 100644
--- a/src/packages/components/Decorates/Mores/index.ts
+++ b/src/packages/components/Decorates/Mores/index.ts
@@ -6,6 +6,7 @@ import { CountDownConfig } from './CountDown/index'
import { FlipperNumberConfig } from './FlipperNumber'
import { PipelineHConfig } from './PipelineH/index'
import { PipelineVConfig } from './PipelineV/index'
+import { CirclePointConfig } from './CirclePoint/index'
export default [
NumberConfig,
@@ -15,5 +16,6 @@ export default [
ClockConfig,
FullScreenConfig,
PipelineHConfig,
- PipelineVConfig
+ PipelineVConfig,
+ CirclePointConfig
]
diff --git a/src/packages/components/Decorates/index.d.ts b/src/packages/components/Decorates/index.d.ts
index d20047eb..5a7e8c14 100644
--- a/src/packages/components/Decorates/index.d.ts
+++ b/src/packages/components/Decorates/index.d.ts
@@ -1,6 +1,7 @@
export enum ChatCategoryEnum {
BORDER = 'Borders',
DECORATE = 'Decorates',
+ FlowChart = 'FlowChart',
THREE = 'Three',
MORE = 'Mores'
}
@@ -8,6 +9,7 @@ export enum ChatCategoryEnum {
export enum ChatCategoryEnumName {
BORDER = '边框',
DECORATE = '装饰',
+ FlowChart = '流程',
THREE = '三维',
MORE = '更多'
-}
\ No newline at end of file
+}
diff --git a/src/packages/components/Decorates/index.ts b/src/packages/components/Decorates/index.ts
index 17b64130..75f20813 100644
--- a/src/packages/components/Decorates/index.ts
+++ b/src/packages/components/Decorates/index.ts
@@ -1,6 +1,7 @@
import Borders from './Borders'
import Decorates from './Decorates'
+import FlowChart from './FlowChart'
import Three from './Three'
import Mores from './Mores'
-export const DecorateList = [...Borders, ...Decorates, ...Three, ...Mores]
+export const DecorateList = [...Borders, ...Decorates,...FlowChart, ...Three, ...Mores]
diff --git a/src/views/project/templateMarket/index.vue b/src/views/project/templateMarket/index.vue
index ac7d6afb..12b5b95b 100644
--- a/src/views/project/templateMarket/index.vue
+++ b/src/views/project/templateMarket/index.vue
@@ -9,6 +9,15 @@
+
+
+
+
+
+ 前往 GoViewPro 查看 👆
+
+
+
diff --git a/types/shims-vue.d.ts b/types/shims-vue.d.ts
index d3f05213..d9fc5493 100644
--- a/types/shims-vue.d.ts
+++ b/types/shims-vue.d.ts
@@ -7,3 +7,7 @@ declare module '*.vue' {
declare module 'lodash/*'
declare module 'dom-helpers'
declare module 'vue3-sketch-ruler';
+
+declare module 'lodash/*'
+declare module 'dom-helpers'
+declare module 'vue3-sketch-ruler';
\ No newline at end of file