mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
feat: change example param name
This commit is contained in:
parent
0dc0a0159f
commit
8915455882
@ -142,10 +142,10 @@
|
|||||||
</demo-block>
|
</demo-block>
|
||||||
|
|
||||||
<!-- 大图模式 -->
|
<!-- 大图模式 -->
|
||||||
<demo-block :title="t('bigPicture')">
|
<demo-block :title="t('largePreview')">
|
||||||
<div class="sku-container">
|
<div class="sku-container">
|
||||||
<van-sku
|
<van-sku
|
||||||
v-model="showBigPictureMode"
|
v-model="showLargePicturePreview"
|
||||||
:sku="skuData.sku"
|
:sku="skuData.sku"
|
||||||
:goods="skuData.goods_info"
|
:goods="skuData.goods_info"
|
||||||
:goods-id="skuData.goods_id"
|
:goods-id="skuData.goods_id"
|
||||||
@ -171,7 +171,7 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
@click="showLargePicturePreview = true"
|
@click="showLargePicturePreview = true"
|
||||||
>
|
>
|
||||||
{{ t('bigPicture') }}
|
{{ t('largePreview') }}
|
||||||
</van-button>
|
</van-button>
|
||||||
</div>
|
</div>
|
||||||
</demo-block>
|
</demo-block>
|
||||||
@ -191,7 +191,7 @@ export default {
|
|||||||
button1: '积分兑换',
|
button1: '积分兑换',
|
||||||
button2: '买买买',
|
button2: '买买买',
|
||||||
actionsTop: '商品不多,赶快购买吧',
|
actionsTop: '商品不多,赶快购买吧',
|
||||||
bigPicture: 'sku大图模式',
|
largePreview: 'sku大图模式',
|
||||||
},
|
},
|
||||||
'en-US': {
|
'en-US': {
|
||||||
title2: 'Custom Stepper Related Config',
|
title2: 'Custom Stepper Related Config',
|
||||||
@ -200,7 +200,7 @@ export default {
|
|||||||
button1: 'Button',
|
button1: 'Button',
|
||||||
button2: 'Button',
|
button2: 'Button',
|
||||||
actionsTop: 'Action top info',
|
actionsTop: 'Action top info',
|
||||||
bigPicture: 'sku big picture mode',
|
largePreview: 'sku big picture mode',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user