cell-info.vue
1.13 KB
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
50
51
52
53
54
55
56
57
58
<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>