feat(Card): change thumb fit mode to cover

This commit is contained in:
陈嘉涵
2020-01-24 10:45:06 +08:00
parent 37f512fbd1
commit e766d5d574
9 changed files with 16 additions and 24 deletions
+3 -3
View File
@@ -18,7 +18,7 @@
</van-swipe-cell>
</demo-block>
<demo-block :title="$t('title2')">
<demo-block :title="$t('beforeClose')">
<van-swipe-cell :before-close="beforeClose">
<template #left>
<van-button square type="primary" :text="$t('select')" />
@@ -45,16 +45,16 @@ export default {
delete: '删除',
collect: '收藏',
title: '单元格',
title2: '异步关闭',
confirm: '确定删除吗?',
beforeClose: '异步关闭',
},
'en-US': {
select: 'Select',
delete: 'Delete',
collect: 'Collect',
title: 'Cell',
title2: 'Async close',
confirm: 'Are you sure to delete?',
beforeClose: 'Before Close',
},
},