cell-prd-info.vue
1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<template>
<div class="cell-info">
<div class="detail">
<p>SKU:{{sku}}</p>
<p>SKN:{{skn}}</p>
<p>规格:{{color}}/{{size}}</p>
<p>名称:{{name}}</p>
<p>品牌:{{brand}}</p>
<p>销售价:{{price}}</p>
</div>
</div>
</template>
<script>
export default {
name: 'CellInfo',
props: {
skn: {
type: [String, Number]
},
sku: {
type: [String, Number]
},
color: {
type: String
},
size: {
type: String
},
brand: {
type: String
},
price: {
type: [String, Number]
},
name: {
type: String
}
}
};
</script>
<style lang="scss" scoped>
.cell-info {
text-align: left;
}
</style>