update center-tips

This commit is contained in:
Timi
2026-10-19 11:43:07 +08:00
parent deed1fefc4
commit fd1ff4526f
69 changed files with 167 additions and 1061 deletions
@@ -19,7 +19,7 @@
:selected-unit-id="props.modelValue?.skuUnitId"
@select="selectUnit"
/>
<div v-else class="empty" v-text="loading ? '正在加载可售产品' : '暂无可售产品'" />
<center-tips v-else :content="loading ? '正在加载可售产品' : '暂无可售产品'" />
</div>
</div>
</bottom-popup>
@@ -137,11 +137,5 @@ function selectUnit(selection: ProductSelection): void {
overflow-y: auto;
padding-bottom: env(safe-area-inset-bottom, 0);
}
.empty {
color: var(--td-text-color-secondary);
padding: 2rem 1rem;
text-align: center;
}
}
</style>