haiwei-module-admin 1.0.0 → 1.0.2

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 (44) hide show
  1. package/.browserslistrc +2 -0
  2. package/.eslintrc.js +18 -0
  3. package/.prettierrc +6 -0
  4. package/.vscode/settings.json +10 -0
  5. package/babel.config.js +10 -0
  6. package/package.json +9 -17
  7. package/postcss.config.js +5 -0
  8. package/script/npm_install.bat +4 -0
  9. package/script/npm_install.ps1 +3 -0
  10. package/script/npm_publish.bat +4 -0
  11. package/script/npm_publish.ps1 +3 -0
  12. package/script/npm_update.bat +4 -0
  13. package/script/npm_update.ps1 +3 -0
  14. package/src/api/components/file.js +3 -0
  15. package/src/components/enum-checkbox/index.vue +1 -1
  16. package/src/components/enum-radio/index.vue +1 -1
  17. package/src/components/enum-select/index.vue +1 -1
  18. package/src/components/file-preview/index copy.vue +531 -0
  19. package/src/components/file-preview/index.vue +534 -0
  20. package/src/components/index.js +1 -1
  21. package/src/components/login-mode-select/index.vue +1 -1
  22. package/src/components/module-select/index.vue +1 -1
  23. package/src/components/platform-select/index.vue +1 -1
  24. package/src/components/role-select/index.vue +1 -1
  25. package/src/index.js +6 -6
  26. package/src/routes/index.js +1 -1
  27. package/src/views/account/components/save/index.vue +1 -1
  28. package/src/views/account/index/index.vue +1 -1
  29. package/src/views/auditInfo/components/details/index.vue +1 -1
  30. package/src/views/button/permission-bind/index.vue +1 -1
  31. package/src/views/cache/index/index.vue +1 -1
  32. package/src/views/file/components/save/index.vue +106 -0
  33. package/src/views/file/index/index.vue +54 -3
  34. package/src/views/file/index/page.js +8 -0
  35. package/src/views/menu/components/add/index.vue +1 -1
  36. package/src/views/menu/components/edit/index.vue +1 -1
  37. package/src/views/mime/components/save/index.vue +1 -1
  38. package/src/views/mime/index/index.vue +1 -1
  39. package/src/views/module/components/page-list/index.vue +1 -1
  40. package/src/views/module/components/permission-list/index.vue +1 -1
  41. package/src/views/role/components/platform-bind/index.vue +1 -1
  42. package/src/views/role/components/save/index.vue +1 -1
  43. package/src/views/role/index/index.vue +1 -1
  44. package/vue.config.js +118 -0
@@ -0,0 +1,534 @@
1
+ <template>
2
+ <div class="file-preview">
3
+ <!-- 图片预览链接 -->
4
+ <a v-if="isImage" class="preview-link" @click="showPreviewDialog">
5
+ 查看
6
+ </a>
7
+
8
+ <!-- 非图片文件下载 -->
9
+ <nm-file-download v-else :url="downloadUrl" :private="isPrivate" :fileName="fileName" :text="downloadText" :icon="downloadIcon" :size="downloadSize" :type="downloadType" @click="onDownload" />
10
+
11
+ <!-- 图片预览对话框 -->
12
+ <nm-dialog
13
+ v-if="isImage"
14
+ ref="previewDialog"
15
+ :visible.sync="previewVisible"
16
+ :title="previewTitle"
17
+ width="800px"
18
+ height="800px"
19
+ :fullscreen="false"
20
+ :footer="false"
21
+ custom-class="image-preview-dialog"
22
+ @closed="resetState"
23
+ >
24
+ <div class="preview-wrapper">
25
+ <!-- 使用CSS实现图片居中,而不是JS计算 -->
26
+ <div class="preview-container" ref="previewContainer">
27
+ <img
28
+ :src="previewUrl"
29
+ :alt="fileName"
30
+ class="preview-image"
31
+ ref="previewImage"
32
+ @load="handleImageLoad"
33
+ @error="handleImageError"
34
+ :style="imageStyle"
35
+ @mousedown="startDrag"
36
+ @wheel="handleWheel"
37
+ @dblclick="resetImage"
38
+ />
39
+ </div>
40
+
41
+ <!-- 操作按钮栏 -->
42
+ <div class="toolbar">
43
+ <button class="toolbar-btn" @click="zoomIn">
44
+ <span class="icon">+</span>
45
+ <span class="text">放大</span>
46
+ </button>
47
+ <button class="toolbar-btn" @click="zoomOut">
48
+ <span class="icon">-</span>
49
+ <span class="text">缩小</span>
50
+ </button>
51
+ <button class="toolbar-btn" @click="resetImage">
52
+ <span class="icon">⟳</span>
53
+ <span class="text">重置</span>
54
+ </button>
55
+ <!-- 非图片文件下载 -->
56
+ <nm-file-download :url="downloadUrl" :private="isPrivate" :fileName="fileName" :text="downloadText" :icon="downloadIcon" :size="downloadSize" :type="downloadType" @click="onDownload" />
57
+
58
+ </div>
59
+ </div>
60
+ </nm-dialog>
61
+ </div>
62
+ </template>
63
+
64
+ <script>
65
+ export default {
66
+ name: 'FilePreview',
67
+ props: {
68
+ fullPath: { type: String, required: true },
69
+ fileName: String,
70
+ isPrivate: { type: Boolean, default: false },
71
+ ext: String,
72
+ downloadText: { type: String, default: '下载' },
73
+ downloadIcon: { type: String, default: 'download' },
74
+ downloadSize: String,
75
+ downloadType: { type: String, default: 'primary' },
76
+ previewTitle: { type: String, default: '图片预览' },
77
+ imageExtensions: {
78
+ type: Array,
79
+ default: () => ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp', 'svg', 'ico']
80
+ }
81
+ },
82
+
83
+ data() {
84
+ return {
85
+ previewVisible: false,
86
+ previewUrl: '',
87
+ fileInfo: null,
88
+
89
+ // 图片状态
90
+ imageLoading: false,
91
+ imageError: false,
92
+ loadingTimeout: null,
93
+
94
+ // 图片位置和缩放(使用CSS transform,但让CSS处理居中)
95
+ position: { x: 0, y: 0 },
96
+ scale: 1,
97
+ minScale: 0.1,
98
+ maxScale: 5,
99
+
100
+ // 拖拽状态
101
+ isDragging: false,
102
+ startPosition: { x: 0, y: 0 }
103
+ }
104
+ },
105
+
106
+ computed: {
107
+ isImage() {
108
+ // return false;
109
+ const ext = this.ext || (this.fileName || '').split('.').pop() || ''
110
+ return this.imageExtensions.includes(ext.toLowerCase())
111
+ },
112
+
113
+ downloadUrl() {
114
+ console.log('this.fileInfo?.url ', this.fileInfo?.url)
115
+ return this.fileInfo?.url || this.fullPath
116
+ },
117
+
118
+ imageStyle() {
119
+ return {
120
+ transform: `translate(${this.position.x}px, ${this.position.y}px) scale(${this.scale})`,
121
+ cursor: this.isDragging ? 'grabbing' : 'grab'
122
+ }
123
+ }
124
+ },
125
+
126
+ watch: {
127
+ fullPath(val) {
128
+ if (val && this.isImage && !this.isPrivate) {
129
+ this.previewUrl = val
130
+ }
131
+ },
132
+
133
+ previewVisible(val) {
134
+ if (!val) {
135
+ this.resetState()
136
+ }
137
+ }
138
+ },
139
+
140
+ mounted() {
141
+ // 监听全局鼠标事件用于拖拽
142
+ document.addEventListener('mousemove', this.handleDrag)
143
+ document.addEventListener('mouseup', this.stopDrag)
144
+ },
145
+
146
+ beforeDestroy() {
147
+ // 清理事件监听
148
+ document.removeEventListener('mousemove', this.handleDrag)
149
+ document.removeEventListener('mouseup', this.stopDrag)
150
+
151
+ // 清理超时
152
+ if (this.loadingTimeout) {
153
+ clearTimeout(this.loadingTimeout)
154
+ this.loadingTimeout = null
155
+ }
156
+ },
157
+
158
+ methods: {
159
+ getFileExtension() {
160
+ if (this.ext) return this.ext.toLowerCase()
161
+ const name = this.fileName || this.fullPath || ''
162
+ const dotIndex = name.lastIndexOf('.')
163
+ return dotIndex > -1 ? name.slice(dotIndex + 1).toLowerCase() : ''
164
+ },
165
+
166
+ async getFileInfo() {
167
+ if (!this.fullPath) return null
168
+
169
+ try {
170
+ const result = await $api.admin.file.getByFullPath(this.fullPath)
171
+ this.fileInfo = result
172
+
173
+ console.log('result', result)
174
+
175
+ return result
176
+ } catch (error) {
177
+ console.error('获取文件信息失败:', error)
178
+ return null
179
+ }
180
+ },
181
+
182
+ async showPreviewDialog() {
183
+ if (!this.isImage) return
184
+
185
+ this.resetState()
186
+ this.imageLoading = true
187
+ this.previewVisible = true
188
+
189
+ try {
190
+ const fileInfo = await this.getFileInfo()
191
+ if (!fileInfo) {
192
+ this.imageLoading = false
193
+ this.imageError = true
194
+ return
195
+ }
196
+
197
+ await this.setPreviewUrl(fileInfo)
198
+
199
+ // 设置一个立即检查,防止缓存图片不触发load事件
200
+ this.$nextTick(() => {
201
+ setTimeout(() => {
202
+ if (this.imageLoading && this.$refs.previewImage && this.$refs.previewImage.complete) {
203
+ this.handleImageLoad()
204
+ }
205
+ }, 300) // 300ms后检查
206
+ })
207
+
208
+ // 设置超时,防止图片加载事件未触发
209
+ this.loadingTimeout = setTimeout(() => {
210
+ if (this.imageLoading) {
211
+ console.warn('图片加载超时,强制结束加载状态')
212
+ this.imageLoading = false
213
+ // 检查图片是否已经加载完成
214
+ if (this.$refs.previewImage && this.$refs.previewImage.complete) {
215
+ this.handleImageLoad()
216
+ }
217
+ }
218
+ }, 2000) // 2秒超时
219
+ } catch (error) {
220
+ console.error('打开预览对话框失败:', error)
221
+ this.imageLoading = false
222
+ this.imageError = true
223
+ }
224
+ },
225
+
226
+ async setPreviewUrl(fileInfo) {
227
+ let newUrl
228
+ if (this.isPrivate && fileInfo.url) {
229
+ try {
230
+ newUrl = await $api.admin.file.preview(fileInfo.url)
231
+ } catch {
232
+ newUrl = fileInfo.url
233
+ }
234
+ } else {
235
+ newUrl = fileInfo.url || this.fullPath
236
+ }
237
+
238
+ // 先清空URL,强制重新加载(即使URL相同)
239
+ if (this.previewUrl) {
240
+ this.previewUrl = ''
241
+ // 等待一个tick确保DOM更新
242
+ await this.$nextTick()
243
+ }
244
+
245
+ // 设置新的URL
246
+ this.previewUrl = newUrl
247
+
248
+ // 等待DOM更新后检查图片是否已经加载完成
249
+ this.$nextTick(() => {
250
+ // 如果图片元素存在且已经加载完成,直接触发加载完成事件
251
+ if (this.$refs.previewImage && this.$refs.previewImage.complete) {
252
+ // 小延迟确保图片完全渲染
253
+ setTimeout(() => {
254
+ if (this.imageLoading) {
255
+ this.handleImageLoad()
256
+ }
257
+ }, 100)
258
+ }
259
+ })
260
+ },
261
+
262
+ async onDownload() {
263
+ const fileInfo = await this.getFileInfo()
264
+ const url = fileInfo?.url || this.fullPath
265
+ this.$emit('download', url, this.fileName)
266
+ },
267
+
268
+ handleImageLoad() {
269
+ // 清理超时
270
+ if (this.loadingTimeout) {
271
+ clearTimeout(this.loadingTimeout)
272
+ this.loadingTimeout = null
273
+ }
274
+ this.imageLoading = false
275
+ // 图片加载完成后自动居中
276
+ this.resetImage()
277
+ },
278
+
279
+ handleImageError() {
280
+ // 清理超时
281
+ if (this.loadingTimeout) {
282
+ clearTimeout(this.loadingTimeout)
283
+ this.loadingTimeout = null
284
+ }
285
+ this.imageLoading = false
286
+ this.imageError = true
287
+ },
288
+
289
+ // 鼠标滚轮缩放 - 以鼠标为中心点缩放
290
+ handleWheel(event) {
291
+ event.preventDefault()
292
+
293
+ const delta = event.deltaY < 0 ? 0.1 : -0.1
294
+ const newScale = Math.max(this.minScale, Math.min(this.maxScale, this.scale + delta))
295
+
296
+ // 计算缩放中心(相对于图片)
297
+ if (this.$refs.previewContainer) {
298
+ const containerRect = this.$refs.previewContainer.getBoundingClientRect()
299
+ const mouseX = event.clientX - containerRect.left
300
+ const mouseY = event.clientY - containerRect.top
301
+
302
+ // 计算鼠标相对于图片原始坐标系的位置
303
+ // 注意:position.x 和 position.y 是图片相对于容器的平移
304
+ const relativeX = (mouseX - this.position.x) / this.scale
305
+ const relativeY = (mouseY - this.position.y) / this.scale
306
+
307
+ // 更新位置以保持鼠标点不变
308
+ this.position.x = mouseX - relativeX * newScale
309
+ this.position.y = mouseY - relativeY * newScale
310
+ this.scale = newScale
311
+ } else {
312
+ this.scale = newScale
313
+ }
314
+ },
315
+
316
+ // 开始拖拽
317
+ startDrag(event) {
318
+ if (event.button !== 0) return // 只响应左键
319
+ this.isDragging = true
320
+ this.startPosition = {
321
+ x: event.clientX - this.position.x,
322
+ y: event.clientY - this.position.y
323
+ }
324
+ event.preventDefault()
325
+ },
326
+
327
+ // 处理拖拽
328
+ handleDrag(event) {
329
+ if (!this.isDragging) return
330
+
331
+ this.position.x = event.clientX - this.startPosition.x
332
+ this.position.y = event.clientY - this.startPosition.y
333
+ },
334
+
335
+ // 停止拖拽
336
+ stopDrag() {
337
+ this.isDragging = false
338
+ },
339
+
340
+ // 放大
341
+ zoomIn() {
342
+ const newScale = Math.min(this.maxScale, this.scale + 0.2)
343
+ if (newScale !== this.scale) {
344
+ this.centerZoom(newScale)
345
+ }
346
+ },
347
+
348
+ // 缩小
349
+ zoomOut() {
350
+ const newScale = Math.max(this.minScale, this.scale - 0.2)
351
+ if (newScale !== this.scale) {
352
+ this.centerZoom(newScale)
353
+ }
354
+ },
355
+
356
+ // 以当前视图中心点缩放(用于工具栏按钮)
357
+ centerZoom(newScale) {
358
+ if (this.$refs.previewContainer) {
359
+ const containerRect = this.$refs.previewContainer.getBoundingClientRect()
360
+ // 使用容器中心作为缩放中心点
361
+ const centerX = containerRect.width / 2
362
+ const centerY = containerRect.height / 2
363
+
364
+ // 计算中心点相对于图片原始坐标系的位置
365
+ const relativeX = (centerX - this.position.x) / this.scale
366
+ const relativeY = (centerY - this.position.y) / this.scale
367
+
368
+ // 更新位置以保持中心点不变
369
+ this.position.x = centerX - relativeX * newScale
370
+ this.position.y = centerY - relativeY * newScale
371
+ }
372
+ this.scale = newScale
373
+ },
374
+
375
+ // 重置图片位置和大小
376
+ resetImage() {
377
+ this.position = { x: 0, y: 0 }
378
+ this.scale = 1
379
+ },
380
+
381
+ // 重置所有状态
382
+ resetState() {
383
+ // 清理超时
384
+ if (this.loadingTimeout) {
385
+ clearTimeout(this.loadingTimeout)
386
+ this.loadingTimeout = null
387
+ }
388
+ this.position = { x: 0, y: 0 }
389
+ this.scale = 1
390
+ this.imageLoading = false
391
+ this.imageError = false
392
+ this.isDragging = false
393
+ }
394
+ }
395
+ }
396
+ </script>
397
+
398
+ <style lang="scss" scoped>
399
+ .file-preview {
400
+ display: inline-block;
401
+
402
+ .preview-link {
403
+ color: #409eff;
404
+ cursor: pointer;
405
+ text-decoration: none;
406
+ transition: color 0.2s;
407
+
408
+ &:hover {
409
+ color: #66b1ff;
410
+ text-decoration: underline;
411
+ }
412
+ }
413
+ }
414
+
415
+ .preview-wrapper {
416
+ width: 100%;
417
+ height: 750px;
418
+ background: #000;
419
+ position: relative;
420
+ overflow: hidden;
421
+ display: flex;
422
+ align-items: center;
423
+ justify-content: center;
424
+ }
425
+
426
+ .preview-container {
427
+ width: 100%;
428
+ height: 100%;
429
+ display: flex;
430
+ align-items: center;
431
+ justify-content: center;
432
+ position: relative;
433
+ overflow: hidden;
434
+ touch-action: none;
435
+ /* 防止移动端默认行为 */
436
+ }
437
+
438
+ .preview-image {
439
+ max-width: 100%;
440
+ max-height: 100%;
441
+ object-fit: contain;
442
+ /* 关键:保持比例并适应容器 */
443
+ transform-origin: 0 0;
444
+ /* 设置为左上角以匹配我们的数学计算 */
445
+ transition: transform 0.2s ease;
446
+ user-select: none;
447
+ -webkit-user-drag: none;
448
+
449
+ /* 平滑的拖拽和缩放效果 */
450
+ will-change: transform;
451
+ }
452
+
453
+ /* 操作工具栏 */
454
+ .toolbar {
455
+ position: absolute;
456
+ bottom: 20px;
457
+ left: 50%;
458
+ transform: translateX(-50%);
459
+ display: flex;
460
+ gap: 10px;
461
+ background: rgba(0, 0, 0, 0.7);
462
+ padding: 10px;
463
+ border-radius: 4px;
464
+ z-index: 10;
465
+ }
466
+
467
+ .toolbar-btn {
468
+ display: flex;
469
+ align-items: center;
470
+ justify-content: center;
471
+ gap: 5px;
472
+ background: rgba(255, 255, 255, 0.1);
473
+ border: 1px solid rgba(255, 255, 255, 0.2);
474
+ color: white;
475
+ padding: 8px 12px;
476
+ border-radius: 4px;
477
+ cursor: pointer;
478
+ font-size: 12px;
479
+ transition: all 0.2s;
480
+
481
+ &:hover {
482
+ background: rgba(255, 255, 255, 0.2);
483
+ border-color: rgba(255, 255, 255, 0.3);
484
+ }
485
+
486
+ &:active {
487
+ transform: scale(0.95);
488
+ }
489
+
490
+ .icon {
491
+ font-size: 14px;
492
+ font-weight: bold;
493
+ }
494
+
495
+ .text {
496
+ white-space: nowrap;
497
+ }
498
+ }
499
+ </style>
500
+
501
+ <style lang="scss">
502
+ /* 对话框全局样式 */
503
+ .image-preview-dialog {
504
+ .el-dialog {
505
+ background: #000;
506
+ border: 1px solid #333;
507
+ }
508
+
509
+ .el-dialog__header {
510
+ background: #000;
511
+ border-bottom: 1px solid #333;
512
+ padding: 10px 20px;
513
+
514
+ .el-dialog__title {
515
+ color: #fff;
516
+ font-size: 14px;
517
+ }
518
+
519
+ .el-dialog__close {
520
+ color: #fff;
521
+
522
+ &:hover {
523
+ color: #409eff;
524
+ }
525
+ }
526
+ }
527
+
528
+ .el-dialog__body {
529
+ padding: 0 !important;
530
+ background: #000 !important;
531
+ overflow: hidden !important;
532
+ }
533
+ }
534
+ </style>
@@ -1,4 +1,4 @@
1
- import library from 'netmodular-ui/packages/library'
1
+ import library from 'haiwei-ui/packages/library'
2
2
  let components = []
3
3
  const requireComponent = require.context('./', true, /index\.vue$/)
4
4
  requireComponent.keys().map(fileName => {
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import { mixins } from 'netmodular-ui'
2
+ import { mixins } from 'haiwei-ui'
3
3
  export default {
4
4
  mixins: [mixins.select],
5
5
  data() {
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import { mixins } from 'netmodular-ui'
2
+ import { mixins } from 'haiwei-ui'
3
3
  export default {
4
4
  mixins: [mixins.select],
5
5
  data() {
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import { mixins } from 'netmodular-ui'
2
+ import { mixins } from 'haiwei-ui'
3
3
  export default {
4
4
  mixins: [mixins.select],
5
5
  data() {
@@ -1,5 +1,5 @@
1
1
  <script>
2
- import { mixins } from 'netmodular-ui'
2
+ import { mixins } from 'haiwei-ui'
3
3
  export default {
4
4
  mixins: [mixins.select],
5
5
  data() {
package/src/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import NetModularUI from 'netmodular-ui'
1
+ import haiweiUI from 'haiwei-ui'
2
2
  import './api'
3
3
  import module from './module'
4
4
  import routes from './routes'
5
5
  import store from './store'
6
6
  import components from './components'
7
- import NetmodularSkinsClassics from 'netmodular-skins-classics'
7
+ import haiweiSkinsClassics from 'haiwei-skins-classics'
8
8
 
9
9
  const admin = {
10
10
  module,
@@ -29,16 +29,16 @@ export default {
29
29
  * @param {object} skin 皮肤
30
30
  */
31
31
  registerSkin(skin) {
32
- if (skin) NetModularUI.registerSkin(skin)
32
+ if (skin) haiweiUI.registerSkin(skin)
33
33
  },
34
34
  /**
35
35
  * @description 启动
36
36
  */
37
37
  async start(config) {
38
38
  // 设置接口信息
39
- NetModularUI.configApi(config)
39
+ haiweiUI.configApi(config)
40
40
  // 使用皮肤
41
- NetModularUI.registerSkin(NetmodularSkinsClassics)
41
+ haiweiUI.registerSkin(haiweiSkinsClassics)
42
42
 
43
43
  // 获取UI配置信息
44
44
  const UIConfig = await $api.admin.config.getUI()
@@ -62,7 +62,7 @@ export default {
62
62
  const t = setInterval(() => {
63
63
  if (window.loadProgress > 98) {
64
64
  clearInterval(t)
65
- NetModularUI.use({ config: UIConfig, modules, actions })
65
+ haiweiUI.use({ config: UIConfig, modules, actions })
66
66
  }
67
67
  }, 20)
68
68
  }
@@ -1,3 +1,3 @@
1
- import loadRoutes from 'netmodular-ui/packages/utils/load-routes'
1
+ import loadRoutes from 'haiwei-ui/packages/utils/load-routes'
2
2
  const requireComponent = require.context('../views', true, /\page.js$/)
3
3
  export default loadRoutes(requireComponent.keys().map(fileName => requireComponent(fileName).route))
@@ -25,7 +25,7 @@
25
25
  </nm-form-dialog>
26
26
  </template>
27
27
  <script>
28
- import { mixins } from 'netmodular-ui'
28
+ import { mixins } from 'haiwei-ui'
29
29
 
30
30
  // 接口
31
31
  const { add, edit, update } = $api.admin.account
@@ -69,7 +69,7 @@
69
69
  </template>
70
70
  <script>
71
71
  import { mapState } from 'vuex'
72
- import { mixins } from 'netmodular-ui'
72
+ import { mixins } from 'haiwei-ui'
73
73
  import page from './page'
74
74
  import cols from './cols'
75
75
  import SavePage from '../components/save'
@@ -22,7 +22,7 @@
22
22
  </nm-drawer>
23
23
  </template>
24
24
  <script>
25
- import { mixins } from 'netmodular-ui'
25
+ import { mixins } from 'haiwei-ui'
26
26
 
27
27
  // 接口
28
28
  const api = $api.admin.auditInfo
@@ -4,7 +4,7 @@
4
4
  </nm-dialog>
5
5
  </template>
6
6
  <script>
7
- import { mixins } from 'netmodular-ui'
7
+ import { mixins } from 'haiwei-ui'
8
8
  import BindPage from '../../permission/components/bind'
9
9
 
10
10
  // 接口
@@ -16,7 +16,7 @@
16
16
  </nm-container>
17
17
  </template>
18
18
  <script>
19
- import { mixins } from 'netmodular-ui'
19
+ import { mixins } from 'haiwei-ui'
20
20
  import page from './page'
21
21
  import cols from './cols'
22
22