Commit a6a361df by yancanhua

Merge branch 'release/venus-usedcar-h5/1.0.0' of http://192.168.3.233:8090/monor…

…epo/venus into release/venus-usedcar-h5/1.0.0
2 parents 9b023f4e d21cb865
Pipeline #87 for a6a361df failed in 0 seconds
......@@ -19,31 +19,20 @@ declare module 'vue' {
SelectDropdown: typeof import('./components/CustomizeForm/selectDropdown.vue')['default']
VanActionSheet: typeof import('vant/es')['ActionSheet']
VanButton: typeof import('vant/es')['Button']
VanCell: typeof import('vant/es')['Cell']
VanCellGroup: typeof import('vant/es')['CellGroup']
VanCheckbox: typeof import('vant/es')['Checkbox']
VanEmpty: typeof import('vant/es')['Empty']
VanField: typeof import('vant/es')['Field']
VanGrid: typeof import('vant/es')['Grid']
VanGridItem: typeof import('vant/es')['GridItem']
VanIcon: typeof import('vant/es')['Icon']
VanImage: typeof import('vant/es')['Image']
VanImagePreview: typeof import('vant/es')['ImagePreview']
VanList: typeof import('vant/es')['List']
VanLoading: typeof import('vant/es')['Loading']
VanNavBar: typeof import('vant/es')['NavBar']
VanProgress: typeof import('vant/es')['Progress']
VanPullRefresh: typeof import('vant/es')['PullRefresh']
VanSearch: typeof import('vant/es')['Search']
VanSkeleton: typeof import('vant/es')['Skeleton']
VanSlider: typeof import('vant/es')['Slider']
VanSticky: typeof import('vant/es')['Sticky']
VanSwipe: typeof import('vant/es')['Swipe']
VanSwipeItem: typeof import('vant/es')['SwipeItem']
VanTab: typeof import('vant/es')['Tab']
VanTabbar: typeof import('vant/es')['Tabbar']
VanTabbarItem: typeof import('vant/es')['TabbarItem']
VanTabs: typeof import('vant/es')['Tabs']
VanTag: typeof import('vant/es')['Tag']
WorkOrderStatusTags: typeof import('./components/WorkOrderStatusTags.vue')['default']
}
......
......@@ -250,6 +250,9 @@ function getCardActions(item: WorkOrderItem): CardAction[] {
return [];
}
/** 底部操作区统一拦冒泡,避免点到按钮与卡片间隙时仍触发整张卡的 viewWorkOrder */
function stopCardFooterBubbling() {}
watch([keyword, activeStatus], () => {
void onRefresh();
});
......@@ -330,12 +333,13 @@ void onRefresh();
<div class="card-bottom">
派单于 {{ item.dispatchTime }}
</div>
<div class="card-actions">
<div class="card-actions"
@click.stop="stopCardFooterBubbling">
<van-button v-for="act in getCardActions(item)"
:key="act.key"
class="wo-btn"
:class="act.variant === 'primary' ? 'wo-btn--primary' : 'wo-btn--secondary'"
@click="act.onClick">
@click.stop="act.onClick">
{{ act.label }}
</van-button>
</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!