mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 05:49:20 +08:00
refactor(frontend): 优化订单状态卡片和产品卡片的交互和样式
- OrderStatusCard 重构布局,按钮移到右上角,新增悬停阴影和圆角设计 - ProductCard 大幅重构 UI 样式,增强视觉层次和交互反馈 - 修复 TabBar / use-tabbar hooks 在特定场景下的状态同步问题 - CategoryFormModal / ProductFormModal 同步样式适配
This commit is contained in:
+6
-1
@@ -50,7 +50,12 @@ const delegatedProps = computed(() => {
|
||||
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
||||
|
||||
const menusView = computed(() => {
|
||||
return props.menus?.(props.handlerData);
|
||||
try {
|
||||
const list = props.menus?.(props.handlerData);
|
||||
return Array.isArray(list) ? list : [];
|
||||
} catch {
|
||||
return [];
|
||||
}
|
||||
});
|
||||
|
||||
function handleClick(menu: IContextMenuItem) {
|
||||
|
||||
Reference in New Issue
Block a user