@bsgoal/common 2.16.4 → 2.17.0

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 (80) hide show
  1. package/dist/index.mjs +812 -798
  2. package/dist/index.mjs.map +1 -1
  3. package/dist/index.umd.js +6 -6
  4. package/dist/index.umd.js.map +1 -1
  5. package/package.json +2 -3
  6. package/src/App.vue +0 -9
  7. package/src/combines/useComs.js +0 -41
  8. package/src/combines/useFetchs.js +0 -55
  9. package/src/components/bsgoal-baes-popover/demo.vue +0 -35
  10. package/src/components/bsgoal-baes-popover/index.vue +0 -66
  11. package/src/components/bsgoal-base-alert/demo.vue +0 -39
  12. package/src/components/bsgoal-base-alert/index.vue +0 -49
  13. package/src/components/bsgoal-base-button/demo.vue +0 -54
  14. package/src/components/bsgoal-base-button/index.vue +0 -166
  15. package/src/components/bsgoal-base-cascader/demo.vue +0 -128
  16. package/src/components/bsgoal-base-cascader/index.vue +0 -95
  17. package/src/components/bsgoal-base-dialog/demo.vue +0 -350
  18. package/src/components/bsgoal-base-dialog/index.vue +0 -260
  19. package/src/components/bsgoal-base-form/demo.vue +0 -289
  20. package/src/components/bsgoal-base-form/index.vue +0 -723
  21. package/src/components/bsgoal-base-frame/demo.vue +0 -35
  22. package/src/components/bsgoal-base-frame/index.vue +0 -28
  23. package/src/components/bsgoal-base-input/demo.vue +0 -48
  24. package/src/components/bsgoal-base-input/index.vue +0 -150
  25. package/src/components/bsgoal-base-item/demo.vue +0 -46
  26. package/src/components/bsgoal-base-item/index.vue +0 -66
  27. package/src/components/bsgoal-base-layout/demo.vue +0 -48
  28. package/src/components/bsgoal-base-layout/index.vue +0 -57
  29. package/src/components/bsgoal-base-line/demo.vue +0 -41
  30. package/src/components/bsgoal-base-line/index.vue +0 -70
  31. package/src/components/bsgoal-base-link/demo.vue +0 -38
  32. package/src/components/bsgoal-base-link/index.vue +0 -73
  33. package/src/components/bsgoal-base-search/demo.vue +0 -215
  34. package/src/components/bsgoal-base-search/index.vue +0 -534
  35. package/src/components/bsgoal-base-search-operation/index.vue +0 -77
  36. package/src/components/bsgoal-base-search-table/demo.vue +0 -784
  37. package/src/components/bsgoal-base-search-table/index.vue +0 -291
  38. package/src/components/bsgoal-base-select/demo.vue +0 -71
  39. package/src/components/bsgoal-base-select/index.vue +0 -111
  40. package/src/components/bsgoal-base-sizes/demo.vue +0 -34
  41. package/src/components/bsgoal-base-sizes/index.vue +0 -178
  42. package/src/components/bsgoal-base-switch/demo.vue +0 -39
  43. package/src/components/bsgoal-base-switch/index.vue +0 -76
  44. package/src/components/bsgoal-base-table/demo.vue +0 -302
  45. package/src/components/bsgoal-base-table/index.vue +0 -461
  46. package/src/components/bsgoal-base-table-content/index.vue +0 -64
  47. package/src/components/bsgoal-base-table-empty/demo.vue +0 -37
  48. package/src/components/bsgoal-base-table-empty/index.vue +0 -48
  49. package/src/components/bsgoal-base-table-pagination/demo.vue +0 -35
  50. package/src/components/bsgoal-base-table-pagination/index.vue +0 -110
  51. package/src/components/bsgoal-base-tabs/debug.log +0 -1
  52. package/src/components/bsgoal-base-tabs/demo.vue +0 -65
  53. package/src/components/bsgoal-base-tabs/index.vue +0 -122
  54. package/src/components/bsgoal-base-time/demo.vue +0 -69
  55. package/src/components/bsgoal-base-time/index.vue +0 -177
  56. package/src/components/bsgoal-base-time-range/demo.vue +0 -62
  57. package/src/components/bsgoal-base-time-range/index.vue +0 -170
  58. package/src/components/bsgoal-base-tooltip/demo.vue +0 -38
  59. package/src/components/bsgoal-base-tooltip/index.vue +0 -103
  60. package/src/components/bsgoal-base-tree/demo.vue +0 -141
  61. package/src/components/bsgoal-base-tree/index.vue +0 -286
  62. package/src/components/bsgoal-base-tree-fold/index.vue +0 -64
  63. package/src/components/bsgoal-base-tree-table/debug.log +0 -1
  64. package/src/components/bsgoal-base-tree-table/demo.vue +0 -859
  65. package/src/components/bsgoal-base-tree-table/index.vue +0 -351
  66. package/src/components/bsgoal-base-viewer/assets/upload_default.svg +0 -13
  67. package/src/components/bsgoal-base-viewer/demo.vue +0 -35
  68. package/src/components/bsgoal-base-viewer/index.vue +0 -66
  69. package/src/components/layout/layout-home.vue +0 -60
  70. package/src/components/layout/layout-left-menu.vue +0 -54
  71. package/src/components/layout/layout-right-container.vue +0 -39
  72. package/src/components/layout/layout-top-header.vue +0 -38
  73. package/src/debug.log +0 -1
  74. package/src/directives/directiveBase.js +0 -96
  75. package/src/entry.js +0 -77
  76. package/src/enums/componentTypeEnums.js +0 -35
  77. package/src/main.js +0 -11
  78. package/src/router/index.js +0 -161
  79. package/src/styles/index.css +0 -14
  80. package/src/utils/common.js +0 -56
@@ -1,351 +0,0 @@
1
- <!--
2
- * @Author: canlong.shen
3
- * @Date: 2023-06-20 09:20:44
4
- * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-07-11 11:07:55
6
- * @FilePath: \common\src\components\bsgoal-base-tree-table\index.vue
7
- * @Description: 树结构 + 列表
8
- *
9
- -->
10
- <script setup>
11
- /* setup模板
12
- ---------------------------------------------------------------- */
13
- import { ref, useSlots, computed, provide, unref } from 'vue'
14
- import BsgoalBaseTree from '../bsgoal-base-tree/index.vue'
15
- import BsgoalBaseSearchTable from '../bsgoal-base-search-table/index.vue'
16
-
17
- defineOptions({
18
- name: 'BsgoalBaseTreeTable'
19
- })
20
-
21
- const props = defineProps({
22
- /**
23
- * 树结构 的下边距
24
- */
25
- gasket: {
26
- type: [String, Number],
27
- default: 10
28
- },
29
- /**
30
- * 数据
31
- */
32
- treeData: {
33
- type: [Object, Array],
34
- default: () => []
35
- },
36
- /**
37
- * 配置
38
- */
39
- treeProps: {
40
- type: [Object],
41
- default: () => ({
42
- label: 'label',
43
- children: 'children',
44
- disabled: 'disabled',
45
- isLeaf: 'isLeaf',
46
- class: 'class'
47
- })
48
- },
49
- /**
50
- * 懒加载数据方法
51
- * () => {
52
- * return Promise(resolve => resolve([]))
53
- * }
54
- */
55
- lazyLoad: {
56
- type: [Function],
57
- default: () => {}
58
- },
59
- /**
60
- * 初始化树节点
61
- * () => {
62
- * return Promise(resolve => resolve([]))
63
- * }
64
- */
65
- initNode: {
66
- type: [Function],
67
- default: () => {}
68
- },
69
-
70
- configOptions: {
71
- type: [Array],
72
- default: () => []
73
- },
74
-
75
- /**
76
- * 表格数据
77
- */
78
- tableData: {
79
- type: [Array],
80
- default: () => []
81
- },
82
- /**
83
- * 是否多选
84
- */
85
- selection: {
86
- type: [Boolean],
87
- default: false
88
- },
89
- /**
90
- * 是否配置操作列
91
- */
92
- operation: {
93
- type: [Boolean],
94
- default: false
95
- },
96
- /**
97
- * 操作列宽度
98
- */
99
- operationWidth: {
100
- type: [String, Number],
101
- default: 100
102
- },
103
- /**
104
- * 请求的 promise
105
- */
106
- fetch: {
107
- type: [Object, Function],
108
- default: null
109
- },
110
- /**
111
- * 响应的 call
112
- */
113
- call: {
114
- type: [Object, Function],
115
- default: null
116
- },
117
- /**
118
- * 表格高度 下边距值
119
- */
120
- expression: {
121
- type: [Number],
122
- default: 75
123
- },
124
- /**
125
- * 映射字段
126
- */
127
- mapProps: {
128
- type: [Object],
129
- default: () => ({
130
- currentPage: 'currentPage',
131
- pageSize: 'pageSize',
132
- rows: 'rows',
133
- total: 'total'
134
- })
135
- },
136
- /**
137
- * 是否显示分页
138
- */
139
- hasPage: {
140
- type: Boolean,
141
- default: true
142
- },
143
- /**
144
- * 是否显示查询
145
- */
146
- hasSearch: {
147
- type: Boolean,
148
- default: true
149
- },
150
-
151
- /**
152
- * pageSize
153
- */
154
- pageSize: {
155
- type: [Number],
156
- default: 20
157
- },
158
- /**
159
- * 节点的 key
160
- */
161
- nodeKey: {
162
- type: [String],
163
- default: 'key'
164
- },
165
- /**
166
- * 默认展开的节点
167
- */
168
- expandedKeys: {
169
- type: [Array],
170
- default: () => []
171
- },
172
- /**
173
- * 是否显示合计
174
- */
175
- showSummary: {
176
- type: [Boolean],
177
- default: false
178
- },
179
- /**
180
- * 合计的列
181
- */
182
- summaryProps: {
183
- type: [Array],
184
- default: () => []
185
- },
186
- /**
187
- * 序号 列
188
- */
189
- serial: {
190
- type: [Boolean],
191
- default: false
192
- }
193
- })
194
-
195
- const emits = defineEmits([
196
- 'on-click-tree',
197
- 'on-switch-tree',
198
- 'on-add-tree',
199
- 'on-select-table',
200
- 'on-select-all-table',
201
- 'on-selection-change-table',
202
- 'on-total-change-table'
203
- ])
204
-
205
- // ---> S 注入插槽 <---
206
- const slots = useSlots()
207
- const slotNames = ref(Object.keys(slots))
208
- // ---> E 注入插槽 <---
209
-
210
- // ---> S 树 <---
211
- const switchStatus = ref(true)
212
- const triggerTreeSwitch = (status = '') => {
213
- switchStatus.value = status
214
- }
215
- provide('TREE_SWITCH_STATUS', switchStatus)
216
- /**
217
- * @Author: canlong.shen
218
- * @description: 触发树 添加按钮 事件
219
- * @param {*} node
220
- * @param {*} data
221
- * @default:
222
- * @return {*}
223
- */
224
- const triggerTreeAdd = ({ node, data } = {}) => {
225
- emits('on-add-tree', { node, data })
226
- }
227
- /**
228
- * @Author: canlong.shen
229
- * @description: 触发树 单击项事件
230
- * @param {*} value
231
- * @param {*} node
232
- * @param {*} treeNode
233
- * @param {*} event
234
- * @default:
235
- * @return {*}
236
- */
237
- const triggerTreeClick = (value, node, treeNode, event) => {
238
- emits('on-click-tree', value, node, treeNode, event)
239
- }
240
-
241
- // ---> E 树 <---
242
-
243
- // ---> S 表 <---
244
- const BSGOAL_BASE_SEARCH_TABLE_REF = ref(null)
245
- const refreshList = (params = {}) => {
246
- BSGOAL_BASE_SEARCH_TABLE_REF.value.refresh(params)
247
- }
248
-
249
- // ---> S 触发事件 <---
250
- const triggerSelect = (selection = {}, row = []) => {
251
- emits('on-select-table', selection, row)
252
- }
253
- const triggerSelectAll = (selection = {}) => {
254
- emits('on-select-all-table', selection)
255
- }
256
- const triggerSelectionChange = (selection = {}) => {
257
- emits('on-selection-change-table', selection)
258
- }
259
- const triggerTotalChange = (total = 0) => {
260
- emits('on-total-change-table', total)
261
- }
262
- // ---> E 触发事件 <---
263
-
264
- // ---> S 暴露事件 <---
265
-
266
- const clearSelection = () => {
267
- BSGOAL_BASE_SEARCH_TABLE_REF.value.clearSelection()
268
- }
269
-
270
- // ---> E 暴露事件 <---
271
-
272
- // 暴露的属性
273
- defineExpose({
274
- refreshList,
275
- clearSelection
276
- })
277
-
278
- // ---> E 表 <---
279
-
280
- const tableStyler = computed(() => {
281
- const styler = {}
282
- const switchStatusValue = switchStatus.value
283
- if (switchStatusValue) {
284
- styler.maxWidth = 'calc(100% - 250px)'
285
- } else {
286
- styler.maxWidth = 'calc(100%)'
287
- }
288
-
289
- return styler
290
- })
291
- </script>
292
- <template>
293
- <div class="bsgoal-base-tree-table">
294
- <div class="base_tree_table">
295
- <div class="base_tree_table--tree">
296
- <!-- S 树 -->
297
- <BsgoalBaseTree
298
- v-bind="$props"
299
- class="base_tree_table--tree"
300
- @on-switch="triggerTreeSwitch"
301
- @on-add="triggerTreeAdd"
302
- @on-click="triggerTreeClick"
303
- >
304
- <template #default="{ data }">
305
- <slot name="tree" :data="data"></slot>
306
- </template>
307
-
308
- <template #prefix="{ data }">
309
- <slot name="tree-prefix" :data="data"></slot>
310
- </template>
311
- </BsgoalBaseTree>
312
- <!-- E 树 -->
313
- </div>
314
- <div class="base_tree_table--table" :style="tableStyler">
315
- <!-- S 列表 -->
316
- <BsgoalBaseSearchTable
317
- ref="BSGOAL_BASE_SEARCH_TABLE_REF"
318
- v-bind="$props"
319
- :show-summary="showSummary"
320
- :summary-props="summaryProps"
321
- @select="triggerSelect"
322
- @select-all="triggerSelectAll"
323
- @selection-change="triggerSelectionChange"
324
- @on-total-change="triggerTotalChange"
325
- >
326
- <template v-for="slotName of slotNames" v-slot:[slotName]="{ row = {} , column={} , index = 0 }">
327
- <slot :name="slotName" :row="row" :column="column" :index="index"></slot>
328
- </template>
329
- </BsgoalBaseSearchTable>
330
- <!-- E 列表 -->
331
- </div>
332
- </div>
333
- </div>
334
- </template>
335
- <style lang="scss">
336
- /* 覆盖样式
337
- ---------------------------------------------------------------- */
338
- .bsgoal-base-tree-table {
339
- .base_tree_table {
340
- display: flex;
341
- }
342
- .base_tree_table--tree {
343
- /* flex-basis: 221px; */
344
- /* flex: auto; */
345
- }
346
- .base_tree_table--table {
347
- /* flex: 1; */
348
- overflow: hidden;
349
- }
350
- }
351
- </style>
@@ -1,13 +0,0 @@
1
- <svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g id=".upload/&#229;&#141;&#160;&#228;&#189;&#141;&#229;&#155;&#190;" clip-path="url(#clip0_15278_44270)">
3
- <rect width="70" height="70" fill="#F0F2F5"/>
4
- <g id="&#229;&#155;&#190;&#231;&#137;&#135;&#229;&#141;&#160;&#228;&#189;&#141;&#229;&#155;&#190;">
5
- <path id="Vector" d="M33.54 35.432L41 23L57 53H15L29 27L33.54 35.432V35.432ZM35.78 39.476L40.974 49H50.334L40.794 31.116L35.78 39.476V39.476ZM21.696 49H36.304L29 35.438L21.696 49ZM22 27C20.6739 27 19.4021 26.4732 18.4645 25.5355C17.5268 24.5979 17 23.3261 17 22C17 20.6739 17.5268 19.4021 18.4645 18.4645C19.4021 17.5268 20.6739 17 22 17C23.3261 17 24.5979 17.5268 25.5355 18.4645C26.4732 19.4021 27 20.6739 27 22C27 23.3261 26.4732 24.5979 25.5355 25.5355C24.5979 26.4732 23.3261 27 22 27Z" fill="#DDDFE5"/>
6
- </g>
7
- </g>
8
- <defs>
9
- <clipPath id="clip0_15278_44270">
10
- <rect width="70" height="70" fill="white"/>
11
- </clipPath>
12
- </defs>
13
- </svg>
@@ -1,35 +0,0 @@
1
- <!--
2
- * @Author: canlong.shen
3
- * @Date: 2023-06-21 16:08:07
4
- * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-25 09:59:14
6
- * @FilePath: \common\src\components\bsgoal-base-viewer\demo.vue
7
- * @Description: 图片预览 演示
8
- *
9
- -->
10
-
11
- <script setup>
12
- /* setup模板
13
- ---------------------------------------------------------------- */
14
- import { ref } from 'vue'
15
- import BsgoalBaseViewer from './index.vue'
16
- defineOptions({
17
- name: 'BsgoalBaseViewerDemo'
18
- })
19
-
20
- const props = defineProps({})
21
- const src = ref('https://img.phb123.com/uploads/allimg/200615/60-2006151H317-52.jpg')
22
- </script>
23
- <template>
24
- <div class="bsgoal-base-viewer-demo">
25
- <BsgoalBaseViewer :src="src" />
26
- </div>
27
- </template>
28
- <style lang="scss" scoped>
29
- /* 自定义样式
30
- ---------------------------------------------------------------- */
31
- </style>
32
- <style lang="scss">
33
- /* 覆盖样式
34
- ---------------------------------------------------------------- */
35
- </style>
@@ -1,66 +0,0 @@
1
- <!--
2
- * @Author: canlong.shen
3
- * @Date: 2023-06-21 16:08:00
4
- * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-06-25 10:00:41
6
- * @FilePath: \common\src\components\bsgoal-base-viewer\index.vue
7
- * @Description: 图片 预览
8
- *
9
- -->
10
- <script setup>
11
- /* setup模板
12
- ---------------------------------------------------------------- */
13
- import { ref, computed } from 'vue'
14
- import { preview, vPreview, Vue3ImagePreview } from 'vue3-image-preview'
15
- import uploadDefaultIcon from './assets/upload_default.svg'
16
- defineOptions({
17
- name: 'BsgoalBaseViewer'
18
- })
19
-
20
- const props = defineProps({
21
- /**
22
- * 宽度
23
- */
24
- width: {
25
- type: [String, Number],
26
- default: '48'
27
- },
28
- /**
29
- * 宽度
30
- */
31
- height: {
32
- type: [String, Number],
33
- default: '48'
34
- },
35
- /**
36
- * 预览图片路径
37
- */
38
- src: {
39
- type: [String],
40
- default: ''
41
- }
42
- })
43
-
44
- const srcGet = computed(() => {
45
- const { src = '' } = props
46
- if (!src) {
47
- return uploadDefaultIcon
48
- }
49
- return src
50
- })
51
- </script>
52
- <template>
53
- <div class="bsgoal-base-viewer">
54
- <div class="base_viewer">
55
- <img v-preview :src="srcGet" :style="{ width: `${width}px`, height: `${height}px` }" />
56
- </div>
57
- </div>
58
- </template>
59
- <style lang="scss">
60
- .bsgoal-base-viewer {
61
- display: inline-block;
62
- .base_viewer {
63
- margin: 4px 8px;
64
- }
65
- }
66
- </style>
@@ -1,60 +0,0 @@
1
- <!--
2
- * @Author: canlong.shen
3
- * @Date: 2023-04-10 13:41:13
4
- * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-26 16:09:56
6
- * @FilePath: \common\src\components\layout\layout-home.vue
7
- * @Description: 首页
8
- *
9
- -->
10
-
11
- <script setup>
12
- /* setup模板
13
- ---------------------------------------------------------------- */
14
- import LayoutLeftMenu from '@/components/layout/layout-left-menu.vue'
15
- import LayoutTopHeader from '@/components/layout/layout-top-header.vue'
16
- import LayoutRightContainer from '@/components/layout/layout-right-container.vue'
17
-
18
- defineOptions({
19
- name: 'LayoutHome'
20
- })
21
- </script>
22
-
23
- <template>
24
- <div class="layout-home">
25
- <el-container>
26
- <el-header class="layout_el_header">
27
- <LayoutTopHeader />
28
- </el-header>
29
- <el-container>
30
- <el-aside width="200px">
31
- <LayoutLeftMenu />
32
- </el-aside>
33
- <el-main style="padding: 10px; background-color: #f0f2f5">
34
- <LayoutRightContainer style="background-color: #fff">
35
- <router-view />
36
- </LayoutRightContainer>
37
- </el-main>
38
- </el-container>
39
- </el-container>
40
- </div>
41
- </template>
42
- <style lang="scss" scoped>
43
- /* 自定义样式
44
- ---------------------------------------------------------------- */
45
- .layout-home {
46
- position: fixed;
47
- top: 0;
48
- bottom: 0;
49
- left: 0;
50
- right: 0;
51
- }
52
- .layout_el_header {
53
- background-color: #409eff;
54
- padding: 0px;
55
- }
56
- </style>
57
- <style lang="scss">
58
- /* 覆盖样式
59
- ---------------------------------------------------------------- */
60
- </style>
@@ -1,54 +0,0 @@
1
- <!--
2
- * @Author: canlong.shen
3
- * @Date: 2023-04-10 14:05:59
4
- * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-04-19 09:27:42
6
- * @FilePath: \common\src\components\layout\layout-left-menu.vue
7
- * @Description: 左侧菜单栏
8
- *
9
- -->
10
-
11
-
12
- <script setup>
13
- /* setup模板
14
- ---------------------------------------------------------------- */
15
- import { Menu as IconMenu } from '@element-plus/icons-vue'
16
- import { ref, computed, toRefs, watch, unref } from 'vue'
17
- import { useRouter } from 'vue-router'
18
-
19
-
20
- defineOptions({
21
- name: 'LayoutLeftMenu'
22
- })
23
-
24
- const router = useRouter()
25
- const routes = router.getRoutes()
26
- const { children = [] } = routes.find((fi) => fi.name === 'home') || {}
27
- const menuList = ref(children)
28
-
29
-
30
-
31
- </script>
32
-
33
- <template>
34
- <div class="layout-left-menu">
35
- <el-menu default-active="0" style="height: calc(100vh - 60px) ;">
36
- <template v-for=" (menu, index) of menuList" :key="index">
37
- <el-menu-item :index="index">
38
- <el-icon><icon-menu /></el-icon>
39
- <router-link :to="menu.path">
40
- <span>{{ menu.name }}</span>
41
- </router-link>
42
- </el-menu-item>
43
- </template>
44
- </el-menu>
45
- </div>
46
- </template>
47
- <style lang="scss" scoped>
48
- /* 自定义样式
49
- ---------------------------------------------------------------- */
50
- </style>
51
- <style lang="scss">
52
- /* 覆盖样式
53
- ---------------------------------------------------------------- */
54
- </style>
@@ -1,39 +0,0 @@
1
- <!--
2
- * @Author: canlong.shen
3
- * @Date: 2023-04-10 14:12:09
4
- * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-26 16:10:56
6
- * @FilePath: \common\src\components\layout\layout-right-container.vue
7
- * @Description: 主体内容容器
8
- *
9
- -->
10
-
11
-
12
- <script setup>
13
- /* setup模板
14
- ---------------------------------------------------------------- */
15
- import { ref, computed, toRefs, watch, unref } from 'vue'
16
-
17
- defineOptions({
18
- name: 'LayoutRightContainer'
19
- })
20
-
21
- </script>
22
- <template>
23
- <div class="layout-right-container">
24
- <slot></slot>
25
- </div>
26
- </template>
27
- <style lang="scss" scoped>
28
- /* 自定义样式
29
- ---------------------------------------------------------------- */
30
- .layout-right-container {
31
- height: calc(100vh - 80px);
32
- overflow-y: scroll;
33
- position: relative;
34
- }
35
- </style>
36
- <style lang="scss">
37
- /* 覆盖样式
38
- ---------------------------------------------------------------- */
39
- </style>
@@ -1,38 +0,0 @@
1
- <!--
2
- * @Author: canlong.shen
3
- * @Date: 2023-04-10 14:09:54
4
- * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-26 16:11:29
6
- * @FilePath: \common\src\components\layout\layout-top-header.vue
7
- * @Description: 头部
8
- *
9
- -->
10
-
11
- <script setup>
12
- /* setup模板
13
- ---------------------------------------------------------------- */
14
- import { ref, computed, toRefs, watch, unref } from 'vue'
15
-
16
- defineOptions({
17
- name: 'LayoutTopHeader'
18
- })
19
- </script>
20
- <template>
21
- <div class="layout-top-header">
22
- <h1>公共组件演示</h1>
23
- </div>
24
- </template>
25
- <style lang="scss" scoped>
26
- /* 自定义样式
27
- ---------------------------------------------------------------- */
28
- .layout-top-header {
29
- height: 100%;
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- }
34
- </style>
35
- <style lang="scss">
36
- /* 覆盖样式
37
- ---------------------------------------------------------------- */
38
- </style>
package/src/debug.log DELETED
@@ -1 +0,0 @@
1
- [0703/154446.168:ERROR:registration_protocol_win.cc(107)] CreateFile: ϵͳ�Ҳ���ָ�����ļ��� (0x2)