mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
31 lines
907 B
Plaintext
31 lines
907 B
Plaintext
<doc-page title="CAPSULE" without-padding>
|
|
|
|
<van-panel without-border>
|
|
<van-card
|
|
card-class="test-card"
|
|
thumb="https://img.yzcdn.cn/upload_files/2016/11/25/FpqPXlrMRjKwJs8VdTu3ZDJCj4j5.jpeg?imageView2/2/w/200/h/200/q/90/format/jpeg"
|
|
price="999.99"
|
|
title="红烧牛肉【虚拟商品】【有库存】【有sku】"
|
|
num="2"
|
|
desc="3000克 50%"
|
|
status="已发货"
|
|
>
|
|
</van-card>
|
|
|
|
</van-panel>
|
|
|
|
<van-panel title="使用slot">
|
|
<van-card
|
|
card-class="test-card"
|
|
thumb="https://img.yzcdn.cn/upload_files/2016/11/25/FpqPXlrMRjKwJs8VdTu3ZDJCj4j5.jpeg?imageView2/2/w/200/h/200/q/90/format/jpeg"
|
|
useThumbSlot="{{ true }}"
|
|
useDetailSlot="{{ true }}"
|
|
>
|
|
<!-- 右侧详情 -->
|
|
<view slot="detail-slot" class="van-card__detail">
|
|
我是自定义内容区域
|
|
</view>
|
|
</van-card>
|
|
</van-panel>
|
|
</doc-page>
|