cell-info.vue 1.13 KB
<template>
    <div class="cell-info">
        <div class="img">
            <img src=""></img>
        </div>
        <div class="detail">
            <p>SKU:{{sku}}</p>
            <p>规格:{{color}}/{{size}}</p>
            <p>名称:{{name}}</p>
            <p>品牌:{{brand}}</p>
            <p>销售价:{{price}}</p>
        </div>
    </div>
</template>

<script>
    export default {
        name: 'CellInfo',
        props: {
            sku: {
                type: [String, Number]
            },
            skn: {
                type: [String, Number]
            },
            color: {
                type: String
            },
            color: {
                type: String
            },
            size: {
                type: String
            },
            brand: {
                type: String
            },
            price: {
                type: String
            },
            name: {
                type: String
            }
        },
        data() {
            return {
            }
        }
    }
</script>

<style lang="scss" scoped>

    .cell-info {
        text-align: left;
    }

</style>