dingdong-mall/pages/my/components/product-picked.vue

30 lines
775 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<view class="bg-white padding-bottom">
<!-- 图片 -->
<view class="flex justify-start">
<view class="cu-avatar" :style="'background-image:url(' + product.goodsLogoUrl + '); min-width:150rpx; min-height:150rpx;'"></view>
<view class="margin-left-sm flex-column-between" style="width: 100%">
<view class="text-black text-lg">{{product.goodsName}}</view>
<view class="flex flex-wrap">
<view class="basis-xl">{{product.standardName}}</view>
<view class="basis-xs text-right">×{{product.num}}</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
name: "product-picked",
props: {
product: {
type: Object,
default: null
}
}
}
</script>