npmapps 1.0.24 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/app/.codegraph/daemon.pid +6 -0
  2. package/app/.eslintrc.js +19 -0
  3. package/app/README.md +24 -0
  4. package/app/babel.config.js +5 -0
  5. package/app/devtool-windows-amd64.zip +0 -0
  6. package/app/docs/superpowers/plans/2026-05-29-quill-editor.md +836 -0
  7. package/app/docs/superpowers/specs/2026-05-29-quill-editor-design.md +210 -0
  8. package/app/docs/superpowers/specs/2026-06-06-lazy-cascader-design.md +400 -0
  9. package/app/jsconfig.json +19 -0
  10. package/app/package-lock.json +21347 -0
  11. package/app/package.json +63 -0
  12. package/app/postcss.config.js +10 -0
  13. package/app/public/favicon.ico +0 -0
  14. package/app/public/index.html +17 -0
  15. package/app/public//344/270/200/351/224/256/351/273/221/346/232/227.html +136 -0
  16. package/app/src/App.vue +110 -0
  17. package/app/src/assets/bpmn-camunda.jpg +0 -0
  18. package/app/src/assets/css/diagram.less +17 -0
  19. package/app/src/assets/icon/Icon.less +31 -0
  20. package/app/src/assets/icon/font/app-codes.css +26 -0
  21. package/app/src/assets/icon/font/app.eot +0 -0
  22. package/app/src/assets/icon/font/app.svg +60 -0
  23. package/app/src/assets/icon/font/app.ttf +0 -0
  24. package/app/src/assets/icon/font/app.woff +0 -0
  25. package/app/src/assets/icon/font/app.woff2 +0 -0
  26. package/app/src/assets/icon/font/config.json +248 -0
  27. package/app/src/assets/icon/font/source/raw/align-bottom-tool.svg +30 -0
  28. package/app/src/assets/icon/font/source/raw/align-horizontal-center-tool.svg +85 -0
  29. package/app/src/assets/icon/font/source/raw/align-left-tool.svg +84 -0
  30. package/app/src/assets/icon/font/source/raw/align-right-tool.svg +80 -0
  31. package/app/src/assets/icon/font/source/raw/align-top-tool.svg +84 -0
  32. package/app/src/assets/icon/font/source/raw/align-vertical-center-tool.svg +89 -0
  33. package/app/src/assets/icon/font/source/raw/distribute-horizontally-tool.svg +95 -0
  34. package/app/src/assets/icon/font/source/raw/distribute-vertically-tool.svg +99 -0
  35. package/app/src/assets/icon/font/source/raw/set-color-tool.svg +111 -0
  36. package/app/src/assets/icon/font/source/symbols/align-bottom-tool.svg +30 -0
  37. package/app/src/assets/icon/font/source/symbols/align-horizontal-center-tool.svg +30 -0
  38. package/app/src/assets/icon/font/source/symbols/align-left-tool.svg +30 -0
  39. package/app/src/assets/icon/font/source/symbols/align-right-tool.svg +30 -0
  40. package/app/src/assets/icon/font/source/symbols/align-top-tool.svg +30 -0
  41. package/app/src/assets/icon/font/source/symbols/align-vertical-center-tool.svg +30 -0
  42. package/app/src/assets/icon/font/source/symbols/distribute-horizontally-tool.svg +30 -0
  43. package/app/src/assets/icon/font/source/symbols/distribute-vertically-tool.svg +30 -0
  44. package/app/src/assets/icon/font/source/symbols/set-color-tool.svg +63 -0
  45. package/app/src/assets/logo.png +0 -0
  46. package/app/src/components/EllTable/README.md +70 -0
  47. package/app/src/components/EllTable/article.md +184 -0
  48. package/app/src/components/EllTable/index.js +213 -0
  49. package/app/src/components/FormulaEditor/FunctionSelector.vue +123 -0
  50. package/app/src/components/FormulaEditor/OperatorSelector.vue +184 -0
  51. package/app/src/components/FormulaEditor/ParameterSelector.vue +123 -0
  52. package/app/src/components/FormulaEditor/api.js +69 -0
  53. package/app/src/components/FormulaEditor/index.vue +435 -0
  54. package/app/src/components/HelloWorld.vue +58 -0
  55. package/app/src/components/PageHeader/index.vue +158 -0
  56. package/app/src/components/Splitter/README.md +144 -0
  57. package/app/src/components/Splitter/example.vue +88 -0
  58. package/app/src/components/Splitter/index.vue +203 -0
  59. package/app/src/components/diagram/ToolBar.vue +357 -0
  60. package/app/src/components/diagram/customTranslate/customTranslate.js +12 -0
  61. package/app/src/components/diagram/customTranslate/translationsGerman.js +241 -0
  62. package/app/src/components/diagram/index.vue +261 -0
  63. package/app/src/components/diagram/xmlData.js +29 -0
  64. package/app/src/directives/filldown.js +155 -0
  65. package/app/src/directives/filldownTable.js +291 -0
  66. package/app/src/main.js +40 -0
  67. package/app/src/router/index.js +63 -0
  68. package/app/src/store/index.js +23 -0
  69. package/app/src/utils/winBox.js +23 -0
  70. package/app/src/views/Extend/A.vue +12 -0
  71. package/app/src/views/Extend/B.vue +10 -0
  72. package/app/src/views/Extend/MagicalComponentsForELFormItem.vue +87 -0
  73. package/app/src/views/Extend/index.vue +59 -0
  74. package/app/src/views/Extend/tableMouseHorizontalWheel.vue +193 -0
  75. package/app/src/views/Home.vue +37 -0
  76. package/app/src/views/RouterJump.vue +155 -0
  77. package/app/src/views/css.vue +57 -0
  78. package/app/src/views/cssComponents/EllipsisText.vue +83 -0
  79. package/app/src/views/cssComponents/HoverCard.vue +79 -0
  80. package/app/src/views/cssComponents/TableHover.vue +140 -0
  81. package/app/src/views/cssComponents/inputSlo.vue +52 -0
  82. package/app/src/views/cssComponents/tableFixed.vue +158 -0
  83. package/app/src/views/echarts/echart-dome.vue +82 -0
  84. package/app/src/views/echarts/index.vue +118 -0
  85. package/app/src/views/echarts/pei3d.vue +667 -0
  86. package/app/src/views/element/bpmn/index.vue +18 -0
  87. package/app/src/views/element/components/attendanceCycle/index.vue +131 -0
  88. package/app/src/views/element/components/attendanceGroup/index.vue +147 -0
  89. package/app/src/views/element/components/attendancePersonnel/index.vue +158 -0
  90. package/app/src/views/element/components/companyCalendar/index.vue +147 -0
  91. package/app/src/views/element/components/shift/index.vue +147 -0
  92. package/app/src/views/element/components/shiftRotationSystem/index.vue +147 -0
  93. package/app/src/views/element/elTableJsx/columnManagement.vue +340 -0
  94. package/app/src/views/element/elTableJsx/dialogInput.vue +71 -0
  95. package/app/src/views/element/elTableJsx/elTableJsx.vue +1826 -0
  96. package/app/src/views/element/elTableJsx/formTable.vue +598 -0
  97. package/app/src/views/element/elTableJsx/index.vue +29 -0
  98. package/app/src/views/element/elTableJsx/simpleTable.vue +192 -0
  99. package/app/src/views/element/elTableJsx.zip +0 -0
  100. package/app/src/views/element/index.vue +44 -0
  101. package/app/src/views/element/lazyCascader/LazyCascader.vue +302 -0
  102. package/app/src/views/element/lazyCascader/data.js +205 -0
  103. package/app/src/views/element/lazyCascader/index.vue +315 -0
  104. package/app/src/views/element/quillEditor/README.md +163 -0
  105. package/app/src/views/element/quillEditor/example.vue +314 -0
  106. package/app/src/views/element/quillEditor/index.vue +409 -0
  107. package/app/src/views/element/quillEditor/toolbar.js +122 -0
  108. package/app/vue.config.js +15 -0
  109. package/package.json +1 -1
  110. package/app/wujie-vue3-child/.claude/settings.local.json +0 -8
  111. package/app/wujie-vue3-child/.vscode/extensions.json +0 -3
  112. package/app/wujie-vue3-child/PROJECT_MEMORY.md +0 -427
  113. package/app/wujie-vue3-child/README.md +0 -5
  114. package/app/wujie-vue3-child/index.html +0 -13
  115. package/app/wujie-vue3-child/package-lock.json +0 -5744
  116. package/app/wujie-vue3-child/package.json +0 -28
  117. package/app/wujie-vue3-child/public/vite.svg +0 -1
  118. package/app/wujie-vue3-child/src/App.vue +0 -130
  119. package/app/wujie-vue3-child/src/assets/vue.svg +0 -1
  120. package/app/wujie-vue3-child/src/components/HelloWorld.vue +0 -43
  121. package/app/wujie-vue3-child/src/components/tags-view.vue +0 -193
  122. package/app/wujie-vue3-child/src/components/tags-view1.vue +0 -131
  123. package/app/wujie-vue3-child/src/directives/aiLoading.js +0 -182
  124. package/app/wujie-vue3-child/src/hooks/useClickOutside.js +0 -11
  125. package/app/wujie-vue3-child/src/hooks/useTableDragSort.js +0 -28
  126. package/app/wujie-vue3-child/src/main.js +0 -18
  127. package/app/wujie-vue3-child/src/router/index.js +0 -104
  128. package/app/wujie-vue3-child/src/store/tagsViewStroe.js +0 -34
  129. package/app/wujie-vue3-child/src/style.css +0 -171
  130. package/app/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.jsx +0 -108
  131. package/app/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.module.scss +0 -97
  132. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/README.md +0 -836
  133. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/REFLEX_EXAMPLES.md +0 -728
  134. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.jsx +0 -687
  135. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.module.scss +0 -560
  136. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.jsx +0 -570
  137. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.module.scss +0 -330
  138. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.jsx +0 -378
  139. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.module.scss +0 -228
  140. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.jsx +0 -399
  141. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.module.scss +0 -252
  142. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.jsx +0 -585
  143. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.module.scss +0 -331
  144. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.jsx +0 -392
  145. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.module.scss +0 -39
  146. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/README.md +0 -248
  147. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/SelectorTrigger.jsx +0 -194
  148. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/index.jsx +0 -1459
  149. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/mockData.js +0 -301
  150. package/app/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.jsx +0 -182
  151. package/app/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.module.scss +0 -28
  152. package/app/wujie-vue3-child/src/views/aiCoach/index.jsx +0 -293
  153. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.jsx +0 -121
  154. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.module.scss +0 -76
  155. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/DonutChart/index.jsx +0 -104
  156. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.jsx +0 -75
  157. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.module.scss +0 -12
  158. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.jsx +0 -62
  159. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.module.scss +0 -43
  160. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.jsx +0 -29
  161. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.module.scss +0 -5
  162. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.jsx +0 -58
  163. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.module.scss +0 -85
  164. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.jsx +0 -92
  165. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.module.scss +0 -56
  166. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.jsx +0 -40
  167. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.module.scss +0 -53
  168. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsDonut.jsx +0 -106
  169. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsRankBar.jsx +0 -132
  170. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.jsx +0 -176
  171. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.module.scss +0 -96
  172. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.jsx +0 -162
  173. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.module.scss +0 -16
  174. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.jsx +0 -29
  175. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.module.scss +0 -25
  176. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.jsx +0 -106
  177. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.module.scss +0 -164
  178. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.jsx +0 -182
  179. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.module.scss +0 -203
  180. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.jsx +0 -145
  181. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.module.scss +0 -126
  182. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.jsx +0 -67
  183. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.module.scss +0 -105
  184. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.jsx +0 -81
  185. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.module.scss +0 -47
  186. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.jsx +0 -64
  187. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.module.scss +0 -85
  188. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.jsx +0 -39
  189. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.module.scss +0 -44
  190. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.jsx +0 -83
  191. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.module.scss +0 -101
  192. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/index.jsx +0 -50
  193. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/index.module.scss +0 -25
  194. package/app/wujie-vue3-child/src/views/aiCoach/scriptTable/index.jsx +0 -196
  195. package/app/wujie-vue3-child/src/views/aiCoach/scriptTable/index.module.scss +0 -41
  196. package/app/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.jsx +0 -183
  197. package/app/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.module.scss +0 -115
  198. package/app/wujie-vue3-child/src/views/child-to-parent.vue +0 -117
  199. package/app/wujie-vue3-child/src/views/home.vue +0 -53
  200. package/app/wujie-vue3-child/src/views/jsx/btnSelect/btnSelect.vue +0 -169
  201. package/app/wujie-vue3-child/src/views/jsx/btnSelect/index.vue +0 -69
  202. package/app/wujie-vue3-child/src/views/jsx/com.vue +0 -44
  203. package/app/wujie-vue3-child/src/views/jsx/dialog.jsx +0 -66
  204. package/app/wujie-vue3-child/src/views/jsx/index.vue +0 -72
  205. package/app/wujie-vue3-child/src/views/jsx/props.vue +0 -33
  206. package/app/wujie-vue3-child/src/views/parent-to-child.vue +0 -225
  207. package/app/wujie-vue3-child/src/views/phone-code.vue +0 -318
  208. package/app/wujie-vue3-child/src/views/router-jump.vue +0 -123
  209. package/app/wujie-vue3-child/src/views/test.vue +0 -192
  210. package/app/wujie-vue3-child/vite.config.js +0 -15
@@ -1,145 +0,0 @@
1
- import { defineComponent, ref } from 'vue'
2
- import styles from './index.module.scss'
3
- import DialogueBubble from '../DialogueBubble/index.jsx'
4
- import SubDimensionItem from '../SubDimensionItem/index.jsx'
5
-
6
- /**
7
- * 维度详情组件
8
- * @description 显示某个评分维度的详细信息,包括对话示例和子维度评分
9
- */
10
- export default defineComponent({
11
- name: 'DimensionDetail',
12
-
13
- props: {
14
- // 维度信息
15
- dimension: {
16
- type: Object,
17
- required: true,
18
- // 数据格式: { name: '话术准确度', score: 10, total: 10, icon: '👏', description: '说明文字' }
19
- },
20
- // 类型:dialogue(对话类型)或 subdimension(子维度类型)
21
- type: {
22
- type: String,
23
- default: 'dialogue',
24
- validator: (value) => ['dialogue', 'subdimension'].includes(value),
25
- },
26
- // 对话数组(type为dialogue时使用)
27
- dialogues: {
28
- type: Array,
29
- default: () => [],
30
- },
31
- // 子维度列表(type为subdimension时使用)
32
- subDimensions: {
33
- type: Array,
34
- default: () => [],
35
- },
36
- },
37
-
38
- setup(props) {
39
- // 抽屉显示状态
40
- const drawerVisible = ref(false)
41
-
42
- // 打开抽屉
43
- const openDrawer = () => {
44
- drawerVisible.value = true
45
- }
46
-
47
- // 关闭抽屉
48
- const closeDrawer = () => {
49
- drawerVisible.value = false
50
- }
51
-
52
- // 获取评分的颜色类
53
- const getScoreColor = (score, total) => {
54
- const percentage = (score / total) * 100
55
- if (percentage >= 90) return styles.scoreGreen
56
- if (percentage >= 60) return styles.scoreOrange
57
- return styles.scoreRed
58
- }
59
-
60
- return () => {
61
- return (
62
- <div class={styles.dimensionDetail}>
63
- {/* 维度头部 */}
64
- <div class={styles.header}>
65
- <div class={styles.titleSection}>
66
- <h2 class={styles.title}>{props.dimension.name}</h2>
67
- <span class={[styles.score, getScoreColor(props.dimension.score, props.dimension.total)]}>
68
- {props.dimension.score}/{props.dimension.total}分
69
- </span>
70
- </div>
71
- {props.dimension.description && (
72
- <div class={styles.description}>{props.dimension.description}</div>
73
- )}
74
- </div>
75
-
76
- {/* 内容区域 */}
77
- <div class={styles.content}>
78
- {/* 对话类型:显示对话气泡 */}
79
- {props.type === 'dialogue' && props.dialogues.length > 0 && (
80
- <div class={styles.dialogueSection}>
81
- {/* 高分话术标题 */}
82
- <div class={styles.dialogueHeader}>
83
- <div class={styles.dialogueTitle}>
84
- <span class={styles.star}>💫</span>
85
- <span>高分话术</span>
86
- </div>
87
- {props.dialogues.length > 1 && (
88
- <div class={styles.viewMore} onClick={openDrawer}>
89
- 查看更多
90
- <span class={styles.arrow}>›</span>
91
- </div>
92
- )}
93
- </div>
94
-
95
- {/* 显示第一条对话 */}
96
- <DialogueBubble
97
- dialogue={props.dialogues[0]}
98
- scoreDetails={props.dialogues[0].scoreDetails}
99
- suggestion={props.dialogues[0].suggestion}
100
- />
101
- </div>
102
- )}
103
-
104
- {/* 子维度类型:显示子维度列表 */}
105
- {props.type === 'subdimension' &&
106
- props.subDimensions.map((subDim, index) => (
107
- <SubDimensionItem
108
- key={index}
109
- name={subDim.name}
110
- score={subDim.score}
111
- total={subDim.total}
112
- comment={subDim.comment}
113
- />
114
- ))}
115
- </div>
116
-
117
- {/* 抽屉:显示所有对话 */}
118
- {props.type === 'dialogue' && (
119
- <el-drawer
120
- v-model={drawerVisible.value}
121
- title="全部高分话术"
122
- size="60%"
123
- direction="rtl"
124
- >
125
- <div class={styles.drawerContent}>
126
- {props.dialogues.map((dialogue, index) => (
127
- <div key={index} class={styles.drawerItem}>
128
- <div class={styles.drawerItemTitle}>
129
- 对话 {index + 1}
130
- </div>
131
- <DialogueBubble
132
- dialogue={dialogue}
133
- scoreDetails={dialogue.scoreDetails}
134
- suggestion={dialogue.suggestion}
135
- />
136
- </div>
137
- ))}
138
- </div>
139
- </el-drawer>
140
- )}
141
- </div>
142
- )
143
- }
144
- },
145
- })
@@ -1,126 +0,0 @@
1
- // 维度详情样式
2
- .dimensionDetail {
3
- background: #fff;
4
- border-radius: 8px;
5
- overflow: hidden;
6
- }
7
-
8
- .header {
9
- background: #fff;
10
- padding: 20px 24px;
11
- border-bottom: 1px solid #f0f0f0;
12
- }
13
-
14
- .titleSection {
15
- display: flex;
16
- align-items: center;
17
- gap: 12px;
18
- margin-bottom: 12px;
19
- }
20
-
21
- .title {
22
- font-size: 18px;
23
- font-weight: 600;
24
- color: #262626;
25
- margin: 0;
26
- }
27
-
28
- .score {
29
- font-size: 16px;
30
- font-weight: 600;
31
- background: #f0fdf4;
32
- padding: 4px 12px;
33
- border-radius: 4px;
34
- }
35
-
36
- .scoreGreen {
37
- color: #52c41a;
38
- }
39
-
40
- .scoreOrange {
41
- color: #fa8c16;
42
- }
43
-
44
- .scoreRed {
45
- color: #ff4d4f;
46
- }
47
-
48
- .description {
49
- font-size: 14px;
50
- color: #8c8c8c;
51
- line-height: 1.6;
52
- }
53
-
54
- .content {
55
- padding: 20px 24px;
56
- }
57
-
58
- // 对话区域样式
59
- .dialogueSection {
60
- width: 100%;
61
- }
62
-
63
- .dialogueHeader {
64
- display: flex;
65
- align-items: center;
66
- justify-content: space-between;
67
- margin-bottom: 0;
68
- background: #f8f8f8;
69
- padding: 12px 16px;
70
- border-radius: 8px 8px 0 0;
71
- }
72
-
73
- .dialogueTitle {
74
- display: flex;
75
- align-items: center;
76
- gap: 8px;
77
- font-size: 16px;
78
- font-weight: 600;
79
- color: #262626;
80
- }
81
-
82
- .star {
83
- font-size: 18px;
84
- }
85
-
86
- .viewMore {
87
- display: flex;
88
- align-items: center;
89
- gap: 4px;
90
- font-size: 14px;
91
- color: #8c8c8c;
92
- cursor: pointer;
93
- transition: color 0.3s;
94
-
95
- &:hover {
96
- color: #1890ff;
97
- }
98
- }
99
-
100
- .arrow {
101
- font-size: 16px;
102
- font-weight: bold;
103
- }
104
-
105
- // 抽屉内容样式
106
- .drawerContent {
107
- padding: 0 24px;
108
- }
109
-
110
- .drawerItem {
111
- margin-bottom: 32px;
112
-
113
- &:last-child {
114
- margin-bottom: 0;
115
- }
116
- }
117
-
118
- .drawerItemTitle {
119
- font-size: 16px;
120
- font-weight: 600;
121
- color: #262626;
122
- margin-bottom: 16px;
123
- padding-bottom: 12px;
124
- border-bottom: 1px solid #f0f0f0;
125
- }
126
-
@@ -1,67 +0,0 @@
1
- import { defineComponent } from 'vue'
2
- import styles from './index.module.scss'
3
-
4
- /**
5
- * 维度评分组件
6
- * @description 显示各个评分维度的进度条和得分
7
- */
8
- export default defineComponent({
9
- name: 'DimensionScores',
10
-
11
- props: {
12
- // 维度列表
13
- dimensions: {
14
- type: Array,
15
- required: true,
16
- // 数据格式: [{ name: '话术准确度', score: 10, total: 10, color: 'green' }]
17
- },
18
- },
19
-
20
- setup(props) {
21
- // 获取进度条颜色类
22
- const getColorClass = (color) => {
23
- return styles[`progress${color.charAt(0).toUpperCase() + color.slice(1)}`]
24
- }
25
-
26
- // 计算进度百分比
27
- const getPercentage = (score, total) => {
28
- return (score / total) * 100
29
- }
30
-
31
- return () => {
32
- return (
33
- <div class={styles.dimensionScores}>
34
-
35
- {props.dimensions.map((dimension, index) => {
36
- const percentage = getPercentage(dimension.score, dimension.total)
37
- const colorClass = getColorClass(dimension.color)
38
-
39
- return (
40
- <div key={index} class={styles.dimensionItem}>
41
- <div class={styles.dimensionHeader}>
42
- <span class={styles.dimensionName}>{dimension.name}</span>
43
- <span class={[styles.dimensionScore, colorClass]}>
44
- {dimension.score}/{dimension.total}
45
- </span>
46
- </div>
47
- <div class={styles.progressBar}>
48
- <div
49
- class={[styles.progressFill, colorClass]}
50
- style={{ width: `${percentage}%` }}
51
- ></div>
52
- </div>
53
- </div>
54
- )
55
- })}
56
-
57
- {/* 底部评级说明 */}
58
- <div class={styles.ratingLegend}>
59
- <span class={styles.legendItem}>0分</span>
60
- <span class={styles.legendItem}>通过</span>
61
- <span class={styles.legendItem}>满分</span>
62
- </div>
63
- </div>
64
- )
65
- }
66
- },
67
- })
@@ -1,105 +0,0 @@
1
- // 维度评分样式
2
- .dimensionScores {
3
- background: #fff;
4
- padding: 20px 24px;
5
- border-radius: 8px;
6
- height: 300px;
7
- display: flex;
8
- flex-direction: column;
9
- }
10
-
11
- .sectionTitle {
12
- font-size: 16px;
13
- font-weight: 600;
14
- color: #262626;
15
- margin: 0 0 20px 0;
16
- padding-bottom: 12px;
17
- border-bottom: 1px solid #f0f0f0;
18
- }
19
-
20
- .dimensionItem {
21
- margin-bottom: 20px;
22
-
23
- &:last-child {
24
- margin-bottom: 0;
25
- }
26
- }
27
-
28
- .dimensionHeader {
29
- display: flex;
30
- justify-content: space-between;
31
- align-items: center;
32
- margin-bottom: 10px;
33
- }
34
-
35
- .dimensionName {
36
- font-size: 14px;
37
- color: #262626;
38
- font-weight: 400;
39
- }
40
-
41
- .dimensionScore {
42
- font-size: 15px;
43
- font-weight: 600;
44
- }
45
-
46
- .progressBar {
47
- width: 100%;
48
- height: 10px;
49
- background: #f5f5f5;
50
- border-radius: 5px;
51
- overflow: hidden;
52
- }
53
-
54
- .progressFill {
55
- height: 100%;
56
- border-radius: 5px;
57
- transition: width 0.3s ease;
58
- }
59
-
60
- // 进度条颜色类型
61
- .progressGreen {
62
- color: #52c41a;
63
-
64
- &.progressFill {
65
- background: linear-gradient(90deg, #52c41a 0%, #73d13d 100%);
66
- }
67
- }
68
-
69
- .progressOrange {
70
- color: #fa8c16;
71
-
72
- &.progressFill {
73
- background: linear-gradient(90deg, #fa8c16 0%, #ffa940 100%);
74
- }
75
- }
76
-
77
- .progressRed {
78
- color: #ff4d4f;
79
-
80
- &.progressFill {
81
- background: linear-gradient(90deg, #ff4d4f 0%, #ff7875 100%);
82
- }
83
- }
84
-
85
- .progressGray {
86
- color: #d9d9d9;
87
-
88
- &.progressFill {
89
- background: #d9d9d9;
90
- }
91
- }
92
-
93
- // 评级说明
94
- .ratingLegend {
95
- display: flex;
96
- justify-content: space-between;
97
- margin-top: 24px;
98
- padding-top: 16px;
99
- border-top: 1px solid #f0f0f0;
100
- }
101
-
102
- .legendItem {
103
- font-size: 12px;
104
- color: #8c8c8c;
105
- }
@@ -1,81 +0,0 @@
1
- import { defineComponent } from 'vue'
2
- import styles from './index.module.scss'
3
- import ScoreBadge from '../ScoreBadge/index.jsx'
4
-
5
- /**
6
- * 报告头部组件
7
- * @description 显示报告标题、基本信息和分数徽章
8
- */
9
- export default defineComponent({
10
- name: 'ReportHeader',
11
-
12
- props: {
13
- // 报告标题
14
- title: {
15
- type: String,
16
- required: true,
17
- },
18
- // 是否中途退出
19
- isQuit: {
20
- type: Boolean,
21
- default: false,
22
- },
23
- // 练习时间
24
- practiceTime: {
25
- type: String,
26
- required: true,
27
- },
28
- // 轮次
29
- rounds: {
30
- type: Number,
31
- required: true,
32
- },
33
- // 时长
34
- duration: {
35
- type: String,
36
- required: true,
37
- },
38
- // 得分
39
- score: {
40
- type: Number,
41
- required: true,
42
- },
43
- // 是否达标
44
- isPassed: {
45
- type: Boolean,
46
- default: false,
47
- },
48
- },
49
-
50
- setup(props) {
51
- return () => {
52
- return (
53
- <div class={styles.reportHeader}>
54
- <div class={styles.headerContent}>
55
- {/* 左侧:标题和基本信息 */}
56
- <div class={styles.leftSection}>
57
- <div class={styles.titleRow}>
58
- <h2 class={styles.title}>{props.title}</h2>
59
- {props.isQuit && (
60
- <el-tag type="warning" size="small">
61
- 中途退出
62
- </el-tag>
63
- )}
64
- </div>
65
- <div class={styles.infoRow}>
66
- <span class={styles.infoItem}>{props.practiceTime}</span>
67
- <span class={styles.infoItem}>轮次:{props.rounds}轮</span>
68
- <span class={styles.infoItem}>时长:{props.duration}</span>
69
- </div>
70
- </div>
71
-
72
- {/* 右侧:分数徽章 */}
73
- <div class={styles.rightSection}>
74
- <ScoreBadge score={props.score} isPassed={props.isPassed} />
75
- </div>
76
- </div>
77
- </div>
78
- )
79
- }
80
- },
81
- })
@@ -1,47 +0,0 @@
1
- // 报告头部样式
2
- .reportHeader {
3
- background: linear-gradient(180deg, #FFF0E6 0%, #FFFFFF 100%);
4
- padding: 12px 24px;
5
- border-radius: 12px;
6
- margin-bottom: 24px;
7
- }
8
-
9
- .headerContent {
10
- display: flex;
11
- justify-content: space-between;
12
- align-items: center;
13
- }
14
-
15
- .leftSection {
16
- flex: 1;
17
- }
18
-
19
- .titleRow {
20
- display: flex;
21
- align-items: center;
22
- gap: 12px;
23
- margin-bottom: 16px;
24
- }
25
-
26
- .title {
27
- font-size: 28px;
28
- font-weight: 600;
29
- color: #262626;
30
- margin: 0;
31
- }
32
-
33
- .infoRow {
34
- display: flex;
35
- gap: 32px;
36
- color: #595959;
37
- font-size: 15px;
38
- }
39
-
40
- .infoItem {
41
- display: inline-block;
42
- }
43
-
44
- .rightSection {
45
- flex-shrink: 0;
46
- padding-left: 40px;
47
- }
@@ -1,64 +0,0 @@
1
- import { defineComponent, toRefs } from 'vue'
2
- import styles from './index.module.scss'
3
-
4
- /**
5
- * 陪练角色信息组件
6
- * @description 显示陪练角色的基本信息(头像、姓名、性别、年龄、标签)
7
- */
8
- export default defineComponent({
9
- name: 'RoleInfo',
10
-
11
- props: {
12
- data: {
13
- type: Object,
14
- default: () => ({
15
- avatar: '', // 头像URL,为空时显示占位符
16
- name: '',
17
- gender: '',
18
- age: 0,
19
- tag: '',
20
- description: '',
21
- }),
22
- },
23
- },
24
-
25
- setup(props) {
26
- const { data } = toRefs(props)
27
- return () => {
28
- return (
29
- <div class={styles.roleInfo}>
30
- <h3 class={styles.sectionTitle}>陪练角色</h3>
31
-
32
- <div class={styles.roleCard}>
33
- {/* 头像 */}
34
- <div class={styles.avatar}>
35
- {data.value.avatar ? (
36
- <img src={data.value.avatar} alt={data.value.name} />
37
- ) : (
38
- <div class={styles.avatarPlaceholder}>
39
- {data.value.name.charAt(0)}
40
- </div>
41
- )}
42
- </div>
43
-
44
- {/* 基本信息 */}
45
- <div class={styles.infoSection}>
46
- <div class={styles.infoItem}>
47
- <div class={styles.name}>{data.value.name}</div>
48
- <div class={styles.details}>
49
- <span class={styles.detailItem}>{data.value.gender}</span>
50
- <span class={styles.divider}>·</span>
51
- <span class={styles.detailItem}>{data.value.age}</span>
52
- <span class={styles.divider}>·</span>
53
- <span class={styles.detailItem}>{data.value.tag}</span>
54
- </div>
55
- </div>
56
- {/* 描述 */}
57
- <div class={styles.description}>{data.value.description}</div>
58
- </div>
59
- </div>
60
- </div>
61
- )
62
- }
63
- },
64
- })