12345678910111213141516171819202122232425262728293031 |
- <template>
- <view>
- <view v-for="order in orders">
- <van-card
- num="2"
- price="2.00"
- desc="描述信息"
- title="商品标题"
- :thumb="imageURL"
- />
- </view>
- </view>
- </template>
- <script>
- import OrderCard from "@/components/orders/order-card/order-card.vue";
- export default {
- components: {OrderCard},
- data() {
- return {
- orders:[0,1,2,3,4,5,6,7,8,9],
- imageURL: 'https://img.yzcdn.cn/vant/ipad.jpeg'
- };
- }
- }
- </script>
- <style lang="scss">
- </style>
|