@ebiz/designer-components 0.1.45 → 0.1.46
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.
- package/dist/designer-components.css +1 -1
- package/dist/index.mjs +2066 -2098
- package/package.json +1 -1
- package/src/components/EbizDetailView.vue +1 -14
package/package.json
CHANGED
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ebiz-detail-view" v-loading="loading">
|
|
3
|
-
<!-- 空状态 -->
|
|
4
|
-
<div v-if="!finalData || Object.keys(finalData).length === 0" class="empty-state">
|
|
5
|
-
<t-icon name="info-circle" size="48px" />
|
|
6
|
-
<p>暂无数据</p>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<!-- 错误状态 -->
|
|
10
|
-
<div v-else-if="error" class="error-state">
|
|
11
|
-
<t-icon name="close-circle" size="48px" />
|
|
12
|
-
<p>{{ error }}</p>
|
|
13
|
-
<t-button theme="primary" @click="handleRetry">重试</t-button>
|
|
14
|
-
</div>
|
|
15
|
-
|
|
16
3
|
<!-- 正常内容 -->
|
|
17
|
-
<div
|
|
4
|
+
<div class="detail-content">
|
|
18
5
|
<div class="detail-fields" :class="{ 'vertical-layout': layout === 'vertical' }" :style="{
|
|
19
6
|
'grid-template-columns': `repeat(${columns}, 1fr)`,
|
|
20
7
|
gap: `${gap}px`
|